{"name": "test_hub_e2e_cpt_extra_inspection_dispatch[hub_cpt_shipment0]", "status": "broken", "statusDetails": {"message": "sqlalchemy.orm.exc.DetachedInstanceError: Instance <SortPlan at 0x72111c306a10> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3)", "trace": "request = <SubRequest 'hub_cpt_shipment' for <Function test_hub_e2e_cpt_extra_inspection_dispatch[hub_cpt_shipment0]>>\nhub_4_with_auth = {'headers': {'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodWJfYmFyY29kZSI6Ijk5OTk5OTQiLCJodWJfdXN...ger;Operator', features_list='ZoneInbound;ZoneSorting;ZonePacking;ZoneCustoms;ZoneOsl;ZoneDispatch', is_deleted=False)}\nhub_meta_sort_plans = {'1    RU TAN 5POST PODOLSK': <src.framework.hub.db.schemas.configuration.SortPlan object at 0x72111c305110>, '2    RU...5250>, '4    RU TAN 5POST LOBNYA': <src.framework.hub.db.schemas.configuration.SortPlan object at 0x72111c304e90>, ...}\n\n    @pytest.fixture(\n        scope=\"function\",\n        params=[{\"with_big_bags\": False, \"is_customs\": False, \"items_count\": 3, \"sort_plan\": CPT_TEST_SORT_PLAN_NAME}],\n    )\n    def hub_cpt_shipment(request, hub_4_with_auth, hub_meta_sort_plans):\n        param_sort_plan = request.param.get(\"sort_plan\", CPT_TEST_SORT_PLAN_NAME)\n        param_with_big_bags = request.param.get(\"with_big_bags\", False)\n        param_is_customs = request.param.get(\"is_customs\", False)\n        param_items_count = request.param.get(\"items_count\", 3)\n>       sort_plan = HubConfigurationQueries().get_sort_plan_by_id(sort_plan_id=hub_meta_sort_plans[param_sort_plan].id)\n                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nsrc/framework/hub/fixtures/cpt/shipment.py:23: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:569: in __get__\n    return self.impl.get(state, dict_)  # type: ignore[no-any-return]\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1096: in get\n    value = self._fire_loader_callables(state, key, passive)\n            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/attributes.py:1126: in _fire_loader_callables\n    return state._load_expired(state, passive)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/state.py:828: in _load_expired\n    self.manager.expired_attribute_loader(self, toload, passive)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nmapper = <Mapper at 0x72112092f250; SortPlan>\nstate = <sqlalchemy.orm.state.InstanceState object at 0x72111c7d5790>\nattribute_names = {'created_at', 'dispatch_zone_id', 'extra_inspection_zone_id', 'id', 'inbound_plan_id', 'inspection_zone_id', ...}\npassive = symbol('PASSIVE_OFF')\n\n    def load_scalar_attributes(mapper, state, attribute_names, passive):\n        \"\"\"initiate a column-based attribute refresh operation.\"\"\"\n    \n        # assert mapper is _state_mapper(state)\n        session = state.session\n        if not session:\n>           raise orm_exc.DetachedInstanceError(\n                \"Instance %s is not bound to a Session; \"\n                \"attribute refresh operation cannot proceed\" % (state_str(state))\n            )\nE           sqlalchemy.orm.exc.DetachedInstanceError: Instance <SortPlan at 0x72111c306a10> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: https://sqlalche.me/e/20/bhk3)\n\n/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/loading.py:1607: DetachedInstanceError"}, "attachments": [{"name": "log", "source": "1cb163a4-5de1-43e0-ad25-6073f75fac58-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "hub_cpt_shipment", "value": "{'with_big_bags': False, 'is_customs': False, 'items_count': 3, 'sort_plan': 'Inbound gate 4'}"}], "start": 1775691912766, "stop": 1775691912766, "uuid": "68bdf123-9922-446d-9f49-ee19edbc287f", "historyId": "7dfb53b5ab71e3648d39fbdc574bc0a5", "testCaseId": "c93241a214e5499092e2073eec4dbf70", "fullName": "tests.hub.test_cpt.test_e2e_packages_conveyor.TestHubE2ECptPackagesConveyor#test_hub_e2e_cpt_extra_inspection_dispatch", "labels": [{"name": "tag", "value": "hub-flow-cpt"}, {"name": "parentSuite", "value": "tests.hub.test_cpt"}, {"name": "suite", "value": "test_e2e_packages_conveyor"}, {"name": "subSuite", "value": "TestHubE2ECptPackagesConveyor"}, {"name": "host", "value": "runner-1rdl4o-mi-project-9-concurrent-1-9cugip53"}, {"name": "thread", "value": "22-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.hub.test_cpt.test_e2e_packages_conveyor"}], "titlePath": ["tests", "hub", "test_cpt", "test_e2e_packages_conveyor.py", "TestHubE2ECptPackagesConveyor"]}