{"name": "test_status_created", "status": "failed", "statusDetails": {"message": "AssertionError: 500 GET https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/in-progress/sse?searchString=410002112: <!doctype html><html lang=\"en\"><head><title>HTTP Status 500 – Internal Server Error</title><style type=\"text/css\">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>, x-aer-trace-id: None", "trace": "self = <tests.fmcg.test_lk.test_invoice.TestFulfillmentSupplyStatuses object at 0x7f0b11cd6ad0>\nget_fmcg_auth_header = {'Authorization': 'Bearer 61f07b72-fb95-4c74-8596-1b98ca3ce1c6'}\n\n    def test_status_created(self, get_fmcg_auth_header):\n        \"\"\"\n        Создание инвойса в статусе 'СОЗДАНО'\n        Ожидаемый результат: инвойс в указанном статусе\n        \"\"\"\n        created_invoice = FMCGInvoiceBuilder(headers=get_fmcg_auth_header).create_invoice()\n        assert created_invoice.current_status == FMCGLkInvoiceStatuses.CREATED, \"Invoice is not in the 'Created' status\"\n        invoice_in_sse = (\n            FMCGInvoiceBuilder(headers=get_fmcg_auth_header)\n>           .get_sse_in_progress(search_string=created_invoice.invoice_number)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n            .sse_in_progress.get(\"created\")\n        )\n\ntests/fmcg/test_lk/test_invoice.py:26: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nsrc/framework/fmcg/builders/lk/invoice.py:103: in get_sse_in_progress\n    response = ApiRequests.request(\nsrc/framework/common/api.py:288: in request\n    cls._validator.validate_status_code(response, allowed_status_codes, method=method)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nresponse = <Response [500]>\nallowed_status_codes = (<HTTPStatus.OK: 200>, <HTTPStatus.NO_CONTENT: 204>, <HTTPStatus.CREATED: 201>, <HTTPStatus.ACCEPTED: 202>)\nmethod = 'GET'\n\n    @staticmethod\n    def validate_status_code(response: requests.Response, allowed_status_codes: tuple, method: str = None) -> None:\n        \"\"\"Валидирует статус код ответа\"\"\"\n        if response.status_code not in allowed_status_codes:\n            trace_id = get_clear_trace_id(headers=response.headers)\n            response_content = (\n                response.content[:STEP_CONTENT_MAX_LENGTH]\n                if len(response.content) > STEP_CONTENT_MAX_LENGTH\n                else response.content\n            )\n>           raise AssertionError(\n                f\"{response.status_code} {method} {response.url}: {response_content.decode()}, \"\n                f\"x-aer-trace-id: {trace_id}\"\n            )\nE           AssertionError: 500 GET https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/in-progress/sse?searchString=410002112: <!doctype html><html lang=\"en\"><head><title>HTTP Status 500 – Internal Server Error</title><style type=\"text/css\">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>, x-aer-trace-id: None\n\nsrc/framework/common/api.py:138: AssertionError"}, "description": "\n        Создание инвойса в статусе 'СОЗДАНО'\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": "20f5c70d-ed54-4b1a-a989-a37aebfe3888-attachment.json", "type": "application/json"}], "start": 1775636233557, "stop": 1775636233557}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "383924ff-067d-490a-8619-5f18c4cd697c-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "f47f4d97-2d43-4738-bc69-463ff011b5de-attachment.json", "type": "application/json"}], "start": 1775636233557, "stop": 1775636233557}], "attachments": [{"name": "cURL", "source": "0fd696ca-c070-414c-9a05-a059e3d5bab1-attachment.txt", "type": "text/plain"}], "start": 1775636233557, "stop": 1775636233557}, {"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": "3ada0d0e-d011-4d46-bcf5-1319d3b9c824-attachment.json", "type": "application/json"}], "start": 1775636233643, "stop": 1775636233643}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "6ff4cdd3-c357-4f53-827d-edcf2a134f87-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "91406f03-ae73-456f-9395-c2b0f920a233-attachment.json", "type": "application/json"}], "start": 1775636233643, "stop": 1775636233643}], "attachments": [{"name": "cURL", "source": "6703762d-e800-4b69-946c-95a84385c828-attachment.txt", "type": "text/plain"}], "start": 1775636233643, "stop": 1775636233643}, {"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": "6eff4320-8add-4cfc-b067-8e96f8b4705b-attachment.json", "type": "application/json"}], "start": 1775636233677, "stop": 1775636233677}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "1ae5c7f2-99d6-4b9c-860a-3fc32fa62ff0-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "222cbc61-d286-4a61-b34c-53ba501f64e4-attachment.json", "type": "application/json"}], "start": 1775636233677, "stop": 1775636233677}], "attachments": [{"name": "cURL", "source": "63b95061-2188-4254-a0d2-15ec4be8de65-attachment.txt", "type": "text/plain"}], "start": 1775636233677, "stop": 1775636233677}, {"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": "d7330040-8d60-4843-a7c7-9c21454c6662-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "daa78ab3-ce99-44e0-9319-019d2a278d7b-attachment.json", "type": "application/json"}], "start": 1775636233717, "stop": 1775636233718}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "b3cb4de1-1a3a-410c-92b6-7a889ac946bd-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "087e5170-face-4863-9954-f7850bc35fad-attachment.json", "type": "application/json"}], "start": 1775636233718, "stop": 1775636233718}], "attachments": [{"name": "cURL", "source": "2608ac81-812b-4a49-9cb0-1a5831cf01fa-attachment.txt", "type": "text/plain"}], "start": 1775636233717, "stop": 1775636233718}, {"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": "267880f8-bb0b-453e-ac01-a554dc683b05-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "77d8e022-e7d6-4ce7-9eb4-d16678d0a4e0-attachment.json", "type": "application/json"}], "start": 1775636233783, "stop": 1775636233784}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "97f50a40-0338-4ce7-8581-932091055344-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "cd43fa7b-e165-4c0b-87a1-c81540095144-attachment.json", "type": "application/json"}], "start": 1775636233784, "stop": 1775636233784}], "attachments": [{"name": "cURL", "source": "76dd0370-e0a5-4383-868f-da5a8085528c-attachment.txt", "type": "text/plain"}], "start": 1775636233783, "stop": 1775636233784}, {"name": "POST → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/create", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "30c2b5e2-906a-4535-b839-e688701b6366-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "cd56c7da-2bff-4167-af44-e212a6f93b0e-attachment.json", "type": "application/json"}], "start": 1775636233890, "stop": 1775636233891}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "5a52d176-b57e-48e0-b619-903e7226de30-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "a58d1358-7fbc-46cf-bb2e-0376b7129126-attachment.json", "type": "application/json"}], "start": 1775636233891, "stop": 1775636233891}], "attachments": [{"name": "cURL", "source": "a5e748b2-4f45-4ac0-80b6-9992af01d1e2-attachment.txt", "type": "text/plain"}], "start": 1775636233890, "stop": 1775636233891}, {"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/in-progress/sse", "status": "failed", "statusDetails": {"message": "AssertionError: 500 GET https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/in-progress/sse?searchString=410002112: <!doctype html><html lang=\"en\"><head><title>HTTP Status 500 – Internal Server Error</title><style type=\"text/css\">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>, x-aer-trace-id: None\n", "trace": "  File \"/app/src/framework/common/api.py\", line 288, in request\n    cls._validator.validate_status_code(response, allowed_status_codes, method=method)\n  File \"/app/src/framework/common/api.py\", line 138, in validate_status_code\n    raise AssertionError(\n"}, "attachments": [{"name": "Request", "source": "93a9a921-000c-43a2-acca-5cbdc9751a5f-attachment.json", "type": "application/json"}], "start": 1775636233905, "stop": 1775636234230}], "attachments": [{"name": "log", "source": "1e0a09e2-eef4-4bbd-a44e-d89bdb4047d0-attachment.txt", "type": "text/plain"}], "start": 1775636233456, "stop": 1775636234231, "uuid": "feeb4045-df6b-4260-8849-711f183e48ca", "historyId": "6ee730111fb406f9875c726fdd531dff", "testCaseId": "6ee730111fb406f9875c726fdd531dff", "fullName": "tests.fmcg.test_lk.test_invoice.TestFulfillmentSupplyStatuses#test_status_created", "labels": [{"name": "tag", "value": "dm-fmcg-be-service-lk"}, {"name": "parentSuite", "value": "tests.fmcg.test_lk"}, {"name": "suite", "value": "test_invoice"}, {"name": "subSuite", "value": "TestFulfillmentSupplyStatuses"}, {"name": "host", "value": "runner-1rdl4o-mi-project-9-concurrent-0-x106l0j2"}, {"name": "thread", "value": "42-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.fmcg.test_lk.test_invoice"}], "titlePath": ["tests", "fmcg", "test_lk", "test_invoice.py", "TestFulfillmentSupplyStatuses"]}