============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/00050e/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 / 104 deselected / 5 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/3lwf/00050e/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/4371
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/3lwf/00050e/r3tmp/kikimr_cluster_e2f1_t45
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/00050e/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2094
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/1178
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/1395
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/14630
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/00050e/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/3lwf/00050e/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/3lwf/00050e/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_nxftluiu.log --grpc-port=2094 --mon-port=1178 --ic-port=4371
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:162 Formatting pdisk SectorMap:1:64 on node localhost:2094/1, disk_size 68719476736
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/00050e/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/00050e/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/3lwf/00050e/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_nxftluiu.log', '--grpc-port=2094', '--mon-port=1178', '--ic-port=4371')' in '/home/runner/.ya/build/build_root/3lwf/00050e/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: 3662051
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:2094/1
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/00050e/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/3lwf/00050e/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:2094', '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: 4371\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/3lwf/00050e/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:2094', '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: 4371\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3666118
DEBUG    ya.test:process.py:259 Command (pid 3666118) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3666118) elapsed time (sec): 2.505145311355591
DEBUG    ya.test:process.py:263 Command (pid 3666118) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3666118) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3666118) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3666118) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3666118) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3666118) maxrss: 528764
DEBUG    ya.test:process.py:263 Command (pid 3666118) minflt: 19131
DEBUG    ya.test:process.py:263 Command (pid 3666118) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3666118) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3666118) nivcsw: 233
DEBUG    ya.test:process.py:263 Command (pid 3666118) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3666118) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3666118) nvcsw: 133
DEBUG    ya.test:process.py:263 Command (pid 3666118) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3666118) stime: 0.658895
DEBUG    ya.test:process.py:263 Command (pid 3666118) utime: 0.11806799999999999
DEBUG    ya.test:process.py:263 Command (pid 3666118) wtime: 2.507
DEBUG    ya.test:process.py:275 Command (pid 3666118) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

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

DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/00050e/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/3lwf/00050e/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:2094', '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/3lwf/00050e/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:2094', '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: 3672648
DEBUG    ya.test:process.py:259 Command (pid 3672648) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3672648) elapsed time (sec): 3.5072131156921387
DEBUG    ya.test:process.py:263 Command (pid 3672648) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672648) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3672648) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672648) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3672648) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3672648) maxrss: 528800
DEBUG    ya.test:process.py:263 Command (pid 3672648) minflt: 19131
DEBUG    ya.test:process.py:263 Command (pid 3672648) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3672648) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3672648) nivcsw: 366
DEBUG    ya.test:process.py:263 Command (pid 3672648) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3672648) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3672648) nvcsw: 121
DEBUG    ya.test:process.py:263 Command (pid 3672648) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3672648) stime: 0.974436
DEBUG    ya.test:process.py:263 Command (pid 3672648) utime: 0.115214
DEBUG    ya.test:process.py:263 Command (pid 3672648) wtime: 3.536
DEBUG    ya.test:process.py:275 Command (pid 3672648) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 6

DEBUG    ya.test:process.py:276 Command (pid 3672648) 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/3lwf/00050e/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/25676
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/14328
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13704
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/8806
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/7580
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/00050e/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/3lwf/00050e/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:2094 --tenant=/Root/users/database --log-file-name=/home/runner/.ya/build/build_root/3lwf/00050e/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_0nrzia7q.log --grpc-port=25676 --mon-port=14328 --ic-port=13704
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/00050e/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/00050e/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:2094', '--tenant=/Root/users/database', '--log-file-name=/home/runner/.ya/build/build_root/3lwf/00050e/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_0nrzia7q.log', '--grpc-port=25676', '--mon-port=14328', '--ic-port=13704')' in '/home/runner/.ya/build/build_root/3lwf/00050e/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: 3680722
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:25676/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 0x7f6c47eae220 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 0x7f6c47eaf120>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f6c47eaf120>
DEBUG    ydb.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 28a62c9d-3d2f-46bf-a761-b52dc89b3e22, localhost:2094): creating call state
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:62 RpcState(ListEndpoints, 28a62c9d-3d2f-46bf-a761-b52dc89b3e22, localhost:2094): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 28a62c9d-3d2f-46bf-a761-b52dc89b3e22, localhost:2094): 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:2094". 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:2094
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, 84970850-7a26-4dd7-967b-60b7b1907861, localhost:2094): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 84970850-7a26-4dd7-967b-60b7b1907861, localhost:2094): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 84970850-7a26-4dd7-967b-60b7b1907861, localhost:2094): 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:2094". 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:2094
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f6c47eaf120>
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, 5a37dc74-82da-4ba6-be37-9035a9de8cf5, localhost:2094): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 5a37dc74-82da-4ba6-be37-9035a9de8cf5, localhost:2094): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 5a37dc74-82da-4ba6-be37-9035a9de8cf5, localhost:2094): 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:2094". 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:2094
DEBUG    ydb.table.SessionPool:_sp_impl.py:317 Unsubscribe on waiter <Future at 0x7f6c47eae220 state=pending>
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, dbbd3fef-bfa7-45c8-83c7-5d479fc1569d, localhost:2094): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, dbbd3fef-bfa7-45c8-83c7-5d479fc1569d, localhost:2094): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, dbbd3fef-bfa7-45c8-83c7-5d479fc1569d, localhost:2094): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-i5khxpz5ee.auto.internal" port: 25676 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-i5khxpz5ee.auto.internal:25676, 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:2094
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f6c47eaf120>
INFO     ydb.table.SessionPool:_sp_impl.py:240 No pending waiters, will destroy session
DEBUG    ydb.table.SessionPool:_sp_impl.py:145 Requested session destroy: <ydb.table.Session object at 0x7f6c47eaf120>, reason: session-useless
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f6c47eaf120> is no longer active. Current active count 0.
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 0x7f6c47e7a8b0 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 0x7f6c47e7b1c0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f6c47e7b1c0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, ea111c4c-e336-44da-8c9d-8ff78821a398, ghrun-i5khxpz5ee.auto.internal:25676): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, ea111c4c-e336-44da-8c9d-8ff78821a398, ghrun-i5khxpz5ee.auto.internal:25676): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, ea111c4c-e336-44da-8c9d-8ff78821a398, ghrun-i5khxpz5ee.auto.internal:25676): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, ea111c4c-e336-44da-8c9d-8ff78821a398, ghrun-i5khxpz5ee.auto.internal:25676): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=M2RhMDQ1ZjMtYTYyNDUyYjYtNzI2MzExMGEtMzk3YjI5OGU=" } } } }
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, ea111c4c-e336-44da-8c9d-8ff78821a398, ghrun-i5khxpz5ee.auto.internal:25676): on response callback success
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f6c47e7b1c0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7f6c47e7b1c0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 23fc97a0-0a68-4ad8-8393-a1152c5e9665, ghrun-i5khxpz5ee.auto.internal:25676): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 23fc97a0-0a68-4ad8-8393-a1152c5e9665, ghrun-i5khxpz5ee.auto.internal:25676): request = { session_id: "ydb://session/3?node_id=50000&id=M2RhMDQ1ZjMtYTYyNDUyYjYtNzI2MzExMGEtMzk3YjI5OGU=" 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, 23fc97a0-0a68-4ad8-8393-a1152c5e9665, ghrun-i5khxpz5ee.auto.internal:25676): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f6c47e7b1c0>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:336 create table two
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 6e5aeef2-e522-408f-907e-78a26c56da8b, ghrun-i5khxpz5ee.auto.internal:25676): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 6e5aeef2-e522-408f-907e-78a26c56da8b, ghrun-i5khxpz5ee.auto.internal:25676): request = { session_id: "ydb://session/3?node_id=50000&id=M2RhMDQ1ZjMtYTYyNDUyYjYtNzI2MzExMGEtMzk3YjI5OGU=" 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, 6e5aeef2-e522-408f-907e-78a26c56da8b, ghrun-i5khxpz5ee.auto.internal:25676): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f6c47e7b1c0>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:349 write_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, c82e3085-23da-4c1a-9a55-5c7bf6f0dfc5, ghrun-i5khxpz5ee.auto.internal:25676): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, c82e3085-23da-4c1a-9a55-5c7bf6f0dfc5, ghrun-i5khxpz5ee.auto.internal:25676): request = { session_id: "ydb://session/3?node_id=50000&id=M2RhMDQ1ZjMtYTYyNDUyYjYtNzI2MzExMGEtMzk3YjI5OGU=" 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, c82e3085-23da-4c1a-9a55-5c7bf6f0dfc5, ghrun-i5khxpz5ee.auto.internal:25676): 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 0x7f6c47e7b1c0>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:362 read_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, 1ee6c512-8106-4959-9dda-5ebce6736d12, ghrun-i5khxpz5ee.auto.internal:25676): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, 1ee6c512-8106-4959-9dda-5ebce6736d12, ghrun-i5khxpz5ee.auto.internal:25676): request = { session_id: "ydb://session/3?node_id=50000&id=M2RhMDQ1ZjMtYTYyNDUyYjYtNzI2MzExMGEtMzk3YjI5OGU=" 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, 1ee6c512-8106-4959-9dda-5ebce6736d12, ghrun-i5khxpz5ee.auto.internal:25676): 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 0x7f6c47e7b1c0>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:380 drop table two
DEBUG    ydb.connection:connection.py:375 RpcState(DropTable, 072b2f04-47ad-48d6-b922-28dca3832a2e, ghrun-i5khxpz5ee.auto.internal:25676): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DropTable, 072b2f04-47ad-48d6-b922-28dca3832a2e, ghrun-i5khxpz5ee.auto.internal:25676): request = { session_id: "ydb://session/3?node_id=50000&id=M2RhMDQ1ZjMtYTYyNDUyYjYtNzI2MzExMGEtMzk3YjI5OGU=" 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, 072b2f04-47ad-48d6-b922-28dca3832a2e, ghrun-i5khxpz5ee.auto.internal:25676): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f6c47e7b1c0>
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 0x7f6c47e7b1c0>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f6c47e7b1c0> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, 8bd1bda3-2242-4eb2-a877-d672413aaccf, ghrun-i5khxpz5ee.auto.internal:25676): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, 8bd1bda3-2242-4eb2-a877-d672413aaccf, ghrun-i5khxpz5ee.auto.internal:25676): request = { session_id: "ydb://session/3?node_id=50000&id=M2RhMDQ1ZjMtYTYyNDUyYjYtNzI2MzExMGEtMzk3YjI5OGU=" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, 8bd1bda3-2242-4eb2-a877-d672413aaccf, ghrun-i5khxpz5ee.auto.internal:25676): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(DeleteSession, 8bd1bda3-2242-4eb2-a877-d672413aaccf, ghrun-i5khxpz5ee.auto.internal:25676): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.connection:connection.py:107 RpcState(DeleteSession, 8bd1bda3-2242-4eb2-a877-d672413aaccf, ghrun-i5khxpz5ee.auto.internal:25676): on response callback success
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7f6c47e7b1c0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:2094
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-i5khxpz5ee.auto.internal:25676
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=1762884660968306&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:25676/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/3lwf/00050e/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23594
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/19225
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/31204
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2740
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/28737
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/00050e/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/3lwf/00050e/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:2094 --tenant=/Root/users/database --log-file-name=/home/runner/.ya/build/build_root/3lwf/00050e/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_ijntcgs5.log --grpc-port=23594 --mon-port=19225 --ic-port=31204
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/00050e/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/00050e/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:2094', '--tenant=/Root/users/database', '--log-file-name=/home/runner/.ya/build/build_root/3lwf/00050e/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_ijntcgs5.log', '--grpc-port=23594', '--mon-port=19225', '--ic-port=31204')' in '/home/runner/.ya/build/build_root/3lwf/00050e/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: 3693070
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:23594/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    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, 35158996-f64c-48b3-83ae-75db23ef7dfd, localhost:2094): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 35158996-f64c-48b3-83ae-75db23ef7dfd, localhost:2094): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 35158996-f64c-48b3-83ae-75db23ef7dfd, localhost:2094): response = { operation { ready: true status: UNAVAILABLE issues { message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 } } }
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.resolver.DiscoveryEndpointsResolver:resolver.py:155 Failed to resolve endpoints for database /Root/users/database. Endpoint: "localhost:2094". Error details:
 message: "Database nodes resolve failed with no certain result" issue_code: 200400 severity: 1 (server_code: 400050)
DEBUG    ydb.table.SessionPool:_sp_impl.py:262 Subscribe waiter <Future at 0x7f6c47e94290 state=pending>
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:2094
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 0x7f6c47e94b00>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f6c47e94b00>
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, 2bb07ff9-e265-4581-b273-d1b7fb4ddea2, localhost:2094): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 2bb07ff9-e265-4581-b273-d1b7fb4ddea2, localhost:2094): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 2bb07ff9-e265-4581-b273-d1b7fb4ddea2, localhost:2094): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-i5khxpz5ee.auto.internal" port: 23594 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-i5khxpz5ee.auto.internal:23594, 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:2094
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f6c47e94b00>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, 30377889-2476-4a0a-9ebe-a27959eaae5c, ghrun-i5khxpz5ee.auto.internal:23594): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, 30377889-2476-4a0a-9ebe-a27959eaae5c, ghrun-i5khxpz5ee.auto.internal:23594): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, 30377889-2476-4a0a-9ebe-a27959eaae5c, ghrun-i5khxpz5ee.auto.internal:23594): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, 30377889-2476-4a0a-9ebe-a27959eaae5c, ghrun-i5khxpz5ee.auto.internal:23594): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50001&id=M2JhMjM3NC0yYjUxMzc2Yi1hYWY1NjI1MS1jYjgzZDdlNw==" } } } }
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, 30377889-2476-4a0a-9ebe-a27959eaae5c, ghrun-i5khxpz5ee.auto.internal:23594): on response callback success
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f6c47e94b00>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7f6c47e94b00>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, d67dcdf0-0208-491d-b389-74a1c8992706, ghrun-i5khxpz5ee.auto.internal:23594): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, d67dcdf0-0208-491d-b389-74a1c8992706, ghrun-i5khxpz5ee.auto.internal:23594): request = { session_id: "ydb://session/3?node_id=50001&id=M2JhMjM3NC0yYjUxMzc2Yi1hYWY1NjI1MS1jYjgzZDdlNw==" 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, d67dcdf0-0208-491d-b389-74a1c8992706, ghrun-i5khxpz5ee.auto.internal:23594): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f6c47e94b00>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:336 create table two
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 5248fc0b-3181-4a9a-ae8a-2b613abc7fcf, ghrun-i5khxpz5ee.auto.internal:23594): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 5248fc0b-3181-4a9a-ae8a-2b613abc7fcf, ghrun-i5khxpz5ee.auto.internal:23594): request = { session_id: "ydb://session/3?node_id=50001&id=M2JhMjM3NC0yYjUxMzc2Yi1hYWY1NjI1MS1jYjgzZDdlNw==" 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, 5248fc0b-3181-4a9a-ae8a-2b613abc7fcf, ghrun-i5khxpz5ee.auto.internal:23594): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f6c47e94b00>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:349 write_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, 039d1176-2eb8-4523-ac07-61efd5f40be2, ghrun-i5khxpz5ee.auto.internal:23594): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, 039d1176-2eb8-4523-ac07-61efd5f40be2, ghrun-i5khxpz5ee.auto.internal:23594): request = { session_id: "ydb://session/3?node_id=50001&id=M2JhMjM3NC0yYjUxMzc2Yi1hYWY1NjI1MS1jYjgzZDdlNw==" 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, 039d1176-2eb8-4523-ac07-61efd5f40be2, ghrun-i5khxpz5ee.auto.internal:23594): 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 0x7f6c47e94b00>
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 0x7f6c47e94b00>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f6c47e94b00> is no longer active. Current active count 0.
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, 27a1f0c4-fe09-42ed-ac2e-60460c88da3a, ghrun-i5khxpz5ee.auto.internal:23594): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, 27a1f0c4-fe09-42ed-ac2e-60460c88da3a, ghrun-i5khxpz5ee.auto.internal:23594): request = { session_id: "ydb://session/3?node_id=50001&id=M2JhMjM3NC0yYjUxMzc2Yi1hYWY1NjI1MS1jYjgzZDdlNw==" 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 0x7f6c47e94b00>
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, 27a1f0c4-fe09-42ed-ac2e-60460c88da3a, ghrun-i5khxpz5ee.auto.internal:23594): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(DeleteSession, 27a1f0c4-fe09-42ed-ac2e-60460c88da3a, ghrun-i5khxpz5ee.auto.internal:23594): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:2094
DEBUG    ydb.connection:connection.py:107 RpcState(DeleteSession, 27a1f0c4-fe09-42ed-ac2e-60460c88da3a, ghrun-i5khxpz5ee.auto.internal:23594): on response callback success
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-i5khxpz5ee.auto.internal:23594
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:23594/2
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:2094/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/28737
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2740
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/31204
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19225
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23594
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7580
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8806
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13704
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14328
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25676
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14630
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1395
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1178
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2094
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4371
============================== slowest durations ===============================
15.39s call     test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false]
8.59s setup    test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--false]
7.04s 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, 104 deselected in 32.34s ======================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/00050f/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 / 104 deselected / 5 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/3lwf/00050f/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/19024
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/3lwf/00050f/r3tmp/kikimr_cluster_41lyz5vd
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/00050f/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/14240
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23970
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/6434
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/11298
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/00050f/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/3lwf/00050f/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/3lwf/00050f/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_ez6glpzo.log --grpc-port=14240 --mon-port=23970 --ic-port=19024
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:162 Formatting pdisk SectorMap:1:64 on node localhost:14240/1, disk_size 68719476736
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/00050f/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/00050f/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/3lwf/00050f/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_ez6glpzo.log', '--grpc-port=14240', '--mon-port=23970', '--ic-port=19024')' in '/home/runner/.ya/build/build_root/3lwf/00050f/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: 3662041
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:14240/1
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/00050f/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/3lwf/00050f/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:14240', '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: 19024\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/3lwf/00050f/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:14240', '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: 19024\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3665624
DEBUG    ya.test:process.py:259 Command (pid 3665624) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3665624) elapsed time (sec): 2.6770968437194824
DEBUG    ya.test:process.py:263 Command (pid 3665624) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3665624) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3665624) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3665624) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3665624) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3665624) maxrss: 528772
DEBUG    ya.test:process.py:263 Command (pid 3665624) minflt: 19133
DEBUG    ya.test:process.py:263 Command (pid 3665624) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3665624) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3665624) nivcsw: 235
DEBUG    ya.test:process.py:263 Command (pid 3665624) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3665624) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3665624) nvcsw: 114
DEBUG    ya.test:process.py:263 Command (pid 3665624) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3665624) stime: 0.694642
DEBUG    ya.test:process.py:263 Command (pid 3665624) utime: 0.109331
DEBUG    ya.test:process.py:263 Command (pid 3665624) wtime: 2.696
DEBUG    ya.test:process.py:275 Command (pid 3665624) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

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

DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/00050f/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/3lwf/00050f/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:14240', '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/3lwf/00050f/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:14240', '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: 3673063
DEBUG    ya.test:process.py:259 Command (pid 3673063) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3673063) elapsed time (sec): 4.671464681625366
DEBUG    ya.test:process.py:263 Command (pid 3673063) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3673063) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3673063) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3673063) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3673063) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3673063) maxrss: 529012
DEBUG    ya.test:process.py:263 Command (pid 3673063) minflt: 19131
DEBUG    ya.test:process.py:263 Command (pid 3673063) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3673063) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3673063) nivcsw: 286
DEBUG    ya.test:process.py:263 Command (pid 3673063) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3673063) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3673063) nvcsw: 84
DEBUG    ya.test:process.py:263 Command (pid 3673063) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3673063) stime: 0.726237
DEBUG    ya.test:process.py:263 Command (pid 3673063) utime: 0.087674
DEBUG    ya.test:process.py:263 Command (pid 3673063) wtime: 4.688
DEBUG    ya.test:process.py:275 Command (pid 3673063) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 6

DEBUG    ya.test:process.py:276 Command (pid 3673063) 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/3lwf/00050f/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/8528
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13697
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/11087
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/8420
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/1925
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/00050f/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/3lwf/00050f/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:14240 --tenant=/Root/users/database --log-file-name=/home/runner/.ya/build/build_root/3lwf/00050f/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_35dba58a.log --grpc-port=8528 --mon-port=13697 --ic-port=11087
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/00050f/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/00050f/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:14240', '--tenant=/Root/users/database', '--log-file-name=/home/runner/.ya/build/build_root/3lwf/00050f/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_35dba58a.log', '--grpc-port=8528', '--mon-port=13697', '--ic-port=11087')' in '/home/runner/.ya/build/build_root/3lwf/00050f/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: 3682682
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:8528/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 0x7f572fa8a810 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 0x7f572fa8d190>
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f572fa8d190>
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, f876b7d3-8b67-4d61-9b6a-b5a496a43265, localhost:14240): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, f876b7d3-8b67-4d61-9b6a-b5a496a43265, localhost:14240): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, f876b7d3-8b67-4d61-9b6a-b5a496a43265, localhost:14240): 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:14240". 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:14240
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, 874cf7ec-867b-450c-a1ba-cbe732fab3e1, localhost:14240): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 874cf7ec-867b-450c-a1ba-cbe732fab3e1, localhost:14240): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 874cf7ec-867b-450c-a1ba-cbe732fab3e1, localhost:14240): 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:14240". 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:14240
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f572fa8d190>
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, 01f75e95-788e-4e02-b280-548ac78be593, localhost:14240): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 01f75e95-788e-4e02-b280-548ac78be593, localhost:14240): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 01f75e95-788e-4e02-b280-548ac78be593, localhost:14240): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-i5khxpz5ee.auto.internal" port: 8528 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-i5khxpz5ee.auto.internal:8528, 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:14240
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f572fa8d190>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, 171398dc-5919-4060-8a5c-e0f7c1df7ca3, ghrun-i5khxpz5ee.auto.internal:8528): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, 171398dc-5919-4060-8a5c-e0f7c1df7ca3, ghrun-i5khxpz5ee.auto.internal:8528): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, 171398dc-5919-4060-8a5c-e0f7c1df7ca3, ghrun-i5khxpz5ee.auto.internal:8528): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, 171398dc-5919-4060-8a5c-e0f7c1df7ca3, ghrun-i5khxpz5ee.auto.internal:8528): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZmIzODFiMmUtYmEzNzlkNzQtMTMzYWQ3N2UtMjQyNzQ2Nw==" } } } }
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, 171398dc-5919-4060-8a5c-e0f7c1df7ca3, ghrun-i5khxpz5ee.auto.internal:8528): on response callback success
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f572fa8d190>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7f572fa8d190>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 26393cbe-e213-491a-9328-15c4a5bf1b39, ghrun-i5khxpz5ee.auto.internal:8528): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 26393cbe-e213-491a-9328-15c4a5bf1b39, ghrun-i5khxpz5ee.auto.internal:8528): request = { session_id: "ydb://session/3?node_id=50000&id=ZmIzODFiMmUtYmEzNzlkNzQtMTMzYWQ3N2UtMjQyNzQ2Nw==" 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, 26393cbe-e213-491a-9328-15c4a5bf1b39, ghrun-i5khxpz5ee.auto.internal:8528): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f572fa8d190>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:336 create table two
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, e4ebeae0-a063-4e93-a47c-069eba93e8e9, ghrun-i5khxpz5ee.auto.internal:8528): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, e4ebeae0-a063-4e93-a47c-069eba93e8e9, ghrun-i5khxpz5ee.auto.internal:8528): request = { session_id: "ydb://session/3?node_id=50000&id=ZmIzODFiMmUtYmEzNzlkNzQtMTMzYWQ3N2UtMjQyNzQ2Nw==" 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, e4ebeae0-a063-4e93-a47c-069eba93e8e9, ghrun-i5khxpz5ee.auto.internal:8528): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f572fa8d190>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:349 write_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, dd54e375-2561-4076-94f4-7e587fe1bb45, ghrun-i5khxpz5ee.auto.internal:8528): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, dd54e375-2561-4076-94f4-7e587fe1bb45, ghrun-i5khxpz5ee.auto.internal:8528): request = { session_id: "ydb://session/3?node_id=50000&id=ZmIzODFiMmUtYmEzNzlkNzQtMTMzYWQ3N2UtMjQyNzQ2Nw==" 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, dd54e375-2561-4076-94f4-7e587fe1bb45, ghrun-i5khxpz5ee.auto.internal:8528): 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 0x7f572fa8d190>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:362 read_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, 9f59714d-7703-4aee-bffc-2a50d6396738, ghrun-i5khxpz5ee.auto.internal:8528): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, 9f59714d-7703-4aee-bffc-2a50d6396738, ghrun-i5khxpz5ee.auto.internal:8528): request = { session_id: "ydb://session/3?node_id=50000&id=ZmIzODFiMmUtYmEzNzlkNzQtMTMzYWQ3N2UtMjQyNzQ2Nw==" 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, 9f59714d-7703-4aee-bffc-2a50d6396738, ghrun-i5khxpz5ee.auto.internal:8528): 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 0x7f572fa8d190>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:380 drop table two
DEBUG    ydb.connection:connection.py:375 RpcState(DropTable, 7b02d90b-543f-4178-af6d-40127653322c, ghrun-i5khxpz5ee.auto.internal:8528): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DropTable, 7b02d90b-543f-4178-af6d-40127653322c, ghrun-i5khxpz5ee.auto.internal:8528): request = { session_id: "ydb://session/3?node_id=50000&id=ZmIzODFiMmUtYmEzNzlkNzQtMTMzYWQ3N2UtMjQyNzQ2Nw==" 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, 7b02d90b-543f-4178-af6d-40127653322c, ghrun-i5khxpz5ee.auto.internal:8528): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f572fa8d190>
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 0x7f572fa8d190>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f572fa8d190> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, 395d9ea2-fc7b-4f1a-81c9-4d9ca2fc9098, ghrun-i5khxpz5ee.auto.internal:8528): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, 395d9ea2-fc7b-4f1a-81c9-4d9ca2fc9098, ghrun-i5khxpz5ee.auto.internal:8528): request = { session_id: "ydb://session/3?node_id=50000&id=ZmIzODFiMmUtYmEzNzlkNzQtMTMzYWQ3N2UtMjQyNzQ2Nw==" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, 395d9ea2-fc7b-4f1a-81c9-4d9ca2fc9098, ghrun-i5khxpz5ee.auto.internal:8528): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(DeleteSession, 395d9ea2-fc7b-4f1a-81c9-4d9ca2fc9098, ghrun-i5khxpz5ee.auto.internal:8528): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.connection:connection.py:107 RpcState(DeleteSession, 395d9ea2-fc7b-4f1a-81c9-4d9ca2fc9098, ghrun-i5khxpz5ee.auto.internal:8528): on response callback success
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7f572fa8d190>
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:14240
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-i5khxpz5ee.auto.internal:8528
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=1762884660428018&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:8528/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/3lwf/00050f/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/14817
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/14818
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/7174
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/29413
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23647
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/29047
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/00050f/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/3lwf/00050f/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:14240 --tenant=/Root/users/database --log-file-name=/home/runner/.ya/build/build_root/3lwf/00050f/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_c8_43r5r.log --grpc-port=14818 --mon-port=7174 --ic-port=29413
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/00050f/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/00050f/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:14240', '--tenant=/Root/users/database', '--log-file-name=/home/runner/.ya/build/build_root/3lwf/00050f/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_c8_43r5r.log', '--grpc-port=14818', '--mon-port=7174', '--ic-port=29413')' in '/home/runner/.ya/build/build_root/3lwf/00050f/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: 3692677
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:14818/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    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 0x7f572fa57b20 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.resolver.DiscoveryEndpointsResolver:resolver.py:185 Resolving endpoints for database /Root/users/database
DEBUG    ydb.table.SessionPool:_sp_impl.py:111 Created session <ydb.table.Session object at 0x7f572fa577b0>
DEBUG    ydb.connection:connection.py:375 RpcState(ListEndpoints, 772730e1-8262-4350-acb1-d5d877a73f49, localhost:14240): creating call state
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f572fa577b0>
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 772730e1-8262-4350-acb1-d5d877a73f49, localhost:14240): request = { database: "/Root/users/database" }
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:51 RpcState(ListEndpoints, 772730e1-8262-4350-acb1-d5d877a73f49, localhost:14240): 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:14240". 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:14240
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, b1b2c00e-b1cc-4c73-a08c-27e44b6c25ce, localhost:14240): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, b1b2c00e-b1cc-4c73-a08c-27e44b6c25ce, localhost:14240): request = { database: "/Root/users/database" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, b1b2c00e-b1cc-4c73-a08c-27e44b6c25ce, localhost:14240): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-i5khxpz5ee.auto.internal" port: 14818 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-i5khxpz5ee.auto.internal:14818, 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:14240
DEBUG    ydb.table.SessionPool:_sp_impl.py:238 Preparing session <ydb.table.Session object at 0x7f572fa577b0>
DEBUG    ydb.connection:connection.py:375 RpcState(CreateSession, 7afc54f2-438e-495d-b5b1-1875d4b75a49, ghrun-i5khxpz5ee.auto.internal:14818): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateSession, 7afc54f2-438e-495d-b5b1-1875d4b75a49, ghrun-i5khxpz5ee.auto.internal:14818): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.connection:connection.py:102 RpcState(CreateSession, 7afc54f2-438e-495d-b5b1-1875d4b75a49, ghrun-i5khxpz5ee.auto.internal:14818): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(CreateSession, 7afc54f2-438e-495d-b5b1-1875d4b75a49, ghrun-i5khxpz5ee.auto.internal:14818): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50001&id=NWExZjUyZjQtZjc4YmQzMC04OTYzYjhmYS1lNTRjYWFhMA==" } } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f572fa577b0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:195 Replying to waiter with a session <ydb.table.Session object at 0x7f572fa577b0>
DEBUG    ydb.connection:connection.py:107 RpcState(CreateSession, 7afc54f2-438e-495d-b5b1-1875d4b75a49, ghrun-i5khxpz5ee.auto.internal:14818): on response callback success
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, eb0a43f3-15e3-4988-835d-baedca472ab4, ghrun-i5khxpz5ee.auto.internal:14818): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, eb0a43f3-15e3-4988-835d-baedca472ab4, ghrun-i5khxpz5ee.auto.internal:14818): request = { session_id: "ydb://session/3?node_id=50001&id=NWExZjUyZjQtZjc4YmQzMC04OTYzYjhmYS1lNTRjYWFhMA==" 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, eb0a43f3-15e3-4988-835d-baedca472ab4, ghrun-i5khxpz5ee.auto.internal:14818): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f572fa577b0>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:336 create table two
DEBUG    ydb.connection:connection.py:375 RpcState(CreateTable, 0c1edfec-59a8-4a1f-bbea-f4c8c0d048de, ghrun-i5khxpz5ee.auto.internal:14818): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(CreateTable, 0c1edfec-59a8-4a1f-bbea-f4c8c0d048de, ghrun-i5khxpz5ee.auto.internal:14818): request = { session_id: "ydb://session/3?node_id=50001&id=NWExZjUyZjQtZjc4YmQzMC04OTYzYjhmYS1lNTRjYWFhMA==" 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, 0c1edfec-59a8-4a1f-bbea-f4c8c0d048de, ghrun-i5khxpz5ee.auto.internal:14818): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:177 Put on session <ydb.table.Session object at 0x7f572fa577b0>
DEBUG    __tests__.test_dynamic_tenants:test_dynamic_tenants.py:349 write_some_data
DEBUG    ydb.connection:connection.py:375 RpcState(ExecuteDataQuery, d758c261-48cb-4d0a-9563-1db199cf504b, ghrun-i5khxpz5ee.auto.internal:14818): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ExecuteDataQuery, d758c261-48cb-4d0a-9563-1db199cf504b, ghrun-i5khxpz5ee.auto.internal:14818): request = { session_id: "ydb://session/3?node_id=50001&id=NWExZjUyZjQtZjc4YmQzMC04OTYzYjhmYS1lNTRjYWFhMA==" 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, d758c261-48cb-4d0a-9563-1db199cf504b, ghrun-i5khxpz5ee.auto.internal:14818): 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 0x7f572fa577b0>
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 0x7f572fa577b0>, reason: session-pool-terminated
DEBUG    ydb.table.SessionPool:_sp_impl.py:149 Session <ydb.table.Session object at 0x7f572fa577b0> is no longer active. Current active count 0.
DEBUG    ydb.connection:connection.py:375 RpcState(DeleteSession, f21da077-24a8-4995-8342-e61b527fa7de, ghrun-i5khxpz5ee.auto.internal:14818): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(DeleteSession, f21da077-24a8-4995-8342-e61b527fa7de, ghrun-i5khxpz5ee.auto.internal:14818): request = { session_id: "ydb://session/3?node_id=50001&id=NWExZjUyZjQtZjc4YmQzMC04OTYzYjhmYS1lNTRjYWFhMA==" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
DEBUG    ydb.table.SessionPool:_sp_impl.py:84 Terminated session pool.
DEBUG    ydb.connection:connection.py:102 RpcState(DeleteSession, f21da077-24a8-4995-8342-e61b527fa7de, ghrun-i5khxpz5ee.auto.internal:14818): on response callback started
DEBUG    ydb.connection:connection.py:51 RpcState(DeleteSession, f21da077-24a8-4995-8342-e61b527fa7de, ghrun-i5khxpz5ee.auto.internal:14818): response = { operation { ready: true status: SUCCESS } }
DEBUG    ydb.connection:connection.py:107 RpcState(DeleteSession, f21da077-24a8-4995-8342-e61b527fa7de, ghrun-i5khxpz5ee.auto.internal:14818): on response callback success
DEBUG    ydb.table.SessionPool:_sp_impl.py:173 Sent delete on session <ydb.table.Session object at 0x7f572fa577b0>
DEBUG    ydb.table.SessionPool:_sp_impl.py:79 Destroyed active sessions
INFO     ydb.connection:connection.py:498 Closing channel for endpoint localhost:14240
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-i5khxpz5ee.auto.internal:14818
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:14818/2
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:254 Stopped node localhost:14240/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29047
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23647
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29413
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7174
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14818
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1925
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8420
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11087
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13697
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8528
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11298
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6434
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23970
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14240
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19024
============================== slowest durations ===============================
13.45s call     test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true]
9.96s setup    test_dynamic_tenants.py::test_create_and_drop_the_same_tenant2[enable_alter_database_create_hive_first--true]
3.06s teardown 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, 104 deselected in 27.70s ======================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000509/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 / 104 deselected / 5 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/3lwf/000509/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/18491
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/3lwf/000509/r3tmp/kikimr_cluster_e8u_214v
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/000509/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/64557
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/19433
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/28748
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/26025
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/000509/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/3lwf/000509/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/3lwf/000509/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_oovqwi8n.log --grpc-port=64557 --mon-port=19433 --ic-port=18491
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:162 Formatting pdisk SectorMap:1:64 on node localhost:64557/1, disk_size 68719476736
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/000509/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/000509/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/3lwf/000509/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_oovqwi8n.log', '--grpc-port=64557', '--mon-port=19433', '--ic-port=18491')' in '/home/runner/.ya/build/build_root/3lwf/000509/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: 3662044
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:64557/1
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/000509/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/3lwf/000509/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:64557', '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: 18491\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/3lwf/000509/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:64557', '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: 18491\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3665962
DEBUG    ya.test:process.py:259 Command (pid 3665962) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3665962) elapsed time (sec): 2.040539026260376
DEBUG    ya.test:process.py:263 Command (pid 3665962) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3665962) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3665962) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3665962) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3665962) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3665962) maxrss: 528764
DEBUG    ya.test:process.py:263 Command (pid 3665962) minflt: 19131
DEBUG    ya.test:process.py:263 Command (pid 3665962) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3665962) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3665962) nivcsw: 253
DEBUG    ya.test:process.py:263 Command (pid 3665962) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3665962) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3665962) nvcsw: 135
DEBUG    ya.test:process.py:263 Command (pid 3665962) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3665962) stime: 0.753516
DEBUG    ya.test:process.py:263 Command (pid 3665962) utime: 0.106291
DEBUG    ya.test:process.py:263 Command (pid 3665962) wtime: 2.044
DEBUG    ya.test:process.py:275 Command (pid 3665962) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

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

DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/000509/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/3lwf/000509/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:64557', '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/3lwf/000509/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:64557', '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: 3671452
DEBUG    ya.test:process.py:259 Command (pid 3671452) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3671452) elapsed time (sec): 3.6094794273376465
DEBUG    ya.test:process.py:263 Command (pid 3671452) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3671452) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3671452) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3671452) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3671452) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3671452) maxrss: 529032
DEBUG    ya.test:process.py:263 Command (pid 3671452) minflt: 19130
DEBUG    ya.test:process.py:263 Command (pid 3671452) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3671452) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3671452) nivcsw: 262
DEBUG    ya.test:process.py:263 Command (pid 3671452) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3671452) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3671452) nvcsw: 79
DEBUG    ya.test:process.py:263 Command (pid 3671452) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3671452) stime: 0.661098
DEBUG    ya.test:process.py:263 Command (pid 3671452) utime: 0.090324
DEBUG    ya.test:process.py:263 Command (pid 3671452) wtime: 3.763
DEBUG    ya.test:process.py:275 Command (pid 3671452) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 6

DEBUG    ya.test:process.py:276 Command (pid 3671452) 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/3lwf/000509/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/10711
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/26378
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2055
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/12414
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/2062
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/000509/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/3lwf/000509/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:64557 --tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--false_ --log-file-name=/home/runner/.ya/build/build_root/3lwf/000509/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_c9dvxtb6.log --grpc-port=10711 --mon-port=26378 --ic-port=2055
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/000509/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/000509/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:64557', '--tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--false_', '--log-file-name=/home/runner/.ya/build/build_root/3lwf/000509/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_c9dvxtb6.log', '--grpc-port=10711', '--mon-port=26378', '--ic-port=2055')' in '/home/runner/.ya/build/build_root/3lwf/000509/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: 3681625
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:10711/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, 5bdd5e06-8958-4e67-958e-01098667eb24, localhost:64557): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, 5bdd5e06-8958-4e67-958e-01098667eb24, localhost:64557): request = { database: "/Root/test_list_database_above_enable_alter_database_create_hive_first--false_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, 5bdd5e06-8958-4e67-958e-01098667eb24, localhost:64557): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-i5khxpz5ee.auto.internal" port: 10711 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-i5khxpz5ee.auto.internal:10711, 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:64557
DEBUG    ydb.connection:connection.py:375 RpcState(ListDirectory, e45372de-0b49-4ed4-926c-daf8b53c82d2, ghrun-i5khxpz5ee.auto.internal:10711): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListDirectory, e45372de-0b49-4ed4-926c-daf8b53c82d2, ghrun-i5khxpz5ee.auto.internal:10711): 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, e45372de-0b49-4ed4-926c-daf8b53c82d2, ghrun-i5khxpz5ee.auto.internal:10711): 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: 1762884658420 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:64557
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-i5khxpz5ee.auto.internal:10711
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=1762884661232338&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:10711/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:64557/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2062
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12414
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2055
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26378
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/10711
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26025
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/28748
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19433
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/64557
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18491
============================== slowest durations ===============================
15.94s setup    test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--false]
10.70s teardown test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--false]
0.68s 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, 104 deselected in 28.32s ======================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/00050d/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 / 104 deselected / 5 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/3lwf/00050d/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/7489
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/3lwf/00050d/r3tmp/kikimr_cluster_ym7_cns3
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/00050d/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23034
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/7236
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/23179
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/13381
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/00050d/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/3lwf/00050d/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/3lwf/00050d/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_s2xt9lfb.log --grpc-port=23034 --mon-port=7236 --ic-port=7489
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:162 Formatting pdisk SectorMap:1:64 on node localhost:23034/1, disk_size 68719476736
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/00050d/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/00050d/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/3lwf/00050d/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_s2xt9lfb.log', '--grpc-port=23034', '--mon-port=7236', '--ic-port=7489')' in '/home/runner/.ya/build/build_root/3lwf/00050d/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: 3662043
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:23034/1
DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/00050d/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/3lwf/00050d/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:23034', '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: 7489\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/3lwf/00050d/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:23034', '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: 7489\n      }\n      HostConfigId: 1\n    }\n  }\n}\n']' in 'None' (waiting)
DEBUG    ya.test:process.py:628 Command pid: 3665381
DEBUG    ya.test:process.py:259 Command (pid 3665381) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3665381) elapsed time (sec): 1.1273369789123535
DEBUG    ya.test:process.py:263 Command (pid 3665381) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3665381) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3665381) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3665381) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3665381) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3665381) maxrss: 528772
DEBUG    ya.test:process.py:263 Command (pid 3665381) minflt: 19132
DEBUG    ya.test:process.py:263 Command (pid 3665381) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3665381) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3665381) nivcsw: 196
DEBUG    ya.test:process.py:263 Command (pid 3665381) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3665381) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3665381) nvcsw: 95
DEBUG    ya.test:process.py:263 Command (pid 3665381) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3665381) stime: 0.575562
DEBUG    ya.test:process.py:263 Command (pid 3665381) utime: 0.10273499999999999
DEBUG    ya.test:process.py:263 Command (pid 3665381) wtime: 1.138
DEBUG    ya.test:process.py:275 Command (pid 3665381) output:
Status {
  Success: true
}
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 4

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

DEBUG    ya.test:ya.py:176 Binary was found by /home/runner/.ya/build/build_root/3lwf/00050d/ydb/apps/ydbd/ydbd
DEBUG    ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:354 Executing command = ['/home/runner/.ya/build/build_root/3lwf/00050d/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:23034', '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/3lwf/00050d/ydb/apps/ydbd/ydbd', '--server=grpc://localhost:23034', '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: 3669528
DEBUG    ya.test:process.py:259 Command (pid 3669528) rc: 0
DEBUG    ya.test:process.py:260 Command (pid 3669528) elapsed time (sec): 4.8852972984313965
DEBUG    ya.test:process.py:263 Command (pid 3669528) idrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3669528) inblock: 0
DEBUG    ya.test:process.py:263 Command (pid 3669528) isrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3669528) ixrss: 0
DEBUG    ya.test:process.py:263 Command (pid 3669528) majflt: 0
DEBUG    ya.test:process.py:263 Command (pid 3669528) maxrss: 528964
DEBUG    ya.test:process.py:263 Command (pid 3669528) minflt: 19215
DEBUG    ya.test:process.py:263 Command (pid 3669528) msgrcv: 0
DEBUG    ya.test:process.py:263 Command (pid 3669528) msgsnd: 0
DEBUG    ya.test:process.py:263 Command (pid 3669528) nivcsw: 396
DEBUG    ya.test:process.py:263 Command (pid 3669528) nsignals: 0
DEBUG    ya.test:process.py:263 Command (pid 3669528) nswap: 0
DEBUG    ya.test:process.py:263 Command (pid 3669528) nvcsw: 97
DEBUG    ya.test:process.py:263 Command (pid 3669528) oublock: 8
DEBUG    ya.test:process.py:263 Command (pid 3669528) stime: 0.7767459999999999
DEBUG    ya.test:process.py:263 Command (pid 3669528) utime: 0.097012
DEBUG    ya.test:process.py:263 Command (pid 3669528) wtime: 4.899
DEBUG    ya.test:process.py:275 Command (pid 3669528) output:
Status {
  Success: true
}
Success: true
ConfigTxSeqNo: 5

DEBUG    ya.test:process.py:276 Command (pid 3669528) 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/3lwf/00050d/ydb/apps/ydbd/ydbd
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/11538
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/19221
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/20838
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/30379
DEBUG    library.python.filelock:__init__.py:115 Acquiring FileLock (blocking=False): /home/runner/.ya/build/port_sync_dir/15471
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:246 CFG_DIR_PATH="/home/runner/.ya/build/build_root/3lwf/00050d/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/3lwf/00050d/ydb/apps/ydbd/ydbd server --suppress-version-check --yaml-config=$CFG_DIR_PATH/config.yaml --node-broker=localhost:23034 --tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--true_ --log-file-name=/home/runner/.ya/build/build_root/3lwf/00050d/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_zebmagmj.log --grpc-port=11538 --mon-port=19221 --ic-port=20838
DEBUG    ya.test:process.py:610 Executing '('/home/runner/.ya/build/build_root/3lwf/00050d/ydb/apps/ydbd/ydbd', 'server', '--suppress-version-check', '--yaml-config=/home/runner/.ya/build/build_root/3lwf/00050d/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:23034', '--tenant=/Root/test_list_database_above_enable_alter_database_create_hive_first--true_', '--log-file-name=/home/runner/.ya/build/build_root/3lwf/00050d/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_zebmagmj.log', '--grpc-port=11538', '--mon-port=19221', '--ic-port=20838')' in '/home/runner/.ya/build/build_root/3lwf/00050d/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: 3681532
INFO     ydb.tests.library.harness.kikimr_runner:kikimr_runner.py:282 Started node localhost:11538/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, cae78aa9-302f-41dc-b456-8c2106f4953d, localhost:23034): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListEndpoints, cae78aa9-302f-41dc-b456-8c2106f4953d, localhost:23034): request = { database: "/Root/test_list_database_above_enable_alter_database_create_hive_first--true_" }
DEBUG    ydb.connection:connection.py:51 RpcState(ListEndpoints, cae78aa9-302f-41dc-b456-8c2106f4953d, localhost:23034): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-i5khxpz5ee.auto.internal" port: 11538 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-i5khxpz5ee.auto.internal:11538, 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:23034
DEBUG    ydb.connection:connection.py:375 RpcState(ListDirectory, 026205c3-78cb-4abf-8d2b-262be81a9506, ghrun-i5khxpz5ee.auto.internal:11538): creating call state
DEBUG    ydb.connection:connection.py:62 RpcState(ListDirectory, 026205c3-78cb-4abf-8d2b-262be81a9506, ghrun-i5khxpz5ee.auto.internal:11538): 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, 026205c3-78cb-4abf-8d2b-262be81a9506, ghrun-i5khxpz5ee.auto.internal:11538): 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: 1762884658410 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:23034
INFO     ydb.connection:connection.py:498 Closing channel for endpoint ghrun-i5khxpz5ee.auto.internal:11538
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=1762884662476018&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:11538/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:23034/1
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15471
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30379
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20838
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19221
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11538
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13381
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23179
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7236
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23034
DEBUG    library.python.filelock:__init__.py:119 Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7489
============================== slowest durations ===============================
15.82s setup    test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--true]
8.96s teardown test_tenants.py::TestTenants::test_list_database_above[enable_alter_database_create_hive_first--true]
0.90s 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, 104 deselected in 27.84s ======================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000513/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 / 104 deselected / 5 selected

test_tenants.py .

============================== slowest durations ===============================
132.38s call     test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--false]
7.80s setup    test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--false]
7.43s teardown test_tenants.py::TestTenants::test_stop_start[enable_alter_database_create_hive_first--false]
================ 1 passed, 104 deselected in 148.09s (0:02:28) =================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000515/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.35s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000514/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.33s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/00050b/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.36s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000507/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.34s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000511/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.31s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/00050c/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.40s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000516/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.35s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/00051a/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.36s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000508/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.35s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000519/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.34s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000518/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.37s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000510/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.33s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000517/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.35s ============================
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-7.4.4, pluggy-1.5.0
rootdir: /home/runner/.ya/build/build_root/3lwf/000512/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 / 104 deselected / 5 selected

=========================== 104 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/3lwf/00050a/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 / 104 deselected / 5 selected

=========================== 104 deselected in 0.34s ============================
