{"name": "test_invoice_accept[params0-fmcg_warehouse_invoice1]", "status": "failed", "statusDetails": {"message": "AssertionError: placed_unloading_task 823 not in status: AWAITING_STOCK_CELL, actual status: CREATED", "trace": "self = <tests.fmcg.test_acceptance.test_invoice.TestFmcgAcceptanceInvoice object at 0x74b23d7614d0>\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=...48455a831'), invoice=<src.framework.fmcg.builders.acceptance.v1_invoice.V1FmcgInvoiceBuilder object at 0x74b2379c7450>)\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 = 1002\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 823 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": 1775518990938, "stop": 1775518990938}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/invoices", "status": "passed", "attachments": [{"name": "Request", "source": "208fa7c0-1519-425e-bfd1-7c6a6f123afa-attachment.json", "type": "application/json"}, {"name": "Response", "source": "c9ba3ca0-de63-4f94-9493-e2c971ed65d6-attachment.json", "type": "application/json"}], "start": 1775518990939, "stop": 1775518990974}, {"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775518990975, "stop": 1775518990976}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/task/pick", "status": "passed", "attachments": [{"name": "Request", "source": "42a1b380-fad5-40f1-aad9-07d9d928721f-attachment.json", "type": "application/json"}, {"name": "Response", "source": "36b1746b-0d6b-49dd-b83a-dcfcfc1b618d-attachment.json", "type": "application/json"}], "start": 1775518990977, "stop": 1775518991013}, {"name": "Waiter function: wait_unloading_task", "status": "passed", "start": 1775518991013, "stop": 1775518991015}, {"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775518991015, "stop": 1775518991016}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/generate-barcodes", "status": "passed", "attachments": [{"name": "Request", "source": "8d42f1c4-12fd-4eb3-9824-a9f1221f6a0b-attachment.json", "type": "application/json"}, {"name": "Response", "source": "57cb9fd1-156b-4c14-8872-aa2fe320449a-attachment.json", "type": "application/json"}], "start": 1775518991016, "stop": 1775518991046}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item", "status": "passed", "attachments": [{"name": "Request", "source": "5f7cfc9b-797f-42a0-939c-79aee5e529de-attachment.json", "type": "application/json"}, {"name": "Response", "source": "7a139135-d568-4a3b-8ddb-841a42a34eba-attachment.json", "type": "application/json"}], "start": 1775518991048, "stop": 1775518991082}, {"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": "76a14375-d220-4b04-9f4a-7ac49f5f5b4f-attachment.json", "type": "application/json"}, {"name": "Response", "source": "b9cdfade-0b01-4176-8a03-ddc240d2f0ef-attachment.json", "type": "application/json"}], "start": 1775518991083, "stop": 1775518991112}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/barcode", "status": "passed", "attachments": [{"name": "Request", "source": "cfaa214d-a482-4bfb-9dab-4ad2e2b222a5-attachment.json", "type": "application/json"}, {"name": "Response", "source": "70edef33-df8a-48fc-8985-e45a3065a0ac-attachment.json", "type": "application/json"}], "start": 1775518991113, "stop": 1775518991153}, {"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": "1c35a769-052c-4d40-9794-424cac7c3d62-attachment.json", "type": "application/json"}, {"name": "Response", "source": "b45558e5-36ac-4568-b813-f4afcdfcdf12-attachment.json", "type": "application/json"}], "start": 1775518991154, "stop": 1775518991184}, {"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": "eff652ab-73fe-454e-a6b9-af53fc146d39-attachment.json", "type": "application/json"}, {"name": "Response", "source": "d51e05f9-2074-43b6-a32f-2391a2481adb-attachment.json", "type": "application/json"}], "start": 1775518991184, "stop": 1775518991214}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/task/pick", "status": "passed", "attachments": [{"name": "Request", "source": "72751a03-21c6-4c35-80bc-4a0551c1c336-attachment.json", "type": "application/json"}, {"name": "Response", "source": "f4b3e43b-4992-4888-b08e-7c147c6c5a73-attachment.json", "type": "application/json"}], "start": 1775518991216, "stop": 1775518991249}, {"name": "Waiter function: wait_unloading_task", "status": "passed", "start": 1775518991249, "stop": 1775518991251}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/generate-barcodes", "status": "passed", "attachments": [{"name": "Request", "source": "50fd1ddb-1506-48b4-a9ab-ebd853c37c18-attachment.json", "type": "application/json"}, {"name": "Response", "source": "03a17872-dfc4-4172-8714-e047a8d8ebd6-attachment.json", "type": "application/json"}], "start": 1775518991251, "stop": 1775518991276}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item", "status": "passed", "attachments": [{"name": "Request", "source": "982848ec-6a2c-47ee-b4a8-036cc0969a64-attachment.json", "type": "application/json"}, {"name": "Response", "source": "ec4fd267-a8ce-407b-ab18-b9a92db783cb-attachment.json", "type": "application/json"}], "start": 1775518991276, "stop": 1775518991307}, {"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": "ccc42394-2e0a-4c38-8af5-e8735fc27d0c-attachment.json", "type": "application/json"}, {"name": "Response", "source": "e948ee6b-8eee-4899-9644-c84b5a45f07d-attachment.json", "type": "application/json"}], "start": 1775518991308, "stop": 1775518991337}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/barcode", "status": "passed", "attachments": [{"name": "Request", "source": "041c0533-b147-4116-8469-ef4d3154d6b8-attachment.json", "type": "application/json"}, {"name": "Response", "source": "c0e3011b-48ec-42a4-9e7c-83b1b136fe03-attachment.json", "type": "application/json"}], "start": 1775518991338, "stop": 1775518991373}, {"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": "e3d2fef5-8df7-438b-8a1c-1152698327c0-attachment.json", "type": "application/json"}, {"name": "Response", "source": "f900523d-cc60-4d20-b9e3-ced4b9e0caf7-attachment.json", "type": "application/json"}], "start": 1775518991374, "stop": 1775518991403}, {"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": "85055a98-c226-4b56-8503-c9f7679afe0e-attachment.json", "type": "application/json"}, {"name": "Response", "source": "ab29c764-f27c-4367-a2d8-bb3fbaeceeea-attachment.json", "type": "application/json"}], "start": 1775518991403, "stop": 1775518991432}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/task/pick", "status": "passed", "attachments": [{"name": "Request", "source": "eb42d0c2-49fb-4a86-82a0-c6181e2db031-attachment.json", "type": "application/json"}, {"name": "Response", "source": "178311a3-adda-461d-b999-c3c5f7d0adbc-attachment.json", "type": "application/json"}], "start": 1775518991435, "stop": 1775518991465}, {"name": "Waiter function: wait_unloading_task", "status": "passed", "start": 1775518991466, "stop": 1775518991467}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/generate-barcodes", "status": "passed", "attachments": [{"name": "Request", "source": "038cbaf5-9820-4247-ae8b-e126cd41968f-attachment.json", "type": "application/json"}, {"name": "Response", "source": "77ca2b14-c6e8-454a-bcaf-c29045aa3208-attachment.json", "type": "application/json"}], "start": 1775518991467, "stop": 1775518991492}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item", "status": "passed", "attachments": [{"name": "Request", "source": "ffe02ca1-3b68-4e27-87dd-49374fcce7ed-attachment.json", "type": "application/json"}, {"name": "Response", "source": "02dd2985-baa1-421c-9249-b9fb2d49d25d-attachment.json", "type": "application/json"}], "start": 1775518991493, "stop": 1775518991526}, {"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": "ac530d14-d990-4405-b48b-b04c1b16d579-attachment.json", "type": "application/json"}, {"name": "Response", "source": "3d001ce6-1d5a-4cb2-bd1f-3cbedeac740e-attachment.json", "type": "application/json"}], "start": 1775518991527, "stop": 1775518991555}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/barcode", "status": "passed", "attachments": [{"name": "Request", "source": "20923802-0234-4be8-87f4-c9c2b456bad8-attachment.json", "type": "application/json"}, {"name": "Response", "source": "de1daf03-bc7b-4470-a942-147de3aba649-attachment.json", "type": "application/json"}], "start": 1775518991556, "stop": 1775518991591}, {"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": "702b401a-ad87-41c8-9957-f095d5724d6a-attachment.json", "type": "application/json"}, {"name": "Response", "source": "83701904-283f-42fb-a855-a229a0a58b39-attachment.json", "type": "application/json"}], "start": 1775518991592, "stop": 1775518991621}, {"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": "da532c1d-a068-4a28-8b4e-230343091cb1-attachment.json", "type": "application/json"}, {"name": "Response", "source": "1e4eba5a-b5f5-43ca-9c0b-9a02b89e4117-attachment.json", "type": "application/json"}], "start": 1775518991622, "stop": 1775518991652}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/finalize", "status": "passed", "attachments": [{"name": "Request", "source": "e75d6409-c2fc-4080-83b8-2b5d6e855af6-attachment.json", "type": "application/json"}, {"name": "Response", "source": "e83802e6-93f2-46cd-8a93-8ca62fcf007c-attachment.json", "type": "application/json"}], "start": 1775518991653, "stop": 1775518991684}, {"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775518991684, "stop": 1775518991686}, {"name": "Waiter function: wait_placed_unloading_task", "status": "passed", "start": 1775518991687, "stop": 1775518991688}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet", "status": "passed", "attachments": [{"name": "Request", "source": "e92b3fdd-8948-4054-9171-694cf9d58920-attachment.json", "type": "application/json"}, {"name": "Response", "source": "0fe05a68-5816-4e5c-b6cf-7af22477c311-attachment.json", "type": "application/json"}], "start": 1775518991689, "stop": 1775518991716}, {"name": "Waiter function: wait_placed_unloading_task", "status": "failed", "statusDetails": {"message": "AssertionError: placed_unloading_task 823 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": 1775518991717, "stop": 1775519000734}], "attachments": [{"name": "log", "source": "1dcbd3d6-5dfd-4227-9b67-f251e345ea10-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=3, barcode_count=1, quantity=10, sku_id=None, barcode='', is_bundle=True, bundle_quantity=4, has_mark=False, has_expiration_date=False)]}"}], "start": 1775518990937, "stop": 1775519000734, "uuid": "42149f2b-db1f-4a34-be48-d3e90df53bff", "historyId": "d1b9f753052f053576a36e4e4c2365fc", "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-svsoomfa"}, {"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"]}