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: acceptance/version-upgrade failed #58139

Closed
cockroach-teamcity opened this issue Dec 21, 2020 · 3 comments
Closed

roachtest: acceptance/version-upgrade failed #58139

cockroach-teamcity opened this issue Dec 21, 2020 · 3 comments
Labels
C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot.
Milestone

Comments

@cockroach-teamcity
Copy link
Member

(roachtest).acceptance/version-upgrade failed on release-20.1@9c9ccff4f2c5f34d292c908954c39d3ff5f72d79:

		  | NOOP: addColumn -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: dropTable -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: dropColumnNotNull -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: renameIndex -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: renameView -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: dropColumn -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: renameTable -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: dropView -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: insertRow -> error getting random table name: ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | BEGIN
		  | NOOP: renameColumn -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: createTable -> ERROR: current transaction is aborted, commands ignored until end of transaction block (SQLSTATE 25P02)
		  | NOOP: dropSchema -> ERROR: current transaction is aborted, commands ignored until end of transaction block (SQLSTATE 25P02)
		  | NOOP: setColumnType -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: createTableAs -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: dropConstraint -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: renameTable -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: createTableAs -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: insertRow -> error getting random table name: ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: setColumnType -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: setColumnNotNull -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | BEGIN
		  |   CREATE SEQUENCE "seq4";
		  | ***FAIL: ERROR: current transaction is aborted, commands ignored until end of transaction block (SQLSTATE 25P02)
		  | ROLLBACK;
		  | BEGIN
		  | NOOP: renameColumn -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | BEGIN
		  |   CREATE SEQUENCE "seq5";
		  | ***FAIL: ERROR: current transaction is aborted, commands ignored until end of transaction block (SQLSTATE 25P02)
		  | ROLLBACK;
		  | BEGIN
		  |   CREATE TABLE schema6.table7 (col8_0 BYTES NOT NULL, col8_1 REGCLASS NOT NULL, col8_2 TIME NOT NULL, col8_3 REGTYPE NOT NULL, col8_4 REGTYPE NOT NULL, PRIMARY KEY (col8_2 DESC, col8_0, col8_4 DESC, col8_1, col8_3 DESC), UNIQUE (col8_3 ASC, col8_2 DESC), INDEX (col8_1, col8_3 ASC, col8_2 ASC), UNIQUE (col8_1 ASC, col8_4, col8_2, col8_0 DESC, col8_3 DESC), FAMILY (col8_4, col8_0, col8_3, col8_1), FAMILY (col8_2));
		  | ***FAIL: ERROR: cannot create "schema6.table7" because the target database or schema does not exist (SQLSTATE 3F000)
		  | ROLLBACK;
		  | BEGIN
		  | NOOP: dropConstraint -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: dropIndex -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: addColumn -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | BEGIN
		  | NOOP: renameIndex -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: dropColumnDefault -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		  | NOOP: dropSchema -> ERROR: current transaction is aborted, commands ignored until end of transaction block (SQLSTATE 25P02)
		  | NOOP: setColumnNotNull -> ERROR: column "schema_name" does not exist (SQLSTATE 42703)
		Wraps: (5) secondary error attachment
		  | signal: killed
		  | (1) signal: killed
		  | Error types: (1) *exec.ExitError
		Wraps: (6) context canceled
		Error types: (1) *withstack.withStack (2) *safedetails.withSafeDetails (3) *errutil.withMessage (4) *main.withCommandDetails (5) *secondary.withSecondaryError (6) *errors.errorString

More

Artifacts: /acceptance/version-upgrade
Related:

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

@cockroach-teamcity cockroach-teamcity added branch-release-20.1 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 Dec 21, 2020
@cockroach-teamcity cockroach-teamcity added this to the 20.1 milestone Dec 21, 2020
@thoszhang
Copy link
Contributor

@jayshrivastava do you know what's happening here? Since workload and roachtest are pinned to release branches now, I assume this may be a flake rather than a problem due to recent changes.

@jayshrivastava
Copy link
Contributor

@lucy-zhang It seems that the context was cancelled. I haven't seen this before, soI suspect that it's a flake cause by some unexpected state of the cluster. The stack trace says the error came from here:

l.Printf("(note: incoming context was canceled: %s", err)

@thoszhang thoszhang removed the release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. label Dec 22, 2020
@cockroach-teamcity
Copy link
Member Author

(roachtest).acceptance/version-upgrade failed on release-20.1@258a8c5319fb507ecb50c29fdff705f5f0ef7dc7:

The test failed on branch=release-20.1, cloud=gce:
test artifacts and logs in: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/artifacts/acceptance/version-upgrade/run_1
	cluster.go:2198,mixed_version_schemachange.go:46,versionupgrade.go:189,versionupgrade.go:177,acceptance.go:53,acceptance.go:90,test_runner.go:749: output in run_071315.485_n1-4_workload_init_schemachange: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-2564067-1610003423-13-n4cpu4:1-4 -- ./workload init schemachange returned: exit status 20
		(1) attached stack trace
		  | main.(*cluster).RunE
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:2276
		  | main.(*cluster).Run
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:2196
		  | main.uploadAndInitSchemaChangeWorkload.func1
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/mixed_version_schemachange.go:46
		  | main.(*versionUpgradeTest).run
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/versionupgrade.go:189
		  | main.runVersionUpgrade
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/versionupgrade.go:177
		  | main.registerAcceptance.func1
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/acceptance.go:53
		  | main.registerAcceptance.func2
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/acceptance.go:90
		  | main.(*testRunner).runTest.func2
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test_runner.go:749
		  | runtime.goexit
		  | 	/usr/local/go/src/runtime/asm_amd64.s:1374
		Wraps: (2) 2 safe details enclosed
		Wraps: (3) output in run_071315.485_n1-4_workload_init_schemachange
		Wraps: (4) /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-2564067-1610003423-13-n4cpu4:1-4 -- ./workload init schemachange returned
		  | stderr:
		  | Error: COMMAND_PROBLEM: exit status 132
		  | (1) COMMAND_PROBLEM
		  | Wraps: (2) Node 1. Command with error:
		  |   | ```
		  |   | ./workload init schemachange
		  |   | ```
		  | Wraps: (3) exit status 132
		  | Error types: (1) errors.Cmd (2) *hintdetail.withDetail (3) *exec.ExitError
		  |
		  | stdout:
		  | teamcity-2564067-1610003423-13-n4cpu4: ./workload init schemachange
		  |    1: bash: line 1:  4401 Illegal instruction     (core dumped) bash -c "./workload init schemachange"
		  | COMMAND_PROBLEM: exit status 132
		  |    2: bash: line 1:  4497 Illegal instruction     (core dumped) bash -c "./workload init schemachange"
		  | COMMAND_PROBLEM: exit status 132
		  |    3: bash: line 1:  4243 Illegal instruction     (core dumped) bash -c "./workload init schemachange"
		  | COMMAND_PROBLEM: exit status 132
		  |    4: bash: line 1:  4184 Illegal instruction     (core dumped) bash -c "./workload init schemachange"
		  | COMMAND_PROBLEM: exit status 132
		Wraps: (5) exit status 20
		Error types: (1) *withstack.withStack (2) *safedetails.withSafeDetails (3) *errutil.withMessage (4) *main.withCommandDetails (5) *exec.ExitError

More

Artifacts: /acceptance/version-upgrade
Related:

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

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

No branches or pull requests

4 participants