{"uuid": "32ab8a52-76ce-4f41-88c5-6fdabea74eed", "children": ["8dbf3f91-3e0b-4ce0-b841-70543ba1f535"], "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: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2\",\"localizedMessage\":\"query did not return a unique result: 2; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 2\"}; \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": "e25d6f3a-7f65-4d69-8a37-9daa6ffe384b-attachment.json", "type": "application/json"}], "start": 1775502114381, "stop": 1775502114381}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "6a476880-e3d1-4790-ac2a-cc899bd48c24-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "f2541cd3-958a-41e8-af5f-ccf9023351f9-attachment.json", "type": "application/json"}], "start": 1775502114381, "stop": 1775502114382}], "attachments": [{"name": "cURL", "source": "9fdfb772-6469-4c90-a641-1f37924a9360-attachment.txt", "type": "text/plain"}], "start": 1775502114381, "stop": 1775502114382}, {"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": "be496ba9-9b27-40ab-86ed-54dd30a82cd8-attachment.json", "type": "application/json"}], "start": 1775502114404, "stop": 1775502114404}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "dfd793fa-7228-4ac1-a4ee-cc1c0e6f12a6-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "2a538542-7183-4265-9d0a-770bec6f1c47-attachment.json", "type": "application/json"}], "start": 1775502114404, "stop": 1775502114404}], "attachments": [{"name": "cURL", "source": "3fc4f581-c2e5-4947-84ae-7bc462f8f1e4-attachment.txt", "type": "text/plain"}], "start": 1775502114404, "stop": 1775502114404}, {"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": "5f229eb3-2903-42fe-bd8e-6d7f29f235b7-attachment.json", "type": "application/json"}], "start": 1775502114466, "stop": 1775502114466}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "3c3c0a62-af13-44eb-97ca-719b656c633b-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "10e00d25-d4d2-4438-a9bf-1cccd5f2eb70-attachment.json", "type": "application/json"}], "start": 1775502114466, "stop": 1775502114467}], "attachments": [{"name": "cURL", "source": "58d49440-d7c6-440c-bd22-7a09bc059a86-attachment.txt", "type": "text/plain"}], "start": 1775502114466, "stop": 1775502114467}, {"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": "8171a47e-b224-456e-a892-7c39eec61359-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "b3d7e453-c54a-4e8a-94d7-d0a3bd46740b-attachment.json", "type": "application/json"}], "start": 1775502114496, "stop": 1775502114497}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "ea2861f3-bd61-438f-8ffb-461bde9a31d4-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "22ce208a-836b-4bdb-96b4-a01f3603db87-attachment.json", "type": "application/json"}], "start": 1775502114497, "stop": 1775502114497}], "attachments": [{"name": "cURL", "source": "9cd0e78e-4244-4580-9ce1-9e53ca5dd792-attachment.txt", "type": "text/plain"}], "start": 1775502114496, "stop": 1775502114497}, {"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": "9bca91d6-a851-4220-be85-87df1e6f2c33-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "d9494239-4964-4eac-9317-214a2ad65c38-attachment.json", "type": "application/json"}], "start": 1775502114655, "stop": 1775502114655}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "7603c356-ceca-479e-9af4-31f2caeb0772-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "295f624b-b436-4c61-9a36-abb0a3694612-attachment.json", "type": "application/json"}], "start": 1775502114655, "stop": 1775502114656}], "attachments": [{"name": "cURL", "source": "1eaf8a3d-0f9d-453d-96cd-114037a1f73f-attachment.txt", "type": "text/plain"}], "start": 1775502114655, "stop": 1775502114656}], "start": 1775502114313, "stop": 1775502114656}], "start": 1775502114313, "stop": 1775502114856}