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

sql/opt/exec/execbuilder: TestExecBuild failed #70153

Closed
cockroach-teamcity opened this issue Sep 13, 2021 · 0 comments
Closed

sql/opt/exec/execbuilder: TestExecBuild failed #70153

cockroach-teamcity opened this issue Sep 13, 2021 · 0 comments
Assignees
Labels
C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot.
Milestone

Comments

@cockroach-teamcity
Copy link
Member

(sql/opt/exec/execbuilder).TestExecBuild failed on release-20.2@15b962ce29424bc5b969679fae9e48881c3eea46:

Fatal error:

panic: pebble: closed

Stack:

goroutine 248719 [running]:
github.com/cockroachdb/pebble.(*DB).Apply(0xc0004eaa80, 0xc0044b4780, 0x81b5544, 0x40c0940, 0xc0063e3800)
	/go/src/github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/pebble/db.go:524 +0x3f5
github.com/cockroachdb/pebble.(*Batch).Commit(...)
	/go/src/github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/pebble/batch.go:727
github.com/cockroachdb/cockroach/pkg/storage.(*pebbleMapBatchWriter).Flush(0xc017cff3e0, 0xc0063e3800, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/storage/disk_map.go:434 +0x48
github.com/cockroachdb/cockroach/pkg/storage.(*pebbleMapBatchWriter).Close(0xc017cff3e0, 0x585bc60, 0xc01d578080, 0x2e91abf, 0xc0063e3800)
	/go/src/github.com/cockroachdb/cockroach/pkg/storage/disk_map.go:449 +0x2b
github.com/cockroachdb/cockroach/pkg/sql/rowcontainer.(*DiskRowContainer).Close(0xc02fcec000, 0x585bc60, 0xc01d578080)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/rowcontainer/disk_row_container.go:390 +0x4c
github.com/cockroachdb/cockroach/pkg/sql/rowcontainer.(*DiskBackedRowContainer).Close(0xc001462300, 0x585bc60, 0xc01d578080)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/rowcontainer/row_container.go:557 +0xfc
github.com/cockroachdb/cockroach/pkg/sql/rowexec.(*sorterBase).close(0xc01401ea00)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/rowexec/sorter.go:122 +0x92
github.com/cockroachdb/cockroach/pkg/sql/rowexec.newSortAllProcessor.func1(0x585bc60, 0xc01d578080, 0x0, 0x0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/rowexec/sorter.go:257 +0x2c
github.com/cockroachdb/cockroach/pkg/sql/execinfra.(*ProcessorBase).moveToTrailingMeta(0xc01401ea00)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/execinfra/processorsbase.go:729 +0x137
github.com/cockroachdb/cockroach/pkg/sql/execinfra.(*ProcessorBase).DrainHelper(0xc01401ea00, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/execinfra/processorsbase.go:657 +0x1dd
github.com/cockroachdb/cockroach/pkg/sql/rowexec.(*sorterBase).Next(0xc01401ea00, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/rowexec/sorter.go:112 +0x16a
github.com/cockroachdb/cockroach/pkg/sql/execinfra.Run(0x585bc60, 0xc01d578080, 0x5888e60, 0xc01401ea00, 0x5836be0, 0xc00f808380)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/execinfra/base.go:170 +0x35
github.com/cockroachdb/cockroach/pkg/sql/execinfra.(*ProcessorBase).Run(0xc01401ea00, 0x585bc60, 0xc01d578080)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/execinfra/processorsbase.go:776 +0x92
github.com/cockroachdb/cockroach/pkg/sql/flowinfra.(*FlowBase).Run(0xc0002e5320, 0x585bc60, 0xc01d578080, 0x4e21428, 0x0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/flowinfra/flow.go:399 +0x2ea
github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).Run(0xc011840dc0, 0xc000525b90, 0xc02bd9a6c0, 0xc007251400, 0xc00705b500, 0xc001195518, 0x0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:417 +0x5d9
github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRun(0xc011840dc0, 0x585bd20, 0xc017cfe120, 0xc001195518, 0xc000525b90, 0xc02bd9a6c0, 0x585e820, 0xc017cfee70, 0x0, 0xc00705b500, ...)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/distsql_running.go:997 +0x1d1
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithDistSQLEngine(0xc001195000, 0x585bd20, 0xc017cfe120, 0xc001195418, 0x3, 0x58dd8a0, 0xc025211aa0, 0xc00166e100, 0xc025211b58, 0x0, ...)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:1002 +0x3c0
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).dispatchToExecutionEngine(0xc001195000, 0x585bd20, 0xc017cfe120, 0xc001195418, 0x58dd8a0, 0xc025211aa0, 0x0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:873 +0x6ff
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmtInOpenState(0xc001195000, 0x585bd20, 0xc017cfe120, 0x587a7e0, 0xc014a8dcc0, 0x49fb22f, 0xca, 0x1, 0x1, 0xc00c62dc80, ...)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:640 +0xbb1
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt(0xc001195000, 0x585bd20, 0xc017cfe120, 0x587a7e0, 0xc014a8dcc0, 0x49fb22f, 0xca, 0x1, 0x1, 0xc00c62dc80, ...)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:114 +0x924
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execPortal(0xc001195000, 0x585bd20, 0xc017cfe090, 0xc0044b4000, 0xc00c52efe0, 0x1, 0x1, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:203 +0x27e
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd.func2(0x0, 0x0, 0x0, 0xbe6802b, 0xed8d19c49, 0x0, 0xc001195000, 0xc00166fa48, 0xc00166fa38, 0xc00166f928, ...)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:1533 +0x458
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd(0xc001195000, 0x585bc60, 0xc0227e3cc0, 0x0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:1535 +0x4ab
github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).run(0xc001195000, 0x585bd20, 0xc0275d1380, 0xc00a8510e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:1391 +0x1f2
github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).initConnEx.func1(0xc001195000, 0x585bd20, 0xc0275d1380, 0xc00e515e60, 0xc0011c3640, 0x0, 0xc02437f070)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/internal.go:175 +0x64
created by github.com/cockroachdb/cockroach/pkg/sql.(*InternalExecutor).initConnEx
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/internal.go:174 +0x2f0

Log preceding fatal error

=== RUN   TestExecBuild/fakedist-disk/geospatial
=== PAUSE TestExecBuild/fakedist-disk/geospatial
=== CONT  TestExecBuild/fakedist-disk/geospatial
--- done: testdata/virtual with config fakedist-disk: 10 tests, 0 failures
--- done: testdata/geospatial with config fakedist-disk: 10 tests, 0 failures
--- total progress: 2492 statements/queries
--- done: testdata/distsql_automatic_stats with config fakedist-disk: 26 tests, 0 failures

More

Parameters:

  • GOFLAGS=-json
make stressrace TESTS=TestExecBuild PKG=./pkg/sql/opt/exec/execbuilder TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Related:

See this test on roachdash
powered by pkg/cmd/internal/issues

@cockroach-teamcity cockroach-teamcity added branch-release-20.2 C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. labels Sep 13, 2021
@cockroach-teamcity cockroach-teamcity added this to the 20.2 milestone Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot.
Projects
None yet
Development

No branches or pull requests

2 participants