{"uuid": "855bcac8-620c-4cae-8ba5-db8d398b17c9", "children": ["5de5598b-344d-4c39-966a-8d9c81f601a6"], "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": "104a297e-075e-4066-aace-77998825ba43-attachment.json", "type": "application/json"}], "start": 1775502115455, "stop": 1775502115455}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "4362057d-be1e-410c-871e-8e675cbdf0a4-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "e7ca2b5c-2460-4617-88b5-c76101889cc0-attachment.json", "type": "application/json"}], "start": 1775502115455, "stop": 1775502115456}], "attachments": [{"name": "cURL", "source": "f338c7ec-5abe-4602-b40d-dde813afd4c2-attachment.txt", "type": "text/plain"}], "start": 1775502115455, "stop": 1775502115456}, {"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": "305c826d-0cdf-4604-bb2e-439d6bb94b70-attachment.json", "type": "application/json"}], "start": 1775502115758, "stop": 1775502115758}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "e58cacda-d5f2-47ce-a0c6-7a61af75c65f-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "41a3a218-0995-4d43-a032-840dae07b4e1-attachment.json", "type": "application/json"}], "start": 1775502115758, "stop": 1775502115758}], "attachments": [{"name": "cURL", "source": "bcbb9f2b-61a4-4ed7-867b-b81fa1ed83b2-attachment.txt", "type": "text/plain"}], "start": 1775502115758, "stop": 1775502115758}, {"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": "6191ac27-4120-4048-9c94-3f3be4bf8b9f-attachment.json", "type": "application/json"}], "start": 1775502115863, "stop": 1775502115863}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "31a44979-db33-4506-8a87-03f2f3a357a0-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "fcca0fef-10fd-4dc1-80d6-d943414e30ab-attachment.json", "type": "application/json"}], "start": 1775502115863, "stop": 1775502115863}], "attachments": [{"name": "cURL", "source": "ba28a159-2f9f-4e37-a280-1302dd52749b-attachment.txt", "type": "text/plain"}], "start": 1775502115863, "stop": 1775502115863}, {"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": "3b4a3f1f-b23a-4c17-a68d-85885322428e-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "3c7d9573-fb07-4fba-a4bd-2ab8d55fde98-attachment.json", "type": "application/json"}], "start": 1775502116064, "stop": 1775502116064}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "427f4796-ba6e-40e0-be6f-b205d9a565cd-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "8c8ed3d6-64fc-4485-9132-23b51920a71b-attachment.json", "type": "application/json"}], "start": 1775502116064, "stop": 1775502116064}], "attachments": [{"name": "cURL", "source": "819ccd1d-08be-4e34-a412-33a7b447a490-attachment.txt", "type": "text/plain"}], "start": 1775502116064, "stop": 1775502116064}, {"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": "d41c4bf5-25fd-49c1-a4e1-c14d93c8deeb-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "97646afe-b610-4e07-b2f2-6efb63c9632a-attachment.json", "type": "application/json"}], "start": 1775502116286, "stop": 1775502116286}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "09e02007-9891-4473-b9ce-88900da5e264-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "710014ee-d8b5-4d62-a7ce-ec4e7ae0662b-attachment.json", "type": "application/json"}], "start": 1775502116286, "stop": 1775502116286}], "attachments": [{"name": "cURL", "source": "ce7e8fe1-3c35-4365-835d-b10c52201a83-attachment.txt", "type": "text/plain"}], "start": 1775502116286, "stop": 1775502116286}], "start": 1775502114841, "stop": 1775502116287}], "start": 1775502114841, "stop": 1775502116304}