{"uuid": "ac4fc2fe-6d51-4658-97aa-dc8d0187635d", "children": ["08ef0742-a7e4-40bd-a89c-0eba53002d01"], "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": "c29dd7c7-afa6-4225-8ff5-dac0f0372215-attachment.json", "type": "application/json"}], "start": 1775259575536, "stop": 1775259575536}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "efc81a13-462b-4f74-ad42-926fc4100fa3-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "c60a1782-7a8e-487a-b293-0b9da969e3aa-attachment.json", "type": "application/json"}], "start": 1775259575536, "stop": 1775259575537}], "attachments": [{"name": "cURL", "source": "068a5554-b621-41f6-adeb-009bdf0dbf8b-attachment.txt", "type": "text/plain"}], "start": 1775259575536, "stop": 1775259575537}, {"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": "2cb45b30-cdf7-4502-9b70-8555f1d30ead-attachment.json", "type": "application/json"}], "start": 1775259575560, "stop": 1775259575560}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "87a8844a-77fc-45cd-af58-4e080ebdd10f-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "75cab7b9-eb70-4761-befd-9af49ab7e230-attachment.json", "type": "application/json"}], "start": 1775259575560, "stop": 1775259575560}], "attachments": [{"name": "cURL", "source": "a4c2b635-9bc3-4fc8-bcce-144a32d0df13-attachment.txt", "type": "text/plain"}], "start": 1775259575560, "stop": 1775259575560}, {"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": "6b450b81-db79-4a58-95d5-c9ddc272cb75-attachment.json", "type": "application/json"}], "start": 1775259575635, "stop": 1775259575635}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "9733ee08-654b-4fc9-9d37-9e82d1dd97a9-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "069c2d7e-13fc-4408-a551-4015be11bcf6-attachment.json", "type": "application/json"}], "start": 1775259575635, "stop": 1775259575635}], "attachments": [{"name": "cURL", "source": "af3e0d7e-489c-4d15-b71f-21065b4d8609-attachment.txt", "type": "text/plain"}], "start": 1775259575635, "stop": 1775259575635}, {"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": "1a18122b-4e40-4793-9916-d80c9ebdf27d-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "4c7aacaa-30d9-4f87-b973-f67f2cd62d0e-attachment.json", "type": "application/json"}], "start": 1775259575737, "stop": 1775259575737}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "274984ca-e644-4df9-a03d-fde7a562e5f4-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "e568fd74-5676-413b-b811-481e18f59624-attachment.json", "type": "application/json"}], "start": 1775259575737, "stop": 1775259575738}], "attachments": [{"name": "cURL", "source": "1c38e4f1-c927-4eeb-b50b-28d304cc10a8-attachment.txt", "type": "text/plain"}], "start": 1775259575737, "stop": 1775259575738}, {"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": "907f7660-f8ca-4719-8816-ba445502772f-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "af9b378e-2d22-4103-b4fe-f0a658c06598-attachment.json", "type": "application/json"}], "start": 1775259575859, "stop": 1775259575859}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "21dec986-20d3-4c01-911f-1c5392e90a4d-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "569b11fb-acdf-4b27-bcec-d675a1109440-attachment.json", "type": "application/json"}], "start": 1775259575859, "stop": 1775259575859}], "attachments": [{"name": "cURL", "source": "991b4c58-de86-4c38-8dbd-87abbc684162-attachment.txt", "type": "text/plain"}], "start": 1775259575859, "stop": 1775259575859}], "start": 1775259575495, "stop": 1775259575860}], "start": 1775259575495, "stop": 1775259575877}