{"uuid": "1b0d2ced-54c2-4f45-bd50-1f44a7a6ba36", "children": ["9b1a54c5-b176-4604-b428-38865eb464bf"], "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: 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 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": "b9de8d0d-0b4e-4248-ab98-255111a1f1b7-attachment.json", "type": "application/json"}], "start": 1775432353426, "stop": 1775432353426}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "3210e6c6-8f4d-4f66-9c8f-cd5bfa87521a-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "8524dbca-f377-4d5d-afbd-9d3533ce3b9d-attachment.json", "type": "application/json"}], "start": 1775432353426, "stop": 1775432353427}], "attachments": [{"name": "cURL", "source": "5c00dfed-1053-4da3-82bf-9a092d3a79bd-attachment.txt", "type": "text/plain"}], "start": 1775432353426, "stop": 1775432353427}, {"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": "36f3fc70-4c00-48ae-9145-69e2c00d4148-attachment.json", "type": "application/json"}], "start": 1775432353472, "stop": 1775432353472}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "95713a40-bab3-4d57-adb4-f5cd45f692cd-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "687186b2-80bb-4e31-9010-6304cacf2af3-attachment.json", "type": "application/json"}], "start": 1775432353472, "stop": 1775432353472}], "attachments": [{"name": "cURL", "source": "a0163682-0f92-4e3f-a145-651b6b6d90cb-attachment.txt", "type": "text/plain"}], "start": 1775432353472, "stop": 1775432353472}, {"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": "ee3dec8e-c731-4047-a8e2-f6ca4c123e7a-attachment.json", "type": "application/json"}], "start": 1775432353513, "stop": 1775432353514}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "32909adc-6937-4ccd-9192-513b492ac1f6-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "7f818481-4de1-4e17-b9e0-2a1b50b8af0d-attachment.json", "type": "application/json"}], "start": 1775432353514, "stop": 1775432353514}], "attachments": [{"name": "cURL", "source": "82d3f6f9-aef0-4978-9a52-2b1ed4adaa86-attachment.txt", "type": "text/plain"}], "start": 1775432353513, "stop": 1775432353514}, {"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": "989b34e8-81d4-4b63-8198-57c4e254de20-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "45af659a-80bd-47d5-ba35-42c697180d1c-attachment.json", "type": "application/json"}], "start": 1775432353593, "stop": 1775432353593}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "00d4989f-1c19-42dd-9cb1-3f80e45494ad-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "1ebd625a-96bd-4b5e-b34d-77fad23827b3-attachment.json", "type": "application/json"}], "start": 1775432353593, "stop": 1775432353594}], "attachments": [{"name": "cURL", "source": "744674e0-d93d-4c84-823d-8a8a334e5ff6-attachment.txt", "type": "text/plain"}], "start": 1775432353593, "stop": 1775432353594}, {"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": "283ba33d-1761-4d62-a562-6ca20fa739ed-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "e9638594-ad7d-42e2-8c33-b21deda36a90-attachment.json", "type": "application/json"}], "start": 1775432353757, "stop": 1775432353758}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "3157e6fe-1d33-47e1-9ed2-dfa0b3569aa8-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "05ae1fab-425e-4c01-b5a8-87fb6bc46027-attachment.json", "type": "application/json"}], "start": 1775432353758, "stop": 1775432353758}], "attachments": [{"name": "cURL", "source": "696909bd-22ad-466c-92b3-eeafa5ae5077-attachment.txt", "type": "text/plain"}], "start": 1775432353757, "stop": 1775432353758}], "start": 1775432353373, "stop": 1775432353758}], "start": 1775432353373, "stop": 1775432354049}