{"uuid": "8e284031-0fa2-4eed-aed0-339a857c7226", "children": ["a4cd4b00-d925-4d60-8061-89a461bd9c64"], "befores": [{"name": "get_fmcg_invoice", "status": "failed", "statusDetails": {"message": "AssertionError: Handler: PUT https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/cart/add-item; \n Expected status code: 200; \n Actual status code: 500; \n Response body: {\"message\":\"query did not return a unique result: 3; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 3\",\"localizedMessage\":\"query did not return a unique result: 3; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 3\"}; \n X-Aer-Trace-Id: \n", "trace": "  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 38, in run_old_style_hookwrapper\n    res = yield\n          ^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 139, in _multicall\n    teardown.throw(exception)\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 53, in run_old_style_hookwrapper\n    return result.get_result()\n           ^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_result.py\", line 103, in get_result\n    raise exc.with_traceback(tb)\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 38, in run_old_style_hookwrapper\n    res = yield\n          ^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 139, in _multicall\n    teardown.throw(exception)\n  File \"/usr/local/lib/python3.11/site-packages/_pytest/setuponly.py\", line 36, in pytest_fixture_setup\n    return (yield)\n            ^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 121, in _multicall\n    res = hook_impl.function(*args)\n          ^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/_pytest/fixtures.py\", line 1202, in pytest_fixture_setup\n    result = call_fixture_func(fixturefunc, request, kwargs)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/_pytest/fixtures.py\", line 915, in call_fixture_func\n    fixture_result = fixturefunc(**kwargs)\n                     ^^^^^^^^^^^^^^^^^^^^^\n  File \"/app/src/framework/fmcg/fixtures/lk.py\", line 46, in get_fmcg_invoice\n    new_invoice = FMCGInvoiceBuilder(headers=get_fmcg_auth_header).create_invoice()\n                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/app/src/framework/fmcg/builders/lk/invoice.py\", line 33, in create_invoice\n    cart_items = FMCGCartBuilder(headers=self.headers).fill_cart().current_cart\n                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/app/src/framework/fmcg/builders/lk/cart.py\", line 24, in fill_cart\n    CartApi(headers=self.headers).api_v1_cart_add_item_put(body=request_body, **invoice_data).data.items\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api/cart_api.py\", line 55, in api_v1_cart_add_item_put\n    return self.api_v1_cart_add_item_put_with_http_info(body, **kwargs)  # noqa: E501\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api/cart_api.py\", line 129, in api_v1_cart_add_item_put_with_http_info\n    return self.api_client.call_api(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api_client.py\", line 339, in call_api\n    return self.__call_api(resource_path, method,\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api_client.py\", line 172, in __call_api\n    assert response_data.status == expected_status_code, \\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"}, "steps": [{"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/categories", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "fa989a66-4172-4473-a098-011b1156c788-attachment.json", "type": "application/json"}], "start": 1775259576063, "stop": 1775259576064}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "ae4e7418-9bbd-47f3-b066-b5b7dbd45be3-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "528caf69-889b-42c2-b8c3-1de41cd9813d-attachment.json", "type": "application/json"}], "start": 1775259576064, "stop": 1775259576064}], "attachments": [{"name": "cURL", "source": "fa8b2082-da1c-444e-b733-7105ae45c66b-attachment.txt", "type": "text/plain"}], "start": 1775259576063, "stop": 1775259576064}, {"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/unit", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "b26daf19-caab-46ad-a582-878796f1b3d2-attachment.json", "type": "application/json"}], "start": 1775259576156, "stop": 1775259576156}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "1c2b3f7b-bf43-4050-8752-7f02a724915d-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "07c86ffb-9e48-46ca-a854-6321c024af18-attachment.json", "type": "application/json"}], "start": 1775259576156, "stop": 1775259576156}], "attachments": [{"name": "cURL", "source": "11f6e6a3-b66e-4403-9826-32a4eb6a0831-attachment.txt", "type": "text/plain"}], "start": 1775259576156, "stop": 1775259576156}, {"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/packingtype", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "a4e55332-3e0b-4716-bb7d-b744d1556244-attachment.json", "type": "application/json"}], "start": 1775259576235, "stop": 1775259576235}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "c688f089-2828-4c8d-8c4a-2b152d48785b-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "73896ff1-8686-41ae-a7d1-76e3513b34e4-attachment.json", "type": "application/json"}], "start": 1775259576235, "stop": 1775259576236}], "attachments": [{"name": "cURL", "source": "361cf705-a110-428f-95e4-e4bc95474656-attachment.txt", "type": "text/plain"}], "start": 1775259576235, "stop": 1775259576236}, {"name": "POST → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/sku", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "10fe00db-fa9f-4904-99f0-104db2c523bf-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "38080ddc-61e2-4dc8-9feb-1c5a27cf9532-attachment.json", "type": "application/json"}], "start": 1775259576357, "stop": 1775259576358}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "78edbe6d-3735-45ee-876c-bbf4ad7aba9f-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "937f92d7-55ef-41d9-b791-74c633d150ee-attachment.json", "type": "application/json"}], "start": 1775259576358, "stop": 1775259576358}], "attachments": [{"name": "cURL", "source": "a518e9dd-fd6c-417a-9d67-ed5df8c19a2a-attachment.txt", "type": "text/plain"}], "start": 1775259576357, "stop": 1775259576358}, {"name": "PUT → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/cart/add-item", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "2c913f6c-0d1a-49e8-ab3c-9f6e3ebc1e71-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "18a8214e-ea4f-4202-9ec6-798147a1ca5a-attachment.json", "type": "application/json"}], "start": 1775259576633, "stop": 1775259576634}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "2b83eb58-40a5-400b-b7be-fd885d66ed4d-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "3e1e37af-5f04-48ba-b3aa-0566826e2f59-attachment.json", "type": "application/json"}], "start": 1775259576634, "stop": 1775259576634}], "attachments": [{"name": "cURL", "source": "594c86de-9ceb-49c8-868d-448b3182134d-attachment.txt", "type": "text/plain"}], "start": 1775259576633, "stop": 1775259576634}], "start": 1775259576038, "stop": 1775259576634}], "start": 1775259576038, "stop": 1775259576814}