============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

test_dynamic_tenants.py F

=================================== FAILURES ===================================
_ test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false] _
ydb/tests/functional/tenants/test_dynamic_tenants.py:350: in test_create_and_drop_the_same_tenant2
    pool.retry_operation_sync(write_some_data, None, "table", "table_for_rm", value)
contrib/python/ydb/py3/ydb/table.py:2632: in retry_operation_sync
    return retry_operation_sync(wrapped_callee, retry_settings)
contrib/python/ydb/py3/ydb/retries.py:133: in retry_operation_sync
    for next_opt in opt_generator:
contrib/python/ydb/py3/ydb/retries.py:94: in retry_operation_impl
    result = YdbRetryOperationFinalResult(callee(*args, **kwargs))
contrib/python/ydb/py3/ydb/table.py:2630: in wrapped_callee
    return callee(session, *args, **kwargs)
ydb/tests/functional/tenants/test_dynamic_tenants.py:340: in write_some_data
    session.transaction().execute(
contrib/python/ydb/py3/ydb/table.py:2369: in execute
    return self._driver(
contrib/python/ydb/py3/ydb/tracing.py:70: in wrapper
    return f(self, *args, **kwargs)
contrib/python/ydb/py3/ydb/pool.py:443: in __call__
    res = connection(
contrib/python/ydb/py3/ydb/connection.py:465: in __call__
    return response if wrap_result is None else wrap_result(rpc_state, response, *wrap_args)
contrib/python/ydb/py3/ydb/_session_impl.py:20: in decorator
    return func(rpc_state, response_pb, session_state, *args, **kwargs)
contrib/python/ydb/py3/ydb/_tx_ctx_impl.py:9: in decorator
    return func(rpc_state, response_pb, session_state, tx_state, *args, **kwargs)
contrib/python/ydb/py3/ydb/_tx_ctx_impl.py:22: in decorator
    return func(rpc_state, response_pb, session_state, tx_state, query, *args, **kwargs)
contrib/python/ydb/py3/ydb/_tx_ctx_impl.py:165: in wrap_result_and_tx_id
    issues._process_response(response_pb.operation)
contrib/python/ydb/py3/ydb/issues.py:229: in _process_response
    raise exc_obj(_format_response(response_proto), response_proto.issues)
E   ydb.issues.SchemeError: message: "Failed to create default pool in database /Root/users/database" severity: 1 issues { message: "Failed to create resource pool: StatusPathDoesNotExist" severity: 1 issues { message: "Path does not exist" issue_code: 200200 severity: 1 } } ,message: "Query failed during adding/waiting in workload pool " severity: 1 (server_code: 400070)
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false]
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 Test setup
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/29193
INFO     ydb.tests.library.fixtures:__init__.py:46 setup ydb_cluster for __tests__.test_dynamic_tenants
INFO     ydb.tests.library.fixtures:__init__.py:48 setup ydb_cluster as local
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:394 Working directory: /home/runner/.ya/build/build_root/2u71/00049b/r3tmp/kikimr_cluster_4ukmyq3d
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/8179
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/21486
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/8203
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/22850
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --log-file-name=/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/node_1/logfile_baztz2y1.log --grpc-port=8179 --mon-port=21486 --ic-port=29193
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:162 Formatting pdisk SectorMap:1:64 on node localhost:8179/1, disk_size 68719476736
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/kikimr_configs/config.yaml', '--node=1', '--log-file-name=/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/node_1/logfile_baztz2y1.log', '--grpc-port=8179', '--mon-port=21486', '--ic-port=29193')' in '/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/node_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3669983
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:8179/1
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:8179', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 29193\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:8179', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 29193\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3672324
DEBUG    ya.test:process.py:259 Command (pid 3672324) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3672324) elapsed time (sec): 0.31703758239746094
DEBUG    ya.test:process.py:263 Command (pid 3672324) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672324) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3672324) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672324) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672324) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3672324) maxrss: 528808
DEBUG    ya.test:process.py:263 Command (pid 3672324) minflt: 19132
DEBUG    ya.test:process.py:263 Command (pid 3672324) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3672324) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3672324) nivcsw: 1
DEBUG    ya.test:process.py:263 Command (pid 3672324) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3672324) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3672324) nvcsw: 126
DEBUG    ya.test:process.py:263 Command (pid 3672324) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3672324) stime: 0.207735
DEBUG    ya.test:process.py:263 Command (pid 3672324) utime: 0.066773
DEBUG    ya.test:process.py:263 Command (pid 3672324) wtime: 0.318
DEBUG    ya.test:process.py:275 Command (pid 3672324) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 4

DEBUG    ya.test:process.py:276 Command (pid 3672324) errors:

DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:8179', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out.0
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err.0
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:8179', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3672384
DEBUG    ya.test:process.py:259 Command (pid 3672384) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3672384) elapsed time (sec): 0.27001118659973145
DEBUG    ya.test:process.py:263 Command (pid 3672384) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672384) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3672384) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672384) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672384) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3672384) maxrss: 528796
DEBUG    ya.test:process.py:263 Command (pid 3672384) minflt: 19130
DEBUG    ya.test:process.py:263 Command (pid 3672384) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3672384) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3672384) nivcsw: 1
DEBUG    ya.test:process.py:263 Command (pid 3672384) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3672384) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3672384) nvcsw: 125
DEBUG    ya.test:process.py:263 Command (pid 3672384) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3672384) stime: 0.154804
DEBUG    ya.test:process.py:263 Command (pid 3672384) utime: 0.071448
DEBUG    ya.test:process.py:263 Command (pid 3672384) wtime: 0.271
DEBUG    ya.test:process.py:275 Command (pid 3672384) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

DEBUG    ya.test:process.py:276 Command (pid 3672384) errors:

INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:446 Cluster started and initialized
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:434 Test call (class_name: test_dynamic_tenants.py, test_name: test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false])
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:310 create_database
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/20969
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/6474
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/10443
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/12711
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23042
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:8179 --tenant=/Root/users/database --log-file-name=/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/slot_1/logfile_3af93v1j.log --grpc-port=20969 --mon-port=6474 --ic-port=10443
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/kikimr_configs/config.yaml', '--node-broker=localhost:8179', '--tenant=/Root/users/database', '--log-file-name=/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/slot_1/logfile_3af93v1j.log', '--grpc-port=20969', '--mon-port=6474', '--ic-port=10443')' in '/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/slot_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3672637
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:20969/1
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:334 create table one
DEBUG    ydb.table.SessionPool:_sp_impl.py:260 Active session queue is empty, subscribe waiter for a session
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x7f258008eae0 state=pending>
DEBUG    ydb.table.SessionPool:_sp_impl.py:282 Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f2580088a10>
ERROR    ydb.table.SessionPool:_sp_impl.py:208 Failed to create session. Put event to a delayed queue. Reason: Couldn't find valid connection
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 9df2e93e-3036-48b2-88d3-73c74b6de463, localhost:8179): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 9df2e93e-3036-48b2-88d3-73c74b6de463, localhost:8179): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 9df2e93e-3036-48b2-88d3-73c74b6de463, localhost:8179): response = { operation { ready: true status: UNAVAILABLE issues { message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/users/database. Endpoint: "localhost:8179". Error details:
 message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 (server_code: 400050)
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:8179
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, e48d6e5b-3680-4c75-bfa9-61f5b54269c2, localhost:8179): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, e48d6e5b-3680-4c75-bfa9-61f5b54269c2, localhost:8179): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, e48d6e5b-3680-4c75-bfa9-61f5b54269c2, localhost:8179): response = { operation { ready: true status: UNAVAILABLE issues { message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/users/database. Endpoint: "localhost:8179". Error details:
 message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 (server_code: 400050)
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:8179
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f2580088a10>
ERROR    ydb.table.SessionPool:_sp_impl.py:208 Failed to create session. Put event to a delayed queue. Reason: Couldn't find valid connection
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 503f56e8-2358-4f1d-95f5-b007d55ec2f2, localhost:8179): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 503f56e8-2358-4f1d-95f5-b007d55ec2f2, localhost:8179): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 503f56e8-2358-4f1d-95f5-b007d55ec2f2, localhost:8179): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iu2hkpwepm.auto.internal" port: 20969 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" node_id: 50000 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database /Root/users/database: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iu2hkpwepm.auto.internal:20969, location , ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:8179
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, 03df4950-2d51-4252-85ac-9bf981881e93, ghrun-iu2hkpwepm.auto.internal:20969): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, 03df4950-2d51-4252-85ac-9bf981881e93, ghrun-iu2hkpwepm.auto.internal:20969): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, 03df4950-2d51-4252-85ac-9bf981881e93, ghrun-iu2hkpwepm.auto.internal:20969): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, 03df4950-2d51-4252-85ac-9bf981881e93, ghrun-iu2hkpwepm.auto.internal:20969): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MjA1ZTQyOWItZDkwYjFmZjQtNGI0ZTA1YzctM2FkMGNkMGE=" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, 03df4950-2d51-4252-85ac-9bf981881e93, ghrun-iu2hkpwepm.auto.internal:20969): on response callback success
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, e3bf0093-1ebc-485a-a248-729e85641cfb, ghrun-iu2hkpwepm.auto.internal:20969): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, e3bf0093-1ebc-485a-a248-729e85641cfb, ghrun-iu2hkpwepm.auto.internal:20969): request = { session_id: "ydb://session/3?node_id=50000&id=MjA1ZTQyOWItZDkwYjFmZjQtNGI0ZTA1YzctM2FkMGNkMGE=" path: "/Root/users/database/table" columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } primary_key: "id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, e3bf0093-1ebc-485a-a248-729e85641cfb, ghrun-iu2hkpwepm.auto.internal:20969): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:336 create table two
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 53f0d7ef-2340-4d01-9d78-4274c75709ff, ghrun-iu2hkpwepm.auto.internal:20969): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 53f0d7ef-2340-4d01-9d78-4274c75709ff, ghrun-iu2hkpwepm.auto.internal:20969): request = { session_id: "ydb://session/3?node_id=50000&id=MjA1ZTQyOWItZDkwYjFmZjQtNGI0ZTA1YzctM2FkMGNkMGE=" path: "/Root/users/database/table_for_rm" columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } primary_key: "id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, 53f0d7ef-2340-4d01-9d78-4274c75709ff, ghrun-iu2hkpwepm.auto.internal:20969): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:349 write_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, fb4132a1-2464-4630-9a59-852c363cddbe, ghrun-iu2hkpwepm.auto.internal:20969): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, fb4132a1-2464-4630-9a59-852c363cddbe, ghrun-iu2hkpwepm.auto.internal:20969): request = { session_id: "ydb://session/3?node_id=50000&id=MjA1ZTQyOWItZDkwYjFmZjQtNGI0ZTA1YzctM2FkMGNkMGE=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n                        upsert into table (id, value)\n                        values (1u, \"/Root/users/database_0\");\n                        upsert into table_for_rm (id, value)\n                        values (2u, \"/Root/users/database_0\");\n                        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteDataQuery, fb4132a1-2464-4630-9a59-852c363cddbe, ghrun-iu2hkpwepm.auto.internal:20969): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:362 read_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, 2250ee30-c9e2-4258-a418-a4e7013ccd8b, ghrun-iu2hkpwepm.auto.internal:20969): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, 2250ee30-c9e2-4258-a418-a4e7013ccd8b, ghrun-iu2hkpwepm.auto.internal:20969): request = { session_id: "ydb://session/3?node_id=50000&id=MjA1ZTQyOWItZDkwYjFmZjQtNGI0ZTA1YzctM2FkMGNkMGE=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n                        select id, value FROM table;\n                        select id, value FROM table_for_rm;\n                        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteDataQuery, 2250ee30-c9e2-4258-a418-a4e7013ccd8b, ghrun-iu2hkpwepm.auto.internal:20969): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { result_sets { columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } rows { items { uint64_value: 1 } items { text_value: "/Root/users/database_0" } } } result_sets { columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } rows { items { uint64_value: 2 } items { text_value: "/Root/users/database_0" } } } tx_meta { } } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:380 drop table two
DEBUG    ydb.connection:connection.py:375 RpcState(DropTable, 79e0de76-5725-4aee-9efb-f41e6c781cb9, ghrun-iu2hkpwepm.auto.internal:20969): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DropTable, 79e0de76-5725-4aee-9efb-f41e6c781cb9, ghrun-iu2hkpwepm.auto.internal:20969): request = { session_id: "ydb://session/3?node_id=50000&id=MjA1ZTQyOWItZDkwYjFmZjQtNGI0ZTA1YzctM2FkMGNkMGE=" path: "/Root/users/database/table_for_rm" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(DropTable, 79e0de76-5725-4aee-9efb-f41e6c781cb9, ghrun-iu2hkpwepm.auto.internal:20969): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    ydb.table.SessionPool:_sp_impl.py:51 Requested session pool stop.
DEBUG    ydb.table.SessionPool:_sp_impl.py:56 Session pool is under stop, cancelling all in flight waiters.
DEBUG    ydb.table.SessionPool:_sp_impl.py:70 Destroying sessions in active queue
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.table.SessionPool:_sp_impl.py:145 Requested session destroy: <ydb.table.Session object at 0x7f2580088a10>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f2580088a10> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, 59ec1db7-7a4b-4fa6-a094-b5692d484e1f, ghrun-iu2hkpwepm.auto.internal:20969): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, 59ec1db7-7a4b-4fa6-a094-b5692d484e1f, ghrun-iu2hkpwepm.auto.internal:20969): request = { session_id: "ydb://session/3?node_id=50000&id=MjA1ZTQyOWItZDkwYjFmZjQtNGI0ZTA1YzctM2FkMGNkMGE=" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7f2580088a10>
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, 59ec1db7-7a4b-4fa6-a094-b5692d484e1f, ghrun-iu2hkpwepm.auto.internal:20969): on response callback started
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
DEBUG    ydb.connection:connection.py:51 RpcState(DeleteSession, 59ec1db7-7a4b-4fa6-a094-b5692d484e1f, ghrun-iu2hkpwepm.auto.internal:20969): response = { operation { ready: true status: SUCCESS } }
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:8179
DEBUG    ydb.connection:connection.py:107 RpcState(DeleteSession, 59ec1db7-7a4b-4fa6-a094-b5692d484e1f, ghrun-iu2hkpwepm.auto.internal:20969): on response callback success
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-iu2hkpwepm.auto.internal:20969
INFO     ydb.pool.Discovery:pool.py:277 Successfully terminated discovery process
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:383 remove_database
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/users/database
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/users/database: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/users/database: response from console: RemoveTenantResponse {
  Response {
    operation {
      id: "ydb://cmsrequest/5?tenant=/Root/users/database&cmstid=72057594037936131&txid=1763122893981059&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/users/database: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/users/database: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/users/database: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/users/database: tenant gone
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:20969/1
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:387 done 0
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:310 create_database
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/4818
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/4049
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/16768
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/7248
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13669
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:8179 --tenant=/Root/users/database --log-file-name=/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/slot_2/logfile_z5d9qzzq.log --grpc-port=4818 --mon-port=4049 --ic-port=16768
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/00049b/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/kikimr_configs/config.yaml', '--node-broker=localhost:8179', '--tenant=/Root/users/database', '--log-file-name=/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/slot_2/logfile_z5d9qzzq.log', '--grpc-port=4818', '--mon-port=4049', '--ic-port=16768')' in '/home/runner/.ya/build/build_root/2u71/00049b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk0/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--false/cluster/slot_2' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3675903
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:4818/2
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:334 create table one
DEBUG    ydb.table.SessionPool:_sp_impl.py:260 Active session queue is empty, subscribe waiter for a session
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x7f25800a2b80 state=pending>
DEBUG    ydb.table.SessionPool:_sp_impl.py:282 Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x7f25800a26d0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f25800a26d0>
ERROR    ydb.table.SessionPool:_sp_impl.py:208 Failed to create session. Put event to a delayed queue. Reason: Couldn't find valid connection
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, d290769c-ab0a-4cab-8f28-c5b6518b3980, localhost:8179): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, d290769c-ab0a-4cab-8f28-c5b6518b3980, localhost:8179): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, d290769c-ab0a-4cab-8f28-c5b6518b3980, localhost:8179): response = { operation { ready: true status: UNAVAILABLE issues { message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/users/database. Endpoint: "localhost:8179". Error details:
 message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 (server_code: 400050)
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:8179
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 40b9a0ff-4c19-4ad1-8377-1c8f9377577f, localhost:8179): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 40b9a0ff-4c19-4ad1-8377-1c8f9377577f, localhost:8179): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 40b9a0ff-4c19-4ad1-8377-1c8f9377577f, localhost:8179): response = { operation { ready: true status: UNAVAILABLE issues { message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/users/database. Endpoint: "localhost:8179". Error details:
 message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 (server_code: 400050)
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:8179
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 19542c98-0e3d-4a2a-a452-6acf83686cb0, localhost:8179): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 19542c98-0e3d-4a2a-a452-6acf83686cb0, localhost:8179): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 19542c98-0e3d-4a2a-a452-6acf83686cb0, localhost:8179): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iu2hkpwepm.auto.internal" port: 4818 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" node_id: 50001 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database /Root/users/database: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iu2hkpwepm.auto.internal:4818, location , ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:8179
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f25800a26d0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, 7003d526-d1aa-4f33-a9b0-97f4903bf97d, ghrun-iu2hkpwepm.auto.internal:4818): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, 7003d526-d1aa-4f33-a9b0-97f4903bf97d, ghrun-iu2hkpwepm.auto.internal:4818): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, 7003d526-d1aa-4f33-a9b0-97f4903bf97d, ghrun-iu2hkpwepm.auto.internal:4818): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, 7003d526-d1aa-4f33-a9b0-97f4903bf97d, ghrun-iu2hkpwepm.auto.internal:4818): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50001&id=OTQ2MDVlMjktOGI0MThkMDgtYjVlNDY4OWItNGI1N2E5M2Q=" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f25800a26d0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7f25800a26d0>
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, 7003d526-d1aa-4f33-a9b0-97f4903bf97d, ghrun-iu2hkpwepm.auto.internal:4818): on response callback success
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 13c72439-2d73-4426-8a94-02a0dcb01aa1, ghrun-iu2hkpwepm.auto.internal:4818): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 13c72439-2d73-4426-8a94-02a0dcb01aa1, ghrun-iu2hkpwepm.auto.internal:4818): request = { session_id: "ydb://session/3?node_id=50001&id=OTQ2MDVlMjktOGI0MThkMDgtYjVlNDY4OWItNGI1N2E5M2Q=" path: "/Root/users/database/table" columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } primary_key: "id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, 13c72439-2d73-4426-8a94-02a0dcb01aa1, ghrun-iu2hkpwepm.auto.internal:4818): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f25800a26d0>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:336 create table two
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 5b7df1be-a94b-4b55-b100-7c945fb72050, ghrun-iu2hkpwepm.auto.internal:4818): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 5b7df1be-a94b-4b55-b100-7c945fb72050, ghrun-iu2hkpwepm.auto.internal:4818): request = { session_id: "ydb://session/3?node_id=50001&id=OTQ2MDVlMjktOGI0MThkMDgtYjVlNDY4OWItNGI1N2E5M2Q=" path: "/Root/users/database/table_for_rm" columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } primary_key: "id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, 5b7df1be-a94b-4b55-b100-7c945fb72050, ghrun-iu2hkpwepm.auto.internal:4818): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f25800a26d0>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:349 write_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, d8561199-d17e-4904-9001-69db705d0ed2, ghrun-iu2hkpwepm.auto.internal:4818): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, d8561199-d17e-4904-9001-69db705d0ed2, ghrun-iu2hkpwepm.auto.internal:4818): request = { session_id: "ydb://session/3?node_id=50001&id=OTQ2MDVlMjktOGI0MThkMDgtYjVlNDY4OWItNGI1N2E5M2Q=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n                        upsert into table (id, value)\n                        values (1u, \"/Root/users/database_1\");\n                        upsert into table_for_rm (id, value)\n                        values (2u, \"/Root/users/database_1\");\n                        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteDataQuery, d8561199-d17e-4904-9001-69db705d0ed2, ghrun-iu2hkpwepm.auto.internal:4818): response = { operation { ready: true status: SCHEME_ERROR issues { message: "Failed to create default pool in database /Root/users/database" severity: 1 issues { message: "Failed to create resource pool: StatusPathDoesNotExist" severity: 1 issues { message: "Path does not exist" issue_code: 200200 severity: 1 } } } issues { message: "Query failed during adding/waiting in workload pool " severity: 1 } result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f25800a26d0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:51 Requested session pool stop.
DEBUG    ydb.table.SessionPool:_sp_impl.py:56 Session pool is under stop, cancelling all in flight waiters.
DEBUG    ydb.table.SessionPool:_sp_impl.py:70 Destroying sessions in active queue
DEBUG    ydb.table.SessionPool:_sp_impl.py:145 Requested session destroy: <ydb.table.Session object at 0x7f25800a26d0>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f25800a26d0> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, ddacfd7d-1c1d-472b-97b5-9427c13b95f5, ghrun-iu2hkpwepm.auto.internal:4818): creating call state
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, ddacfd7d-1c1d-472b-97b5-9427c13b95f5, ghrun-iu2hkpwepm.auto.internal:4818): request = { session_id: "ydb://session/3?node_id=50001&id=OTQ2MDVlMjktOGI0MThkMDgtYjVlNDY4OWItNGI1N2E5M2Q=" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7f25800a26d0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:8179
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, ddacfd7d-1c1d-472b-97b5-9427c13b95f5, ghrun-iu2hkpwepm.auto.internal:4818): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(DeleteSession, ddacfd7d-1c1d-472b-97b5-9427c13b95f5, ghrun-iu2hkpwepm.auto.internal:4818): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.connection:connection.py:107 RpcState(DeleteSession, ddacfd7d-1c1d-472b-97b5-9427c13b95f5, ghrun-iu2hkpwepm.auto.internal:4818): on response callback success
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-iu2hkpwepm.auto.internal:4818
INFO     ydb.pool.Discovery:pool.py:277 Successfully terminated discovery process
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:429 Test teardown
INFO     ydb.tests.library.fixtures:__init__.py:58 destroy ydb_cluster for __tests__.test_dynamic_tenants
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:4818/2
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:8179/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13669
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7248
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16768
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4049
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4818
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23042
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12711
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/10443
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6474
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20969
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22850
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8203
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21486
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8179
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29193
============================== slowest durations ===============================
8.94s call     test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false]
2.46s setup    test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false]
1.01s teardown test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false]
=========================== short test summary info ============================
FAILED test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false] - ydb.issues.SchemeError: message: "Failed to create default pool in database /Root/users/database" severity: 1 issues { message: "Failed to create resource pool: StatusPathDoesNotExist" severity: 1 issues { message: "Path does not exist" issue_code: 200200 severity: 1 } } ,message: "Query failed during adding/waiting in workload pool " severity: 1 (server_code: 400070)
====================== 1 failed, 103 deselected in 13.04s ======================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

test_dynamic_tenants.py F

=================================== FAILURES ===================================
_ test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true] _
ydb/tests/functional/tenants/test_dynamic_tenants.py:350: in test_create_and_drop_the_same_tenant2
    pool.retry_operation_sync(write_some_data, None, "table", "table_for_rm", value)
contrib/python/ydb/py3/ydb/table.py:2632: in retry_operation_sync
    return retry_operation_sync(wrapped_callee, retry_settings)
contrib/python/ydb/py3/ydb/retries.py:133: in retry_operation_sync
    for next_opt in opt_generator:
contrib/python/ydb/py3/ydb/retries.py:94: in retry_operation_impl
    result = YdbRetryOperationFinalResult(callee(*args, **kwargs))
contrib/python/ydb/py3/ydb/table.py:2630: in wrapped_callee
    return callee(session, *args, **kwargs)
ydb/tests/functional/tenants/test_dynamic_tenants.py:340: in write_some_data
    session.transaction().execute(
contrib/python/ydb/py3/ydb/table.py:2369: in execute
    return self._driver(
contrib/python/ydb/py3/ydb/tracing.py:70: in wrapper
    return f(self, *args, **kwargs)
contrib/python/ydb/py3/ydb/pool.py:443: in __call__
    res = connection(
contrib/python/ydb/py3/ydb/connection.py:465: in __call__
    return response if wrap_result is None else wrap_result(rpc_state, response, *wrap_args)
contrib/python/ydb/py3/ydb/_session_impl.py:20: in decorator
    return func(rpc_state, response_pb, session_state, *args, **kwargs)
contrib/python/ydb/py3/ydb/_tx_ctx_impl.py:9: in decorator
    return func(rpc_state, response_pb, session_state, tx_state, *args, **kwargs)
contrib/python/ydb/py3/ydb/_tx_ctx_impl.py:22: in decorator
    return func(rpc_state, response_pb, session_state, tx_state, query, *args, **kwargs)
contrib/python/ydb/py3/ydb/_tx_ctx_impl.py:165: in wrap_result_and_tx_id
    issues._process_response(response_pb.operation)
contrib/python/ydb/py3/ydb/issues.py:229: in _process_response
    raise exc_obj(_format_response(response_proto), response_proto.issues)
E   ydb.issues.SchemeError: message: "Failed to create default pool in database /Root/users/database" severity: 1 issues { message: "Failed to create resource pool: StatusPathDoesNotExist" severity: 1 issues { message: "Path does not exist" issue_code: 200200 severity: 1 } } ,message: "Query failed during adding/waiting in workload pool " severity: 1 (server_code: 400070)
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true]
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 Test setup
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23654
INFO     ydb.tests.library.fixtures:__init__.py:46 setup ydb_cluster for __tests__.test_dynamic_tenants
INFO     ydb.tests.library.fixtures:__init__.py:48 setup ydb_cluster as local
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:394 Working directory: /home/runner/.ya/build/build_root/2u71/000496/r3tmp/kikimr_cluster_6_xnms9s
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5761
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/22645
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/61505
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/26978
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --log-file-name=/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/node_1/logfile_3qb499gx.log --grpc-port=5761 --mon-port=22645 --ic-port=23654
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:162 Formatting pdisk SectorMap:1:64 on node localhost:5761/1, disk_size 68719476736
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/kikimr_configs/config.yaml', '--node=1', '--log-file-name=/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/node_1/logfile_3qb499gx.log', '--grpc-port=5761', '--mon-port=22645', '--ic-port=23654')' in '/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/node_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3670109
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:5761/1
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:5761', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 23654\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:5761', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 23654\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3672329
DEBUG    ya.test:process.py:259 Command (pid 3672329) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3672329) elapsed time (sec): 0.29532694816589355
DEBUG    ya.test:process.py:263 Command (pid 3672329) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672329) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3672329) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672329) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672329) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3672329) maxrss: 528804
DEBUG    ya.test:process.py:263 Command (pid 3672329) minflt: 19132
DEBUG    ya.test:process.py:263 Command (pid 3672329) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3672329) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3672329) nivcsw: 1
DEBUG    ya.test:process.py:263 Command (pid 3672329) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3672329) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3672329) nvcsw: 133
DEBUG    ya.test:process.py:263 Command (pid 3672329) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3672329) stime: 0.174416
DEBUG    ya.test:process.py:263 Command (pid 3672329) utime: 0.07928
DEBUG    ya.test:process.py:263 Command (pid 3672329) wtime: 0.296
DEBUG    ya.test:process.py:275 Command (pid 3672329) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

DEBUG    ya.test:process.py:276 Command (pid 3672329) errors:

DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:5761', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out.0
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err.0
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:5761', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3672423
DEBUG    ya.test:process.py:259 Command (pid 3672423) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3672423) elapsed time (sec): 0.30417323112487793
DEBUG    ya.test:process.py:263 Command (pid 3672423) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672423) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3672423) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672423) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672423) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3672423) maxrss: 528816
DEBUG    ya.test:process.py:263 Command (pid 3672423) minflt: 19132
DEBUG    ya.test:process.py:263 Command (pid 3672423) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3672423) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3672423) nivcsw: 2
DEBUG    ya.test:process.py:263 Command (pid 3672423) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3672423) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3672423) nvcsw: 130
DEBUG    ya.test:process.py:263 Command (pid 3672423) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3672423) stime: 0.181832
DEBUG    ya.test:process.py:263 Command (pid 3672423) utime: 0.063928
DEBUG    ya.test:process.py:263 Command (pid 3672423) wtime: 0.305
DEBUG    ya.test:process.py:275 Command (pid 3672423) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 6

DEBUG    ya.test:process.py:276 Command (pid 3672423) errors:

INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:446 Cluster started and initialized
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:434 Test call (class_name: test_dynamic_tenants.py, test_name: test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true])
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:310 create_database
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/7090
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/7091
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/19533
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2943
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13124
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:5761 --tenant=/Root/users/database --log-file-name=/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/slot_1/logfile_j9cmy8qk.log --grpc-port=7090 --mon-port=7091 --ic-port=19533
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/kikimr_configs/config.yaml', '--node-broker=localhost:5761', '--tenant=/Root/users/database', '--log-file-name=/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/slot_1/logfile_j9cmy8qk.log', '--grpc-port=7090', '--mon-port=7091', '--ic-port=19533')' in '/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/slot_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3672866
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:7090/1
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:334 create table one
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.table.SessionPool:_sp_impl.py:260 Active session queue is empty, subscribe waiter for a session
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x7fbb708acfb0 state=pending>
DEBUG    ydb.table.SessionPool:_sp_impl.py:282 Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7fbb70889550>
ERROR    ydb.table.SessionPool:_sp_impl.py:208 Failed to create session. Put event to a delayed queue. Reason: Couldn't find valid connection
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 8714c1cc-2252-41d8-b77b-e21169596f30, localhost:5761): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 8714c1cc-2252-41d8-b77b-e21169596f30, localhost:5761): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 8714c1cc-2252-41d8-b77b-e21169596f30, localhost:5761): response = { operation { ready: true status: UNAVAILABLE issues { message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/users/database. Endpoint: "localhost:5761". Error details:
 message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 (server_code: 400050)
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:5761
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 60ce3881-de86-41b8-8209-d70510c7e026, localhost:5761): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 60ce3881-de86-41b8-8209-d70510c7e026, localhost:5761): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 60ce3881-de86-41b8-8209-d70510c7e026, localhost:5761): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iu2hkpwepm.auto.internal" port: 7090 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" node_id: 50000 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database /Root/users/database: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iu2hkpwepm.auto.internal:7090, location , ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:5761
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, f554eb97-d535-411f-85b4-9db96d041d31, ghrun-iu2hkpwepm.auto.internal:7090): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, f554eb97-d535-411f-85b4-9db96d041d31, ghrun-iu2hkpwepm.auto.internal:7090): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, f554eb97-d535-411f-85b4-9db96d041d31, ghrun-iu2hkpwepm.auto.internal:7090): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, f554eb97-d535-411f-85b4-9db96d041d31, ghrun-iu2hkpwepm.auto.internal:7090): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MTVkY2Y1N2QtNmE5NDhmZWUtNWIxZWU0ZGUtNTU2ZDJlZjY=" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, f554eb97-d535-411f-85b4-9db96d041d31, ghrun-iu2hkpwepm.auto.internal:7090): on response callback success
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, abb088fc-824b-43e3-bd5d-4b4adb947b25, ghrun-iu2hkpwepm.auto.internal:7090): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, abb088fc-824b-43e3-bd5d-4b4adb947b25, ghrun-iu2hkpwepm.auto.internal:7090): request = { session_id: "ydb://session/3?node_id=50000&id=MTVkY2Y1N2QtNmE5NDhmZWUtNWIxZWU0ZGUtNTU2ZDJlZjY=" path: "/Root/users/database/table" columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } primary_key: "id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, abb088fc-824b-43e3-bd5d-4b4adb947b25, ghrun-iu2hkpwepm.auto.internal:7090): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:336 create table two
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 5ae994d8-c4a1-4471-aa3f-8193b55b446b, ghrun-iu2hkpwepm.auto.internal:7090): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 5ae994d8-c4a1-4471-aa3f-8193b55b446b, ghrun-iu2hkpwepm.auto.internal:7090): request = { session_id: "ydb://session/3?node_id=50000&id=MTVkY2Y1N2QtNmE5NDhmZWUtNWIxZWU0ZGUtNTU2ZDJlZjY=" path: "/Root/users/database/table_for_rm" columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } primary_key: "id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, 5ae994d8-c4a1-4471-aa3f-8193b55b446b, ghrun-iu2hkpwepm.auto.internal:7090): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:349 write_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, 16d344cc-2847-4585-ab46-1e97e9832acc, ghrun-iu2hkpwepm.auto.internal:7090): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, 16d344cc-2847-4585-ab46-1e97e9832acc, ghrun-iu2hkpwepm.auto.internal:7090): request = { session_id: "ydb://session/3?node_id=50000&id=MTVkY2Y1N2QtNmE5NDhmZWUtNWIxZWU0ZGUtNTU2ZDJlZjY=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n                        upsert into table (id, value)\n                        values (1u, \"/Root/users/database_0\");\n                        upsert into table_for_rm (id, value)\n                        values (2u, \"/Root/users/database_0\");\n                        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteDataQuery, 16d344cc-2847-4585-ab46-1e97e9832acc, ghrun-iu2hkpwepm.auto.internal:7090): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:362 read_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, 214e9ed9-227b-4670-a0aa-c96611185e1c, ghrun-iu2hkpwepm.auto.internal:7090): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, 214e9ed9-227b-4670-a0aa-c96611185e1c, ghrun-iu2hkpwepm.auto.internal:7090): request = { session_id: "ydb://session/3?node_id=50000&id=MTVkY2Y1N2QtNmE5NDhmZWUtNWIxZWU0ZGUtNTU2ZDJlZjY=" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n                        select id, value FROM table;\n                        select id, value FROM table_for_rm;\n                        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteDataQuery, 214e9ed9-227b-4670-a0aa-c96611185e1c, ghrun-iu2hkpwepm.auto.internal:7090): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { result_sets { columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } rows { items { uint64_value: 1 } items { text_value: "/Root/users/database_0" } } } result_sets { columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } rows { items { uint64_value: 2 } items { text_value: "/Root/users/database_0" } } } tx_meta { } } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:380 drop table two
DEBUG    ydb.connection:connection.py:375 RpcState(DropTable, 83f2bbf9-1870-4e5d-80a9-e3ddd1eda534, ghrun-iu2hkpwepm.auto.internal:7090): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DropTable, 83f2bbf9-1870-4e5d-80a9-e3ddd1eda534, ghrun-iu2hkpwepm.auto.internal:7090): request = { session_id: "ydb://session/3?node_id=50000&id=MTVkY2Y1N2QtNmE5NDhmZWUtNWIxZWU0ZGUtNTU2ZDJlZjY=" path: "/Root/users/database/table_for_rm" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(DropTable, 83f2bbf9-1870-4e5d-80a9-e3ddd1eda534, ghrun-iu2hkpwepm.auto.internal:7090): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    ydb.table.SessionPool:_sp_impl.py:51 Requested session pool stop.
DEBUG    ydb.table.SessionPool:_sp_impl.py:56 Session pool is under stop, cancelling all in flight waiters.
DEBUG    ydb.table.SessionPool:_sp_impl.py:70 Destroying sessions in active queue
DEBUG    ydb.table.SessionPool:_sp_impl.py:145 Requested session destroy: <ydb.table.Session object at 0x7fbb70889550>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7fbb70889550> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, 589286c3-6e78-4b22-bced-87d1e60bf02e, ghrun-iu2hkpwepm.auto.internal:7090): creating call state
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, 589286c3-6e78-4b22-bced-87d1e60bf02e, ghrun-iu2hkpwepm.auto.internal:7090): request = { session_id: "ydb://session/3?node_id=50000&id=MTVkY2Y1N2QtNmE5NDhmZWUtNWIxZWU0ZGUtNTU2ZDJlZjY=" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7fbb70889550>
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, 589286c3-6e78-4b22-bced-87d1e60bf02e, ghrun-iu2hkpwepm.auto.internal:7090): on response callback started
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:5761
DEBUG    ydb.connection:connection.py:51 RpcState(DeleteSession, 589286c3-6e78-4b22-bced-87d1e60bf02e, ghrun-iu2hkpwepm.auto.internal:7090): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.connection:connection.py:107 RpcState(DeleteSession, 589286c3-6e78-4b22-bced-87d1e60bf02e, ghrun-iu2hkpwepm.auto.internal:7090): on response callback success
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-iu2hkpwepm.auto.internal:7090
INFO     ydb.pool.Discovery:pool.py:277 Successfully terminated discovery process
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:383 remove_database
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/users/database
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/users/database: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/users/database: response from console: RemoveTenantResponse {
  Response {
    operation {
      id: "ydb://cmsrequest/5?tenant=/Root/users/database&cmstid=72057594037936131&txid=1763122893333102&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/users/database: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/users/database: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/users/database: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/users/database: tenant gone
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:7090/1
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:387 done 0
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:310 create_database
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/4490
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5094
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23846
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/8511
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/17910
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:5761 --tenant=/Root/users/database --log-file-name=/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/slot_2/logfile_9xu_j6uj.log --grpc-port=4490 --mon-port=5094 --ic-port=23846
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/000496/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/kikimr_configs/config.yaml', '--node-broker=localhost:5761', '--tenant=/Root/users/database', '--log-file-name=/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/slot_2/logfile_9xu_j6uj.log', '--grpc-port=4490', '--mon-port=5094', '--ic-port=23846')' in '/home/runner/.ya/build/build_root/2u71/000496/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk1/testing_out_stuff/test_dynamic_tenants.py.test_create_and_drop_the_same_tenant2.enable_alter_database_create_hive_first--true/cluster/slot_2' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3675269
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:4490/2
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:334 create table one
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.table.SessionPool:_sp_impl.py:260 Active session queue is empty, subscribe waiter for a session
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x7fbb70881e10 state=pending>
DEBUG    ydb.table.SessionPool:_sp_impl.py:282 Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x7fbb7089a040>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7fbb7089a040>
ERROR    ydb.table.SessionPool:_sp_impl.py:208 Failed to create session. Put event to a delayed queue. Reason: Couldn't find valid connection
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 81edba80-e319-4b7a-b84f-85b0954ce8cf, localhost:5761): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 81edba80-e319-4b7a-b84f-85b0954ce8cf, localhost:5761): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 81edba80-e319-4b7a-b84f-85b0954ce8cf, localhost:5761): response = { operation { ready: true status: UNAVAILABLE issues { message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/users/database. Endpoint: "localhost:5761". Error details:
 message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 (server_code: 400050)
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:5761
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 13a0f4f7-0d25-4918-adcf-c4d18d02c625, localhost:5761): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 13a0f4f7-0d25-4918-adcf-c4d18d02c625, localhost:5761): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 13a0f4f7-0d25-4918-adcf-c4d18d02c625, localhost:5761): response = { operation { ready: true status: UNAVAILABLE issues { message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/users/database. Endpoint: "localhost:5761". Error details:
 message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 (server_code: 400050)
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:5761
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7fbb7089a040>
ERROR    ydb.table.SessionPool:_sp_impl.py:208 Failed to create session. Put event to a delayed queue. Reason: Couldn't find valid connection
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 4b0240c6-ae06-455e-a644-6c08b576ad3a, localhost:5761): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 4b0240c6-ae06-455e-a644-6c08b576ad3a, localhost:5761): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 4b0240c6-ae06-455e-a644-6c08b576ad3a, localhost:5761): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iu2hkpwepm.auto.internal" port: 4490 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" node_id: 50001 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database /Root/users/database: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iu2hkpwepm.auto.internal:4490, location , ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:5761
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7fbb7089a040>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, 82807b81-5881-42e6-b824-9e916916ad59, ghrun-iu2hkpwepm.auto.internal:4490): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, 82807b81-5881-42e6-b824-9e916916ad59, ghrun-iu2hkpwepm.auto.internal:4490): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, 82807b81-5881-42e6-b824-9e916916ad59, ghrun-iu2hkpwepm.auto.internal:4490): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, 82807b81-5881-42e6-b824-9e916916ad59, ghrun-iu2hkpwepm.auto.internal:4490): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50001&id=N2U3YjdlYjgtZDliYjRlMTAtMTM1YzUyNi02NGVhYzMxYQ==" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb7089a040>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7fbb7089a040>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, ccc77933-116c-4be3-b59b-9c2dce775db9, ghrun-iu2hkpwepm.auto.internal:4490): creating call state
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, 82807b81-5881-42e6-b824-9e916916ad59, ghrun-iu2hkpwepm.auto.internal:4490): on response callback success
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, ccc77933-116c-4be3-b59b-9c2dce775db9, ghrun-iu2hkpwepm.auto.internal:4490): request = { session_id: "ydb://session/3?node_id=50001&id=N2U3YjdlYjgtZDliYjRlMTAtMTM1YzUyNi02NGVhYzMxYQ==" path: "/Root/users/database/table" columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } primary_key: "id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, ccc77933-116c-4be3-b59b-9c2dce775db9, ghrun-iu2hkpwepm.auto.internal:4490): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb7089a040>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:336 create table two
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 4603c66a-6974-4206-838c-1bb6b72de077, ghrun-iu2hkpwepm.auto.internal:4490): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 4603c66a-6974-4206-838c-1bb6b72de077, ghrun-iu2hkpwepm.auto.internal:4490): request = { session_id: "ydb://session/3?node_id=50001&id=N2U3YjdlYjgtZDliYjRlMTAtMTM1YzUyNi02NGVhYzMxYQ==" path: "/Root/users/database/table_for_rm" columns { name: "id" type { optional_type { item { type_id: UINT64 } } } } columns { name: "value" type { optional_type { item { type_id: UTF8 } } } } primary_key: "id" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(CreateTable, 4603c66a-6974-4206-838c-1bb6b72de077, ghrun-iu2hkpwepm.auto.internal:4490): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb7089a040>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:349 write_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, 7311c85a-ac25-4a0d-bce8-05e61a448743, ghrun-iu2hkpwepm.auto.internal:4490): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, 7311c85a-ac25-4a0d-bce8-05e61a448743, ghrun-iu2hkpwepm.auto.internal:4490): request = { session_id: "ydb://session/3?node_id=50001&id=N2U3YjdlYjgtZDliYjRlMTAtMTM1YzUyNi02NGVhYzMxYQ==" tx_control { begin_tx { serializable_read_write { } } commit_tx: true } query { yql_text: "\n                        upsert into table (id, value)\n                        values (1u, \"/Root/users/database_1\");\n                        upsert into table_for_rm (id, value)\n                        values (2u, \"/Root/users/database_1\");\n                        " } operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteDataQuery, 7311c85a-ac25-4a0d-bce8-05e61a448743, ghrun-iu2hkpwepm.auto.internal:4490): response = { operation { ready: true status: SCHEME_ERROR issues { message: "Failed to create default pool in database /Root/users/database" severity: 1 issues { message: "Failed to create resource pool: StatusPathDoesNotExist" severity: 1 issues { message: "Path does not exist" issue_code: 200200 severity: 1 } } } issues { message: "Query failed during adding/waiting in workload pool " severity: 1 } result { [type.googleapis.com/Ydb.Table.ExecuteQueryResult] { tx_meta { } } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7fbb7089a040>
DEBUG    ydb.table.SessionPool:_sp_impl.py:51 Requested session pool stop.
DEBUG    ydb.table.SessionPool:_sp_impl.py:56 Session pool is under stop, cancelling all in flight waiters.
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.table.SessionPool:_sp_impl.py:70 Destroying sessions in active queue
DEBUG    ydb.table.SessionPool:_sp_impl.py:145 Requested session destroy: <ydb.table.Session object at 0x7fbb7089a040>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7fbb7089a040> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, e22739c3-7720-4203-b5f7-e5170144bd92, ghrun-iu2hkpwepm.auto.internal:4490): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, e22739c3-7720-4203-b5f7-e5170144bd92, ghrun-iu2hkpwepm.auto.internal:4490): request = { session_id: "ydb://session/3?node_id=50001&id=N2U3YjdlYjgtZDliYjRlMTAtMTM1YzUyNi02NGVhYzMxYQ==" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7fbb7089a040>
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:5761
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, e22739c3-7720-4203-b5f7-e5170144bd92, ghrun-iu2hkpwepm.auto.internal:4490): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(DeleteSession, e22739c3-7720-4203-b5f7-e5170144bd92, ghrun-iu2hkpwepm.auto.internal:4490): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.connection:connection.py:107 RpcState(DeleteSession, e22739c3-7720-4203-b5f7-e5170144bd92, ghrun-iu2hkpwepm.auto.internal:4490): on response callback success
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-iu2hkpwepm.auto.internal:4490
INFO     ydb.pool.Discovery:pool.py:277 Successfully terminated discovery process
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:429 Test teardown
INFO     ydb.tests.library.fixtures:__init__.py:58 destroy ydb_cluster for __tests__.test_dynamic_tenants
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:4490/2
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:5761/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17910
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8511
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23846
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5094
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4490
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13124
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2943
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19533
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7091
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7090
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26978
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/61505
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22645
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5761
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23654
============================== slowest durations ===============================
8.15s call     test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true]
3.01s teardown test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true]
2.48s setup    test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true]
=========================== short test summary info ============================
FAILED test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true] - ydb.issues.SchemeError: message: "Failed to create default pool in database /Root/users/database" severity: 1 issues { message: "Failed to create resource pool: StatusPathDoesNotExist" severity: 1 issues { message: "Path does not exist" issue_code: 200200 severity: 1 } } ,message: "Query failed during adding/waiting in workload pool " severity: 1 (server_code: 400070)
====================== 1 failed, 103 deselected in 14.29s ======================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

test_tenants.py F

=================================== FAILURES ===================================
_ TestTenants.test_list_database_above[enable_alter_database_create_hive_first--false] _
ydb/tests/functional/tenants/test_tenants.py:433: in test_list_database_above
    assert result.children[0].name == ".sys"
E   AssertionError: assert '.metadata' == '.sys'
E     - .sys
E     + .metadata
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_list_database_above[enable_alter_database_create_hive_first--false]
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 Test setup
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2610
INFO     ydb.tests.library.fixtures:__init__.py:46 setup ydb_cluster for __tests__.test_tenants
INFO     ydb.tests.library.fixtures:__init__.py:48 setup ydb_cluster as local
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:394 Working directory: /home/runner/.ya/build/build_root/2u71/000495/r3tmp/kikimr_cluster_wn1rh07f
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/25106
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/8965
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/22922
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/27034
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --log-file-name=/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/node_1/logfile_wr2w1odj.log --grpc-port=25106 --mon-port=8965 --ic-port=2610
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:162 Formatting pdisk SectorMap:1:64 on node localhost:25106/1, disk_size 68719476736
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/kikimr_configs/config.yaml', '--node=1', '--log-file-name=/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/node_1/logfile_wr2w1odj.log', '--grpc-port=25106', '--mon-port=8965', '--ic-port=2610')' in '/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/node_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3670035
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:25106/1
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:25106', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 2610\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:25106', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 2610\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3673507
DEBUG    ya.test:process.py:259 Command (pid 3673507) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3673507) elapsed time (sec): 0.4582078456878662
DEBUG    ya.test:process.py:263 Command (pid 3673507) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3673507) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3673507) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3673507) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3673507) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3673507) maxrss: 528800
DEBUG    ya.test:process.py:263 Command (pid 3673507) minflt: 19131
DEBUG    ya.test:process.py:263 Command (pid 3673507) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3673507) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3673507) nivcsw: 1
DEBUG    ya.test:process.py:263 Command (pid 3673507) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3673507) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3673507) nvcsw: 143
DEBUG    ya.test:process.py:263 Command (pid 3673507) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3673507) stime: 0.283285
DEBUG    ya.test:process.py:263 Command (pid 3673507) utime: 0.135658
DEBUG    ya.test:process.py:263 Command (pid 3673507) wtime: 0.46
DEBUG    ya.test:process.py:275 Command (pid 3673507) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

DEBUG    ya.test:process.py:276 Command (pid 3673507) errors:

DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:25106', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out.0
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err.0
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:25106', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3673899
DEBUG    ya.test:process.py:259 Command (pid 3673899) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3673899) elapsed time (sec): 0.48675012588500977
DEBUG    ya.test:process.py:263 Command (pid 3673899) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3673899) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3673899) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3673899) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3673899) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3673899) maxrss: 528804
DEBUG    ya.test:process.py:263 Command (pid 3673899) minflt: 19131
DEBUG    ya.test:process.py:263 Command (pid 3673899) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3673899) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3673899) nivcsw: 29
DEBUG    ya.test:process.py:263 Command (pid 3673899) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3673899) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3673899) nvcsw: 96
DEBUG    ya.test:process.py:263 Command (pid 3673899) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3673899) stime: 0.31435599999999997
DEBUG    ya.test:process.py:263 Command (pid 3673899) utime: 0.108819
DEBUG    ya.test:process.py:263 Command (pid 3673899) wtime: 0.488
DEBUG    ya.test:process.py:275 Command (pid 3673899) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 6

DEBUG    ya.test:process.py:276 Command (pid 3673899) errors:

INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:446 Cluster started and initialized
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: response from console: RemoveTenantResponse {
  Response {
    operation {
      ready: true
      status: NOT_FOUND
      issues {
        message: "Database \'/Root/test_list_database_above_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
        severity: 1
      }
    }
  }
}
Status {
  Code: NOT_FOUND
  Reason: "Database \'/Root/test_list_database_above_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:86 create database /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: create path and declare internals
DEBUG    ydb.tests.library.fixtures:__init__.py:90 create database /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: start nodes and construct internals
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/65204
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/12979
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/9999
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/21498
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/21458
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:25106 --tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--false_ --log-file-name=/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/slot_1/logfile_p73d2gs2.log --grpc-port=65204 --mon-port=12979 --ic-port=9999
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/000495/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/kikimr_configs/config.yaml', '--node-broker=localhost:25106', '--tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--false_', '--log-file-name=/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/slot_1/logfile_p73d2gs2.log', '--grpc-port=65204', '--mon-port=12979', '--ic-port=9999')' in '/home/runner/.ya/build/build_root/2u71/000495/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk2/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--false/cluster/slot_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3674468
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:65204/1
DEBUG    ydb.tests.library.fixtures:__init__.py:93 create database /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: wait construction done
DEBUG    ydb.tests.library.fixtures:__init__.py:96 create database /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: database up
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:434 Test call (class_name: test_tenants.py::TestTenants, test_name: test_list_database_above[enable_alter_database_create_hive_first--false])
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/test_list_database_above_enable_alter_database_create_hive_first--false_
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 5dbf9a4e-5a03-40a6-bc1e-c53a2badd3a4, localhost:25106): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 5dbf9a4e-5a03-40a6-bc1e-c53a2badd3a4, localhost:25106): request = { database: "/Root/test_list_database_above_enable_alter_database_create_hive_first--false_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 5dbf9a4e-5a03-40a6-bc1e-c53a2badd3a4, localhost:25106): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iu2hkpwepm.auto.internal" port: 65204 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" node_id: 50000 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iu2hkpwepm.auto.internal:65204, location , ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:25106
DEBUG    ydb.connection:connection.py:375 RpcState(ListDirectory, 76547754-1096-42b2-ac62-97282f3b3bbd, ghrun-iu2hkpwepm.auto.internal:65204): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListDirectory, 76547754-1096-42b2-ac62-97282f3b3bbd, ghrun-iu2hkpwepm.auto.internal:65204): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_list_database_above_enable_alter_database_create_hive_first--false_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListDirectory, 76547754-1096-42b2-ac62-97282f3b3bbd, ghrun-iu2hkpwepm.auto.internal:65204): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Scheme.ListDirectoryResult] { self { name: "Root/test_list_database_above_enable_alter_database_create_hive_first--false_" owner: "root@builtin" type: DATABASE effective_permissions { subject: "USERS" permission_names: "ydb.database.connect" } effective_permissions { subject: "METADATA-READERS" permission_names: "ydb.generic.list" } effective_permissions { subject: "DATA-READERS" permission_names: "ydb.granular.select_row" } effective_permissions { subject: "DATA-WRITERS" permission_names: "ydb.tables.modify" } effective_permissions { subject: "DDL-ADMINS" permission_names: "ydb.granular.create_directory" permission_names: "ydb.granular.write_attributes" permission_names: "ydb.granular.create_table" permission_names: "ydb.granular.remove_schema" permission_names: "ydb.granular.create_queue" permission_names: "ydb.granular.alter_schema" } effective_permissions { subject: "ACCESS-ADMINS" permission_names: "ydb.access.grant" } effective_permissions { subject: "DATABASE-ADMINS" permission_names: "ydb.generic.manage" } created_at { tx_id: 1 } } children { name: ".metadata" owner: "metadata@system" type: DIRECTORY created_at { plan_step: 1763122895490 tx_id: 281474976720657 } } children { name: ".sys" type: DIRECTORY created_at { } } } } } }
DEBUG    __tests__.test_tenants:test_tenants.py:431 From database: list database </Root/test_list_database_above_enable_alter_database_create_hive_first--false_> is {'scheme_type': 'Directory', 'name': 'test_list_database_above_enable_alter_database_create_hive_first--false_', 'type': '4', 'owner': 'root@builtin', 'effective_permissions': [subject: "USERS"
permission_names: "ydb.database.connect"
, subject: "METADATA-READERS"
permission_names: "ydb.generic.list"
, subject: "DATA-READERS"
permission_names: "ydb.granular.select_row"
, subject: "DATA-WRITERS"
permission_names: "ydb.tables.modify"
, subject: "DDL-ADMINS"
permission_names: "ydb.granular.create_directory"
permission_names: "ydb.granular.write_attributes"
permission_names: "ydb.granular.create_table"
permission_names: "ydb.granular.remove_schema"
permission_names: "ydb.granular.create_queue"
permission_names: "ydb.granular.alter_schema"
, subject: "ACCESS-ADMINS"
permission_names: "ydb.access.grant"
, subject: "DATABASE-ADMINS"
permission_names: "ydb.generic.manage"
], 'permissions': [], 'children': [{'scheme_type': 'SchemeEntry', 'name': '.metadata', 'type': '1', 'owner': 'metadata@system', 'effective_permissions': [], 'permissions': []}, {'scheme_type': 'SchemeEntry', 'name': '.sys', 'type': '1', 'owner': '', 'effective_permissions': [], 'permissions': []}]}
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:25106
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-iu2hkpwepm.auto.internal:65204
INFO     ydb.pool.Discovery:pool.py:277 Successfully terminated discovery process
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:429 Test teardown
DEBUG    ydb.tests.library.fixtures:__init__.py:99 destroy database /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: remove path and dismantle internals
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: response from console: RemoveTenantResponse {
  Response {
    operation {
      id: "ydb://cmsrequest/5?tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--false_&cmstid=72057594037936131&txid=1763122896175421&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:102 destroy database /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: stop nodes
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:65204/1
DEBUG    ydb.tests.library.fixtures:__init__.py:105 destroy database /Root/test_list_database_above_enable_alter_database_create_hive_first--false_: database down
INFO     ydb.tests.library.fixtures:__init__.py:58 destroy ydb_cluster for __tests__.test_tenants
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:25106/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21458
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21498
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9999
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12979
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/65204
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27034
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22922
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8965
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25106
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2610
============================== slowest durations ===============================
8.52s teardown test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--false]
7.85s setup    test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--false]
0.23s call     test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--false]
=========================== short test summary info ============================
FAILED test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--false] - AssertionError: assert '.metadata' == '.sys'
  - .sys
  + .metadata
====================== 1 failed, 103 deselected in 17.11s ======================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

test_tenants.py F

=================================== FAILURES ===================================
_ TestTenants.test_list_database_above[enable_alter_database_create_hive_first--true] _
ydb/tests/functional/tenants/test_tenants.py:433: in test_list_database_above
    assert result.children[0].name == ".sys"
E   AssertionError: assert '.metadata' == '.sys'
E     - .sys
E     + .metadata
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_list_database_above[enable_alter_database_create_hive_first--true]
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 Test setup
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5424
INFO     ydb.tests.library.fixtures:__init__.py:46 setup ydb_cluster for __tests__.test_tenants
INFO     ydb.tests.library.fixtures:__init__.py:48 setup ydb_cluster as local
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:394 Working directory: /home/runner/.ya/build/build_root/2u71/000491/r3tmp/kikimr_cluster_2er8nfh4
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/64226
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/12884
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/30877
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/4647
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --log-file-name=/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/node_1/logfile_joi2sh6y.log --grpc-port=64226 --mon-port=12884 --ic-port=5424
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:162 Formatting pdisk SectorMap:1:64 on node localhost:64226/1, disk_size 68719476736
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/kikimr_configs/config.yaml', '--node=1', '--log-file-name=/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/node_1/logfile_joi2sh6y.log', '--grpc-port=64226', '--mon-port=12884', '--ic-port=5424')' in '/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/node_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3679905
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:64226/1
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:64226', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 5424\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:64226', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 5424\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3680254
DEBUG    ya.test:process.py:259 Command (pid 3680254) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3680254) elapsed time (sec): 0.3937101364135742
DEBUG    ya.test:process.py:263 Command (pid 3680254) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) maxrss: 528796
DEBUG    ya.test:process.py:263 Command (pid 3680254) minflt: 19130
DEBUG    ya.test:process.py:263 Command (pid 3680254) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) nivcsw: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3680254) nvcsw: 146
DEBUG    ya.test:process.py:263 Command (pid 3680254) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3680254) stime: 0.28310599999999997
DEBUG    ya.test:process.py:263 Command (pid 3680254) utime: 0.067786
DEBUG    ya.test:process.py:263 Command (pid 3680254) wtime: 0.395
DEBUG    ya.test:process.py:275 Command (pid 3680254) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

DEBUG    ya.test:process.py:276 Command (pid 3680254) errors:

DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:64226', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out.0
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err.0
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:64226', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3681105
DEBUG    ya.test:process.py:259 Command (pid 3681105) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3681105) elapsed time (sec): 0.3495049476623535
DEBUG    ya.test:process.py:263 Command (pid 3681105) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3681105) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3681105) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3681105) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3681105) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3681105) maxrss: 528808
DEBUG    ya.test:process.py:263 Command (pid 3681105) minflt: 19129
DEBUG    ya.test:process.py:263 Command (pid 3681105) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3681105) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3681105) nivcsw: 4
DEBUG    ya.test:process.py:263 Command (pid 3681105) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3681105) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3681105) nvcsw: 134
DEBUG    ya.test:process.py:263 Command (pid 3681105) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3681105) stime: 0.210636
DEBUG    ya.test:process.py:263 Command (pid 3681105) utime: 0.09608
DEBUG    ya.test:process.py:263 Command (pid 3681105) wtime: 0.351
DEBUG    ya.test:process.py:275 Command (pid 3681105) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 6

DEBUG    ya.test:process.py:276 Command (pid 3681105) errors:

INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:446 Cluster started and initialized
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: response from console: RemoveTenantResponse {
  Response {
    operation {
      ready: true
      status: NOT_FOUND
      issues {
        message: "Database \'/Root/test_list_database_above_enable_alter_database_create_hive_first--true_\' doesn\'t exist"
        severity: 1
      }
    }
  }
}
Status {
  Code: NOT_FOUND
  Reason: "Database \'/Root/test_list_database_above_enable_alter_database_create_hive_first--true_\' doesn\'t exist"
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:86 create database /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: create path and declare internals
DEBUG    ydb.tests.library.fixtures:__init__.py:90 create database /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: start nodes and construct internals
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/16936
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/1272
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/30389
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/4204
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/62943
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:64226 --tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--true_ --log-file-name=/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/slot_1/logfile_oetbcvhl.log --grpc-port=16936 --mon-port=1272 --ic-port=30389
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/000491/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/kikimr_configs/config.yaml', '--node-broker=localhost:64226', '--tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--true_', '--log-file-name=/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/slot_1/logfile_oetbcvhl.log', '--grpc-port=16936', '--mon-port=1272', '--ic-port=30389')' in '/home/runner/.ya/build/build_root/2u71/000491/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk3/testing_out_stuff/test_tenants.py.TestTenants.test_list_database_above.enable_alter_database_create_hive_first--true/cluster/slot_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3681708
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:16936/1
DEBUG    ydb.tests.library.fixtures:__init__.py:93 create database /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: wait construction done
DEBUG    ydb.tests.library.fixtures:__init__.py:96 create database /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: database up
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:434 Test call (class_name: test_tenants.py::TestTenants, test_name: test_list_database_above[enable_alter_database_create_hive_first--true])
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/test_list_database_above_enable_alter_database_create_hive_first--true_
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 45303e31-9b33-40f9-962b-9f2f78f48cda, localhost:64226): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 45303e31-9b33-40f9-962b-9f2f78f48cda, localhost:64226): request = { database: "/Root/test_list_database_above_enable_alter_database_create_hive_first--true_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 45303e31-9b33-40f9-962b-9f2f78f48cda, localhost:64226): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iu2hkpwepm.auto.internal" port: 16936 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" node_id: 50000 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iu2hkpwepm.auto.internal:16936, location , ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:64226
DEBUG    ydb.connection:connection.py:375 RpcState(ListDirectory, 064dabd5-a183-492a-99d8-74ecf6089f0f, ghrun-iu2hkpwepm.auto.internal:16936): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListDirectory, 064dabd5-a183-492a-99d8-74ecf6089f0f, ghrun-iu2hkpwepm.auto.internal:16936): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_list_database_above_enable_alter_database_create_hive_first--true_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListDirectory, 064dabd5-a183-492a-99d8-74ecf6089f0f, ghrun-iu2hkpwepm.auto.internal:16936): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Scheme.ListDirectoryResult] { self { name: "Root/test_list_database_above_enable_alter_database_create_hive_first--true_" owner: "root@builtin" type: DATABASE effective_permissions { subject: "USERS" permission_names: "ydb.database.connect" } effective_permissions { subject: "METADATA-READERS" permission_names: "ydb.generic.list" } effective_permissions { subject: "DATA-READERS" permission_names: "ydb.granular.select_row" } effective_permissions { subject: "DATA-WRITERS" permission_names: "ydb.tables.modify" } effective_permissions { subject: "DDL-ADMINS" permission_names: "ydb.granular.create_directory" permission_names: "ydb.granular.write_attributes" permission_names: "ydb.granular.create_table" permission_names: "ydb.granular.remove_schema" permission_names: "ydb.granular.create_queue" permission_names: "ydb.granular.alter_schema" } effective_permissions { subject: "ACCESS-ADMINS" permission_names: "ydb.access.grant" } effective_permissions { subject: "DATABASE-ADMINS" permission_names: "ydb.generic.manage" } created_at { tx_id: 1 } } children { name: ".metadata" owner: "metadata@system" type: DIRECTORY created_at { plan_step: 1763122908440 tx_id: 281474976720657 } } children { name: ".sys" type: DIRECTORY created_at { } } } } } }
DEBUG    __tests__.test_tenants:test_tenants.py:431 From database: list database </Root/test_list_database_above_enable_alter_database_create_hive_first--true_> is {'scheme_type': 'Directory', 'name': 'test_list_database_above_enable_alter_database_create_hive_first--true_', 'type': '4', 'owner': 'root@builtin', 'effective_permissions': [subject: "USERS"
permission_names: "ydb.database.connect"
, subject: "METADATA-READERS"
permission_names: "ydb.generic.list"
, subject: "DATA-READERS"
permission_names: "ydb.granular.select_row"
, subject: "DATA-WRITERS"
permission_names: "ydb.tables.modify"
, subject: "DDL-ADMINS"
permission_names: "ydb.granular.create_directory"
permission_names: "ydb.granular.write_attributes"
permission_names: "ydb.granular.create_table"
permission_names: "ydb.granular.remove_schema"
permission_names: "ydb.granular.create_queue"
permission_names: "ydb.granular.alter_schema"
, subject: "ACCESS-ADMINS"
permission_names: "ydb.access.grant"
, subject: "DATABASE-ADMINS"
permission_names: "ydb.generic.manage"
], 'permissions': [], 'children': [{'scheme_type': 'SchemeEntry', 'name': '.metadata', 'type': '1', 'owner': 'metadata@system', 'effective_permissions': [], 'permissions': []}, {'scheme_type': 'SchemeEntry', 'name': '.sys', 'type': '1', 'owner': '', 'effective_permissions': [], 'permissions': []}]}
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:64226
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-iu2hkpwepm.auto.internal:16936
INFO     ydb.pool.Discovery:pool.py:277 Successfully terminated discovery process
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:429 Test teardown
DEBUG    ydb.tests.library.fixtures:__init__.py:99 destroy database /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: remove path and dismantle internals
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: response from console: RemoveTenantResponse {
  Response {
    operation {
      id: "ydb://cmsrequest/5?tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--true_&cmstid=72057594037936131&txid=1763122909009126&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:102 destroy database /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: stop nodes
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:16936/1
DEBUG    ydb.tests.library.fixtures:__init__.py:105 destroy database /Root/test_list_database_above_enable_alter_database_create_hive_first--true_: database down
INFO     ydb.tests.library.fixtures:__init__.py:58 destroy ydb_cluster for __tests__.test_tenants
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:64226/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/62943
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4204
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30389
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1272
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16936
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4647
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30877
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12884
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/64226
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5424
============================== slowest durations ===============================
10.57s teardown test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--true]
5.54s setup    test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--true]
0.31s call     test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--true]
=========================== short test summary info ============================
FAILED test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--true] - AssertionError: assert '.metadata' == '.sys'
  - .sys
  + .metadata
====================== 1 failed, 103 deselected in 16.89s ======================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

test_tenants.py F

=================================== FAILURES ===================================
_ TestTenants.test_stop_start[enable_alter_database_create_hive_first--false] __
ydb/tests/functional/tenants/test_tenants.py:297: in test_stop_start
    with ydb_database_ctx(ydb_cluster, database_path):
contrib/tools/python3/Lib/contextlib.py:137: in __enter__
    return next(self.gen)
ydb/tests/library/fixtures/__init__.py:88: in ydb_database_ctx
    ydb_cluster.create_database(database_path, storage_pool_units_count=storage_pools, timeout_seconds=timeout_seconds, token=token)
ydb/tests/library/harness/kikimr_cluster_interface.py:217: in create_database
    raise RuntimeError('create_database failed: %s, %s' % (operation.status, ydb.issues._format_issues(operation.issues)))
E   RuntimeError: create_database failed: 400080, message: "Group fit error BoxId# 1 StoragePoolId# 5 Error# failed to allocate group: no group options PDisks# {[(1:1-S)]}" severity: 1
------------------------------ Captured log setup ------------------------------
INFO     ya.test:ya.py:418 ####################################################################################################
INFO     ya.test:ya.py:419 test_stop_start[enable_alter_database_create_hive_first--false]
INFO     ya.test:ya.py:420 ####################################################################################################
INFO     ya.test:ya.py:421 Test setup
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/30608
INFO     ydb.tests.library.fixtures:__init__.py:46 setup ydb_cluster for __tests__.test_tenants
INFO     ydb.tests.library.fixtures:__init__.py:48 setup ydb_cluster as local
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:394 Working directory: /home/runner/.ya/build/build_root/2u71/00048f/r3tmp/kikimr_cluster_hil1sxrq
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13441
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/11531
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/5536
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13856
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node=1 --log-file-name=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/node_1/logfile_gam1poce.log --grpc-port=13441 --mon-port=11531 --ic-port=30608
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:162 Formatting pdisk SectorMap:1:64 on node localhost:13441/1, disk_size 68719476736
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/kikimr_configs/config.yaml', '--node=1', '--log-file-name=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/node_1/logfile_gam1poce.log', '--grpc-port=13441', '--mon-port=11531', '--ic-port=30608')' in '/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/node_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3680071
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:13441/1
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:13441', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 30608\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:13441', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineHostConfig {\n    HostConfigId: 1\n    Drive {\n      Path: "SectorMap:1:64"\n    }\n  }\n}\nCommand {\n  DefineBox {\n    BoxId: 1\n    Host {\n      Key {\n        Fqdn: "localhost"\n        IcPort: 30608\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3681407
DEBUG    ya.test:process.py:259 Command (pid 3681407) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3681407) elapsed time (sec): 0.2999866008758545
DEBUG    ya.test:process.py:263 Command (pid 3681407) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3681407) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3681407) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3681407) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3681407) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3681407) maxrss: 528800
DEBUG    ya.test:process.py:263 Command (pid 3681407) minflt: 19132
DEBUG    ya.test:process.py:263 Command (pid 3681407) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3681407) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3681407) nivcsw: 1
DEBUG    ya.test:process.py:263 Command (pid 3681407) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3681407) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3681407) nvcsw: 132
DEBUG    ya.test:process.py:263 Command (pid 3681407) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3681407) stime: 0.190155
DEBUG    ya.test:process.py:263 Command (pid 3681407) utime: 0.06734899999999999
DEBUG    ya.test:process.py:263 Command (pid 3681407) wtime: 0.302
DEBUG    ya.test:process.py:275 Command (pid 3681407) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 4

DEBUG    ya.test:process.py:276 Command (pid 3681407) errors:

DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:13441', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']
DEBUG    ya.test:process.py:678 Command out will be placed to ydbd.out.0
DEBUG    ya.test:process.py:678 Command err will be placed to ydbd.err.0
DEBUG    ya.test:process.py:610 Executing '['/home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:13441', 'admin', 'blobstorage', 'config', 'invoke', '--proto=Command {\n  DefineStoragePool {\n    BoxId: 1\n    StoragePoolId: 1\n    Name: "dynamic_storage_pool:1"\n    ErasureSpecies: "none"\n    VDiskKind: "Default"\n    Kind: "hdd"\n    NumGroups: 2\n    PDiskFilter {\n      Property {\n        Type: ROT\n      }\n      Property {\n        Kind: 0\n      }\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3681557
DEBUG    ya.test:process.py:259 Command (pid 3681557) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3681557) elapsed time (sec): 0.31545162200927734
DEBUG    ya.test:process.py:263 Command (pid 3681557) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3681557) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3681557) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3681557) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3681557) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3681557) maxrss: 528804
DEBUG    ya.test:process.py:263 Command (pid 3681557) minflt: 19131
DEBUG    ya.test:process.py:263 Command (pid 3681557) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3681557) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3681557) nivcsw: 2
DEBUG    ya.test:process.py:263 Command (pid 3681557) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3681557) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3681557) nvcsw: 110
DEBUG    ya.test:process.py:263 Command (pid 3681557) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3681557) stime: 0.22058
DEBUG    ya.test:process.py:263 Command (pid 3681557) utime: 0.061903
DEBUG    ya.test:process.py:263 Command (pid 3681557) wtime: 0.316
DEBUG    ya.test:process.py:275 Command (pid 3681557) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

DEBUG    ya.test:process.py:276 Command (pid 3681557) errors:

INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:446 Cluster started and initialized
------------------------------ Captured log call -------------------------------
INFO     ya.test:ya.py:434 Test call (class_name: test_tenants.py::TestTenants, test_name: test_stop_start[enable_alter_database_create_hive_first--false])
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: response from console: RemoveTenantResponse {
  Response {
    operation {
      ready: true
      status: NOT_FOUND
      issues {
        message: "Database \'/Root/test_stop_start_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
        severity: 1
      }
    }
  }
}
Status {
  Code: NOT_FOUND
  Reason: "Database \'/Root/test_stop_start_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:86 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: create path and declare internals
DEBUG    ydb.tests.library.fixtures:__init__.py:90 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: start nodes and construct internals
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23413
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/16677
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/16922
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/9579
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/18109
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:13441 --tenant=/Root/test_stop_start_enable_alter_database_create_hive_first--false_ --log-file-name=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/slot_1/logfile_zuxzahcs.log --grpc-port=23413 --mon-port=16677 --ic-port=16922
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/kikimr_configs/config.yaml', '--node-broker=localhost:13441', '--tenant=/Root/test_stop_start_enable_alter_database_create_hive_first--false_', '--log-file-name=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/slot_1/logfile_zuxzahcs.log', '--grpc-port=23413', '--mon-port=16677', '--ic-port=16922')' in '/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/slot_1' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3683116
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:23413/1
DEBUG    ydb.tests.library.fixtures:__init__.py:93 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait construction done
DEBUG    ydb.tests.library.fixtures:__init__.py:96 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: database up
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.table.SessionPool:_sp_impl.py:260 Active session queue is empty, subscribe waiter for a session
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x7f60c0ff1550 state=pending>
DEBUG    ydb.table.SessionPool:_sp_impl.py:282 Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x7f60c0ff3e40>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f60c0ff3e40>
ERROR    ydb.table.SessionPool:_sp_impl.py:208 Failed to create session. Put event to a delayed queue. Reason: Couldn't find valid connection
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, dca2c7df-cbe1-4b59-88e7-c86eb52a3756, localhost:13441): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, dca2c7df-cbe1-4b59-88e7-c86eb52a3756, localhost:13441): request = { database: "/Root/test_stop_start_enable_alter_database_create_hive_first--false_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, dca2c7df-cbe1-4b59-88e7-c86eb52a3756, localhost:13441): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iu2hkpwepm.auto.internal" port: 23413 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" node_id: 50000 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iu2hkpwepm.auto.internal:23413, location , ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:13441
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f60c0ff3e40>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, 9b36078b-f11c-45b3-8ee5-44e0d2b955cc, ghrun-iu2hkpwepm.auto.internal:23413): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, 9b36078b-f11c-45b3-8ee5-44e0d2b955cc, ghrun-iu2hkpwepm.auto.internal:23413): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, 9b36078b-f11c-45b3-8ee5-44e0d2b955cc, ghrun-iu2hkpwepm.auto.internal:23413): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, 9b36078b-f11c-45b3-8ee5-44e0d2b955cc, ghrun-iu2hkpwepm.auto.internal:23413): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NGZmOTJjMy00MzcxOWZjZC0zODBkOGM0LTQ0MDU0NDI5" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f60c0ff3e40>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7f60c0ff3e40>
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, 9b36078b-f11c-45b3-8ee5-44e0d2b955cc, ghrun-iu2hkpwepm.auto.internal:23413): on response callback success
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteSchemeQuery, 1d971da8-237e-4207-b6f1-747e4890a70b, ghrun-iu2hkpwepm.auto.internal:23413): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteSchemeQuery, 1d971da8-237e-4207-b6f1-747e4890a70b, ghrun-iu2hkpwepm.auto.internal:23413): request = { session_id: "ydb://session/3?node_id=50000&id=NGZmOTJjMy00MzcxOWZjZC0zODBkOGM0LTQ0MDU0NDI5" yql_text: "\n                CREATE TABLE `table_0` (id utf8, PRIMARY KEY (id));\n            " operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteSchemeQuery, 1d971da8-237e-4207-b6f1-747e4890a70b, ghrun-iu2hkpwepm.auto.internal:23413): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f60c0ff3e40>
DEBUG    ydb.tests.library.fixtures:__init__.py:99 destroy database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: remove path and dismantle internals
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: response from console: RemoveTenantResponse {
  Response {
    operation {
      id: "ydb://cmsrequest/5?tenant=/Root/test_stop_start_enable_alter_database_create_hive_first--false_&cmstid=72057594037936131&txid=1763122909303507&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:102 destroy database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: stop nodes
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:23413/1
DEBUG    ydb.tests.library.fixtures:__init__.py:105 destroy database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: database down
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: response from console: RemoveTenantResponse {
  Response {
    operation {
      ready: true
      status: NOT_FOUND
      issues {
        message: "Database \'/Root/test_stop_start_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
        severity: 1
      }
    }
  }
}
Status {
  Code: NOT_FOUND
  Reason: "Database \'/Root/test_stop_start_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:86 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: create path and declare internals
DEBUG    ydb.tests.library.fixtures:__init__.py:90 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: start nodes and construct internals
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/18674
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/22623
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23847
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/1743
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/11166
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:13441 --tenant=/Root/test_stop_start_enable_alter_database_create_hive_first--false_ --log-file-name=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/slot_2/logfile_j9w18tzp.log --grpc-port=18674 --mon-port=22623 --ic-port=23847
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/kikimr_configs/config.yaml', '--node-broker=localhost:13441', '--tenant=/Root/test_stop_start_enable_alter_database_create_hive_first--false_', '--log-file-name=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/slot_2/logfile_j9w18tzp.log', '--grpc-port=18674', '--mon-port=22623', '--ic-port=23847')' in '/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/slot_2' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3696214
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:18674/2
DEBUG    ydb.tests.library.fixtures:__init__.py:93 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait construction done
DEBUG    ydb.tests.library.fixtures:__init__.py:96 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: database up
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.table.SessionPool:_sp_impl.py:260 Active session queue is empty, subscribe waiter for a session
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x7f60c11a9aa0 state=pending>
DEBUG    ydb.table.SessionPool:_sp_impl.py:282 Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x7f60c1196040>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f60c1196040>
ERROR    ydb.table.SessionPool:_sp_impl.py:208 Failed to create session. Put event to a delayed queue. Reason: Couldn't find valid connection
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, ffff181c-2f91-445d-935a-a02d9c24088b, localhost:13441): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, ffff181c-2f91-445d-935a-a02d9c24088b, localhost:13441): request = { database: "/Root/test_stop_start_enable_alter_database_create_hive_first--false_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, ffff181c-2f91-445d-935a-a02d9c24088b, localhost:13441): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iu2hkpwepm.auto.internal" port: 18674 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" node_id: 50001 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iu2hkpwepm.auto.internal:18674, location , ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:13441
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f60c1196040>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, a0359170-16d9-4742-9ca3-45cb163d4392, ghrun-iu2hkpwepm.auto.internal:18674): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, a0359170-16d9-4742-9ca3-45cb163d4392, ghrun-iu2hkpwepm.auto.internal:18674): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, a0359170-16d9-4742-9ca3-45cb163d4392, ghrun-iu2hkpwepm.auto.internal:18674): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, a0359170-16d9-4742-9ca3-45cb163d4392, ghrun-iu2hkpwepm.auto.internal:18674): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50001&id=ZmFlYzM1YjQtYWNlNDdiOGMtMjQ3YzNjYzMtZTEzZGU3NmE=" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f60c1196040>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7f60c1196040>
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteSchemeQuery, 1aabc2da-4139-4a7b-828f-4828ddea01e8, ghrun-iu2hkpwepm.auto.internal:18674): creating call state
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, a0359170-16d9-4742-9ca3-45cb163d4392, ghrun-iu2hkpwepm.auto.internal:18674): on response callback success
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteSchemeQuery, 1aabc2da-4139-4a7b-828f-4828ddea01e8, ghrun-iu2hkpwepm.auto.internal:18674): request = { session_id: "ydb://session/3?node_id=50001&id=ZmFlYzM1YjQtYWNlNDdiOGMtMjQ3YzNjYzMtZTEzZGU3NmE=" yql_text: "\n                CREATE TABLE `table_1` (id utf8, PRIMARY KEY (id));\n            " operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteSchemeQuery, 1aabc2da-4139-4a7b-828f-4828ddea01e8, ghrun-iu2hkpwepm.auto.internal:18674): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f60c1196040>
DEBUG    ydb.tests.library.fixtures:__init__.py:99 destroy database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: remove path and dismantle internals
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: response from console: RemoveTenantResponse {
  Response {
    operation {
      id: "ydb://cmsrequest/5?tenant=/Root/test_stop_start_enable_alter_database_create_hive_first--false_&cmstid=72057594037936131&txid=1763122924981736&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:102 destroy database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: stop nodes
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:18674/2
DEBUG    ydb.tests.library.fixtures:__init__.py:105 destroy database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: database down
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: response from console: RemoveTenantResponse {
  Response {
    operation {
      ready: true
      status: NOT_FOUND
      issues {
        message: "Database \'/Root/test_stop_start_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
        severity: 1
      }
    }
  }
}
Status {
  Code: NOT_FOUND
  Reason: "Database \'/Root/test_stop_start_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:86 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: create path and declare internals
DEBUG    ydb.tests.library.fixtures:__init__.py:90 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: start nodes and construct internals
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/1263
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/10931
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13910
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13315
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13768
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/kikimr_configs"
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:247 Final command: /home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:13441 --tenant=/Root/test_stop_start_enable_alter_database_create_hive_first--false_ --log-file-name=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/slot_3/logfile_0tkzvkvg.log --grpc-port=1263 --mon-port=10931 --ic-port=13910
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/2u71/00048f/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/kikimr_configs/config.yaml', '--node-broker=localhost:13441', '--tenant=/Root/test_stop_start_enable_alter_database_create_hive_first--false_', '--log-file-name=/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/slot_3/logfile_0tkzvkvg.log', '--grpc-port=1263', '--mon-port=10931', '--ic-port=13910')' in '/home/runner/.ya/build/build_root/2u71/00048f/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk4/testing_out_stuff/test_tenants.py.TestTenants.test_stop_start.enable_alter_database_create_hive_first--false/cluster/slot_3' (no wait)
DEBUG    ya.test:process.py:628 Command pid: 3706692
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:1263/3
DEBUG    ydb.tests.library.fixtures:__init__.py:93 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait construction done
DEBUG    ydb.tests.library.fixtures:__init__.py:96 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: database up
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.table.SessionPool:_sp_impl.py:260 Active session queue is empty, subscribe waiter for a session
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x7f60c11a2cc0 state=pending>
DEBUG    ydb.table.SessionPool:_sp_impl.py:282 Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x7f60c11b15a0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f60c11b15a0>
ERROR    ydb.table.SessionPool:_sp_impl.py:208 Failed to create session. Put event to a delayed queue. Reason: Couldn't find valid connection
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 37880a17-1648-4b50-a03c-9f212e3d19a3, localhost:13441): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 37880a17-1648-4b50-a03c-9f212e3d19a3, localhost:13441): request = { database: "/Root/test_stop_start_enable_alter_database_create_hive_first--false_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 37880a17-1648-4b50-a03c-9f212e3d19a3, localhost:13441): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iu2hkpwepm.auto.internal" port: 1263 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" node_id: 50002 } self_location: "1" } } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Resolved endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iu2hkpwepm.auto.internal:1263, location , ssl: False>]>
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:13441
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f60c11b15a0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, f1ac1c7c-02d2-4466-9842-c75682c2299d, ghrun-iu2hkpwepm.auto.internal:1263): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, f1ac1c7c-02d2-4466-9842-c75682c2299d, ghrun-iu2hkpwepm.auto.internal:1263): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, f1ac1c7c-02d2-4466-9842-c75682c2299d, ghrun-iu2hkpwepm.auto.internal:1263): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, f1ac1c7c-02d2-4466-9842-c75682c2299d, ghrun-iu2hkpwepm.auto.internal:1263): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50002&id=YjAyNGEyZTgtYmY5NGZhYi1iNDA4NWExMi01OWZhYjU0NQ==" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f60c11b15a0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7f60c11b15a0>
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, f1ac1c7c-02d2-4466-9842-c75682c2299d, ghrun-iu2hkpwepm.auto.internal:1263): on response callback success
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteSchemeQuery, f88ec7af-6394-4825-8292-64a9249c5034, ghrun-iu2hkpwepm.auto.internal:1263): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteSchemeQuery, f88ec7af-6394-4825-8292-64a9249c5034, ghrun-iu2hkpwepm.auto.internal:1263): request = { session_id: "ydb://session/3?node_id=50002&id=YjAyNGEyZTgtYmY5NGZhYi1iNDA4NWExMi01OWZhYjU0NQ==" yql_text: "\n                CREATE TABLE `table_2` (id utf8, PRIMARY KEY (id));\n            " operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
DEBUG    ydb.connection:connection.py:51 RpcState(ExecuteSchemeQuery, f88ec7af-6394-4825-8292-64a9249c5034, ghrun-iu2hkpwepm.auto.internal:1263): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f60c11b15a0>
DEBUG    ydb.tests.library.fixtures:__init__.py:99 destroy database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: remove path and dismantle internals
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: response from console: RemoveTenantResponse {
  Response {
    operation {
      id: "ydb://cmsrequest/5?tenant=/Root/test_stop_start_enable_alter_database_create_hive_first--false_&cmstid=72057594037936131&txid=1763122945623190&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:102 destroy database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: stop nodes
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:1263/3
DEBUG    ydb.tests.library.fixtures:__init__.py:105 destroy database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: database down
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:347 /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:356 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: send console operation, token None
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:365 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: response from console: RemoveTenantResponse {
  Response {
    operation {
      ready: true
      status: NOT_FOUND
      issues {
        message: "Database \'/Root/test_stop_start_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
        severity: 1
      }
    }
  }
}
Status {
  Code: NOT_FOUND
  Reason: "Database \'/Root/test_stop_start_enable_alter_database_create_hive_first--false_\' doesn\'t exist"
}

DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:373 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:375 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: console operation done
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:381 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: wait tenant gone
DEBUG    ydb.tests.library.harness.kikimr_cluster_interface:kikimr_cluster_interface.py:394 /Root/test_stop_start_enable_alter_database_create_hive_first--false_: tenant gone
DEBUG    ydb.tests.library.fixtures:__init__.py:86 create database /Root/test_stop_start_enable_alter_database_create_hive_first--false_: create path and declare internals
---------------------------- Captured log teardown -----------------------------
INFO     ya.test:ya.py:429 Test teardown
DEBUG    ydb.table.SessionPool:_sp_impl.py:51 Requested session pool stop.
DEBUG    ydb.table.SessionPool:_sp_impl.py:56 Session pool is under stop, cancelling all in flight waiters.
DEBUG    ydb.table.SessionPool:_sp_impl.py:70 Destroying sessions in active queue
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.table.SessionPool:_sp_impl.py:145 Requested session destroy: <ydb.table.Session object at 0x7f60c11b15a0>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f60c11b15a0> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, b52396a7-677f-405f-a47c-a62409c8d2bd, ghrun-iu2hkpwepm.auto.internal:1263): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, b52396a7-677f-405f-a47c-a62409c8d2bd, ghrun-iu2hkpwepm.auto.internal:1263): request = { session_id: "ydb://session/3?node_id=50002&id=YjAyNGEyZTgtYmY5NGZhYi1iNDA4NWExMi01OWZhYjU0NQ==" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, b52396a7-677f-405f-a47c-a62409c8d2bd, ghrun-iu2hkpwepm.auto.internal:1263): on response callback started
INFO     ydb.connection:connection.py:76 RpcState(DeleteSession, b52396a7-677f-405f-a47c-a62409c8d2bd, ghrun-iu2hkpwepm.auto.internal:1263): received error, <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:1263: Failed to connect to remote host: Connection refused"
	debug_error_string = "UNKNOWN:connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:1263: Failed to connect to remote host: Connection refused {grpc_status:14, created_time:"2025-11-14T12:22:49.459957327+00:00", file_line:153, file:"/home/runner/actions_runner/_work/ydb/ydb/contrib/libs/grpc/src/core/lib/transport/error_utils.cc"}"
>
DEBUG    ydb.connection:connection.py:85 RpcState(DeleteSession, b52396a7-677f-405f-a47c-a62409c8d2bd, ghrun-iu2hkpwepm.auto.internal:1263): unhandled rpc error, disconnecting channel
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-iu2hkpwepm.auto.internal:1263
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7f60c11b15a0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
DEBUG    ydb.table.SessionPool:_sp_impl.py:51 Requested session pool stop.
DEBUG    ydb.table.SessionPool:_sp_impl.py:56 Session pool is under stop, cancelling all in flight waiters.
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.table.SessionPool:_sp_impl.py:70 Destroying sessions in active queue
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.table.SessionPool:_sp_impl.py:145 Requested session destroy: <ydb.table.Session object at 0x7f60c1196040>, reason: session-pool-terminated
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f60c1196040> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, 654b683e-2ac6-47c8-9f4c-30c7d569465a, ghrun-iu2hkpwepm.auto.internal:18674): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, 654b683e-2ac6-47c8-9f4c-30c7d569465a, ghrun-iu2hkpwepm.auto.internal:18674): request = { session_id: "ydb://session/3?node_id=50001&id=ZmFlYzM1YjQtYWNlNDdiOGMtMjQ3YzNjYzMtZTEzZGU3NmE=" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, 654b683e-2ac6-47c8-9f4c-30c7d569465a, ghrun-iu2hkpwepm.auto.internal:18674): on response callback started
INFO     ydb.connection:connection.py:76 RpcState(DeleteSession, 654b683e-2ac6-47c8-9f4c-30c7d569465a, ghrun-iu2hkpwepm.auto.internal:18674): received error, <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:18674: Failed to connect to remote host: Connection refused"
	debug_error_string = "UNKNOWN:connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:18674: Failed to connect to remote host: Connection refused {grpc_status:14, created_time:"2025-11-14T12:22:49.46875842+00:00", file_line:153, file:"/home/runner/actions_runner/_work/ydb/ydb/contrib/libs/grpc/src/core/lib/transport/error_utils.cc"}"
>
DEBUG    ydb.connection:connection.py:85 RpcState(DeleteSession, 654b683e-2ac6-47c8-9f4c-30c7d569465a, ghrun-iu2hkpwepm.auto.internal:18674): unhandled rpc error, disconnecting channel
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-iu2hkpwepm.auto.internal:18674
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 8cfeee32-4a21-4dfa-939f-754ca723b4ae, localhost:13441): creating call state
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7f60c1196040>
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 8cfeee32-4a21-4dfa-939f-754ca723b4ae, localhost:13441): request = { database: "/Root/test_stop_start_enable_alter_database_create_hive_first--false_" }
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
DEBUG    ydb.table.SessionPool:_sp_impl.py:51 Requested session pool stop.
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 8cfeee32-4a21-4dfa-939f-754ca723b4ae, localhost:13441): response = { operation { ready: true status: NOT_FOUND issues { message: "Requested database does not exist" issue_code: 200202 severity: 1 } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:56 Session pool is under stop, cancelling all in flight waiters.
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_. Endpoint: "localhost:13441". Error details:
 message: "Requested database does not exist" issue_code: 200202 severity: 1 (server_code: 400140)
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.table.SessionPool:_sp_impl.py:70 Destroying sessions in active queue
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:13441
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.table.SessionPool:_sp_impl.py:145 Requested session destroy: <ydb.table.Session object at 0x7f60c0ff3e40>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f60c0ff3e40> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, 943234de-913f-41bf-855e-ac6de55b2e34, ghrun-iu2hkpwepm.auto.internal:23413): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, 943234de-913f-41bf-855e-ac6de55b2e34, ghrun-iu2hkpwepm.auto.internal:23413): request = { session_id: "ydb://session/3?node_id=50000&id=NGZmOTJjMy00MzcxOWZjZC0zODBkOGM0LTQ0MDU0NDI5" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 90535090-bc0e-474f-88b1-4491c9e5dbe8, localhost:13441): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 90535090-bc0e-474f-88b1-4491c9e5dbe8, localhost:13441): request = { database: "/Root/test_stop_start_enable_alter_database_create_hive_first--false_" }
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, 943234de-913f-41bf-855e-ac6de55b2e34, ghrun-iu2hkpwepm.auto.internal:23413): on response callback started
INFO     ydb.connection:connection.py:76 RpcState(DeleteSession, 943234de-913f-41bf-855e-ac6de55b2e34, ghrun-iu2hkpwepm.auto.internal:23413): received error, <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:23413: Failed to connect to remote host: Connection refused"
	debug_error_string = "UNKNOWN:connections to all backends failing; last error: UNKNOWN: ipv4:127.0.1.1:23413: Failed to connect to remote host: Connection refused {grpc_status:14, created_time:"2025-11-14T12:22:49.488662871+00:00", file_line:153, file:"/home/runner/actions_runner/_work/ydb/ydb/contrib/libs/grpc/src/core/lib/transport/error_utils.cc"}"
>
DEBUG    ydb.connection:connection.py:85 RpcState(DeleteSession, 943234de-913f-41bf-855e-ac6de55b2e34, ghrun-iu2hkpwepm.auto.internal:23413): unhandled rpc error, disconnecting channel
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 90535090-bc0e-474f-88b1-4491c9e5dbe8, localhost:13441): response = { operation { ready: true status: NOT_FOUND issues { message: "Requested database does not exist" issue_code: 200202 severity: 1 } } }
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-iu2hkpwepm.auto.internal:23413
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_. Endpoint: "localhost:13441". Error details:
 message: "Requested database does not exist" issue_code: 200202 severity: 1 (server_code: 400140)
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7f60c0ff3e40>
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:175 Preparing initial endpoint to resolve endpoints
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:13441
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
DEBUG    ydb.connection:connection.py:295 Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin')]
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:13441
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 254c1685-2f8d-4472-8458-ed228a613749, localhost:13441): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 254c1685-2f8d-4472-8458-ed228a613749, localhost:13441): request = { database: "/Root/test_stop_start_enable_alter_database_create_hive_first--false_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 254c1685-2f8d-4472-8458-ed228a613749, localhost:13441): response = { operation { ready: true status: NOT_FOUND issues { message: "Requested database does not exist" issue_code: 200202 severity: 1 } } }
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/test_stop_start_enable_alter_database_create_hive_first--false_. Endpoint: "localhost:13441". Error details:
 message: "Requested database does not exist" issue_code: 200202 severity: 1 (server_code: 400140)
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:13441
INFO     ydb.pool.Discovery:pool.py:277 Successfully terminated discovery process
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:13441
INFO     ydb.pool.Discovery:pool.py:277 Successfully terminated discovery process
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:13441
INFO     ydb.pool.Discovery:pool.py:277 Successfully terminated discovery process
INFO     ydb.tests.library.fixtures:__init__.py:58 destroy ydb_cluster for __tests__.test_tenants
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:13441/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13768
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13315
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13910
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/10931
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1263
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11166
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1743
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23847
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22623
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18674
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18109
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9579
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16922
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16677
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23413
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13856
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5536
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11531
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13441
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30608
============================== slowest durations ===============================
63.32s call     test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--false]
3.25s teardown test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--false]
2.42s setup    test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--false]
=========================== short test summary info ============================
FAILED test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--false] - RuntimeError: create_database failed: 400080, message: "Group fit error BoxId# 1 StoragePoolId# 5 Error# failed to allocate group: no group options PDisks# {[(1:1-S)]}" severity: 1
================= 1 failed, 103 deselected in 69.50s (0:01:09) =================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000497/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk5
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

test_tenants.py .

============================== slowest durations ===============================
122.24s call     test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--true]
7.65s teardown test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--true]
4.74s setup    test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--true]
================ 1 passed, 103 deselected in 134.86s (0:02:14) =================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000498/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk6
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.26s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00049d/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk7
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.26s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00048b/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk8
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.20s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00048e/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk9
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.20s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00048d/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk10
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.20s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000499/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk11
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.29s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000490/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk12
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.20s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000494/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk13
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.19s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00049a/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk14
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.28s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00048a/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk15
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.19s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000492/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk16
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.20s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00048c/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk17
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.19s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/000493/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk18
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.19s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/2u71/00049c/ydb/tests/functional/tenants/test-results/py3test/testing_out_stuff/chunk19
configfile: pkg:library.python.pytest:pytest.yatest.ini
plugins: typeguard-2.13.3
collected 109 items / 103 deselected / 6 selected

=========================== 103 deselected in 0.21s ============================
