{"uuid": "21632218-07fe-41ed-a44b-bc40dde45554", "children": ["26501b81-3ea9-4331-a1b4-e2a57d837180"], "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": "925c6ae5-ca79-4898-be53-6e02f9ab55f4-attachment.json", "type": "application/json"}], "start": 1775432353426, "stop": 1775432353427}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "ad932f70-53f8-4c88-9a1c-c7a9a8164d3e-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "e056a0d4-220e-4e7e-8113-7f9b0fbda00e-attachment.json", "type": "application/json"}], "start": 1775432353427, "stop": 1775432353427}], "attachments": [{"name": "cURL", "source": "26340a5a-8787-486e-9493-26fdae4df582-attachment.txt", "type": "text/plain"}], "start": 1775432353426, "stop": 1775432353427}, {"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": "8443fbd9-4b0e-4987-9e08-bfdc932d5a98-attachment.json", "type": "application/json"}], "start": 1775432353471, "stop": 1775432353472}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "0ec93a19-3e81-428e-a13b-b074c6f49bd4-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "fc1c2d3e-abc0-49e6-b91c-6cc39afc828a-attachment.json", "type": "application/json"}], "start": 1775432353472, "stop": 1775432353472}], "attachments": [{"name": "cURL", "source": "d8a92e20-72b1-45bd-9e2b-64358a15ffd6-attachment.txt", "type": "text/plain"}], "start": 1775432353471, "stop": 1775432353472}, {"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": "7e4c4432-3215-4a9c-a765-e7b215e25981-attachment.json", "type": "application/json"}], "start": 1775432353514, "stop": 1775432353514}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "bbafe85e-8b50-4696-83b0-6a376992bf58-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "b19ddc23-d1ce-49a2-ace2-c3a7dc2450d3-attachment.json", "type": "application/json"}], "start": 1775432353514, "stop": 1775432353515}], "attachments": [{"name": "cURL", "source": "e4010494-a977-472e-8fd2-03dc4456231e-attachment.txt", "type": "text/plain"}], "start": 1775432353514, "stop": 1775432353515}, {"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": "cedc80bf-d549-4353-a9fa-f3b2d13a6b85-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "cb01212f-fb98-4f92-9f22-f4405c3e8c19-attachment.json", "type": "application/json"}], "start": 1775432353593, "stop": 1775432353593}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "6e0f55f7-f5a7-41f3-a659-af72e53732d2-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "54498732-038e-4402-bb29-b9005e0c03fe-attachment.json", "type": "application/json"}], "start": 1775432353593, "stop": 1775432353594}], "attachments": [{"name": "cURL", "source": "5399f648-1cb1-4e90-b428-e4cde7f32796-attachment.txt", "type": "text/plain"}], "start": 1775432353593, "stop": 1775432353594}, {"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": "ae011902-6105-4ee6-b235-da40cb1ad4ea-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "d9478fc6-0a9b-4ccb-8ff4-e852ba69be82-attachment.json", "type": "application/json"}], "start": 1775432353759, "stop": 1775432353759}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "38e28333-0fc8-42c5-9f92-db0e8ab4f3c7-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "3e411eda-f39f-45bc-8eed-103cf8bb7552-attachment.json", "type": "application/json"}], "start": 1775432353759, "stop": 1775432353759}], "attachments": [{"name": "cURL", "source": "7b4ca03a-a4f7-4e57-9a57-66bf8af90c27-attachment.txt", "type": "text/plain"}], "start": 1775432353759, "stop": 1775432353759}], "start": 1775432353371, "stop": 1775432353760}], "start": 1775432353371, "stop": 1775432354016}