{"name": "test_hub_cpt_big_bags_dispatch_from_inspection[hub_cpt_shipment_inspection0-hub_cpt_shipment_inbound0-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_cpt_big_bags_dispatch_from_inspection[hub_cpt_shipment_inspection0-hub_cpt_shipment_inbound0-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": "bcc5abe1-414f-4f0e-923f-552d9f3f844d-attachment.txt", "type": "text/plain"}], "parameters": [{"name": "hub_cpt_shipment_inspection", "value": "{'to_extra_inspection': False}"}, {"name": "hub_cpt_shipment_inbound", "value": "{'to_inspection': True}"}, {"name": "hub_cpt_shipment", "value": "{'with_big_bags': True}"}], "start": 1775691911118, "stop": 1775691911118, "uuid": "d607a6cc-afe4-4785-a250-aad2b30da185", "historyId": "c1fe8299a35249f83bbc958cf36812bb", "testCaseId": "d9360ce92c1b0aca0f374acb69dafc87", "fullName": "tests.hub.test_cpt.test_big_bags_dispatch.TestHubCptBigBagsDispatch#test_hub_cpt_big_bags_dispatch_from_inspection", "labels": [{"name": "tag", "value": "hub-flow-cpt"}, {"name": "parentSuite", "value": "tests.hub.test_cpt"}, {"name": "suite", "value": "test_big_bags_dispatch"}, {"name": "subSuite", "value": "TestHubCptBigBagsDispatch"}, {"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_big_bags_dispatch"}], "titlePath": ["tests", "hub", "test_cpt", "test_big_bags_dispatch.py", "TestHubCptBigBagsDispatch"]}