{"name": "test_invoice_accept[params0-fmcg_warehouse_invoice1]", "status": "failed", "statusDetails": {"message": "AssertionError: placed_unloading_task 853 not in status: AWAITING_STOCK_CELL, actual status: CREATED", "trace": "self = <tests.fmcg.test_acceptance.test_invoice.TestFmcgAcceptanceInvoice object at 0x794021d5d350>\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 0x79401b31a650>)\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 = 1037\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 853 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": 1775778187599, "stop": 1775778187600}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/invoices", "status": "passed", "attachments": [{"name": "Request", "source": "93acc3ba-98f8-4677-80b9-fba64974a6b0-attachment.json", "type": "application/json"}, {"name": "Response", "source": "2aa08a0f-209d-4934-b47a-d4905c22f658-attachment.json", "type": "application/json"}], "start": 1775778187601, "stop": 1775778187635}, {"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775778187636, "stop": 1775778187638}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/task/pick", "status": "passed", "attachments": [{"name": "Request", "source": "0f29e49c-fe89-4f8f-b910-d29c2b13cba4-attachment.json", "type": "application/json"}, {"name": "Response", "source": "6e0ab615-5a87-467d-bd7a-b969e832c771-attachment.json", "type": "application/json"}], "start": 1775778187639, "stop": 1775778187670}, {"name": "Waiter function: wait_unloading_task", "status": "passed", "start": 1775778187671, "stop": 1775778187673}, {"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775778187673, "stop": 1775778187674}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/generate-barcodes", "status": "passed", "attachments": [{"name": "Request", "source": "14a75b4b-2774-44be-87b1-768163e2819e-attachment.json", "type": "application/json"}, {"name": "Response", "source": "bd1b551e-6ed7-44e2-a8a0-da39ca6e8507-attachment.json", "type": "application/json"}], "start": 1775778187674, "stop": 1775778187703}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item", "status": "passed", "attachments": [{"name": "Request", "source": "ccfec525-a682-4b44-84d8-a4f0ddcd04a5-attachment.json", "type": "application/json"}, {"name": "Response", "source": "d6b0ab8c-3eff-40ac-b24a-b5241580490b-attachment.json", "type": "application/json"}], "start": 1775778187705, "stop": 1775778187736}, {"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": "6338eaa8-38c8-4a02-bc30-76ba474d702c-attachment.json", "type": "application/json"}, {"name": "Response", "source": "57213963-52df-4f49-9851-b63bfa89d7a3-attachment.json", "type": "application/json"}], "start": 1775778187736, "stop": 1775778187765}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/barcode", "status": "passed", "attachments": [{"name": "Request", "source": "c705e759-bd41-4b88-9b27-5aeadb7694df-attachment.json", "type": "application/json"}, {"name": "Response", "source": "a350e5d8-e1c6-4d14-9ee4-613d9eb2d3a7-attachment.json", "type": "application/json"}], "start": 1775778187766, "stop": 1775778187801}, {"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": "9947b43d-4a16-4346-85e3-cc36b7cc8885-attachment.json", "type": "application/json"}, {"name": "Response", "source": "fea5a12d-64bc-413a-953f-c2c9c909d8a3-attachment.json", "type": "application/json"}], "start": 1775778187802, "stop": 1775778187828}, {"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": "c38b2ed1-10b9-4f3e-878e-a4aa2bbd6b7f-attachment.json", "type": "application/json"}, {"name": "Response", "source": "9ece5969-96cf-4360-9476-4b714c08150b-attachment.json", "type": "application/json"}], "start": 1775778187829, "stop": 1775778187856}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/task/pick", "status": "passed", "attachments": [{"name": "Request", "source": "4137a781-f2ff-4aee-9c9f-6cdb3762779f-attachment.json", "type": "application/json"}, {"name": "Response", "source": "322c3ceb-3f98-4d81-99d6-50759fb4f26b-attachment.json", "type": "application/json"}], "start": 1775778187858, "stop": 1775778187886}, {"name": "Waiter function: wait_unloading_task", "status": "passed", "start": 1775778187887, "stop": 1775778187888}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/generate-barcodes", "status": "passed", "attachments": [{"name": "Request", "source": "c18a60e1-1b60-4f00-adc6-a9e57d208e37-attachment.json", "type": "application/json"}, {"name": "Response", "source": "7795f0e0-4466-487c-abeb-8a805def29a7-attachment.json", "type": "application/json"}], "start": 1775778187888, "stop": 1775778187916}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance-item", "status": "passed", "attachments": [{"name": "Request", "source": "f1055401-44e3-496a-912f-d3adfca6bbcf-attachment.json", "type": "application/json"}, {"name": "Response", "source": "c7c24e98-ef95-4b23-a609-2b047c69cd11-attachment.json", "type": "application/json"}], "start": 1775778187917, "stop": 1775778187945}, {"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": "774b5342-bf8e-409b-a93e-5ca232077a7a-attachment.json", "type": "application/json"}, {"name": "Response", "source": "dfa233c4-cb80-43fd-8681-bf241faff3fd-attachment.json", "type": "application/json"}], "start": 1775778187945, "stop": 1775778187971}, {"name": "PUT → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet/barcode", "status": "passed", "attachments": [{"name": "Request", "source": "bee853e0-31e5-42c8-ba82-cac217c8d49f-attachment.json", "type": "application/json"}, {"name": "Response", "source": "1b45fe01-0e03-4540-b490-22ee25abeb4d-attachment.json", "type": "application/json"}], "start": 1775778187972, "stop": 1775778188008}, {"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": "2b40aa21-6dfe-4b0d-996f-5b1f2c54abac-attachment.json", "type": "application/json"}, {"name": "Response", "source": "534caa85-e288-4570-a7f2-77a19740a843-attachment.json", "type": "application/json"}], "start": 1775778188009, "stop": 1775778188034}, {"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": "0de40446-b0e3-4254-b869-93180c1e8044-attachment.json", "type": "application/json"}, {"name": "Response", "source": "02da3b0e-ed93-4a6f-ba62-17fbf1c4bf6f-attachment.json", "type": "application/json"}], "start": 1775778188035, "stop": 1775778188061}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/acceptance/finalize", "status": "passed", "attachments": [{"name": "Request", "source": "f7bfda74-95e8-476e-853f-f2bad68d0391-attachment.json", "type": "application/json"}, {"name": "Response", "source": "30f7fdb7-cf37-410f-963b-955c6eb38b1e-attachment.json", "type": "application/json"}], "start": 1775778188061, "stop": 1775778188091}, {"name": "Waiter function: wait_invoice", "status": "passed", "start": 1775778188093, "stop": 1775778188095}, {"name": "Waiter function: wait_placed_unloading_task", "status": "passed", "start": 1775778188096, "stop": 1775778188097}, {"name": "POST → https://dm-fmcg-be-facade-fe.k8s-review.dailymail-tech.uz/api/v1/pallet", "status": "passed", "attachments": [{"name": "Request", "source": "53ae5275-91c8-4a11-9da1-91469223fee0-attachment.json", "type": "application/json"}, {"name": "Response", "source": "986ff416-b5ed-4474-97d0-a7bd6a50bf31-attachment.json", "type": "application/json"}], "start": 1775778188098, "stop": 1775778188126}, {"name": "Waiter function: wait_placed_unloading_task", "status": "failed", "statusDetails": {"message": "AssertionError: placed_unloading_task 853 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": 1775778188127, "stop": 1775778197145}], "attachments": [{"name": "log", "source": "c0163698-5a4d-44da-9cb3-59a137a830a2-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=2, barcode_count=1, quantity=16, sku_id=None, barcode='', is_bundle=True, bundle_quantity=3, has_mark=False, has_expiration_date=False)]}"}], "start": 1775778187599, "stop": 1775778197146, "uuid": "11a99eea-ac73-48b4-847b-b3b1b14f3b7a", "historyId": "dbb6cc07c411f06e0c39c8410d13a8d6", "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-suq5bx2z"}, {"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"]}