{"uuid": "9f41ff88-660c-458c-9d7e-3fadf1ad04e2", "children": ["6ed4b78e-65e5-4c4e-985d-33b83737d793"], "befores": [{"name": "fill_fmcg_cart", "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 53, in fill_fmcg_cart\n    return LKCartDTO(cart=FMCGCartBuilder(headers=get_fmcg_auth_header).fill_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": "ca59b79c-bd93-48a5-b14f-71fa0f682042-attachment.json", "type": "application/json"}], "start": 1775518758296, "stop": 1775518758296}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "9d8f8f8a-dd46-406c-8e26-9cb4a73a5325-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "16619a5f-8dfb-407f-819b-8830b105b24f-attachment.json", "type": "application/json"}], "start": 1775518758296, "stop": 1775518758297}], "attachments": [{"name": "cURL", "source": "5fefe672-055f-4a03-957d-0e1d184d0d5d-attachment.txt", "type": "text/plain"}], "start": 1775518758296, "stop": 1775518758297}, {"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": "f7b26908-dfc5-404f-bfec-ea19cca48af8-attachment.json", "type": "application/json"}], "start": 1775518758563, "stop": 1775518758563}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "dd31fe1c-a0c6-42d4-ad15-218927a87303-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "87dfd82e-3356-4f32-8e38-7c9e0ce6fa1d-attachment.json", "type": "application/json"}], "start": 1775518758563, "stop": 1775518758563}], "attachments": [{"name": "cURL", "source": "dddc6ff7-56be-4a54-9695-40a8c375ff2f-attachment.txt", "type": "text/plain"}], "start": 1775518758563, "stop": 1775518758563}, {"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": "86f0b12d-3f89-4097-9132-d16fa7c56e1b-attachment.json", "type": "application/json"}], "start": 1775518758661, "stop": 1775518758661}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "ccc7a65c-5699-4737-9770-9c056ab017c6-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "3ff2bf89-1264-4b87-b9fd-b8fe4368cd93-attachment.json", "type": "application/json"}], "start": 1775518758661, "stop": 1775518758661}], "attachments": [{"name": "cURL", "source": "a7c912ef-4981-43bc-a3df-6e6665ba0009-attachment.txt", "type": "text/plain"}], "start": 1775518758661, "stop": 1775518758661}, {"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": "3ac85954-b043-4e84-aa2d-fd55ebf5b2e6-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "0e0753b4-ae36-44f5-b7cc-0cbed091c06f-attachment.json", "type": "application/json"}], "start": 1775518758860, "stop": 1775518758861}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "6383c40c-7729-47d2-bea9-e8e1e5ee1117-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "545487db-85c8-448d-ab76-822f2619f388-attachment.json", "type": "application/json"}], "start": 1775518758861, "stop": 1775518758861}], "attachments": [{"name": "cURL", "source": "159dacee-44e7-49dc-8384-84813f17a8d4-attachment.txt", "type": "text/plain"}], "start": 1775518758860, "stop": 1775518758861}, {"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": "a2a6dd78-510a-44f6-9383-45831bd1e499-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "404c48a1-7e21-41b7-aeb3-afc2ea21b2b6-attachment.json", "type": "application/json"}], "start": 1775518759068, "stop": 1775518759069}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "60bd95de-1d9b-45cb-b3ff-b4db4575bc3d-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "ea510c87-96e6-4aff-ba3f-225275519927-attachment.json", "type": "application/json"}], "start": 1775518759069, "stop": 1775518759069}], "attachments": [{"name": "cURL", "source": "0fa284cd-4e4b-42c3-9056-85efef74be29-attachment.txt", "type": "text/plain"}], "start": 1775518759068, "stop": 1775518759069}], "start": 1775518758271, "stop": 1775518759069}], "start": 1775518758271, "stop": 1775518759087}