Skip to content

Console Output

Skipping 9,916 KB.. Full Log
[2024/05/06 09:27:45.023 +00:00] [WARN] [session.go:2153] ["run statement failed"] [schemaVersion=451] [error="previous statement: : [domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:213\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:63\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:181\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:184\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:99\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).dumpTableStatCountToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:139\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV.func3\n\tpkg/statistics/handle/usage/session_stats_collect.go:103\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:101\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:96\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:199\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateStatsWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2372\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:213\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:63\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:181\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:184\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:99\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).dumpTableStatCountToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:139\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV.func3\n\tpkg/statistics/handle/usage/session_stats_collect.go:103\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:101\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:96\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:199\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateStatsWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2372\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\nprevious statement: "] [session="{\n  \"currDBName\": \"\",\n  \"id\": 0,\n  \"status\": 2,\n  \"strictMode\": false,\n  \"user\": null\n}"]
[2024/05/06 09:27:45.024 +00:00] [ERROR] [handle.go:200] ["dump stats delta fail"] [category=stats] [error="previous statement: : [domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV"] [errorVerbose="[domain:8027]Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).checkSchemaValid\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1871\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1694\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:714\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:113\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:213\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:63\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:181\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:184\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:99\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).dumpTableStatCountToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:139\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV.func3\n\tpkg/statistics/handle/usage/session_stats_collect.go:103\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:101\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:96\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:199\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateStatsWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2372\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:200\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:164\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).extractKeyErr\n\tpkg/store/driver/txn/txn_driver.go:340\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:114\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:441\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:665\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:545\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:787\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:917\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:281\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:243\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2311\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2141\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:1993\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1958\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1944\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1948\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.ExecRows\n\tpkg/statistics/handle/util/util.go:213\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.finishTransaction\n\tpkg/statistics/handle/util/util.go:63\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn.func1\n\tpkg/statistics/handle/util/util.go:181\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.WrapTxn\n\tpkg/statistics/handle/util/util.go:184\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:99\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).dumpTableStatCountToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:139\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV.func3\n\tpkg/statistics/handle/usage/session_stats_collect.go:103\ngithub.com/pingcap/tidb/pkg/statistics/handle/util.CallWithSCtx\n\tpkg/statistics/handle/util/util.go:101\ngithub.com/pingcap/tidb/pkg/statistics/handle/usage.(*statsUsageImpl).DumpStatsDeltaToKV\n\tpkg/statistics/handle/usage/session_stats_collect.go:96\ngithub.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:199\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateStatsWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2372\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\nprevious statement: "] [stack="github.com/pingcap/tidb/pkg/statistics/handle.(*Handle).FlushStats\n\tpkg/statistics/handle/handle.go:200\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).updateStatsWorkerExitPreprocessing.func1\n\tpkg/domain/domain.go:2372"]
[2024/05/06 09:27:45.025 +00:00] [INFO] [domain.go:2373] ["updateStatsWorker ready to release owner"]
[2024/05/06 09:27:45.025 +00:00] [INFO] [domain.go:2379] ["updateStatsWorker exit preprocessing finished"]
[2024/05/06 09:27:45.025 +00:00] [INFO] [domain.go:2404] ["updateStatsWorker exited."]
[2024/05/06 09:27:45.025 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=updateStatsWorker]
[2024/05/06 09:27:45.032 +00:00] [INFO] [domain.go:1074] ["domain closed"] ["take time"=5.091487994s]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_dispatcher.go:137] ["[tso] exit tso deadline watcher"] [dc-location=global]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_dispatcher.go:350] ["[tso] exit tso connection contexts updater"] [dc-location=global]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_dispatcher.go:210] ["[tso] stop fetching the pending tso requests due to context canceled"] [dc-location=global]
[2024/05/06 09:27:45.033 +00:00] [INFO] [resource_manager_client.go:295] ["[resource manager] exit resource token dispatcher"]
[2024/05/06 09:27:45.033 +00:00] [INFO] [pd_service_discovery.go:550] ["[pd] exit member loop due to context canceled"]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_client.go:145] ["[tso] exit tso dispatcher check loop"]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_dispatcher.go:171] ["[tso] exit tso dispatcher"] [dc-location=global]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_client.go:155] ["[tso] closing tso client"]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_batch_controller.go:160] ["[pd] clear the tso batch controller"] [max-batch-size=10000] [best-batch-size=1] [collected-request-count=0] [pending-request-count=0]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_client.go:160] ["[tso] close tso client"]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_batch_controller.go:160] ["[pd] clear the tso batch controller"] [max-batch-size=10000] [best-batch-size=1] [collected-request-count=0] [pending-request-count=0]
[2024/05/06 09:27:45.033 +00:00] [INFO] [tso_client.go:162] ["[tso] tso client is closed"]
[2024/05/06 09:27:45.033 +00:00] [INFO] [pd_service_discovery.go:637] ["[pd] close pd service discovery client"]
[2024/05/06 09:27:45.035 +00:00] [INFO] [client.go:329] ["[pd] http client closed"] [source=tikv-driver]
--- PASS: TestForCoverage (6.34s)
=== RUN   TestShowBackupQuery
[2024/05/06 09:27:45.040 +00:00] [INFO] [pd_service_discovery.go:991] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"]
[2024/05/06 09:27:45.040 +00:00] [INFO] [pd_service_discovery.go:1016] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=]
[2024/05/06 09:27:45.041 +00:00] [INFO] [pd_service_discovery.go:498] ["[pd] init cluster id"] [cluster-id=7365814494925249846]
[2024/05/06 09:27:45.042 +00:00] [INFO] [client.go:613] ["[pd] changing service mode"] [old-mode=UNKNOWN_SVC_MODE] [new-mode=PD_SVC_MODE]
[2024/05/06 09:27:45.042 +00:00] [INFO] [tso_client.go:293] ["[tso] switch dc tso global allocator serving url"] [dc-location=global] [new-url=http://127.0.0.1:2379]
[2024/05/06 09:27:45.042 +00:00] [INFO] [client.go:619] ["[pd] service mode changed"] [old-mode=UNKNOWN_SVC_MODE] [new-mode=PD_SVC_MODE]
[2024/05/06 09:27:45.043 +00:00] [INFO] [tso_dispatcher.go:168] ["[tso] tso dispatcher created"] [dc-location=global]
[2024/05/06 09:27:45.043 +00:00] [INFO] [tso_client.go:130] ["[tso] start tso dispatcher check loop"]
[2024/05/06 09:27:45.042 +00:00] [INFO] [tso_dispatcher.go:119] ["[tso] start tso deadline watcher"] [dc-location=global]
[2024/05/06 09:27:45.043 +00:00] [INFO] [tso_dispatcher.go:336] ["[tso] start tso connection contexts updater"] [dc-location=global]
[2024/05/06 09:27:45.045 +00:00] [INFO] [tikv_driver.go:197] ["using API V1."]
[2024/05/06 09:27:45.048 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable]
[2024/05/06 09:27:45.050 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=7] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable]
[2024/05/06 09:27:45.052 +00:00] [INFO] [store_cache.go:510] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable]
[2024/05/06 09:27:45.060 +00:00] [INFO] [tidb.go:80] ["new domain"] [store=tikv-7365814494925249846] ["ddl lease"=500ms] ["stats lease"=3s]
[2024/05/06 09:27:45.070 +00:00] [WARN] [info.go:316] ["init TiFlashReplicaManager"]
[2024/05/06 09:27:45.214 +00:00] [INFO] [domain.go:2796] [acquireServerID] [serverID=1687] ["lease id"=6f188f4d35e22115]
[2024/05/06 09:27:45.217 +00:00] [INFO] [controller.go:185] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":10,\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\"}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":10,\"DegradedModeWaitDuration\":0}"]
[2024/05/06 09:27:45.334 +00:00] [INFO] [domain.go:315] ["full load InfoSchema success"] [currentSchemaVersion=0] [neededSchemaVersion=451] ["start time"=112.789531ms]
[2024/05/06 09:27:45.340 +00:00] [INFO] [domain.go:635] ["full load and reset schema validator"]
[2024/05/06 09:27:45.340 +00:00] [INFO] [ddl.go:818] ["start DDL"] [category=ddl] [ID=bb2032ca-76a0-455a-bcfe-c9296888a98f] [runWorker=true]
[2024/05/06 09:27:45.340 +00:00] [INFO] [ddl.go:777] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false]
[2024/05/06 09:27:45.343 +00:00] [INFO] [manager.go:188] ["start campaign owner"] [ownerInfo="[ddl] /tidb/ddl/fg/owner"]
[2024/05/06 09:27:45.344 +00:00] [INFO] [env.go:101] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000]
[2024/05/06 09:27:45.344 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:27:45.346 +00:00] [INFO] [env.go:74] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 735051476992/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true]
[2024/05/06 09:27:45.346 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSchemaInLoop]
[2024/05/06 09:27:45.346 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=mdlCheckLoop]
[2024/05/06 09:27:45.346 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topNSlowQueryLoop]
[2024/05/06 09:27:45.346 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=infoSyncerKeeper]
[2024/05/06 09:27:45.346 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper]
[2024/05/06 09:27:45.346 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=runawayStartLoop]
[2024/05/06 09:27:45.346 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:27:45.346 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=topologySyncerKeeper]
[2024/05/06 09:27:45.346 +00:00] [INFO] [manager.go:354] ["get owner"] ["owner info"="[ddl] /tidb/ddl/fg/owner ownerManager bb2032ca-76a0-455a-bcfe-c9296888a98f"] ["owner key"=/tidb/ddl/fg/owner/22318f4d35e21be7] [ownerID=bb2032ca-76a0-455a-bcfe-c9296888a98f] [op=none]
[2024/05/06 09:27:45.347 +00:00] [INFO] [runaway.go:149] ["try to start runaway manager loop"]
[2024/05/06 09:27:45.347 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop]
[2024/05/06 09:27:45.347 +00:00] [INFO] [wait_group_wrapper.go:140] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop]
[2024/05/06 09:27:45.347 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer]
[2024/05/06 09:27:45.347 +00:00] [INFO] [manager.go:188] ["start campaign owner"] [ownerInfo="[log-backup] /tidb/br-stream/owner"]
[2024/05/06 09:27:45.349 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=logBackupAdvancer]
[2024/05/06 09:27:45.349 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=65fc492c-e0b8-497a-9bed-a93fb7e86d83] [daemon-id=LogBackup::Advancer]
[2024/05/06 09:27:45.357 +00:00] [INFO] [controller.go:447] ["[resource group controller] create resource group cost controller"] [name=default]
[2024/05/06 09:27:45.382 +00:00] [INFO] [manager.go:188] ["start campaign owner"] [ownerInfo="[bindinfo] /tidb/bindinfo/owner"]
[2024/05/06 09:27:45.383 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop]
[2024/05/06 09:27:45.383 +00:00] [WARN] [sysvar_cache.go:49] ["sysvar cache is empty, triggering rebuild"]
[2024/05/06 09:27:45.395 +00:00] [INFO] [job_table.go:334] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false]
[2024/05/06 09:27:45.396 +00:00] [INFO] [manager.go:354] ["get owner"] ["owner info"="[ddl] /tidb/ddl/fg/owner ownerManager bb2032ca-76a0-455a-bcfe-c9296888a98f"] ["owner key"=/tidb/ddl/fg/owner/22318f4d35e21be7] [ownerID=bb2032ca-76a0-455a-bcfe-c9296888a98f] [op=none]
[2024/05/06 09:27:45.396 +00:00] [INFO] [manager.go:394] ["set owner op is the same as the original, so do nothing."] ["owner info"="[ddl] /tidb/ddl/fg/owner ownerManager bb2032ca-76a0-455a-bcfe-c9296888a98f"] [op=none]
[2024/05/06 09:27:45.396 +00:00] [INFO] [job_table.go:349] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none]
[2024/05/06 09:27:45.485 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadPrivilegeInLoop]
[2024/05/06 09:27:45.503 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop]
[2024/05/06 09:27:45.516 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle]
[2024/05/06 09:27:45.546 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle]
[2024/05/06 09:27:45.547 +00:00] [INFO] [domain.go:2016] ["PlanReplayerTaskCollectHandle started"]
[2024/05/06 09:27:45.547 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=dumpFileGcChecker]
[2024/05/06 09:27:45.547 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=HistoricalStatsWorker]
[2024/05/06 09:27:45.547 +00:00] [INFO] [domain.go:2038] ["PlanReplayerTaskDumpHandle started"]
[2024/05/06 09:27:45.547 +00:00] [INFO] [domain.go:2070] ["dumpFileGcChecker started"]
[2024/05/06 09:27:45.547 +00:00] [INFO] [plan_replayer.go:409] ["planReplayerTaskDumpWorker started."]
[2024/05/06 09:27:45.547 +00:00] [INFO] [domain.go:2103] ["HistoricalStatsWorker started"]
[2024/05/06 09:27:45.549 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadStatsWorker]
[2024/05/06 09:27:45.549 +00:00] [INFO] [manager.go:188] ["start campaign owner"] [ownerInfo="[stats] /tidb/stats/owner"]
[2024/05/06 09:27:45.551 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=indexUsageWorker]
[2024/05/06 09:27:45.551 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=updateStatsWorker]
[2024/05/06 09:27:45.551 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=autoAnalyzeWorker]
[2024/05/06 09:27:45.551 +00:00] [INFO] [domain.go:2389] ["updateStatsWorker started."]
[2024/05/06 09:27:45.552 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker]
[2024/05/06 09:27:45.556 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=loadSigningCertLoop]
[2024/05/06 09:27:45.558 +00:00] [INFO] [manager.go:113] ["build task executor manager"] [server-id=:4000] [total-cpu=16] [total-mem=32GiB]
[2024/05/06 09:27:45.562 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/05a53c4d-1ea2-4bef-ac51-6e03c9f90163]
[2024/05/06 09:27:45.562 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4]
[2024/05/06 09:27:45.562 +00:00] [INFO] [task_manager.go:217] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=task-manager] [originalCount=0] [newCount=4]
[2024/05/06 09:27:45.570 +00:00] [INFO] [wait_group_wrapper.go:133] ["background process started"] [source=domain] [process=distTaskFrameworkLoop]
[2024/05/06 09:27:45.570 +00:00] [INFO] [manager.go:146] ["task executor manager start"] [server-id=:4000]
[2024/05/06 09:27:45.570 +00:00] [INFO] [domain.go:1525] ["dist task executor manager started"]
[2024/05/06 09:27:45.603 +00:00] [INFO] [set.go:170] ["set global var"] [conn=7] [name=innodb_lock_wait_timeout] [val=50]
[2024/05/06 09:27:45.608 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=451] [cur_db=test] [sql="alter table `t` nocache"] [user=]
[2024/05/06 09:27:45.610 +00:00] [INFO] [session.go:3945] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=451] [cur_db=test] [sql="drop table `t`"] [user=]
[2024/05/06 09:27:45.640 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:1096, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:1094, RowCount:0, ArgLen:2, start time: 2024-05-06 09:27:45.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
[2024/05/06 09:27:45.640 +00:00] [INFO] [ddl.go:1182] ["start DDL job"] [category=ddl] [job="ID:1096, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:1094, RowCount:0, ArgLen:2, start time: 2024-05-06 09:27:45.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [query="drop table `t`"]
[2024/05/06 09:27:45.659 +00:00] [INFO] [domain.go:2308] ["init stats info time"] [lite=true] ["take time"=109.591476ms]
[2024/05/06 09:27:45.694 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 22, tp general"] [category=ddl] [jobID=1096] [conn=7] [category=ddl] [job="ID:1096, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:1094, RowCount:0, ArgLen:0, start time: 2024-05-06 09:27:45.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:27:45.723 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=451] [neededSchemaVersion=452] ["start time"=245.101µs] [gotSchemaVersion=452] [phyTblIDs="[1094]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:27:45.734 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=1096] [version=452]
[2024/05/06 09:27:45.773 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=452] ["take time"=53.747234ms] [job="ID:1096, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:1094, RowCount:0, ArgLen:2, start time: 2024-05-06 09:27:45.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:27:45.810 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 22, tp general"] [category=ddl] [jobID=1096] [conn=7] [category=ddl] [job="ID:1096, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:1094, RowCount:0, ArgLen:0, start time: 2024-05-06 09:27:45.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:27:45.840 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=452] [neededSchemaVersion=453] ["start time"=226.228µs] [gotSchemaVersion=453] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:27:45.853 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=1096] [version=453]
[2024/05/06 09:27:45.889 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=453] ["take time"=53.226593ms] [job="ID:1096, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:1094, RowCount:0, ArgLen:0, start time: 2024-05-06 09:27:45.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:27:45.955 +00:00] [INFO] [ddl_worker.go:1185] ["run DDL job"] [worker="worker 22, tp general"] [category=ddl] [jobID=1096] [conn=7] [category=ddl] [job="ID:1096, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:1094, RowCount:0, ArgLen:0, start time: 2024-05-06 09:27:45.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:27:45.965 +00:00] [INFO] [ddl.go:78] ["Handle ddl event"] [category=stats] [event="(Event Type: drop table, Schema ID: 2, Old Table ID: 1094, Old Table Name: t"]
[2024/05/06 09:27:45.997 +00:00] [INFO] [domain.go:280] ["diff load InfoSchema success"] [currentSchemaVersion=453] [neededSchemaVersion=454] ["start time"=296.784µs] [gotSchemaVersion=454] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop table\"]"]
[2024/05/06 09:27:46.009 +00:00] [INFO] [domain.go:887] ["mdl gets lock, update self version to owner"] [jobID=1096] [version=454]
[2024/05/06 09:27:46.046 +00:00] [INFO] [schema_version.go:379] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=454] ["take time"=53.490294ms] [job="ID:1096, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:1094, RowCount:0, ArgLen:3, start time: 2024-05-06 09:27:45.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:27:46.111 +00:00] [INFO] [delete_range.go:447] ["insert into delete-range table"] [category=ddl] [jobID=1096] [tableIDs="[1094]"] [comment="drop table: table ID"]
[2024/05/06 09:27:46.125 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=1096] [jobType="drop table"]
[2024/05/06 09:27:46.129 +00:00] [INFO] [ddl_worker.go:743] ["finish DDL job"] [worker="worker 22, tp general"] [category=ddl] [jobID=1096] [conn=7] [job="ID:1096, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:1094, RowCount:0, ArgLen:3, start time: 2024-05-06 09:27:45.578 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"]
[2024/05/06 09:27:46.222 +00:00] [INFO] [ddl.go:1287] ["DDL job is finished"] [category=ddl] [jobID=1096]
[2024/05/06 09:27:46.223 +00:00] [INFO] [callback.go:140] ["performing DDL change, must reload"] [category=ddl]
[2024/05/06 09:27:46.227 +00:00] [WARN] [adapter.go:1647] ["# Txn_start_ts: 0\n# Conn_ID: 7\n# Query_time: 0.617482394\n# Parse_time: 0.000171757\n# Compile_time: 0.000514322\n# Rewrite_time: 0.00000853\n# Optimize_time: 0.000149431\n# Wait_TS: 0.000517029\n# DB: test\n# Is_internal: false\n# Digest: bd8e740f9bc2a217688ab0977cbdd435e15f5144bc7cf35e643f1c2eec306d01\n# Num_cop_tasks: 0\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `t`;"]
==================
WARNING: DATA RACE
Read at 0x00c018fde2c8 by goroutine 188029:
  github.com/pingcap/tidb/br/pkg/backup.(*Client).BackupRanges.func2()
      br/pkg/backup/client.go:901 +0x104
  github.com/pingcap/tidb/pkg/util.(*WorkerPool).ApplyOnErrorGroup.func1()
      pkg/util/worker_pool.go:81 +0xe5
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      external/org_golang_x_sync/errgroup/errgroup.go:78 +0x97

Previous write at 0x00c018fde2c8 by goroutine 176437:
  github.com/pingcap/tidb/br/pkg/backup.(*Client).BackupRanges()
      br/pkg/backup/client.go:933 +0xc51
  github.com/pingcap/tidb/br/pkg/task.RunBackup()
      br/pkg/task/backup.go:687 +0x3ef7
  github.com/pingcap/tidb/pkg/executor.(*BRIEExec).Next()
      pkg/executor/brie.go:570 +0x9bc
  github.com/pingcap/tidb/pkg/executor/internal/exec.Next()
      pkg/executor/internal/exec/executor.go:410 +0x40b
  github.com/pingcap/tidb/pkg/executor.(*ExecStmt).next()
      pkg/executor/adapter.go:1211 +0x94
  github.com/pingcap/tidb/pkg/executor.(*recordSet).Next()
      pkg/executor/adapter.go:160 +0x1b0
  github.com/pingcap/tidb/pkg/session.(*execStmtResult).Next()
      <autogenerated>:1 +0x6c
  github.com/pingcap/tidb/pkg/session.GetRows4Test()
      pkg/session/tidb.go:346 +0x121
  github.com/pingcap/tidb/pkg/session.ResultSetToStringSlice()
      pkg/session/tidb.go:364 +0xbe
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).ResultSetToResultWithCtx()
      pkg/testkit/testkit.go:278 +0xbd
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQueryWithContext()
      pkg/testkit/testkit.go:204 +0x2ec
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQuery()
      pkg/testkit/testkit.go:179 +0x128
  tests/realtikvtest/brietest/brietest_test.TestShowBackupQuery()
      tests/realtikvtest/brietest/brie_test.go:52 +0x30c
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext()
      pkg/testkit/testkit.go:390 +0x93a
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext()
      pkg/testkit/testkit.go:162 +0xbc
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec()
      pkg/testkit/testkit.go:157 +0x14d
  github.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup()
      tests/realtikvtest/testkit.go:130 +0x355
  github.com/pingcap/tidb/pkg/sessionctx/variable.(*SysVar).ValidateWithRelaxedValidation()
      pkg/sessionctx/variable/variable.go:365 +0x253
  github.com/pingcap/tidb/pkg/domain.(*Domain).rebuildSysVarCache()
      pkg/domain/sysvar_cache.go:145 +0x7dc
  github.com/pingcap/tidb/pkg/domain.(*Domain).LoadSysVarCacheLoop()
      pkg/domain/domain.go:1738 +0xa4
  github.com/pingcap/tidb/pkg/session.bootstrapSessionImpl()
      pkg/session/session.go:3412 +0x8d4
  github.com/pingcap/tidb/pkg/domain.(*Domain).GetSessionCache()
      pkg/domain/sysvar_cache.go:61 +0x64
  github.com/pingcap/tidb/pkg/session.(*session).loadCommonGlobalVariablesIfNeeded()
      pkg/session/session.go:3780 +0x30a
  github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt()
      pkg/session/session.go:2003 +0x1a6
  github.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal()
      pkg/session/session.go:1518 +0x3f7
  github.com/pingcap/tidb/pkg/domain.(*Domain).LoadPrivilegeLoop()
      pkg/domain/domain.go:1681 +0x11a
  github.com/pingcap/tidb/pkg/session.bootstrapSessionImpl()
      pkg/session/session.go:3405 +0x874
  github.com/pingcap/tidb/pkg/session.BootstrapSession()
      pkg/session/session.go:3312 +0x4b
  github.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup()
      tests/realtikvtest/testkit.go:124 +0x1d9
  github.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup()
      tests/realtikvtest/testkit.go:99 +0xa4
  tests/realtikvtest/brietest/brietest_test.initTestKit()
      tests/realtikvtest/brietest/backup_restore_test.go:35 +0x90
  tests/realtikvtest/brietest/brietest_test.TestShowBackupQuery()
      tests/realtikvtest/brietest/brie_test.go:42 +0x3b
  testing.tRunner()
      GOROOT/src/testing/testing.go:1595 +0x261
  testing.(*T).Run.func1()
      GOROOT/src/testing/testing.go:1648 +0x44

Goroutine 188029 (running) created at:
  golang.org/x/sync/errgroup.(*Group).Go()
      external/org_golang_x_sync/errgroup/errgroup.go:75 +0x124
  github.com/pingcap/tidb/pkg/util.(*WorkerPool).ApplyOnErrorGroup()
      pkg/util/worker_pool.go:79 +0x144
  github.com/pingcap/tidb/br/pkg/backup.(*Client).BackupRanges()
      br/pkg/backup/client.go:899 +0xc31
  github.com/pingcap/tidb/br/pkg/task.RunBackup()
      br/pkg/task/backup.go:687 +0x3ef7
  github.com/pingcap/tidb/pkg/executor.(*BRIEExec).Next()
      pkg/executor/brie.go:570 +0x9bc
  github.com/pingcap/tidb/pkg/executor/internal/exec.Next()
      pkg/executor/internal/exec/executor.go:410 +0x40b
  github.com/pingcap/tidb/pkg/executor.(*ExecStmt).next()
      pkg/executor/adapter.go:1211 +0x94
  github.com/pingcap/tidb/pkg/executor.(*recordSet).Next()
      pkg/executor/adapter.go:160 +0x1b0
  github.com/pingcap/tidb/pkg/session.(*execStmtResult).Next()
      <autogenerated>:1 +0x6c
  github.com/pingcap/tidb/pkg/session.GetRows4Test()
      pkg/session/tidb.go:346 +0x121
  github.com/pingcap/tidb/pkg/session.ResultSetToStringSlice()
      pkg/session/tidb.go:364 +0xbe
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).ResultSetToResultWithCtx()
      pkg/testkit/testkit.go:278 +0xbd
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQueryWithContext()
      pkg/testkit/testkit.go:204 +0x2ec
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQuery()
      pkg/testkit/testkit.go:179 +0x128
  tests/realtikvtest/brietest/brietest_test.TestShowBackupQuery()
      tests/realtikvtest/brietest/brie_test.go:52 +0x30c
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext()
      pkg/testkit/testkit.go:390 +0x93a
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext()
      pkg/testkit/testkit.go:162 +0xbc
  github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec()
      pkg/testkit/testkit.go:157 +0x14d
  github.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup()
      tests/realtikvtest/testkit.go:130 +0x355
  github.com/pingcap/tidb/pkg/sessionctx/variable.(*SysVar).ValidateWithRelaxedValidation()
      pkg/sessionctx/variable/variable.go:365 +0x253
  github.com/pingcap/tidb/pkg/domain.(*Domain).rebuildSysVarCache()
      pkg/domain/sysvar_cache.go:145 +0x7dc
  github.com/pingcap/tidb/pkg/domain.(*Domain).LoadSysVarCacheLoop()
      pkg/domain/domain.go:1738 +0xa4
  github.com/pingcap/tidb/pkg/session.bootstrapSessionImpl()
      pkg/session/session.go:3412 +0x8d4
  github.com/pingcap/tidb/pkg/domain.(*Domain).GetSessionCache()
      pkg/domain/sysvar_cache.go:61 +0x64
  github.com/pingcap/tidb/pkg/session.(*session).loadCommonGlobalVariablesIfNeeded()
      pkg/session/session.go:3780 +0x30a
  github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt()
      pkg/session/session.go:2003 +0x1a6
  github.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal()
      pkg/session/session.go:1518 +0x3f7
  github.com/pingcap/tidb/pkg/domain.(*Domain).LoadPrivilegeLoop()
      pkg/domain/domain.go:1681 +0x11a
  github.com/pingcap/tidb/pkg/session.bootstrapSessionImpl()
      pkg/session/session.go:3405 +0x874
  github.com/pingcap/tidb/pkg/session.BootstrapSession()
      pkg/session/session.go:3312 +0x4b
  github.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup()
      tests/realtikvtest/testkit.go:124 +0x1d9
  github.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup()
      tests/realtikvtest/testkit.go:99 +0xa4
  tests/realtikvtest/brietest/brietest_test.initTestKit()
      tests/realtikvtest/brietest/backup_restore_test.go:35 +0x90
  tests/realtikvtest/brietest/brietest_test.TestShowBackupQuery()
      tests/realtikvtest/brietest/brie_test.go:42 +0x3b
  testing.tRunner()
      GOROOT/src/testing/testing.go:1595 +0x261
  testing.(*T).Run.func1()
      GOROOT/src/testing/testing.go:1648 +0x44

Goroutine 176437 (running) created at:
  testing.(*T).Run()
      GOROOT/src/testing/testing.go:1648 +0x845
  testing.runTests.func1()
      GOROOT/src/testing/testing.go:2054 +0x84
  testing.tRunner()
      GOROOT/src/testing/testing.go:1595 +0x261
  testing.runTests()
      GOROOT/src/testing/testing.go:2052 +0x8ad
  testing.(*M).Run()
      GOROOT/src/testing/testing.go:1925 +0xcd7
  go.uber.org/goleak.VerifyTestMain()
      external/org_uber_go_goleak/testmain.go:53 +0x64
  tests/realtikvtest/brietest/brietest_test.TestMain()
      tests/realtikvtest/brietest/main_test.go:39 +0xa69
  main.main()
      bazel-out/k8-fastbuild/bin/tests/realtikvtest/brietest/brietest_test_/testmain.go:167 +0x90b
==================
[[BACKUP DATABASE * TO 'local:///tmp/briesql-1412206241']]
[2024/05/06 09:27:51.047 +00:00] [ERROR] [advancer.go:400] ["listen task meet error, would reopen."] [error=EOF] [stack="github.com/pingcap/tidb/br/pkg/streamhelper.(*CheckpointAdvancer).StartTaskListener.func1\n\tbr/pkg/streamhelper/advancer.go:400"]
    testing.go:1465: race detected during execution of test
--- FAIL: TestShowBackupQuery (7.29s)
=== RUN   TestShowBackupQueryRedact
BACKUP DATABASE * TO 's3://nonexist/real'
[2024/05/06 09:27:54.400 +00:00] [ERROR] [advancer.go:400] ["listen task meet error, would reopen."] [error=EOF] [stack="github.com/pingcap/tidb/br/pkg/streamhelper.(*CheckpointAdvancer).StartTaskListener.func1\n\tbr/pkg/streamhelper/advancer.go:400"]
--- PASS: TestShowBackupQueryRedact (3.36s)
=== RUN   TestCancel
[2024/05/06 09:27:57.214 +00:00] [ERROR] [advancer.go:400] ["listen task meet error, would reopen."] [error=EOF] [stack="github.com/pingcap/tidb/br/pkg/streamhelper.(*CheckpointAdvancer).StartTaskListener.func1\n\tbr/pkg/streamhelper/advancer.go:400"]
--- PASS: TestCancel (2.80s)
=== RUN   TestOperator
--- PASS: TestOperator (2.02s)
=== RUN   TestFailure
[2024/05/06 09:28:00.515 +00:00] [ERROR] [prepare.go:163] ["failed to prepare connections"] [error="mock PrepareConnectionsErr"] [stack="github.com/pingcap/tidb/br/pkg/backup/prepare_snap.(*Preparer).DriveLoopAndWaitPrepare\n\tbr/pkg/backup/prepare_snap/prepare.go:163\ngithub.com/pingcap/tidb/br/pkg/task/operator.pauseAdminAndWaitApply\n\tbr/pkg/task/operator/cmd.go:191\ngithub.com/pingcap/tidb/br/pkg/task/operator.AdaptEnvForSnapshotBackup.func3\n\tbr/pkg/task/operator/cmd.go:147\ngithub.com/pingcap/tidb/br/pkg/task/operator.(*AdaptEnvForSnapshotBackupContext).run.func1\n\tbr/pkg/task/operator/cmd.go:61\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78"]
[2024/05/06 09:28:00.515 +00:00] [ERROR] [cmd.go:63] ["A task failed."] [error="failed to prepare connections: mock PrepareConnectionsErr"] [errorVerbose="mock PrepareConnectionsErr\ngithub.com/pingcap/tidb/br/pkg/backup/prepare_snap.(*Preparer).PrepareConnections\n\tbr/pkg/backup/prepare_snap/prepare.go:458\ngithub.com/pingcap/tidb/br/pkg/backup/prepare_snap.(*Preparer).DriveLoopAndWaitPrepare\n\tbr/pkg/backup/prepare_snap/prepare.go:162\ngithub.com/pingcap/tidb/br/pkg/task/operator.pauseAdminAndWaitApply\n\tbr/pkg/task/operator/cmd.go:191\ngithub.com/pingcap/tidb/br/pkg/task/operator.AdaptEnvForSnapshotBackup.func3\n\tbr/pkg/task/operator/cmd.go:147\ngithub.com/pingcap/tidb/br/pkg/task/operator.(*AdaptEnvForSnapshotBackupContext).run.func1\n\tbr/pkg/task/operator/cmd.go:61\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650\nfailed to prepare connections"] [task-created-at="goroutine 202532 [running]:\nruntime/debug.Stack()\n\tGOROOT/src/runtime/debug/stack.go:24 +0x67\ngithub.com/pingcap/tidb/br/pkg/task/operator.(*AdaptEnvForSnapshotBackupContext).run(0xc014054000, 0xc00d78ea20)\n\tbr/pkg/task/operator/cmd.go:59 +0x57\ngithub.com/pingcap/tidb/br/pkg/task/operator.AdaptEnvForSnapshotBackup({0xa02f2d8, 0xc013f68b90}, 0xc01421e000)\n\tbr/pkg/task/operator/cmd.go:147 +0x947\ntests/realtikvtest/brietest/brietest_test.TestFailure(0xc00ebf09c0)\n\ttests/realtikvtest/brietest/operator_test.go:252 +0x485\ntesting.tRunner(0xc00ebf09c0, 0x87daf30)\n\tGOROOT/src/testing/testing.go:1595 +0x262\ncreated by testing.(*T).Run in goroutine 1\n\tGOROOT/src/testing/testing.go:1648 +0x846\n"] [stack="github.com/pingcap/tidb/br/pkg/task/operator.(*AdaptEnvForSnapshotBackupContext).run.func1\n\tbr/pkg/task/operator/cmd.go:63\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78"]
[2024/05/06 09:28:00.516 +00:00] [ERROR] [cmd.go:63] ["A task failed."] [error="context canceled"] [task-created-at="goroutine 202532 [running]:\nruntime/debug.Stack()\n\tGOROOT/src/runtime/debug/stack.go:24 +0x67\ngithub.com/pingcap/tidb/br/pkg/task/operator.(*AdaptEnvForSnapshotBackupContext).run(0xc014054000, 0xc00d78e9f0)\n\tbr/pkg/task/operator/cmd.go:59 +0x57\ngithub.com/pingcap/tidb/br/pkg/task/operator.AdaptEnvForSnapshotBackup({0xa02f2d8, 0xc013f68b90}, 0xc01421e000)\n\tbr/pkg/task/operator/cmd.go:137 +0x865\ntests/realtikvtest/brietest/brietest_test.TestFailure(0xc00ebf09c0)\n\ttests/realtikvtest/brietest/operator_test.go:252 +0x485\ntesting.tRunner(0xc00ebf09c0, 0x87daf30)\n\tGOROOT/src/testing/testing.go:1595 +0x262\ncreated by testing.(*T).Run in goroutine 1\n\tGOROOT/src/testing/testing.go:1648 +0x846\n"] [stack="github.com/pingcap/tidb/br/pkg/task/operator.(*AdaptEnvForSnapshotBackupContext).run.func1\n\tbr/pkg/task/operator/cmd.go:63\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78"]
[2024/05/06 09:28:00.516 +00:00] [ERROR] [cmd.go:63] ["A task failed."] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client.(*client).respForErr\n\texternal/com_github_tikv_pd_client/client.go:1598\ngithub.com/tikv/pd/client.(*client).UpdateServiceGCSafePoint\n\texternal/com_github_tikv_pd_client/client.go:1270\ngithub.com/pingcap/tidb/br/pkg/utils.UpdateServiceSafePoint\n\tbr/pkg/utils/safe_point.go:87\ngithub.com/pingcap/tidb/br/pkg/utils.StartServiceSafePointKeeper\n\tbr/pkg/utils/safe_point.go:112\ngithub.com/pingcap/tidb/br/pkg/task/operator.pauseGCKeeper\n\tbr/pkg/task/operator/cmd.go:215\ngithub.com/pingcap/tidb/br/pkg/task/operator.AdaptEnvForSnapshotBackup.func1\n\tbr/pkg/task/operator/cmd.go:136\ngithub.com/pingcap/tidb/br/pkg/task/operator.(*AdaptEnvForSnapshotBackupContext).run.func1\n\tbr/pkg/task/operator/cmd.go:61\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1650"] [task-created-at="goroutine 202532 [running]:\nruntime/debug.Stack()\n\tGOROOT/src/runtime/debug/stack.go:24 +0x67\ngithub.com/pingcap/tidb/br/pkg/task/operator.(*AdaptEnvForSnapshotBackupContext).run(0xc014054000, 0xc007babd60)\n\tbr/pkg/task/operator/cmd.go:59 +0x57\ngithub.com/pingcap/tidb/br/pkg/task/operator.AdaptEnvForSnapshotBackup({0xa02f2d8, 0xc013f68b90}, 0xc01421e000)\n\tbr/pkg/task/operator/cmd.go:136 +0x78b\ntests/realtikvtest/brietest/brietest_test.TestFailure(0xc00ebf09c0)\n\ttests/realtikvtest/brietest/operator_test.go:252 +0x485\ntesting.tRunner(0xc00ebf09c0, 0x87daf30)\n\tGOROOT/src/testing/testing.go:1595 +0x262\ncreated by testing.(*T).Run in goroutine 1\n\tGOROOT/src/testing/testing.go:1648 +0x846\n"] [stack="github.com/pingcap/tidb/br/pkg/task/operator.(*AdaptEnvForSnapshotBackupContext).run.func1\n\tbr/pkg/task/operator/cmd.go:63\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78"]
[2024/05/06 09:28:00.516 +00:00] [ERROR] [pd_service_discovery.go:559] ["[pd] failed to update member"] [urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY: error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY; context canceled"] [errorVerbose="the following errors occurred:\n -  [PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY: error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY\n    github.com/tikv/pd/client.(*pdServiceDiscovery).updateMember\n    \texternal/com_github_tikv_pd_client/pd_service_discovery.go:915\n    github.com/tikv/pd/client/retry.(*Backoffer).Exec\n    \texternal/com_github_tikv_pd_client/retry/backoff.go:78\n    github.com/tikv/pd/client.(*pdServiceDiscovery).updateMemberLoop\n    \texternal/com_github_tikv_pd_client/pd_service_discovery.go:558\n    runtime.goexit\n    \tsrc/runtime/asm_amd64.s:1650\n -  context canceled\n    github.com/pingcap/errors.AddStack\n    \texternal/com_github_pingcap_errors/errors.go:178\n    github.com/pingcap/errors.Trace\n    \texternal/com_github_pingcap_errors/juju_adaptor.go:15\n    github.com/tikv/pd/client/retry.(*Backoffer).Exec\n    \texternal/com_github_tikv_pd_client/retry/backoff.go:103\n    github.com/tikv/pd/client.(*pdServiceDiscovery).updateMemberLoop\n    \texternal/com_github_tikv_pd_client/pd_service_discovery.go:558\n    runtime.goexit\n    \tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/tikv/pd/client.(*pdServiceDiscovery).updateMemberLoop\n\texternal/com_github_tikv_pd_client/pd_service_discovery.go:559"]
[2024/05/06 09:28:00.517 +00:00] [ERROR] [pd_service_discovery.go:559] ["[pd] failed to update member"] [urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [error="[PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY: error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY; context canceled"] [errorVerbose="the following errors occurred:\n -  [PD:client:ErrClientGetMember]error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY: error:rpc error: code = Canceled desc = context canceled target:127.0.0.1:2379 status:READY\n    github.com/tikv/pd/client.(*pdServiceDiscovery).updateMember\n    \texternal/com_github_tikv_pd_client/pd_service_discovery.go:915\n    github.com/tikv/pd/client/retry.(*Backoffer).Exec\n    \texternal/com_github_tikv_pd_client/retry/backoff.go:78\n    github.com/tikv/pd/client.(*pdServiceDiscovery).updateMemberLoop\n    \texternal/com_github_tikv_pd_client/pd_service_discovery.go:558\n    runtime.goexit\n    \tsrc/runtime/asm_amd64.s:1650\n -  context canceled\n    github.com/pingcap/errors.AddStack\n    \texternal/com_github_pingcap_errors/errors.go:178\n    github.com/pingcap/errors.Trace\n    \texternal/com_github_pingcap_errors/juju_adaptor.go:15\n    github.com/tikv/pd/client/retry.(*Backoffer).Exec\n    \texternal/com_github_tikv_pd_client/retry/backoff.go:103\n    github.com/tikv/pd/client.(*pdServiceDiscovery).updateMemberLoop\n    \texternal/com_github_tikv_pd_client/pd_service_discovery.go:558\n    runtime.goexit\n    \tsrc/runtime/asm_amd64.s:1650"] [stack="github.com/tikv/pd/client.(*pdServiceDiscovery).updateMemberLoop\n\texternal/com_github_tikv_pd_client/pd_service_discovery.go:559"]
--- PASS: TestFailure (0.01s)
=== NAME  
    testing.go:1465: race detected during execution of test
FAIL
coverage: 14.4% of statements
--
Coverage runner: Not collecting coverage for failed test.
The following commands failed with status 1
/home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/sandbox/linux-sandbox/2166/execroot/__main__/bazel-out/k8-fastbuild/bin/tests/realtikvtest/brietest/brietest_test_/brietest_test.runfiles/__main__/tests/realtikvtest/brietest/brietest_test_/brietest_test -with-real-tikv
================================================================================
Target //tests/realtikvtest/brietest:brietest_test up-to-date:
  bazel-bin/tests/realtikvtest/brietest/brietest_test_/brietest_test
INFO: Elapsed time: 300.788s, Critical Path: 285.09s
INFO: 1552 processes: 1526 remote cache hit, 18 internal, 8 linux-sandbox.
INFO: Build completed, 1 test FAILED, 1552 total actions
//tests/realtikvtest/brietest:brietest_test                              FAILED in 3 out of 3 in 99.2s
  Stats over 3 runs: max = 99.2s, min = 78.9s, avg = 86.7s, dev = 8.9s
    FAILED  brietest_test.TestBackupAndRestore (8.4s)
    FAILED  brietest_test.TestRestoreMultiTables (48.9s)
    FAILED  brietest_test.TestShowBackupQuery (7.3s)
  /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/brietest/brietest_test/coverage.dat
Test cases: finished with 5 passing and 3 failing out of 8 test cases

Executed 1 out of 1 test: 1 fails locally.
make: *** [bazel_brietest] Error 3
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] junit
Recording test results
[Checks API] No suitable checks publisher found.
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] sh
+ str='run_real_tikv_tests.sh bazel_brietest'
+ logs_dir=logs_run_real_tikv_tests.sh_bazel_brietest
+ mkdir -p logs_run_real_tikv_tests.sh_bazel_brietest
+ mv pd1.log pd2.log pd3.log logs_run_real_tikv_tests.sh_bazel_brietest
+ mv tikv1.log tikv2.log tikv3.log logs_run_real_tikv_tests.sh_bazel_brietest
+ mv tests/integrationtest/integration-test.out logs_run_real_tikv_tests.sh_bazel_brietest
mv: cannot stat 'tests/integrationtest/integration-test.out': No such file or directory
+ true
+ tar -czvf logs_run_real_tikv_tests.sh_bazel_brietest.tar.gz logs_run_real_tikv_tests.sh_bazel_brietest
logs_run_real_tikv_tests.sh_bazel_brietest/
logs_run_real_tikv_tests.sh_bazel_brietest/tikv1.log
logs_run_real_tikv_tests.sh_bazel_brietest/pd2.log
logs_run_real_tikv_tests.sh_bazel_brietest/pd1.log
logs_run_real_tikv_tests.sh_bazel_brietest/tikv3.log
logs_run_real_tikv_tests.sh_bazel_brietest/tikv2.log
logs_run_real_tikv_tests.sh_bazel_brietest/pd3.log
No test report files were found. Configuration error?
[2024-05-06T09:28:09.832Z] ['info'] {"status":"success","resultURL":"https://app.codecov.io/github/pingcap/tidb/commit/a624a1d330335cbc4ed70e939fd0eafca2e37093"}
[Pipeline] archiveArtifacts
Archiving artifacts
./t/ddl/partition.test: ok! 213 test cases passed, take time 9.321036989 s
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] }
[Pipeline] // dir
[Pipeline] // dir
[Pipeline] }
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_brietest'
[Pipeline] // stage
[Pipeline] }
Sending interrupt signal to process
Killing processes
kill finished with exit code 0
Sending interrupt signal to process
Killing processes
script returned exit code 143
kill finished with exit code 0
Sending interrupt signal to process
Killing processes
kill finished with exit code 0
Sending interrupt signal to process
Killing processes
kill finished with exit code 0
Sending interrupt signal to process
Killing processes
kill finished with exit code 0
Sending interrupt signal to process
Killing processes

Bazel caught terminate signal; shutting down.


Bazel caught terminate signal; shutting down.

script returned exit code 143
kill finished with exit code 0
[Pipeline] }
[Pipeline] }
[Pipeline] // dir
[Pipeline] // dir
Post stage
Post stage
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] junit
[Pipeline] junit
Recording test results
Recording test results
None of the test reports contained any result
[Checks API] No suitable checks publisher found.
[Pipeline] }
[Pipeline] // dir
None of the test reports contained any result
[Checks API] No suitable checks publisher found.
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] }
[Pipeline] sh
[Pipeline] // dir
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] sh
No test report files were found. Configuration error?
No test report files were found. Configuration error?
+ str='integrationtest_with_tikv.sh y'
+ logs_dir=logs_integrationtest_with_tikv.sh_y
+ mkdir -p logs_integrationtest_with_tikv.sh_y
+ mv pd1.log pd2.log pd3.log logs_integrationtest_with_tikv.sh_y
+ mv tikv1.log tikv2.log tikv3.log logs_integrationtest_with_tikv.sh_y
+ mv tests/integrationtest/integration-test.out logs_integrationtest_with_tikv.sh_y
+ tar -czvf logs_integrationtest_with_tikv.sh_y.tar.gz logs_integrationtest_with_tikv.sh_y
logs_integrationtest_with_tikv.sh_y/
logs_integrationtest_with_tikv.sh_y/pd1.log
logs_integrationtest_with_tikv.sh_y/integration-test.out

Bazel caught terminate signal; shutting down.


Bazel caught terminate signal; shutting down.


Could not interrupt server: (14) Socket closed


Could not interrupt server: (14) failed to connect to all addresses


Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/server/jvm.out')

make: *** [bazel_sessiontest] Error 37
script returned exit code 143

Bazel caught terminate signal; shutting down.


Bazel caught terminate signal; shutting down.


Could not interrupt server: (14) Socket closed


Could not interrupt server: (14) failed to connect to all addresses


Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/server/jvm.out')

make: *** [bazel_pipelineddmltest] Error 37
script returned exit code 143
logs_integrationtest_with_tikv.sh_y/pd3.log
logs_integrationtest_with_tikv.sh_y/pd2.log
logs_integrationtest_with_tikv.sh_y/tikv3.log
logs_integrationtest_with_tikv.sh_y/tikv2.log
logs_integrationtest_with_tikv.sh_y/tikv1.log

Bazel caught terminate signal; shutting down.


Bazel caught terminate signal; shutting down.


Could not interrupt server: (14) Socket closed


Could not interrupt server: (14) failed to connect to all addresses


Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/server/jvm.out')

make: *** [bazel_addindextest] Error 37
script returned exit code 143
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] archiveArtifacts
Archiving artifacts
+ str='run_real_tikv_tests.sh bazel_importintotest'
+ logs_dir=logs_run_real_tikv_tests.sh_bazel_importintotest
+ mkdir -p logs_run_real_tikv_tests.sh_bazel_importintotest
+ mv pd1.log pd2.log pd3.log logs_run_real_tikv_tests.sh_bazel_importintotest
+ mv tikv1.log tikv2.log tikv3.log logs_run_real_tikv_tests.sh_bazel_importintotest
+ mv tests/integrationtest/integration-test.out logs_run_real_tikv_tests.sh_bazel_importintotest
mv: cannot stat 'tests/integrationtest/integration-test.out': No such file or directory
+ true
+ tar -czvf logs_run_real_tikv_tests.sh_bazel_importintotest.tar.gz logs_run_real_tikv_tests.sh_bazel_importintotest
logs_run_real_tikv_tests.sh_bazel_importintotest/
logs_run_real_tikv_tests.sh_bazel_importintotest/pd2.log
logs_run_real_tikv_tests.sh_bazel_importintotest/tikv1.log
logs_run_real_tikv_tests.sh_bazel_importintotest/pd1.log
logs_run_real_tikv_tests.sh_bazel_importintotest/pd3.log
logs_run_real_tikv_tests.sh_bazel_importintotest/tikv2.log
logs_run_real_tikv_tests.sh_bazel_importintotest/tikv3.log
[Pipeline] // dir
[Pipeline] // dir
Post stage
Post stage
[Pipeline] // dir
Post stage
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] junit
Recording test results
[Pipeline] junit
Recording test results
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] }
[Pipeline] // dir
[Pipeline] // dir
[Pipeline] }
[Pipeline] }
None of the test reports contained any result
[Checks API] No suitable checks publisher found.
[Pipeline] // withCredentials
[Pipeline] }
None of the test reports contained any result
[Checks API] No suitable checks publisher found.
None of the test reports contained any result
[Checks API] No suitable checks publisher found.
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] }
[Pipeline] }
[Pipeline] // timeout
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] // dir
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
No test report files were found. Configuration error?
[Pipeline] // container
No test report files were found. Configuration error?
[Pipeline] }
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
No test report files were found. Configuration error?
[Pipeline] sh

Bazel caught terminate signal; shutting down.


Bazel caught terminate signal; shutting down.


Could not interrupt server: (14) Socket closed


Could not interrupt server: (14) failed to connect to all addresses


Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/server/jvm.out')

make: *** [bazel_txntest] Error 37
script returned exit code 143
[Pipeline] // container
[Pipeline] }
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] sh
+ str='run_real_tikv_tests.sh bazel_addindextest'
+ logs_dir=logs_run_real_tikv_tests.sh_bazel_addindextest
+ mkdir -p logs_run_real_tikv_tests.sh_bazel_addindextest
+ mv pd1.log pd2.log pd3.log logs_run_real_tikv_tests.sh_bazel_addindextest
+ mv tikv1.log tikv2.log tikv3.log logs_run_real_tikv_tests.sh_bazel_addindextest
+ mv tests/integrationtest/integration-test.out logs_run_real_tikv_tests.sh_bazel_addindextest
mv: cannot stat 'tests/integrationtest/integration-test.out': No such file or directory
+ true
+ tar -czvf logs_run_real_tikv_tests.sh_bazel_addindextest.tar.gz logs_run_real_tikv_tests.sh_bazel_addindextest
logs_run_real_tikv_tests.sh_bazel_addindextest/
logs_run_real_tikv_tests.sh_bazel_addindextest/tikv1.log
logs_run_real_tikv_tests.sh_bazel_addindextest/pd1.log
logs_run_real_tikv_tests.sh_bazel_addindextest/tikv2.log
logs_run_real_tikv_tests.sh_bazel_addindextest/pd2.log
logs_run_real_tikv_tests.sh_bazel_addindextest/tikv3.log
logs_run_real_tikv_tests.sh_bazel_addindextest/pd3.log
[Pipeline] sh
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] // node
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] // node
[Pipeline] }
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] }
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] // dir
[Pipeline] junit
Recording test results
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
None of the test reports contained any result
Failed in branch Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh y'
[Checks API] No suitable checks publisher found.
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_importintotest'
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // dir
[Pipeline] // stage
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
No test report files were found. Configuration error?
[Pipeline] }
[Pipeline] dir
Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb
[Pipeline] {
[Pipeline] // node
[Pipeline] }
[Pipeline] sh
+ str='run_real_tikv_tests.sh bazel_pipelineddmltest'
+ logs_dir=logs_run_real_tikv_tests.sh_bazel_pipelineddmltest
+ mkdir -p logs_run_real_tikv_tests.sh_bazel_pipelineddmltest
+ mv pd1.log pd2.log pd3.log logs_run_real_tikv_tests.sh_bazel_pipelineddmltest
+ mv tikv1.log tikv2.log tikv3.log logs_run_real_tikv_tests.sh_bazel_pipelineddmltest
+ mv tests/integrationtest/integration-test.out logs_run_real_tikv_tests.sh_bazel_pipelineddmltest
mv: cannot stat 'tests/integrationtest/integration-test.out': No such file or directory
+ true
+ tar -czvf logs_run_real_tikv_tests.sh_bazel_pipelineddmltest.tar.gz logs_run_real_tikv_tests.sh_bazel_pipelineddmltest
logs_run_real_tikv_tests.sh_bazel_pipelineddmltest/
logs_run_real_tikv_tests.sh_bazel_pipelineddmltest/tikv3.log
logs_run_real_tikv_tests.sh_bazel_pipelineddmltest/pd1.log
logs_run_real_tikv_tests.sh_bazel_pipelineddmltest/tikv2.log
logs_run_real_tikv_tests.sh_bazel_pipelineddmltest/pd3.log
logs_run_real_tikv_tests.sh_bazel_pipelineddmltest/pd2.log
logs_run_real_tikv_tests.sh_bazel_pipelineddmltest/tikv1.log
[Pipeline] // podTemplate
[Pipeline] }
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_addindextest'
+ str='run_real_tikv_tests.sh bazel_txntest'
+ logs_dir=logs_run_real_tikv_tests.sh_bazel_txntest
+ mkdir -p logs_run_real_tikv_tests.sh_bazel_txntest
+ mv pd1.log pd2.log pd3.log logs_run_real_tikv_tests.sh_bazel_txntest
+ mv tikv1.log tikv2.log tikv3.log logs_run_real_tikv_tests.sh_bazel_txntest
+ mv tests/integrationtest/integration-test.out logs_run_real_tikv_tests.sh_bazel_txntest
mv: cannot stat 'tests/integrationtest/integration-test.out': No such file or directory
+ true
+ tar -czvf logs_run_real_tikv_tests.sh_bazel_txntest.tar.gz logs_run_real_tikv_tests.sh_bazel_txntest
logs_run_real_tikv_tests.sh_bazel_txntest/
logs_run_real_tikv_tests.sh_bazel_txntest/pd3.log
logs_run_real_tikv_tests.sh_bazel_txntest/tikv1.log
logs_run_real_tikv_tests.sh_bazel_txntest/pd1.log
logs_run_real_tikv_tests.sh_bazel_txntest/tikv3.log
logs_run_real_tikv_tests.sh_bazel_txntest/tikv2.log
tar: logs_run_real_tikv_tests.sh_bazel_txntest/tikv2.log: file changed as we read it
logs_run_real_tikv_tests.sh_bazel_txntest/pd2.log
+ true
[Pipeline] }
[Pipeline] // dir
[Pipeline] archiveArtifacts
Archiving artifacts
+ str='run_real_tikv_tests.sh bazel_sessiontest'
+ logs_dir=logs_run_real_tikv_tests.sh_bazel_sessiontest
+ mkdir -p logs_run_real_tikv_tests.sh_bazel_sessiontest
+ mv pd1.log pd2.log pd3.log logs_run_real_tikv_tests.sh_bazel_sessiontest
+ mv tikv1.log tikv2.log tikv3.log logs_run_real_tikv_tests.sh_bazel_sessiontest
+ mv tests/integrationtest/integration-test.out logs_run_real_tikv_tests.sh_bazel_sessiontest
mv: cannot stat 'tests/integrationtest/integration-test.out': No such file or directory
+ true
+ tar -czvf logs_run_real_tikv_tests.sh_bazel_sessiontest.tar.gz logs_run_real_tikv_tests.sh_bazel_sessiontest
logs_run_real_tikv_tests.sh_bazel_sessiontest/
logs_run_real_tikv_tests.sh_bazel_sessiontest/tikv3.log
logs_run_real_tikv_tests.sh_bazel_sessiontest/pd1.log
logs_run_real_tikv_tests.sh_bazel_sessiontest/tikv2.log
tar: logs_run_real_tikv_tests.sh_bazel_sessiontest/tikv2.log: file changed as we read it
logs_run_real_tikv_tests.sh_bazel_sessiontest/pd3.log
logs_run_real_tikv_tests.sh_bazel_sessiontest/pd2.log
logs_run_real_tikv_tests.sh_bazel_sessiontest/tikv1.log
+ true
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] archiveArtifacts
Archiving artifacts
[Pipeline] }
[Pipeline] // timeout
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // timeout
[Pipeline] // dir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_pipelineddmltest'
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_txntest'
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_sessiontest'
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ bash scripts/plugins/report_job_result.sh FAILURE result.json
http://fileserver.pingcap.net
--2024-05-06 09:28:29--  http://fileserver.pingcap.net/download/rd-atom-agent/agent_upload_verifyci_metadata.py
Resolving fileserver.pingcap.net (fileserver.pingcap.net)... 10.2.12.82
Connecting to fileserver.pingcap.net (fileserver.pingcap.net)|10.2.12.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4181 (4.1K) [application/octet-stream]
Saving to: ‘agent_upload_verifyci_metadata.py’

     0K ....                                                  100%  527M=0s

2024-05-06 09:28:29 (527 MB/s) - ‘agent_upload_verifyci_metadata.py’ saved [4181/4181]

No junit report file
parse result file result.json success
upload data succesfully.
[Pipeline] }
[Pipeline] // container
[Pipeline] archiveArtifacts
Archiving artifacts
Recording fingerprints
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE