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: multitenant-upgrade failed #85211

Closed
cockroach-teamcity opened this issue Jul 28, 2022 · 18 comments
Closed

roachtest: multitenant-upgrade failed #85211

cockroach-teamcity opened this issue Jul 28, 2022 · 18 comments
Assignees
Labels
A-observability-inf branch-release-22.1 Used to mark GA and release blockers, technical advisories, and bugs for 22.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.
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Jul 28, 2022

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 7d74b25b21bdabc3b0cc87ced447acc9967eb4d5:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_111004.267631447_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_111004.267631447_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

/cc @cockroachdb/multi-tenant

This test on roachdash | Improve this report!

Jira issue: CRDB-18105

@cockroach-teamcity cockroach-teamcity added branch-release-22.1 Used to mark GA and release blockers, technical advisories, and bugs for 22.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 Jul 28, 2022
@cockroach-teamcity cockroach-teamcity added this to the 22.1 milestone Jul 28, 2022
@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 6f5197c818619f616a5c8e3ddfedc923f1f6bd26:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_112342.835772223_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_112342.835772223_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 60293f9fdb49de3c0e0a7ad4bf49f92cec05b1a5:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_115526.687188179_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_115526.687188179_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 60293f9fdb49de3c0e0a7ad4bf49f92cec05b1a5:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_112113.903616171_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_112113.903616171_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 60293f9fdb49de3c0e0a7ad4bf49f92cec05b1a5:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_182347.931548724_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_182347.931548724_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 60293f9fdb49de3c0e0a7ad4bf49f92cec05b1a5:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_112531.254150666_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_112531.254150666_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ c7b53317f766d7bbdc24ea78f73c49cc21dbfa63:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_111249.735920006_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_111249.735920006_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ eae66256fdc8c6afeb8146d6d4daca25d9ad4118:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_113345.216860443_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_113345.216860443_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ eae66256fdc8c6afeb8146d6d4daca25d9ad4118:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_191927.744153686_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_191927.744153686_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ da1c029daa85869e16b19a73c228546c98830379:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_221816.374916438_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_221816.374916438_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ b924e9dd007645c7f0a258dca7771739d97c2fe7:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_110554.003032159_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_110554.003032159_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@rafiss
Copy link
Collaborator

rafiss commented Aug 4, 2022

cc @abarganier - i think the backport from #84371 didn't fully work, since this test has been failing since the backport was merged.

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 64466efaeeed24c8ef3ba4555cd1f88f18bfe2ba:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_114505.778544588_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_114505.778544588_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@abarganier
Copy link
Contributor

@rafiss thanks for the CC - I'll take a look

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 2d8002a0549c09beb566ae18533e164ed824f2ce:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_110853.261781168_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_110853.261781168_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@abarganier
Copy link
Contributor

abarganier commented Aug 6, 2022

Okay, I found a solution. Thankfully, this is a roachprod issue, not an issue with the tenant certificates themselves.

When backporting tenant-scoped client certificates (#84371), we missed some necessary roachprod changes to setup tenant certificate bundles on roachprod nodes to support running tenants in secure mode.

The fix is to backport #82248 to support roachtests running tenants in secure mode. I've verified that pulling this PR into the release-22.1 branch allows multitenant-upgrade to pass, and as an added bonus, we no longer have to skip the acceptance/multitenant roachtest anymore on release-22.1.

I'll have a backport up & merged by EOD Monday. I am confident we can resolve this release blocker in time for the v22.1.6 release's branch cutoff (at the time of writing, August 10th).

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 2d8002a0549c09beb566ae18533e164ed824f2ce:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_112918.272372450_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_112918.272372450_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

roachtest.multitenant-upgrade failed with artifacts on release-22.1 @ 2d8002a0549c09beb566ae18533e164ed824f2ce:

The test failed on branch=release-22.1, cloud=gce:
test artifacts and logs in: /artifacts/multitenant-upgrade/run_1
	cluster.go:1934,multitenant_utils.go:133,multitenant_utils.go:85,multitenant_upgrade.go:89,multitenant_upgrade.go:35,test_runner.go:883: output in run_114531.116444741_n2_cockroach_cert: ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned: COMMAND_PROBLEM: exit status 1
		(1) attached stack trace
		  -- stack trace:
		  | main.(*clusterImpl).RunE
		  | 	main/pkg/cmd/roachtest/cluster.go:1968
		  | main.(*clusterImpl).Run
		  | 	main/pkg/cmd/roachtest/cluster.go:1932
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.(*tenantNode).recreateClientCertsWithTenantScope
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:133
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.createTenantNode
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_utils.go:85
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.runMultiTenantUpgrade
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:89
		  | github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests.registerMultiTenantUpgrade.func1
		  | 	github.com/cockroachdb/cockroach/pkg/cmd/roachtest/tests/multitenant_upgrade.go:35
		  | main.(*testRunner).runTest.func2
		  | 	main/pkg/cmd/roachtest/test_runner.go:883
		  | runtime.goexit
		  | 	GOROOT/src/runtime/asm_amd64.s:1581
		Wraps: (2) output in run_114531.116444741_n2_cockroach_cert
		Wraps: (3) ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite returned
		  | stderr:
		  | ERROR: connection lost.
		  |
		  | failed to generate client certificate and key: error loading CA certificate certs/ca.crt and key certs/ca.key: open certs/ca.crt: no such file or directory
		  | Failed running "cert create-client"
		  |
		  | stdout:
		Wraps: (4) COMMAND_PROBLEM
		Wraps: (5) Node 2. Command with error:
		  | ``````
		  | ./cockroach cert create-client root --certs-dir=certs --ca-key=certs/ca.key --tenant-scope 1,11,11,12,13,14 --overwrite
		  | ``````
		Wraps: (6) exit status 1
		Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *cluster.WithCommandDetails (4) errors.Cmd (5) *hintdetail.withDetail (6) *exec.ExitError
Help

See: roachtest README

See: How To Investigate (internal)

Same failure on other branches

This test on roachdash | Improve this report!

@abarganier
Copy link
Contributor

Solved via #85719, marking as closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-observability-inf branch-release-22.1 Used to mark GA and release blockers, technical advisories, and bugs for 22.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.
Projects
None yet
Development

No branches or pull requests

3 participants