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

server: TestStatusAPIIndexUsage failed #74787

Closed
cockroach-teamcity opened this issue Jan 13, 2022 · 1 comment · Fixed by #74807
Closed

server: TestStatusAPIIndexUsage failed #74787

cockroach-teamcity opened this issue Jan 13, 2022 · 1 comment · Fixed by #74807
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. T-sql-queries SQL Queries Team

Comments

@cockroach-teamcity
Copy link
Member

server.TestStatusAPIIndexUsage failed with artifacts on master @ c3d71ac887844bef174abb6dab2a4e1ce9270ab7:

../sql/colfetcher/cfetcher.go:347 colfetcher.(*cFetcher).resetBatch { } }
../sql/colfetcher/cfetcher.go:1065 colfetcher.(*cFetcher).shiftState { func (rf *cFetcher) shiftState() { }
../sql/colfetcher/index_join.go:229 colfetcher.(*ColIndexJoin).Next { batch, err := s.rf.NextBatch(s.Ctx) }
../sql/colexec/invariants_checker.go:94 colexec.(*invariantsChecker).Next { b := i.Input.Next() }
../sql/colexec/colexecutils/cancel_checker.go:58 colexecutils.(*CancelChecker).Next { c.CheckEveryCall() }
../sql/colexec/invariants_checker.go:94 colexec.(*invariantsChecker).Next { b := i.Input.Next() }
../sql/colflow/stats.go:100 colflow.(*batchInfoCollector).Next { bic.stopwatch.Stop() }
../sql/colexec/colexecutils/deselector.go:63 colexecutils.(*deselectorOp).Next { batch := p.Input.Next() }
../sql/colflow/colrpc/outbox.go:289 colrpc.(*Outbox).sendBatches.func1 { batch := o.Input.Next() }
../sql/colexecerror/error.go:91 colexecerror.CatchVectorizedRuntimeError { operation() }
../sql/colflow/colrpc/outbox.go:326 colrpc.(*Outbox).sendBatches { }) }
../sql/colflow/colrpc/outbox.go:413 colrpc.(*Outbox).runWithStream {  }
../sql/colflow/colrpc/outbox.go:222 colrpc.(*Outbox).Run { o.runWithStream(ctx, stream, flowCtxCancel, outboxCtxCancel) }
../sql/colflow/vectorized_flow.go:694 colflow.(*vectorizedFlowCreator).setupRemoteOutputStream.func1 { ) }
../sql/colflow/vectorized_flow.go:1268 colflow.(*vectorizedFlowCreatorHelper).accumulateAsyncComponent.func1.1 { run(ctx, flowCtxCancel) }

goroutine 12001557 lock 0xc00c92f360
../util/mon/bytes_usage.go:652 mon.(*BytesMonitor).reserveBytes { mm.mu.Lock() } <<<<<
../util/mon/bytes_usage.go:651 mon.(*BytesMonitor).reserveBytes { func (mm *BytesMonitor) reserveBytes(ctx context.Context, x int64) error { }
../util/mon/bytes_usage.go:618 mon.(*BoundAccount).Grow { minExtra := b.mon.roundSize(x) }
../util/mon/bytes_usage.go:741 mon.(*BytesMonitor).increaseBudget {  }
../util/mon/bytes_usage.go:666 mon.(*BytesMonitor).reserveBytes { if mm.mu.curAllocated > mm.mu.curBudget.used+mm.reserved.used-x { }
../util/mon/bytes_usage.go:618 mon.(*BoundAccount).Grow { minExtra := b.mon.roundSize(x) }
../sql/colmem/allocator.go:127 colmem.(*Allocator).NewMemBatchWithFixedCapacity { estimatedMemoryUsage := selVectorSize(capacity) + EstimateBatchSizeBytes(typs, capacity) }
../sql/colmem/allocator.go:177 colmem.(*Allocator).ResetMaybeReallocate { if oldBatch == nil { }
../sql/colmem/allocator.go:592 colmem.(*SetAccountingHelper).ResetMaybeReallocate { ) (newBatch coldata.Batch, reallocated bool) { }
../sql/colfetcher/cfetcher.go:347 colfetcher.(*cFetcher).resetBatch { } }
../sql/colfetcher/cfetcher.go:1065 colfetcher.(*cFetcher).shiftState { func (rf *cFetcher) shiftState() { }
../sql/colfetcher/index_join.go:229 colfetcher.(*ColIndexJoin).Next { batch, err := s.rf.NextBatch(s.Ctx) }
../sql/colexec/invariants_checker.go:94 colexec.(*invariantsChecker).Next { b := i.Input.Next() }
../sql/colexec/colexecutils/cancel_checker.go:58 colexecutils.(*CancelChecker).Next { c.CheckEveryCall() }
../sql/colexec/invariants_checker.go:94 colexec.(*invariantsChecker).Next { b := i.Input.Next() }
../sql/colflow/stats.go:100 colflow.(*batchInfoCollector).Next { bic.stopwatch.Stop() }
../sql/colexec/colexecutils/deselector.go:63 colexecutils.(*deselectorOp).Next { batch := p.Input.Next() }
../sql/colflow/colrpc/outbox.go:289 colrpc.(*Outbox).sendBatches.func1 { batch := o.Input.Next() }
../sql/colexecerror/error.go:91 colexecerror.CatchVectorizedRuntimeError { operation() }
../sql/colflow/colrpc/outbox.go:326 colrpc.(*Outbox).sendBatches { }) }
../sql/colflow/colrpc/outbox.go:413 colrpc.(*Outbox).runWithStream {  }
../sql/colflow/colrpc/outbox.go:222 colrpc.(*Outbox).Run { o.runWithStream(ctx, stream, flowCtxCancel, outboxCtxCancel) }
../sql/colflow/vectorized_flow.go:694 colflow.(*vectorizedFlowCreator).setupRemoteOutputStream.func1 { ) }
../sql/colflow/vectorized_flow.go:1268 colflow.(*vectorizedFlowCreatorHelper).accumulateAsyncComponent.func1.1 { run(ctx, flowCtxCancel) }





ERROR: exit status 2

1 runs completed, 1 failures, over 2m26s
context canceled
Help

See also: How To Investigate a Go Test Failure (internal)
Parameters in this failure:

  • TAGS=deadlock

  • GOFLAGS=-parallel=4

/cc @cockroachdb/server

This test on roachdash | Improve this report!

@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. labels Jan 13, 2022
@blathers-crl blathers-crl bot added the T-server-and-security DB Server & Security label Jan 13, 2022
@knz knz removed the T-server-and-security DB Server & Security label Jan 13, 2022
@blathers-crl blathers-crl bot added the T-sql-queries SQL Queries Team label Jan 13, 2022
@knz
Copy link
Contributor

knz commented Jan 13, 2022

looks like a SQL exec bug

@yuzefovich can you triage this?

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. T-sql-queries SQL Queries Team
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants