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

roachtest: sqlsmith/setup=seed/setting=no-mutations failed #51103

Closed
cockroach-teamcity opened this issue Jul 7, 2020 · 1 comment · Fixed by #51120
Closed

roachtest: sqlsmith/setup=seed/setting=no-mutations failed #51103

cockroach-teamcity opened this issue Jul 7, 2020 · 1 comment · Fixed by #51120
Labels
C-test-failure Broken test (automatically or manually discovered). O-roachtest 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.
Milestone

Comments

@cockroach-teamcity
Copy link
Member

(roachtest).sqlsmith/setup=seed/setting=no-mutations failed on provisional_202007071743_v20.2.0-alpha.2@0b6e118bc1bcba4cfb4fc6c660153ec5be3989e8:

The test failed on branch=provisional_202007071743_v20.2.0-alpha.2, cloud=gce:
test artifacts and logs in: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/sqlsmith/setup=seed/setting=no-mutations/run_1
	sqlsmith.go:169,sqlsmith.go:199,test_runner.go:757: error: pq: internal error: runtime error: index out of range [0] with length 0
		stmt:
		SELECT
			tab_11251._jsonb AS col_26983,
			NULL AS col_26984,
			st_azimuth('0101000020E6100000000000000000F87F000000000000F87F':::GEOGRAPHY::GEOGRAPHY, '0101000020E6100000000000000000F03F000000000000F03F':::GEOGRAPHY::GEOGRAPHY)::FLOAT8
				AS col_26985
		FROM
			defaultdb.public.seed@[0] AS tab_11251
		WHERE
			tab_11251._bool;

More

Artifacts: /sqlsmith/setup=seed/setting=no-mutations
Related:

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

@cockroach-teamcity cockroach-teamcity added branch-provisional_202007071743_v20.2.0-alpha.2 C-test-failure Broken test (automatically or manually discovered). O-roachtest 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. labels Jul 7, 2020
@cockroach-teamcity cockroach-teamcity added this to the 20.2 milestone Jul 7, 2020
@yuzefovich
Copy link
Member

yuzefovich commented Jul 8, 2020

ERROR: internal error: runtime error: index out of range [0] with length 0
SQLSTATE: XX000
DETAIL: stack trace:
github.com/cockroachdb/cockroach/pkg/util/errorutil/catch.go:29: ShouldCatch()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/builder.go:164: func1()
runtime/panic.go:969: gopanic()
runtime/panic.go:88: goPanicIndex()
github.com/cockroachdb/cockroach/vendor/github.com/twpayne/go-geom/point.go:96: X()
github.com/cockroachdb/cockroach/pkg/geo/geogfn/azimuth.go:52: Azimuth()
github.com/cockroachdb/cockroach/pkg/sql/sem/builtins/geo_builtins.go:1899: func302()
github.com/cockroachdb/cockroach/pkg/sql/sem/builtins/geo_builtins.go:3376: func1()
github.com/cockroachdb/cockroach/pkg/sql/sem/tree/eval.go:3707: Eval()
github.com/cockroachdb/cockroach/pkg/sql/opt/norm/fold_constants_funcs.go:565: FoldFunction()
github.com/cockroachdb/cockroach/pkg/sql/opt/norm/factory.og.go:15958: ConstructFunction()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/scalar.go:501: buildFunction()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/scalar.go:289: buildScalar()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/project.go:171: buildProjectionList()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:1063: buildSelectClause()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:982: buildSelectStmtWithoutParens()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:955: func1()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/with.go:29: processWiths()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/select.go:954: buildSelect()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/builder.go:248: buildStmt()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/builder.go:212: buildStmtAtRoot()
github.com/cockroachdb/cockroach/pkg/sql/opt/optbuilder/builder.go:183: Build()
github.com/cockroachdb/cockroach/pkg/sql/plan_opt.go:489: buildExecMemo()
github.com/cockroachdb/cockroach/pkg/sql/plan_opt.go:173: makeOptimizerPlan()
github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:839: makeExecPlan()
github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:728: dispatchToExecutionEngine()
github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:501: execStmtInOpenState()
github.com/cockroachdb/cockroach/pkg/sql/conn_executor_exec.go:101: execStmt()
github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:1368: execCmd()
github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:1297: run()
github.com/cockroachdb/cockroach/pkg/sql/conn_executor.go:491: ServeConn()
github.com/cockroachdb/cockroach/pkg/sql/pgwire/conn.go:595: func1()

cc @otan @rytaft

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-roachtest 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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants