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=rand-tables/setting=no-ddl failed #63438

Closed
cockroach-teamcity opened this issue Apr 10, 2021 · 0 comments · Fixed by #63446
Closed

roachtest: sqlsmith/setup=rand-tables/setting=no-ddl failed #63438

cockroach-teamcity opened this issue Apr 10, 2021 · 0 comments · Fixed by #63446
Labels
branch-master Failures and bugs on the master branch. 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.

Comments

@cockroach-teamcity
Copy link
Member

roachtest.sqlsmith/setup=rand-tables/setting=no-ddl failed with artifacts on master @ 71a023f9212cf1285a4475ed85d5ab6eefa9bdf7:

The test failed on branch=master, cloud=gce:
test artifacts and logs in: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/sqlsmith/setup=rand-tables/setting=no-ddl/run_1
	sqlsmith.go:226,sqlsmith.go:262,test_runner.go:793: error: pq: internal error: unexpected error from the vectorized engine: runtime error: index out of range [1] with length 1
		stmt:
		SELECT
			count(*) AS col_5926
		FROM
			defaultdb.public.table1@[0] AS tab_2930
		GROUP BY
			tab_2930.col1_0, tab_2930.col1_7
		ORDER BY
			tab_2930.col1_7 DESC, tab_2930.col1_7 DESC;
Reproduce

To reproduce, try:

#!/usr/bin/env bash
#!/bin/bash
set -euxo pipefail

# NB: invoke this script with "caffeinate" on OSX and/or linux to
# prevent runs failing due to standby.

sha=$(git rev-parse HEAD)

if [ ! -f roachtest.$sha ]; then
	./build/builder.sh mkrelease amd64-linux-gnu bin/{roach{prod,test},workload}
	mv -f bin.docker_amd64/roachprod roachprod.$sha
	mv -f bin.docker_amd64/workload workload.$sha
	mv -f bin.docker_amd64/roachtest roachtest.$sha
fi

if [ ! -f cockroach.$sha ]; then
	./build/builder.sh mkrelease amd64-linux-gnu
	mv cockroach-linux-2.6.32-gnu-amd64 cockroach.$sha
fi

# NB: consider adding --debug if it is useful to let the clusters
# for failed tests survive.
./roachtest.$sha run "sqlsmith/setup=rand-tables/setting=no-ddl" \
  --port 8080 --count 10 --cpu-quota 500 \
  --roachprod roachprod.${sha} --workload workload.${sha} \
  --cockroach ./cockroach.$sha \
  --artifacts artifacts.$sha | tee roachtest-stress.${sha}

Same failure on other branches

/cc @cockroachdb/sql-queries
Internal log

no author provided

See 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-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 Apr 10, 2021
@craig craig bot closed this as completed in 3e54362 Apr 11, 2021
@craig craig bot closed this as completed in #63446 Apr 11, 2021
@mgartner mgartner moved this to Done in SQL Queries Jul 24, 2023
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-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
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant