{"uuid": "f61c673b-78c9-43f8-aba8-c0a1d5d42266", "children": ["5d023b2e-5d84-4426-90e9-51acb3c00c2a"], "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: 3; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 3\",\"localizedMessage\":\"query did not return a unique result: 3; nested exception is javax.persistence.NonUniqueResultException: query did not return a unique result: 3\"}; \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": "86491bc9-bb94-494e-ad6f-e3afb0e026f9-attachment.json", "type": "application/json"}], "start": 1775259575047, "stop": 1775259575047}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "8ad0572d-d85d-4b62-a149-87cf8f05be2d-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "b378491a-b806-43fc-8e8d-d78c478e837d-attachment.json", "type": "application/json"}], "start": 1775259575047, "stop": 1775259575048}], "attachments": [{"name": "cURL", "source": "b906aff7-248c-4176-a584-45a15a15a3c5-attachment.txt", "type": "text/plain"}], "start": 1775259575047, "stop": 1775259575048}, {"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": "784e49c6-21c0-4c1c-bf4b-d7a9a59f5a4f-attachment.json", "type": "application/json"}], "start": 1775259575075, "stop": 1775259575075}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "0cc58948-75b5-4957-994e-1f4c295f15c1-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "aec5f6c3-3040-41cb-af5d-f29945de3cd4-attachment.json", "type": "application/json"}], "start": 1775259575075, "stop": 1775259575075}], "attachments": [{"name": "cURL", "source": "02d74e9b-2dd3-49ac-8a1f-ee78f9a74d2f-attachment.txt", "type": "text/plain"}], "start": 1775259575075, "stop": 1775259575075}, {"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": "8b25c123-4bfb-4c4c-bf91-70075ae16848-attachment.json", "type": "application/json"}], "start": 1775259575102, "stop": 1775259575102}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "f077f6bb-cc37-47af-b35e-86dfb7819056-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "83d71898-eb4f-47f9-9686-fe194ec7b8bf-attachment.json", "type": "application/json"}], "start": 1775259575102, "stop": 1775259575103}], "attachments": [{"name": "cURL", "source": "b247a4ee-39a7-4310-a87b-e32c3322a14a-attachment.txt", "type": "text/plain"}], "start": 1775259575102, "stop": 1775259575103}, {"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": "a3dd97c8-f885-4bf4-abc2-8078cf2ba5e0-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "3df6ff7c-9319-4974-9c7b-8e3f1c8ad58c-attachment.json", "type": "application/json"}], "start": 1775259575168, "stop": 1775259575169}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "f266cd63-b8ef-4455-9bc0-bebbe2cac5e0-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "b38d74bc-b5f8-4d78-a60c-046442f6a739-attachment.json", "type": "application/json"}], "start": 1775259575169, "stop": 1775259575169}], "attachments": [{"name": "cURL", "source": "51b6b8e2-eb38-4dc9-b569-1a1f576953d8-attachment.txt", "type": "text/plain"}], "start": 1775259575168, "stop": 1775259575169}, {"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": "1b5a0111-be5b-4a16-a737-41eeea73c3f3-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "74bdec61-b608-4462-80a2-17d8b4102f87-attachment.json", "type": "application/json"}], "start": 1775259575259, "stop": 1775259575259}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "76e18110-0fcb-4efd-b7ab-f0adef8abdaa-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "45c57995-2711-4d35-bd6c-1178694af18c-attachment.json", "type": "application/json"}], "start": 1775259575260, "stop": 1775259575260}], "attachments": [{"name": "cURL", "source": "212e8f84-88d3-45e4-a8d4-dc66247f9f65-attachment.txt", "type": "text/plain"}], "start": 1775259575259, "stop": 1775259575260}], "start": 1775259574965, "stop": 1775259575260}], "start": 1775259574965, "stop": 1775259575497}