{"uuid": "6ec119e7-26e7-4273-96d9-9b4921164dbc", "children": ["394802d3-fb3b-45d3-b140-8288812192ba"], "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: 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 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": "aa602382-cacb-408f-b410-6b7df4a693aa-attachment.json", "type": "application/json"}], "start": 1775432354064, "stop": 1775432354065}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "acd78836-c41c-445b-bda8-a87a90583725-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "35284ff2-b79d-4f92-8e85-f381284f3fc5-attachment.json", "type": "application/json"}], "start": 1775432354065, "stop": 1775432354065}], "attachments": [{"name": "cURL", "source": "929e5961-cb7d-401b-a96e-1ee8ad2b9d69-attachment.txt", "type": "text/plain"}], "start": 1775432354064, "stop": 1775432354065}, {"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": "f272e0ff-cdce-4335-92fe-ea7d00d4b43c-attachment.json", "type": "application/json"}], "start": 1775432354089, "stop": 1775432354089}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "40d5b7ba-c391-4e31-b9ff-d50ea94577d8-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "470f4149-f36e-4195-9738-0e6ff35a4332-attachment.json", "type": "application/json"}], "start": 1775432354089, "stop": 1775432354089}], "attachments": [{"name": "cURL", "source": "698376ab-ebb3-453b-88ff-53200d2e64da-attachment.txt", "type": "text/plain"}], "start": 1775432354088, "stop": 1775432354089}, {"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": "bed3dabf-0b36-4f97-a04f-1f5a67c7ae97-attachment.json", "type": "application/json"}], "start": 1775432354112, "stop": 1775432354112}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "67315a2d-628c-4720-8559-d497ddea288a-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "f0831527-1460-4d0d-a224-4c486caa37c5-attachment.json", "type": "application/json"}], "start": 1775432354112, "stop": 1775432354112}], "attachments": [{"name": "cURL", "source": "132ad79c-b4ba-46d4-8e3f-8e9cc2ca5513-attachment.txt", "type": "text/plain"}], "start": 1775432354112, "stop": 1775432354112}, {"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": "140ced85-fc26-4721-8c96-8fb5ebc80c54-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "9bcf2f89-4a61-444f-b0cf-1d7ac8434d72-attachment.json", "type": "application/json"}], "start": 1775432354176, "stop": 1775432354176}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "f75ca760-bfa0-4fd5-ab26-447a680ed0dc-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "6e335d31-cd43-4307-bfe2-11e35d48a823-attachment.json", "type": "application/json"}], "start": 1775432354176, "stop": 1775432354176}], "attachments": [{"name": "cURL", "source": "d7105e63-5b5f-4c67-ba7d-648134ec887e-attachment.txt", "type": "text/plain"}], "start": 1775432354176, "stop": 1775432354176}, {"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": "ce0680b0-b0bf-4fa1-abbd-c73e7ce87ed8-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "6a8db963-e9e2-44db-bddc-3b02a01b354c-attachment.json", "type": "application/json"}], "start": 1775432354265, "stop": 1775432354265}, {"name": "Response → 500, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "de2110fc-36a2-4188-be14-ac6e86e93f9e-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "aa18ef24-3fee-49e4-95eb-6dbd748543be-attachment.json", "type": "application/json"}], "start": 1775432354265, "stop": 1775432354266}], "attachments": [{"name": "cURL", "source": "3f35e278-7fc8-4378-ae05-48e1b48589aa-attachment.txt", "type": "text/plain"}], "start": 1775432354265, "stop": 1775432354266}], "start": 1775432354040, "stop": 1775432354266}], "start": 1775432354040, "stop": 1775432354289}