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=tpcc/setting=no-mutations failed #63443

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

roachtest: sqlsmith/setup=tpcc/setting=no-mutations failed #63443

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=tpcc/setting=no-mutations 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=tpcc/setting=no-mutations/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 [3] with length 2
		stmt:
		SELECT
			var_pop('-Infinity':::DECIMAL::INT8)::DECIMAL AS col_389, '&':::STRING AS col_390
		FROM
			defaultdb.public.warehouse@primary AS tab_173
		WHERE
			true
		GROUP BY
			tab_173.w_state, tab_173.w_street_1, tab_173.w_city, tab_173.crdb_internal_mvcc_timestamp
		ORDER BY
			tab_173.crdb_internal_mvcc_timestamp,
			tab_173.crdb_internal_mvcc_timestamp ASC,
			tab_173.crdb_internal_mvcc_timestamp DESC
		LIMIT
			13:::INT8;
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=tpcc/setting=no-mutations" \
  --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 #63446 Apr 11, 2021
@craig craig bot closed this as completed in 3e54362 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