Skip to content

cli: cockroach quit reports transient RPC error during server shutdown, confuses acceptance tests #25870

@couchand

Description

@couchand

During a merge to master build for #25863 (which doesn't seem to have related changes), TestDockerCLI/test_audit_log.tcl flaked: https://teamcity.cockroachdb.com/viewLog.html?tab=buildLog&logTab=tree&filter=debug&expand=all&buildId=675599&_focus=1873

There seems to be an error encountered during shutdown of the test. The end of the output is:

.180523 18:29:23.153390098 EXPECT TEST: INTERRUPT TO FOREGROUND PROCESS

Error: interrupted
Failed running "sql"

.180523 18:29:23.561740353 EXPECT TEST: BEGIN STOP SERVER
graceful shutdown failed: rpc error: code = Internal desc = grpc: compressed flag set with identity or empty encoding; proceeding with hard shutdown
Error: unable to connect or connection lost.

Please check the address and credentials such as certificates (if attempting to
communicate with a secure cluster).

hard shutdown failed: Failed to connect to the node: error sending drain request: rpc error: code = Canceled desc = grpc: the client connection is closing
Failed running "quit"
child process exited abnormally
    while executing
"system "$argv quit""
    (procedure "stop_server" line 4)
    invoked from within
"stop_server $argv"
    (file "/go/src/github.com/cockroachdb/cockroach/cli/interactive_tests/test_audit_log.tcl" line 87)
non-zero exit code: 1
    	cli_test.go:92: non-zero exit code: 1

Metadata

Metadata

Labels

C-test-failureBroken test (automatically or manually discovered).S-3-productivitySevere issues that impede the productivity of CockroachDB developers.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions