{"name": "test_invoice_accept[params0-fmcg_warehouse_invoice1]", "status": "failed", "statusDetails": {"message": "AssertionError: placed_unloading_task 842 not in status: AWAITING_STOCK_CELL, actual status: CREATED", "trace": "self = <tests.fmcg.test_acceptance.test_invoice.TestFmcgAcceptanceInvoice object at 0x72381f06d590>\nparams = {'task_pallet_flow_type': <AcceptanceTaskPalletFlowType.NEW: 'NEW'>}\nfmcg_warehouse_invoice = FmcgWarehouseInvoiceFixtureDto(warehouse=FmcgWarehouse(id=1, name='uz 7200', user=FmcgUser(wms_id=9000000001, barcode=...1a1f146a2'), invoice=<src.framework.fmcg.builders.acceptance.v1_invoice.V1FmcgInvoiceBuilder object at 0x72381c7efd90>)\n\n    @pytest.mark.parametrize(\n        \"fmcg_warehouse_invoice\",\n        [\n            {\n                \"random_items\": [\n                    FmcgRandomItem(\n                        items_count=randint(2, 5),\n                        quantity=randint(5, 9),\n                        is_bundle=False,\n                    )\n                ]\n            },\n            {\n                \"random_items\": [\n                    FmcgRandomItem(\n                        items_count=randint(2, 5),\n                        quantity=randint(10, 20),\n                        is_bundle=True,\n                        bundle_quantity=randint(2, 4),\n                    )\n                ]\n            },\n        ],\n        indirect=True,\n    )\n    @pytest.mark.parametrize(\n        \"params\",\n        [\n            {\"task_pallet_flow_type\": AcceptanceTaskPalletFlowType.NEW},\n            # {\"task_pallet_flow_type\": AcceptanceTaskPalletFlowType.FORMED},\n        ],\n    )\n    def test_invoice_accept(self, params, fmcg_warehouse_invoice):\n        e2e = V1FmcgE2EBuilder(\n            warehouse=fmcg_warehouse_invoice.warehouse,\n            user=fmcg_warehouse_invoice.user,\n            headers=fmcg_warehouse_invoice.invoice.headers,\n            stock_cell_barcode=fmcg_warehouse_invoice.cells[0].cell_barcode,\n        )\n        e2e.set_invoice_builder(fmcg_warehouse_invoice.invoice)\n        e2e.flow_car_bind_to_gate()\n        e2e.flow_unloading_car(task_pallet_flow_type=params[\"task_pallet_flow_type\"])\n        e2e.flow_invoice_finalization()\n>       e2e.flow_unloading_pallet_placement()\n\ntests/fmcg/test_acceptance/test_invoice.py:83: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nsrc/framework/fmcg/builders/v1_e2e.py:249: in flow_unloading_pallet_placement\n    wait_placed_unloading_task(\nsrc/framework/common/utils/utils.py:218: in wrapped_f\n    return Retrying(\n/usr/local/lib/python3.11/site-packages/retrying.py:289: in call\n    raise attempt.get()\n          ^^^^^^^^^^^^^\n/usr/local/lib/python3.11/site-packages/retrying.py:326: in get\n    raise exc.with_traceback(tb)\n/usr/local/lib/python3.11/site-packages/retrying.py:273: in call\n    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)\n                      ^^^^^^^^^^^^^^^^^^^\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nunloading_task_id = 1025\nstatus = <AcceptancePlacedUnloadingTaskStatus.AWAITING_STOCK_CELL: 'AWAITING_STOCK_CELL'>\n\n    @retry_on_assertion(stop_max_attempt_number=10, wait_fixed=1000)\n    def wait_placed_unloading_task(\n        unloading_task_id=None, status: AcceptancePlacedUnloadingTaskStatus = None\n    ) -> PlacedUnloadingTask:\n        placed_unloading_task: PlacedUnloadingTask = FMCGAcceptanceQueries().get_placed_unloading_task(\n            unloading_task_id=unloading_task_id\n        )\n        assert placed_unloading_task, f\"No placed_unloading_task created for unloading_task_id: {unloading_task_id}\"\n        if status is not None:\n>           assert placed_unloading_task.status == status, (\n                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n                f\"placed_unloading_task {placed_unloading_task.id} not in status: {status}, \"\n                f\"actual status: {placed_unloading_task.status}\"\n            )\nE           AssertionError: placed_unloading_task 842 not in status: AWAITING_STOCK_CELL, actual status: CREATED\n\nsrc/framework/fmcg/validation/waiters/acceptance.py:79: AssertionError"}, "steps": [{"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775691852443, "stop": 1775691852443}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/invoices", "status": "passed", "attachments": [{"name": "Request", "source": "c481840b-9f48-41d7-abda-da8df0a71325-attachment.json", "type": "application/json"}, {"name": "Response", "source": "294ee742-4905-420f-b1ad-d96271d4ca5b-attachment.json", "type": "application/json"}], "start": 1775691852443, "stop": 1775691852484}, {"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775691852484, "stop": 1775691852486}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/task/pick", "status": "passed", "attachments": [{"name": "Request", "source": "108d567f-6f67-4b99-be7c-0dd2c21bd9f3-attachment.json", "type": "application/json"}, {"name": "Response", "source": "a450e28a-829d-4a0d-a68f-f521a55d7c32-attachment.json", "type": "application/json"}], "start": 1775691852487, "stop": 1775691852530}, {"name": "Waiter function: wait_unloading_task", "status": "passed", "start": 1775691852531, "stop": 1775691852532}, {"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775691852532, "stop": 1775691852533}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/generate-barcodes", "status": "passed", "attachments": [{"name": "Request", "source": "ceb5832b-e77f-4fe2-8c71-1dfefaed89f6-attachment.json", "type": "application/json"}, {"name": "Response", "source": "232dd19f-296b-4b09-a1e1-5bf297ec3b83-attachment.json", "type": "application/json"}], "start": 1775691852533, "stop": 1775691852564}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item", "status": "passed", "attachments": [{"name": "Request", "source": "00caace1-e194-4112-a83c-572896a8a804-attachment.json", "type": "application/json"}, {"name": "Response", "source": "a3ec79a0-f4d1-4df7-9487-b7230609320a-attachment.json", "type": "application/json"}], "start": 1775691852566, "stop": 1775691852603}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item/add-count", "status": "passed", "attachments": [{"name": "Request", "source": "57df1cc4-cf24-4469-9ea5-38a95b1258d5-attachment.json", "type": "application/json"}, {"name": "Response", "source": "cc8c04da-9a35-40ae-95da-1ef5e6ca793f-attachment.json", "type": "application/json"}], "start": 1775691852603, "stop": 1775691852637}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/barcode", "status": "passed", "attachments": [{"name": "Request", "source": "1009803c-b6e9-4dd8-a4b4-9ffd44f6a779-attachment.json", "type": "application/json"}, {"name": "Response", "source": "c720e68f-36bb-4269-aefa-1c573fb6f0a4-attachment.json", "type": "application/json"}], "start": 1775691852637, "stop": 1775691852676}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/add-expiration-date", "status": "passed", "attachments": [{"name": "Request", "source": "0cb5735e-718d-4058-bae0-4a784c861f6d-attachment.json", "type": "application/json"}, {"name": "Response", "source": "bb7c01d4-8280-4b35-960c-919ece532479-attachment.json", "type": "application/json"}], "start": 1775691852677, "stop": 1775691852749}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/move-to-buffer", "status": "passed", "attachments": [{"name": "Request", "source": "479b22c6-c887-4802-89c9-20fe65415999-attachment.json", "type": "application/json"}, {"name": "Response", "source": "bd14b25b-4390-47a3-b623-855f99cea834-attachment.json", "type": "application/json"}], "start": 1775691852750, "stop": 1775691852842}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/task/pick", "status": "passed", "attachments": [{"name": "Request", "source": "312ddfd5-a74a-41ab-959a-8756fa9bc585-attachment.json", "type": "application/json"}, {"name": "Response", "source": "a31c54aa-2213-4f0f-885e-fd264eae6164-attachment.json", "type": "application/json"}], "start": 1775691852844, "stop": 1775691852949}, {"name": "Waiter function: wait_unloading_task", "status": "passed", "start": 1775691852950, "stop": 1775691852952}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/generate-barcodes", "status": "passed", "attachments": [{"name": "Request", "source": "b02dab86-2a4b-4763-9997-e98f1a65e574-attachment.json", "type": "application/json"}, {"name": "Response", "source": "33f3cede-e3b9-4da0-b985-81625507414c-attachment.json", "type": "application/json"}], "start": 1775691852952, "stop": 1775691852978}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item", "status": "passed", "attachments": [{"name": "Request", "source": "7f5978c8-d050-4482-bac2-ffcdc8faab28-attachment.json", "type": "application/json"}, {"name": "Response", "source": "1d58e476-def0-4add-979c-0f165f0bbcb7-attachment.json", "type": "application/json"}], "start": 1775691852979, "stop": 1775691853012}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item/add-count", "status": "passed", "attachments": [{"name": "Request", "source": "ca08aa10-53a0-4540-89fe-c7c3daaacb2e-attachment.json", "type": "application/json"}, {"name": "Response", "source": "20787b53-d39d-4000-953d-d92807c59265-attachment.json", "type": "application/json"}], "start": 1775691853013, "stop": 1775691853043}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/barcode", "status": "passed", "attachments": [{"name": "Request", "source": "182dfa94-4c69-4790-ae8c-87bbaceedb63-attachment.json", "type": "application/json"}, {"name": "Response", "source": "7b5bc540-cca1-43d1-959e-2218c22e8226-attachment.json", "type": "application/json"}], "start": 1775691853044, "stop": 1775691853082}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/add-expiration-date", "status": "passed", "attachments": [{"name": "Request", "source": "7115122a-793f-41b9-bd55-272023a687af-attachment.json", "type": "application/json"}, {"name": "Response", "source": "c6df6362-7608-453d-9c94-7150e36c60d7-attachment.json", "type": "application/json"}], "start": 1775691853083, "stop": 1775691853113}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/move-to-buffer", "status": "passed", "attachments": [{"name": "Request", "source": "f336bbb7-aef7-4c99-9f17-a169abbde9f2-attachment.json", "type": "application/json"}, {"name": "Response", "source": "0d33f99d-5947-44f3-883b-0941a73d1398-attachment.json", "type": "application/json"}], "start": 1775691853113, "stop": 1775691853142}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/task/pick", "status": "passed", "attachments": [{"name": "Request", "source": "367ce7e0-1178-4254-adb6-119106b58815-attachment.json", "type": "application/json"}, {"name": "Response", "source": "f2fecd9b-051e-4909-bd94-86b811b1934f-attachment.json", "type": "application/json"}], "start": 1775691853145, "stop": 1775691853179}, {"name": "Waiter function: wait_unloading_task", "status": "passed", "start": 1775691853179, "stop": 1775691853181}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/generate-barcodes", "status": "passed", "attachments": [{"name": "Request", "source": "5438cf5a-253a-4d6a-9d82-7cda7b376919-attachment.json", "type": "application/json"}, {"name": "Response", "source": "3ee08d1d-52cf-4fdb-b067-925aedfde1b9-attachment.json", "type": "application/json"}], "start": 1775691853181, "stop": 1775691853205}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item", "status": "passed", "attachments": [{"name": "Request", "source": "e37506f7-5e12-46b3-862b-a66878e46e51-attachment.json", "type": "application/json"}, {"name": "Response", "source": "2f3a59e7-d2a1-44e1-a24c-386b1efe12fa-attachment.json", "type": "application/json"}], "start": 1775691853206, "stop": 1775691853239}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item/add-count", "status": "passed", "attachments": [{"name": "Request", "source": "449e67bd-bdcc-41a8-9aff-aff85f7f2eb0-attachment.json", "type": "application/json"}, {"name": "Response", "source": "17da5c05-958b-4034-a646-82ca267f8267-attachment.json", "type": "application/json"}], "start": 1775691853240, "stop": 1775691853272}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/barcode", "status": "passed", "attachments": [{"name": "Request", "source": "ce04519d-0fe2-406b-9b7b-768de155297f-attachment.json", "type": "application/json"}, {"name": "Response", "source": "33a6c775-6cc7-4324-b6c5-837fd07975ac-attachment.json", "type": "application/json"}], "start": 1775691853273, "stop": 1775691853308}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/add-expiration-date", "status": "passed", "attachments": [{"name": "Request", "source": "7ded47fa-7ab7-4369-8186-3a452ba3d1f8-attachment.json", "type": "application/json"}, {"name": "Response", "source": "5e468804-0038-4fd2-8266-6f72f54a54c1-attachment.json", "type": "application/json"}], "start": 1775691853309, "stop": 1775691853337}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/move-to-buffer", "status": "passed", "attachments": [{"name": "Request", "source": "d4b613c8-41c1-49a7-a03c-b0b15641ea35-attachment.json", "type": "application/json"}, {"name": "Response", "source": "40281165-cbce-4d61-b1b0-3ede58838253-attachment.json", "type": "application/json"}], "start": 1775691853338, "stop": 1775691853370}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/task/pick", "status": "passed", "attachments": [{"name": "Request", "source": "7c42142c-b70c-445c-88b0-b0d2c9c84400-attachment.json", "type": "application/json"}, {"name": "Response", "source": "5020aa46-ffed-4ef3-ab0d-f1d2f061b8fd-attachment.json", "type": "application/json"}], "start": 1775691853373, "stop": 1775691853408}, {"name": "Waiter function: wait_unloading_task", "status": "passed", "start": 1775691853408, "stop": 1775691853410}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/generate-barcodes", "status": "passed", "attachments": [{"name": "Request", "source": "e7e3c204-d5d4-41ac-8e89-f6e54a070b22-attachment.json", "type": "application/json"}, {"name": "Response", "source": "750482de-cd50-4f64-9088-d2ebb9344f65-attachment.json", "type": "application/json"}], "start": 1775691853410, "stop": 1775691853435}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item", "status": "passed", "attachments": [{"name": "Request", "source": "d76cc762-4090-42ba-bf64-e999ead57f6c-attachment.json", "type": "application/json"}, {"name": "Response", "source": "e1d5093c-6df4-45cf-9e77-ec7b7405cfea-attachment.json", "type": "application/json"}], "start": 1775691853436, "stop": 1775691853468}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item/add-count", "status": "passed", "attachments": [{"name": "Request", "source": "907c9027-785e-4db7-8305-11da67399a0a-attachment.json", "type": "application/json"}, {"name": "Response", "source": "81ad403d-9508-4acd-b7ac-123097931815-attachment.json", "type": "application/json"}], "start": 1775691853468, "stop": 1775691853499}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/barcode", "status": "passed", "attachments": [{"name": "Request", "source": "15066efb-bd55-445d-afdf-cbcc1b28cc99-attachment.json", "type": "application/json"}, {"name": "Response", "source": "fa03311f-61cf-472b-8dbb-a4d15ac00299-attachment.json", "type": "application/json"}], "start": 1775691853500, "stop": 1775691853551}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/add-expiration-date", "status": "passed", "attachments": [{"name": "Request", "source": "866a4c82-afb9-4975-8924-7a6b17d21065-attachment.json", "type": "application/json"}, {"name": "Response", "source": "810d6490-f3bf-4e38-89e2-430a0745d16d-attachment.json", "type": "application/json"}], "start": 1775691853552, "stop": 1775691853583}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/move-to-buffer", "status": "passed", "attachments": [{"name": "Request", "source": "ad8c9ba1-5d6f-466c-872e-12f88e7630e7-attachment.json", "type": "application/json"}, {"name": "Response", "source": "56057714-2bd0-4913-b3c2-4e4808454610-attachment.json", "type": "application/json"}], "start": 1775691853583, "stop": 1775691853612}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/finalize", "status": "passed", "attachments": [{"name": "Request", "source": "f8bcc6ca-8c99-430a-8e2b-8d94fe269808-attachment.json", "type": "application/json"}, {"name": "Response", "source": "8a10e897-7df7-4b7d-8014-d12e1fb270cb-attachment.json", "type": "application/json"}], "start": 1775691853613, "stop": 1775691853648}, {"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775691853649, "stop": 1775691853650}, {"name": "Waiter function: wait_placed_unloading_task", "status": "passed", "start": 1775691853651, "stop": 1775691853652}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet", "status": "passed", "attachments": [{"name": "Request", "source": "45ed4075-b6f9-439d-940b-55815927a8e1-attachment.json", "type": "application/json"}, {"name": "Response", "source": "1fff06c0-fab5-4817-baaa-a7a2e975f59d-attachment.json", "type": "application/json"}], "start": 1775691853653, "stop": 1775691853681}, {"name": "Waiter function: wait_placed_unloading_task", "status": "failed", "statusDetails": {"message": "AssertionError: placed_unloading_task 842 not in status: AWAITING_STOCK_CELL, actual status: CREATED\n", "trace": "  File \"/app/src/framework/common/utils/utils.py\", line 218, in wrapped_f\n    return Retrying(\n           ^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/retrying.py\", line 289, in call\n    raise attempt.get()\n          ^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/retrying.py\", line 326, in get\n    raise exc.with_traceback(tb)\n  File \"/usr/local/lib/python3.11/site-packages/retrying.py\", line 273, in call\n    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)\n                      ^^^^^^^^^^^^^^^^^^^\n  File \"/app/src/framework/fmcg/validation/waiters/acceptance.py\", line 79, in wait_placed_unloading_task\n    assert placed_unloading_task.status == status, (\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"}, "start": 1775691853682, "stop": 1775691862699}], "attachments": [{"name": "log", "source": "fccd58e3-1639-4517-b470-3a89a6f9cee0-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "params", "value": "{'task_pallet_flow_type': <AcceptanceTaskPalletFlowType.NEW: 'NEW'>}"}, {"name": "fmcg_warehouse_invoice", "value": "{'random_items': [FmcgRandomItem(items_count=4, barcode_count=1, quantity=17, sku_id=None, barcode='', is_bundle=True, bundle_quantity=3, has_mark=False, has_expiration_date=False)]}"}], "start": 1775691852442, "stop": 1775691862699, "uuid": "836d3006-e808-41f9-932a-b0ec3a5e3d77", "historyId": "04b5f485beeb25b9a95ca7b44d4d172d", "testCaseId": "0be4445cf64a6c2a558dc5237cc25029", "fullName": "tests.fmcg.test_acceptance.test_invoice.TestFmcgAcceptanceInvoice#test_invoice_accept", "labels": [{"name": "tag", "value": "fmcg-flow-invoice"}, {"name": "tag", "value": "dm-fmcg-be-service-acceptance"}, {"name": "parentSuite", "value": "tests.fmcg.test_acceptance"}, {"name": "suite", "value": "test_invoice"}, {"name": "subSuite", "value": "TestFmcgAcceptanceInvoice"}, {"name": "host", "value": "runner-1rdl4o-mi-project-9-concurrent-0-mjqemzgi"}, {"name": "thread", "value": "22-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.fmcg.test_acceptance.test_invoice"}], "titlePath": ["tests", "fmcg", "test_acceptance", "test_invoice.py", "TestFmcgAcceptanceInvoice"]}