{"uuid": "cc40ad30-9698-4d7a-a14c-dc5d682525bc", "children": ["e5d12bbb-8aba-4cb3-9690-eebdd9ccf5ca"], "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": "ad89c1f8-70ea-4f1e-b14e-f98c2c1742ed-attachment.json", "type": "application/json"}], "start": 1775345987904, "stop": 1775345987904}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "4f7e4432-f831-4ae5-93b8-3786b17f206c-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "edc6fe7c-5be5-40ed-a1e2-e5d928036476-attachment.json", "type": "application/json"}], "start": 1775345987904, "stop": 1775345987905}], "attachments": [{"name": "cURL", "source": "0d0d4458-5382-4845-8b3a-ddfe171a1d58-attachment.txt", "type": "text/plain"}], "start": 1775345987904, "stop": 1775345987905}, {"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": "3537a877-1965-4999-8d83-a76bc134bceb-attachment.json", "type": "application/json"}], "start": 1775345987932, "stop": 1775345987932}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "2d8cde2e-825f-4910-87d9-97a623ec1972-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "f7600058-46b2-48b7-a194-4f9d70c289a0-attachment.json", "type": "application/json"}], "start": 1775345987932, "stop": 1775345987932}], "attachments": [{"name": "cURL", "source": "a797b075-6714-4a24-a945-3c4783b535bb-attachment.txt", "type": "text/plain"}], "start": 1775345987932, "stop": 1775345987932}, {"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": "99fbe0f6-293d-43ab-b03e-f3158b18f8a4-attachment.json", "type": "application/json"}], "start": 1775345987991, "stop": 1775345987991}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "6909eaaf-933f-44ca-9220-ade7cd0c412b-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "36606eb0-60d4-409e-9efd-7245db547fab-attachment.json", "type": "application/json"}], "start": 1775345987991, "stop": 1775345987991}], "attachments": [{"name": "cURL", "source": "787f020f-b67b-4d5e-9530-5389924e53e0-attachment.txt", "type": "text/plain"}], "start": 1775345987991, "stop": 1775345987991}, {"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": "747fba0f-3814-479b-a6bc-3bd8a2d0c6b7-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "3109347a-d62d-4fbb-ace5-c50204ce1d27-attachment.json", "type": "application/json"}], "start": 1775345988054, "stop": 1775345988054}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "6489eb66-86d0-4d0a-b0fd-7a7d9fa084e4-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "2510def2-750f-4ee0-9d5e-4515b8d064db-attachment.json", "type": "application/json"}], "start": 1775345988054, "stop": 1775345988054}], "attachments": [{"name": "cURL", "source": "a6a58bc2-01af-4e59-90db-f31fc01fa778-attachment.txt", "type": "text/plain"}], "start": 1775345988054, "stop": 1775345988055}, {"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": "fd796f07-28b5-4f9c-a9a7-48ff93777d5f-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "5e20759d-27d6-4df6-ab60-6d7667f1cdd8-attachment.json", "type": "application/json"}], "start": 1775345988238, "stop": 1775345988239}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "e5a4e195-08b0-4e06-af4a-285c3418390c-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "2a467f79-68ba-40c3-b092-f62be1993377-attachment.json", "type": "application/json"}], "start": 1775345988239, "stop": 1775345988239}], "attachments": [{"name": "cURL", "source": "4f7de1f5-70fb-4574-bd31-7832c11b220f-attachment.txt", "type": "text/plain"}], "start": 1775345988238, "stop": 1775345988239}], "start": 1775345987824, "stop": 1775345988239}], "start": 1775345987824, "stop": 1775345988489}