{"name": "test_e2e_inbound_uzbekistan_yandex_with_created_stock_no_kafka", "status": "broken", "statusDetails": {"message": "TypeError: 'int' object is not callable", "trace": "self = <tests.wms.test_e2e_inbound.test_inbound.TestE2EInbound object at 0x7bd6a4345410>\necom_invoice_in_wms = FFInvoiceDTO(invoice=<src.framework.fulfillment.builders.supply.invoice.InvoiceBuilder object at 0x7bd69f8d1210>)\n\n    def test_e2e_inbound_uzbekistan_yandex_with_created_stock_no_kafka(self, ecom_invoice_in_wms):\n        # wms_items = []\n        # stock_ff = (\n        #     FFSupplyBuilder()\n        #     .set_random_user()\n        #     .set_user_auth()\n        #     .create_items(\n        #         from_batch=True,\n        #         sku_amount=params[\"sku_amount\"],\n        #         barcode_count=params[\"barcode_count\"],\n        #         quantity=params[\"quantity\"],\n        #         update_stock=True,\n        #     )\n        #     .invoice_data\n        # )\n    \n        # for item_sku in stock_ff.sku_items:\n        #     item = WMSItemQty(\n        #         sku=item_sku.internal_sku_id,\n        #         qty=item_sku.quantity,\n        #         barcode=item_sku.barcode,\n        #         external_sku_id=item_sku.external_sku_id,\n        #     )\n        #     wms_items.append(item)\n    \n        # invoice = WMSInvoiceBuilder(\n        #     invoice_prefix=wms_inbound_e2e[\"invoice_prefix\"],\n        #     warehouse=wms_inbound_e2e[\"warehouse\"],\n        #     proper_cell=wms_inbound_e2e[\"cell\"].key,\n        # ).set_user_auth(wms_inbound_e2e[\"warehouse\"].user.token)\n    \n        warehouse = WMSWarehouses.get_warehouse_by_id(ecom_invoice_in_wms.invoice.warehouse_id)\n    \n        # count_types = {\n        #                 \"proper\": True,\n        #                 \"defected\": False,\n        #                 \"overage\": False,\n        #                 \"zero\": False,\n        #             }\n    \n        proper_cell = new_free_cell(\n            zone_id=warehouse.qa_zone.value,\n            cell_prefix=INBOUND_PLACEMENT_CELL_PREFIX,\n            cell_picking_type=AvailabilityCellPickingType.PICKUP,\n        )\n    \n        with allure.step(\"clear tasks\"):\n            invoice = (\n                WMSInvoiceBuilder(\n                    invoice_id=ecom_invoice_in_wms.invoice.invoice_number,\n                    # invoice_prefix=\"YA41\",\n                    warehouse=warehouse,\n                    proper_cell=proper_cell.key,\n                    # ).set_user_auth(warehouse.user.token)\n                )\n                .set_user()\n                .login_or_refresh()\n            )\n            # invoice.set_count_types(**count_types)\n            # invoice.update_invoice()\n            # invoice.update_items()\n            # invoice.update_pallets()\n    \n        with allure.step(\"clear tasks\"):\n            AcceptanceQueries().clear_worker_tasks(worker_id=invoice.user.wms_id)\n    \n>       invoice.full_acceptance()\n\ntests/wms/test_e2e_inbound/test_inbound.py:189: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nsrc/framework/wms/builders/acceptance/invoice/invoice.py:797: in full_acceptance\n    self.state_init().state_waiting().state_created()\nsrc/framework/wms/builders/acceptance/invoice/invoice.py:357: in state_created\n    self.update_invoice().update_pallets()\n    ^^^^^^^^^^^^^^^^^^^^^\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <src.framework.wms.builders.acceptance.invoice.invoice.WMSInvoiceBuilder object at 0x7bd69f18c250>\n\n    def update_invoice(self):\n        self.data.invoice = (\n            InvoiceApi(headers=self.headers)\n            .search_invoices_get(search_string=self.invoice_id, pageable=Pageable(page=0, size=5))\n            .data.content[0]\n        )\n        self.supply.invoice_barcode = self.data.invoice.barcode\n        self.seller.id = self.data.invoice.seller.id\n>       self.invoice_id(invoice_id=self.data.invoice.id)\nE       TypeError: 'int' object is not callable\n\nsrc/framework/wms/builders/acceptance/invoice/invoice.py:192: TypeError"}, "steps": [{"name": "AvailableCell add to database", "status": "passed", "steps": [{"name": "SQLAlchemy query UNDEFINED ", "status": "passed", "attachments": [{"name": "query", "source": "d1406ec4-b106-47da-99ac-3c6b3c8471fe-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "a58f4450-a41e-445b-ae07-67181652d170-attachment.json", "type": "application/json"}], "start": 1775402489609, "stop": 1775402489609}, {"name": "SQLAlchemy query UNDEFINED ", "status": "passed", "attachments": [{"name": "query", "source": "c2f61387-dd84-4025-bf12-42688c8d7683-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "f3a0e53a-9a39-4d97-b1bc-93657af3499d-attachment.json", "type": "application/json"}], "start": 1775402489610, "stop": 1775402489610}, {"name": "SQLAlchemy query UNDEFINED ", "status": "passed", "attachments": [{"name": "query", "source": "57361014-5fcb-48a6-9a65-25fcdeed319c-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "a5b445e9-49bd-4cc8-b3d2-626ddf3e33fd-attachment.json", "type": "application/json"}], "start": 1775402489611, "stop": 1775402489611}, {"name": "SQLAlchemy query INSERT ", "status": "passed", "attachments": [{"name": "query", "source": "a9b2a499-fd25-48be-932b-fb2b3bc04007-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "363bedc7-5a87-4ad5-b65b-614dffc9a375-attachment.json", "type": "application/json"}], "start": 1775402489613, "stop": 1775402489613}], "start": 1775402489599, "stop": 1775402489616}, {"name": "clear tasks", "status": "passed", "steps": [{"name": "SQLAlchemy query UNDEFINED ", "status": "passed", "attachments": [{"name": "query", "source": "7c5072ff-0f28-4b75-9ad4-c270ea7c7b70-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "2f0003b5-d20d-4cf9-a923-cfbcad24407e-attachment.json", "type": "application/json"}], "start": 1775402489695, "stop": 1775402489695}, {"name": "SQLAlchemy query UNDEFINED ", "status": "passed", "attachments": [{"name": "query", "source": "09b807e2-acd1-41d8-92f5-8e5c53b3fd64-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "0fdf63d8-50e2-4b43-9b06-cbc7bbc4f2ba-attachment.json", "type": "application/json"}], "start": 1775402489695, "stop": 1775402489695}, {"name": "SQLAlchemy query UNDEFINED ", "status": "passed", "attachments": [{"name": "query", "source": "75f8e56f-023e-47a0-9c2d-3a1ddca48468-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "2991e63e-34fb-4b56-be12-70cfafcb272c-attachment.json", "type": "application/json"}], "start": 1775402489696, "stop": 1775402489696}, {"name": "SQLAlchemy query UPDATE ", "status": "passed", "attachments": [{"name": "query", "source": "b0236989-bf0d-4c4f-9de1-f7edf0ce70c3-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "c1fcb117-c11b-47bf-8fd6-14702fce450d-attachment.json", "type": "application/json"}], "start": 1775402489706, "stop": 1775402489706}, {"name": "Waiter function: login_or_refresh", "status": "passed", "steps": [{"name": "POST → https://dm-wms-be-service-account.k8s-review.dailymail-tech.uz/oauth/custom/token", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "af3b2797-40fb-4167-be0e-4db76decb550-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "d243b3ac-2918-45b8-b68f-8d1f0a56634b-attachment.json", "type": "application/json"}], "start": 1775402489746, "stop": 1775402489746}, {"name": "Response → 200, trace_id: 449aa40c3ea1d204701742c6d52ac8e0", "status": "passed", "attachments": [{"name": "response.headers", "source": "2b304f59-1f13-4f62-b67e-a5c456691127-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "09c4faf4-51c6-473b-932f-1e67bb4cc35e-attachment.json", "type": "application/json"}], "start": 1775402489746, "stop": 1775402489746}], "attachments": [{"name": "cURL", "source": "98db7f2b-e9d1-47f9-b0f8-91982c393727-attachment.txt", "type": "text/plain"}], "start": 1775402489745, "stop": 1775402489746}], "start": 1775402489707, "stop": 1775402489749}], "start": 1775402489616, "stop": 1775402489749}, {"name": "clear tasks", "status": "passed", "steps": [{"name": "SQLAlchemy query UNDEFINED ", "status": "passed", "attachments": [{"name": "query", "source": "d660bed6-711e-4341-9b23-1c00989fb2a7-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "6ac30952-130c-40d6-8195-76deec18889b-attachment.json", "type": "application/json"}], "start": 1775402489759, "stop": 1775402489760}, {"name": "SQLAlchemy query UNDEFINED ", "status": "passed", "attachments": [{"name": "query", "source": "e5f32c41-11b3-419e-8c56-01a63b216fdb-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "43727e98-1be9-4bdd-8385-3dab6c2bc8f8-attachment.json", "type": "application/json"}], "start": 1775402489760, "stop": 1775402489760}, {"name": "SQLAlchemy query UNDEFINED ", "status": "passed", "attachments": [{"name": "query", "source": "c0749964-5290-4c16-8b18-ae470d813bd8-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "9cef14ab-9722-440c-a37c-a7e0cd61e4b1-attachment.json", "type": "application/json"}], "start": 1775402489761, "stop": 1775402489761}, {"name": "SQLAlchemy query UPDATE ", "status": "passed", "attachments": [{"name": "query", "source": "f54316fe-1baf-4f00-8b5e-9a57bcb1b31a-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "1f1e3a14-281c-4ec0-96d8-9bae3112a668-attachment.json", "type": "application/json"}], "start": 1775402490084, "stop": 1775402490084}, {"name": "SQLAlchemy query UPDATE ", "status": "passed", "attachments": [{"name": "query", "source": "0bf4e487-9790-4aa9-acbd-9a59336caeae-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "2cb8f245-e1b4-4380-9724-c1d4af797e31-attachment.json", "type": "application/json"}], "start": 1775402490087, "stop": 1775402490087}, {"name": "SQLAlchemy query UPDATE ", "status": "passed", "attachments": [{"name": "query", "source": "69c65cae-6a76-41a3-84c1-6e91299b7794-attachment.txt", "type": "text/plain"}, {"name": "params", "source": "dd271cd6-35ab-4c67-9c7a-c26f4d421cba-attachment.json", "type": "application/json"}], "start": 1775402490088, "stop": 1775402490088}], "start": 1775402489749, "stop": 1775402490089}, {"name": "invoice creation", "status": "broken", "statusDetails": {"message": "TypeError: 'int' object is not callable\n", "trace": "  File \"/app/src/framework/wms/builders/acceptance/invoice/invoice.py\", line 797, in full_acceptance\n    self.state_init().state_waiting().state_created()\n  File \"/app/src/framework/wms/builders/acceptance/invoice/invoice.py\", line 357, in state_created\n    self.update_invoice().update_pallets()\n    ^^^^^^^^^^^^^^^^^^^^^\n  File \"/app/src/framework/wms/builders/acceptance/invoice/invoice.py\", line 192, in update_invoice\n    self.invoice_id(invoice_id=self.data.invoice.id)\n"}, "steps": [{"name": "Waiter function: wait_invoice", "status": "passed", "steps": [{"name": "db.request SQLAlchemy query SELECT → dm_wms_be_service_acceptance ", "status": "passed", "attachments": [{"name": "query", "source": "d77584cc-1a8d-490f-8358-130a01ba0a84-attachment.txt", "type": "text/plain"}, {"name": "result", "source": "c2cf7612-3c23-4486-9037-2cd2e0381547-attachment.json", "type": "application/json"}], "start": 1775402490253, "stop": 1775402490254}], "start": 1775402490092, "stop": 1775402490254}, {"name": "Waiter function: wait_invoice", "status": "passed", "steps": [{"name": "db.request SQLAlchemy query SELECT → dm_wms_be_service_acceptance ", "status": "passed", "attachments": [{"name": "query", "source": "a5d1aa25-8c9a-48d6-a4d5-0985eb49eaaf-attachment.txt", "type": "text/plain"}, {"name": "result", "source": "4e397d93-e47d-4bbf-ade6-b6fd98c43fb6-attachment.json", "type": "application/json"}], "start": 1775402490266, "stop": 1775402490266}], "start": 1775402490254, "stop": 1775402490266}, {"name": "GET → https://dm-wms-be-service-acceptance.k8s-review.dailymail-tech.uz/search-invoices", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "66b69edd-c7e2-45fb-b488-546eaaca4856-attachment.json", "type": "application/json"}, {"name": "request.params", "source": "c73ba26a-909e-442a-a7ee-1664fa504074-attachment.json", "type": "application/json"}], "start": 1775402490351, "stop": 1775402490352}, {"name": "Response → 200, trace_id: aa3029ec5a9b085a13382b7f08c8bb87", "status": "passed", "attachments": [{"name": "response.headers", "source": "bbd1c328-0462-46fa-b1b9-ba5675ce8d5b-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "79bb4257-3a85-4490-a732-a4cd37251128-attachment.json", "type": "application/json"}], "start": 1775402490352, "stop": 1775402490352}], "attachments": [{"name": "cURL", "source": "17c95c3b-887b-4e2b-bb07-53bb1d7dd1d7-attachment.txt", "type": "text/plain"}], "start": 1775402490351, "stop": 1775402490352}], "start": 1775402490089, "stop": 1775402490355}], "attachments": [{"name": "log", "source": "9de3683d-5c8a-47f6-8729-805c27d2d465-attachment.txt", "type": "text/plain"}], "start": 1775402489556, "stop": 1775402490356, "uuid": "f07ea1c6-1318-4434-821f-f38aee7a5632", "historyId": "0204915bd69b85c487d4af783f0cb436", "testCaseId": "0204915bd69b85c487d4af783f0cb436", "fullName": "tests.wms.test_e2e_inbound.test_inbound.TestE2EInbound#test_e2e_inbound_uzbekistan_yandex_with_created_stock_no_kafka", "labels": [{"name": "feature", "value": "WMS e2e inbound"}, {"name": "tag", "value": "wms-end-to-end-inbound"}, {"name": "parentSuite", "value": "tests.wms.test_e2e_inbound"}, {"name": "suite", "value": "test_inbound"}, {"name": "subSuite", "value": "TestE2EInbound"}, {"name": "host", "value": "runner-1rdl4o-mi-project-9-concurrent-0-xpe8ohtz"}, {"name": "thread", "value": "22-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.wms.test_e2e_inbound.test_inbound"}], "titlePath": ["tests", "wms", "test_e2e_inbound", "test_inbound.py", "TestE2EInbound"]}