Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/sql/schemachanger/schemachanger_test: TestPauseMixedVersion_add_column_default_unique failed [grunning.Time() should be non-decreasing] #126615

Closed
cockroach-teamcity opened this issue Jul 3, 2024 · 2 comments
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-admission-control Admission Control X-duplicate Closed as a duplicate of another issue.

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Jul 3, 2024

pkg/sql/schemachanger/schemachanger_test.TestPauseMixedVersion_add_column_default_unique failed on master @ fba93856e7fe76c1573c8c9ebeac6b6395e3e730:

Fatal error:

panic: grunning.Time() should be non-decreasing [recovered]
	panic: grunning.Time() should be non-decreasing [recovered]
	panic: grunning.Time() should be non-decreasing [recovered]
	panic: grunning.Time() should be non-decreasing [recovered]
	panic: grunning.Time() should be non-decreasing

Stack:

goroutine 93200 [running]:
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).recover(0xc007767920?, {0x69dfff8, 0xc007e7c120})
	github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:231 +0x65
panic({0x4b15a20?, 0x6995900?})
	GOROOT/src/runtime/panic.go:770 +0x132
github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError.func1()
	github.com/cockroachdb/cockroach/pkg/sql/colexecerror/error.go:127 +0x554
panic({0x4b15a20?, 0x6995900?})
	GOROOT/src/runtime/panic.go:770 +0x132
github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError.func1()
	github.com/cockroachdb/cockroach/pkg/sql/colexecerror/error.go:127 +0x554
panic({0x4b15a20?, 0x6995900?})
	GOROOT/src/runtime/panic.go:770 +0x132
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).recover(0xc00227e000?, {0x69dfff8, 0xc007e7df20})
	github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:231 +0x65
panic({0x4b15a20?, 0x6995900?})
	GOROOT/src/runtime/panic.go:770 +0x132
github.com/cockroachdb/cockroach/pkg/kv/kvserver/kvadmission.(*controllerImpl).AdmittedKVWorkDone(0xc005442d20, {{0x1}, 0x0, {{0x0}, 0x0, 0x0, 0x0}, 0x0, 0x0, 0x1, ...}, ...)
	github.com/cockroachdb/cockroach/pkg/kv/kvserver/kvadmission/kvadmission.go:456 +0x255
github.com/cockroachdb/cockroach/pkg/server.(*Node).batchInternal.func2()
	github.com/cockroachdb/cockroach/pkg/server/node.go:1404 +0x65
github.com/cockroachdb/cockroach/pkg/server.(*Node).batchInternal(0xc005542808, {0x69dfff8?, 0xc0081e2000?}, {0x0?}, 0xc0081de500)
	github.com/cockroachdb/cockroach/pkg/server/node.go:1485 +0xc93
github.com/cockroachdb/cockroach/pkg/server.(*Node).Batch(0xc005542808, {0x69dfff8, 0xc007e7df20}, 0xc0081de500)
	github.com/cockroachdb/cockroach/pkg/server/node.go:1626 +0x2b2
github.com/cockroachdb/cockroach/pkg/rpc.makeInternalClientAdapter.func1({0x69dfff8?, 0xc007e7df20?}, {0x5442120?, 0xc0081de500?})
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:704 +0x45
github.com/cockroachdb/cockroach/pkg/rpc.NewServerEx.ServerInterceptor.func12({0x69dfff8, 0xc007e7df20}, {0x5442120, 0xc0081de500}, 0xc007285e00, 0xc0057b2af8)
	github.com/cockroachdb/cockroach/pkg/util/tracing/grpcinterceptor/grpc_interceptor.go:97 +0x4b2
github.com/cockroachdb/cockroach/pkg/rpc.makeInternalClientAdapter.chainUnaryServerInterceptors.bindUnaryServerInterceptorToHandler.func4({0x69dfff8?, 0xc007e7df20?}, {0x5442120?, 0xc0081de500?})
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:815 +0x34
github.com/cockroachdb/cockroach/pkg/rpc.NewServerEx.func3({0x69dfff8, 0xc007e7df20}, {0x5442120, 0xc0081de500}, 0xc007e7df20?, 0xc007285e20)
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:169 +0x76
github.com/cockroachdb/cockroach/pkg/rpc.makeInternalClientAdapter.chainUnaryServerInterceptors.bindUnaryServerInterceptorToHandler.func4({0x69dfff8?, 0xc007e7df20?}, {0x5442120?, 0xc0081de500?})
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:815 +0x34
github.com/cockroachdb/cockroach/pkg/rpc.kvAuth.unaryInterceptor({0xc00227e000?, {{0x452505?}, {0x6a243d0?, 0xc006c41500?}}}, {0x69dfff8, 0xc007e7df20}, {0x5442120, 0xc0081de500}, 0xc007285e00, 0xc007285e40)
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/auth.go:95 +0x1e4
github.com/cockroachdb/cockroach/pkg/rpc.makeInternalClientAdapter.chainUnaryServerInterceptors.bindUnaryServerInterceptorToHandler.func4({0x69dfff8?, 0xc007e7df20?}, {0x5442120?, 0xc0081de500?})
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:815 +0x34
github.com/cockroachdb/cockroach/pkg/rpc.NewServerEx.func1.1({0x69dfff8?, 0xc007e7df20?})
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:136 +0x36
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunTaskWithErr(0xc0051d4480, {0x69dfff8, 0xc007e7df20}, {0xc0077a7780?, 0x44a065?}, 0xc0077a7720)
	github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:337 +0xcb
github.com/cockroachdb/cockroach/pkg/rpc.NewServerEx.func1({0x69dfff8?, 0xc007e7df20?}, {0x5442120?, 0xc0081de500?}, 0xc0077a77a8?, 0x58a8e5?)
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:134 +0x8f
github.com/cockroachdb/cockroach/pkg/rpc.makeInternalClientAdapter.chainUnaryServerInterceptors.bindUnaryServerInterceptorToHandler.func4({0x69dfff8?, 0xc007e7df20?}, {0x5442120?, 0xc0081de500?})
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:815 +0x34
github.com/cockroachdb/cockroach/pkg/rpc.makeInternalClientAdapter.func2({0x69dfff8?, 0xc007e7df20?}, {0x2a?, 0x30?}, {0x5442120?, 0xc0081de500?}, {0x530e2a0, 0xc0081e0100}, 0xc007e7df20?, {0x0, ...})
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:714 +0x4c
github.com/cockroachdb/cockroach/pkg/rpc.NewContext.ClientInterceptor.func8({0x69dfff8, 0xc007e7df20}, {0x5536c38, 0x21}, {0x5442120, 0xc0081de500}, {0x530e2a0, 0xc0081e0100}, 0x0, 0xc001538650, ...)
	github.com/cockroachdb/cockroach/pkg/util/tracing/grpcinterceptor/grpc_interceptor.go:228 +0x463
github.com/cockroachdb/cockroach/pkg/rpc.getChainUnaryInvoker.func1({0x69dfff8, 0xc007e7df20}, {0x5536c38, 0x21}, {0x5442120, 0xc0081de500}, {0x530e2a0, 0xc0081e0100}, 0x0, {0x0, ...})
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:899 +0x13d
github.com/cockroachdb/cockroach/pkg/rpc.makeInternalClientAdapter.func3({0x69dfff8, 0xc007e7def0}, 0xc0081de3c0, {0x0, 0x0, 0x0})
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:784 +0x32f
github.com/cockroachdb/cockroach/pkg/rpc.internalClientAdapter.Batch(...)
	github.com/cockroachdb/cockroach/pkg/rpc/pkg/rpc/context.go:907
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*grpcTransport).sendBatch(0xc0053447e0, {0x69dfff8, 0xc007e7def0}, 0x4679f60?, {0x69b2648, 0xc0086eca20}, 0xc0081de3c0)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/transport.go:214 +0x1a8
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*grpcTransport).SendNext(0xc0053447e0, {0x69dfff8, 0xc007e7def0}, 0xc0081de3c0)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/transport.go:192 +0x87
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*DistSender).sendToReplicas(0xc00545b208, {0x69dfff8, 0xc007e7def0}, 0xc0081de280?, {0xc006f0ea50, 0xc0037ea4b0}, 0x0)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/dist_sender.go:2749 +0x1982
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*DistSender).sendPartialBatch(0xc00545b208, {0x69dfff8, 0xc007e7def0}, 0xc0081de280, {{0xc004226498, 0x3, 0x8}, {0xc0042264a8, 0x3, 0x3}}, ...)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/dist_sender.go:2187 +0x6c5
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*DistSender).divideAndSendBatchToRanges(0xc00545b208, {0x69dfff8, 0xc007e7def0}, 0xc0081de280, {{0xc004226498, 0x3, 0x8}, {0xc0042264a8, 0x3, 0x3}}, ...)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/dist_sender.go:1738 +0x36a
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*DistSender).Send(0xc00545b208, {0x69dfff8, 0xc007e7dec0}, 0xc0081de280)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/dist_sender.go:1257 +0x6c9
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*txnLockGatekeeper).SendLocked(0xc007ceb778, {0x69dfff8, 0xc007e7dec0}, 0xc0081de280)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/txn_lock_gatekeeper.go:82 +0x1d1
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*txnMetricRecorder).SendLocked(0xc007ceb728, {0x69dfff8?, 0xc007e7dec0?}, 0xc0081de280?)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/txn_interceptor_metric_recorder.go:46 +0xd0
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*txnSpanRefresher).sendLockedWithRefreshAttempts(0xc007ceb648, {0x69dfff8, 0xc007e7dec0}, 0xc0081de280, 0x5)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/txn_interceptor_span_refresher.go:239 +0x1a4
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*txnSpanRefresher).SendLocked(0xc007ceb648, {0x69dfff8, 0xc007e7dec0}, 0x0?)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/txn_interceptor_span_refresher.go:167 +0xb3
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*txnCommitter).SendLocked(0xc007ceb608, {0x69dfff8, 0xc007e7dec0}, 0xc0081de280)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/txn_interceptor_committer.go:149 +0x47c
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*txnPipeliner).SendLocked(0xc007ceb4b8, {0x69dfff8, 0xc007e7dec0}, 0x3?)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/txn_interceptor_pipeliner.go:326 +0x186
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*txnSeqNumAllocator).SendLocked(0xc007ceb498, {0x69dfff8, 0xc007e7dec0}, 0xc0081de280)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/txn_interceptor_seq_num_allocator.go:117 +0x259
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*txnHeartbeater).SendLocked(0xc007ceb3e0, {0x69dfff8, 0xc007e7dec0}, 0xc0081de280)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/txn_interceptor_heartbeater.go:270 +0x498
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*TxnCoordSender).Send(0xc007ceb208, {0x69dfff8, 0xc007e7de90}, 0xc0081de280)
	github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord/txn_coord_sender.go:539 +0x5ba
github.com/cockroachdb/cockroach/pkg/kv.(*DB).sendUsingSender(0xc005116f00, {0x69dfff8, 0xc007e7de90}, 0xc0081de280, {0x7fcceb487870, 0xc007ceb208})
	github.com/cockroachdb/cockroach/pkg/kv/db.go:1138 +0xe7
github.com/cockroachdb/cockroach/pkg/kv.(*Txn).Send(0xc007ced040, {0x69dfff8, 0xc007e7de90}, 0xc0081de280)
	github.com/cockroachdb/cockroach/pkg/kv/txn.go:1282 +0x265
github.com/cockroachdb/cockroach/pkg/sql/row.newTxnKVFetcher.makeTxnKVFetcherDefaultSendFunc.func2({0x69dfff8, 0xc007e7de90}, 0xc0081de280)
	github.com/cockroachdb/cockroach/pkg/sql/row/kv_batch_fetcher.go:281 +0xa6
github.com/cockroachdb/cockroach/pkg/sql/row.(*txnKVFetcher).fetch(0xc007b2da40, {0x69dfff8, 0xc007e7de90})
	github.com/cockroachdb/cockroach/pkg/sql/row/kv_batch_fetcher.go:589 +0x517
github.com/cockroachdb/cockroach/pkg/sql/row.(*txnKVFetcher).nextBatch(0xc007b2da40, {0x69dfff8, 0xc007e7de90})
	github.com/cockroachdb/cockroach/pkg/sql/row/kv_batch_fetcher.go:872 +0x1186
github.com/cockroachdb/cockroach/pkg/sql/row.(*kvBatchFetcherHelper).NextBatch(0xc007b2da40, {0x69dfff8?, 0xc007e7de90?})
	github.com/cockroachdb/cockroach/pkg/sql/row/kv_batch_fetcher.go:1021 +0xa2
github.com/cockroachdb/cockroach/pkg/sql/colfetcher.(*ColBatchDirectScan).Next(0xc0034bb8c0)
	github.com/cockroachdb/cockroach/pkg/sql/colfetcher/colbatch_direct_scan.go:79 +0xbc
github.com/cockroachdb/cockroach/pkg/sql/colexec.(*invariantsChecker).Next(0xc007e1ef00)
	github.com/cockroachdb/cockroach/pkg/sql/colexec/invariants_checker.go:93 +0x42
github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecutils.(*CancelChecker).Next(0xc007e1ef40)
	github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecutils/cancel_checker.go:59 +0x2a
github.com/cockroachdb/cockroach/pkg/sql/colexec.(*invariantsChecker).Next(0xc007e1ef80)
	github.com/cockroachdb/cockroach/pkg/sql/colexec/invariants_checker.go:93 +0x42
github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecsel.(*selEQBytesBytesConstOp).Next(0xc007e1f040)
	github.com/cockroachdb/cockroach/bazel-out/k8-fastbuild/bin/pkg/sql/colexec/colexecsel/selection_ops.eg.go:357 +0x37
github.com/cockroachdb/cockroach/pkg/sql/colexec.(*Materializer).next(0xc007755520)
	github.com/cockroachdb/cockroach/pkg/sql/colexec/materializer.go:251 +0x6d
github.com/cockroachdb/cockroach/pkg/sql/colexec.(*Materializer).nextAdapter(...)
	github.com/cockroachdb/cockroach/pkg/sql/colexec/materializer.go:276
github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError(0x266ef3c?)
	github.com/cockroachdb/cockroach/pkg/sql/colexecerror/error.go:152 +0x57
github.com/cockroachdb/cockroach/pkg/sql/colexec.(*Materializer).Next(0xc007755520)
	github.com/cockroachdb/cockroach/pkg/sql/colexec/materializer.go:282 +0x46
github.com/cockroachdb/cockroach/pkg/sql/rowexec.(*noopProcessor).Next(0xc002692f08)
	github.com/cockroachdb/cockroach/pkg/sql/rowexec/noop.go:88 +0x42
github.com/cockroachdb/cockroach/pkg/sql/colflow.(*FlowCoordinator).next(0xc00536d0e0)
	github.com/cockroachdb/cockroach/pkg/sql/colflow/flow_coordinator.go:124 +0x35
github.com/cockroachdb/cockroach/pkg/sql/colflow.(*FlowCoordinator).nextAdapter(...)
	github.com/cockroachdb/cockroach/pkg/sql/colflow/flow_coordinator.go:141
github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError(0xc0077aaab8?)
	github.com/cockroachdb/cockroach/pkg/sql/colexecerror/error.go:152 +0x57
github.com/cockroachdb/cockroach/pkg/sql/colflow.(*FlowCoordinator).Next(0xc00536d0e0)
	github.com/cockroachdb/cockroach/pkg/sql/colflow/flow_coordinator.go:146 +0x38
github.com/cockroachdb/cockroach/pkg/sql/execinfra.Run({0x69dfff8, 0xc007e7ddd0}, {0x6a0e520, 0xc00536d0e0}, {0x69b04c0, 0xc006e83008})
	github.com/cockroachdb/cockroach/pkg/sql/execinfra/base.go:198 +0x45
github.com/cockroachdb/cockroach/pkg/sql/execinfra.(*ProcessorBaseNoHelper).Run(0xc00536d0e0, {0x69dffc0?, 0xc007e7eb90?}, {0x69b04c0, 0xc006e83008})
	github.com/cockroachdb/cockroach/pkg/sql/execinfra/processorsbase.go:727 +0x6d
github.com/cockroachdb/cockroach/pkg/sql/flowinfra.(*FlowBase).Run(0xc007ccea08, {0x69dffc0, 0xc007e7eb90}, 0x0?)
	github.com/cockroachdb/cockroach/pkg/sql/flowinfra/flow.go:579 +0x22c
github.com/cockroachdb/cockroach/pkg/sql/colflow.(*vectorizedFlow).Run(0x6a52e00?, {0x69dffc0?, 0xc007e7eb90?}, 0x40?)
	github.com/cockroachdb/cockroach/pkg/sql/colflow/vectorized_flow.go:305 +0x225
github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).Run(0xc0033c9b80, {0x69dfff8, 0xc007e7db60}, 0xc007b61ad0, 0xc007ced040, 0xc007d71e80, 0xc006e83008, 0xc007fb8bc0, 0xc0077ab820)
	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:932 +0xd07
github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRun(0xc0033c9b80, {0x69dfff8, 0xc007e7db60}, 0xc007fb8bc0, 0xc007b61ad0, 0xc007ced040, {{0x69e0e80, 0xc007d71e00}, 0x0}, 0xc006e83008, ...)
	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:1994 +0x215
github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3(0x0?, 0xc005f5b730?, {0x69dfff8?, 0xc007e7db60?}, 0x4be789?, 0x0?, 0x0?)
	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:1708 +0xbb
github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll(0xc0033c9b80, {0x69dfff8, 0xc007e7db60}, 0xc007fb8bc0, 0xc007b61ad0, 0xc007fb86b8, 0xc006e83008, 0x0)
	github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:1711 +0x229
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithDistSQLEngine(0xc007fb8008, {0x69dfff8, 0xc007e7db60}, 0xc007fb86b8, 0x3?, {0x6a54f10?, 0xc007e7e1e0?}, 0x0, 0xc0034bb418, {0x0, ...})
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:2419 +0x485
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).dispatchToExecutionEngine(0xc007fb8008, {0x69dffc0, 0xc007e7e230}, 0xc007fb86b8, {0x6a54f10, 0xc007e7e1e0})
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:1966 +0x119e
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmtInOpenState(0xc007fb8008, {0x69dfff8, 0xc007e7c1e0}, {{0x6a061e0, 0xc007ca5d10}, {0x0, 0x0, 0x0}, {0x56f10df, 0x228}, ...}, ...)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:1173 +0x48e5
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt.func1({0x69dfff8?, 0xc007e7c1e0?})
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:145 +0xb0
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithProfiling(0x69dfff8?, {0x69dfff8?, 0xc007e7c1e0?}, {0x6a061e0?, 0xc007ca5d10?}, 0x0?, 0x5c00?)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:3425 +0x2ec
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt(0xc007fb8008, {0x69dfff8, 0xc007e7c1e0}, {{0x6a061e0, 0xc007ca5d10}, {0x0, 0x0, 0x0}, {0x56f10df, 0x228}, ...}, ...)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:144 +0x725
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execPortal(0xc007fb8008, {0x69dfff8, 0xc007e7c1e0}, {{0x0, 0x0}, 0xc007ceeea0, {0xc007e7e140, 0x5, 0x5}, {0x0, ...}, ...}, ...)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:250 +0x4c5
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd.func2({{0x0, 0x0}, 0x0, {0xc19954bc42ad633c, 0xa73466a27, 0x0}, 0x1}, 0xc007fb8008, 0xc0077adba0, 0xc0077adb90, ...)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2421 +0x9ac
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd(0xc007fb8008)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2423 +0x7e5
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).run(0xc007fb8008, {0x69dfff8, 0xc007e7c120}, 0xc5e254?, 0xc0012b21e0?, 0x0?)
	github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:2238 +0x208
github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).runWithEx.func2({0x69dfff8, 0xc007e7c120})
	github.com/cockroachdb/cockroach/pkg/sql/internal.go:247 +0x9e
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func2()
	github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:485 +0x13a
created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx in goroutine 93206
	github.com/cockroachdb/cockroach/pkg/util/stop/stopper.go:476 +0x3fe
Log preceding fatal error

    datadriven.go:144: 
        /var/lib/engflow/worker/work/3/exec/bazel-out/k8-fastbuild/bin/pkg/sql/schemachanger/schemachanger_test_/schemachanger_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/schemachanger/testdata/end_to_end/add_column_default_unique/add_column_default_unique.definition:61:
        stage-exec [2 args]
        INSERT INTO db.public.tbl VALUES($stageKey);
        INSERT INTO db.public.tbl VALUES($stageKey + 1);
        ----
        duplicate key value violates unique constraint "tbl_j_key".*
    datadriven.go:144: 
        /var/lib/engflow/worker/work/3/exec/bazel-out/k8-fastbuild/bin/pkg/sql/schemachanger/schemachanger_test_/schemachanger_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/schemachanger/testdata/end_to_end/add_column_default_unique/add_column_default_unique.definition:67:
        stage-exec [2 args]
        INSERT INTO db.public.tbl VALUES($stageKey);
        ----
        duplicate key value violates unique constraint "tbl_j_key".*
    datadriven.go:144: 
        /var/lib/engflow/worker/work/3/exec/bazel-out/k8-fastbuild/bin/pkg/sql/schemachanger/schemachanger_test_/schemachanger_test.runfiles/com_github_cockroachdb_cockroach/pkg/sql/schemachanger/testdata/end_to_end/add_column_default_unique/add_column_default_unique.definition:73:
        stage-query [2 args]
        SELECT count(*) FROM db.public.tbl;
        ----
        1
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_3_of_15
    cumulative.go:375: job 982753433678348289 is paused
    cumulative.go:382: job 982753433678348289 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_4_of_15
    cumulative.go:375: job 982753438619533313 is paused
    cumulative.go:382: job 982753438619533313 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_6_of_15
    cumulative.go:375: job 982753449516695553 is paused
    cumulative.go:382: job 982753449516695553 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_9_of_15
    cumulative.go:375: job 982753466211106817 is paused
    cumulative.go:382: job 982753466211106817 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_11_of_15
    cumulative.go:375: job 982753476531290113 is paused
    cumulative.go:382: job 982753476531290113 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_2_of_15
    cumulative.go:375: job 982753428634173441 is paused
    cumulative.go:382: job 982753428634173441 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_5_of_15
    cumulative.go:375: job 982753445061459969 is paused
    cumulative.go:382: job 982753445061459969 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_7_of_15
    cumulative.go:375: job 982753454095007745 is paused
    cumulative.go:382: job 982753454095007745 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_8_of_15
    cumulative.go:375: job 982753460134215681 is paused
    cumulative.go:382: job 982753460134215681 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_10_of_15
    cumulative.go:375: job 982753472235372545 is paused
    cumulative.go:382: job 982753472235372545 is resuming
=== RUN   TestPauseMixedVersion_add_column_default_unique/post_commit_stage_12_of_15

Parameters:

  • attempt=1
  • run=23
  • shard=1
Help

See also: How To Investigate a Go Test Failure (internal)

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-40002

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Jul 3, 2024
@rafiss rafiss changed the title pkg/sql/schemachanger/schemachanger_test: TestPauseMixedVersion_add_column_default_unique failed pkg/sql/schemachanger/schemachanger_test: TestPauseMixedVersion_add_column_default_unique failed [grunning.Time() should be non-decreasing] Jul 3, 2024
@rafiss
Copy link
Collaborator

rafiss commented Jul 3, 2024

The failing assertion was recently added in #126424.

@rafiss rafiss added T-admission-control Admission Control and removed T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Jul 3, 2024
@mgartner mgartner added the X-duplicate Closed as a duplicate of another issue. label Jul 3, 2024
@mgartner
Copy link
Collaborator

mgartner commented Jul 3, 2024

Duplicate of #126603.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-admission-control Admission Control X-duplicate Closed as a duplicate of another issue.
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants