{"uuid": "19d66988-076b-47c9-a66e-3318433fd840", "children": ["f461ddef-02cb-4a51-994f-e001ece4840a"], "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": "d02c0267-6128-4a46-9005-4770218ad5fc-attachment.json", "type": "application/json"}], "start": 1775345988502, "stop": 1775345988502}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "615638db-1f42-40c7-b215-2b9a94434336-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "a00f6f58-da0c-47fc-8c18-e25724261c24-attachment.json", "type": "application/json"}], "start": 1775345988502, "stop": 1775345988503}], "attachments": [{"name": "cURL", "source": "96c85ebd-c175-4eb8-8fe8-d8b5fd1830ae-attachment.txt", "type": "text/plain"}], "start": 1775345988502, "stop": 1775345988503}, {"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": "66d3602f-245a-4e5c-ab4e-c246db5f88c4-attachment.json", "type": "application/json"}], "start": 1775345988558, "stop": 1775345988559}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "5bcbb208-b4e2-4764-a102-b82d3cee0f3c-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "f015c06a-6b7c-46f1-9059-df347865a8b4-attachment.json", "type": "application/json"}], "start": 1775345988559, "stop": 1775345988559}], "attachments": [{"name": "cURL", "source": "7757ada7-45aa-4356-be86-9f36c41f62f2-attachment.txt", "type": "text/plain"}], "start": 1775345988558, "stop": 1775345988559}, {"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": "6d56f070-4afc-4c9e-87c7-48f51790b8e7-attachment.json", "type": "application/json"}], "start": 1775345988584, "stop": 1775345988584}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "e914b7d9-45a3-4af2-bdd2-9ec1b3d5b915-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "425a9536-d089-4404-aaf5-29fe6f3dbfac-attachment.json", "type": "application/json"}], "start": 1775345988584, "stop": 1775345988584}], "attachments": [{"name": "cURL", "source": "12b73c40-9bd3-47d7-bfdf-c63a894a0447-attachment.txt", "type": "text/plain"}], "start": 1775345988584, "stop": 1775345988584}, {"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": "e7f6e434-f4ce-46f3-9bc3-5ec8057dd0f3-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "c2b7f563-a98f-49e3-9f5b-e5f3d0c13677-attachment.json", "type": "application/json"}], "start": 1775345988671, "stop": 1775345988671}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "7dafbe11-234e-4ba2-abe4-e11a29aece0f-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "451c4465-3f72-4dac-a134-0b4df173e4ac-attachment.json", "type": "application/json"}], "start": 1775345988671, "stop": 1775345988671}], "attachments": [{"name": "cURL", "source": "efa666b9-45ff-4a2b-ae99-e8fafba42fd2-attachment.txt", "type": "text/plain"}], "start": 1775345988671, "stop": 1775345988672}, {"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": "bd8d83a0-0b30-4600-9389-2493303f354a-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "31706417-1e4b-46d1-b92b-2c751a27e53b-attachment.json", "type": "application/json"}], "start": 1775345988765, "stop": 1775345988765}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "21b685c3-384e-4893-a675-ad7ba12b1f25-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "beb59c75-4c1f-4426-80b4-ba92226f0c99-attachment.json", "type": "application/json"}], "start": 1775345988765, "stop": 1775345988765}], "attachments": [{"name": "cURL", "source": "a3701add-98de-419e-962e-d7248d2ec15b-attachment.txt", "type": "text/plain"}], "start": 1775345988765, "stop": 1775345988765}], "start": 1775345988479, "stop": 1775345988765}], "start": 1775345988479, "stop": 1775345988783}