cockroachdb / cockroachdb/cockroach

acceptance: flake in TestDockerCLI_test_connect [`docker pull` gets "Error response from daemon"]

Open
#108,393 2 comments 0 reactions 1 assignee Claimed by @rickystewart View on GitHub
T-dev-inf
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Seen on [this](https://teamcity.cockroachdb.com/viewLog.html?buildId=11239992&tab=buildResultsDiv&buildTypeId=Cockroach_Ci_Tests_Acceptance) build on staging.

```
No pass/skip/fail event found for test
=== RUN TestDockerCLI_test_connect/runMode=docker
--- FAIL: TestDockerCLI_test_connect/runMode=docker (1.20s)
panic: Error response from daemon: unauthorized: authentication required [recovered]
panic: Error response from daemon: unauthorized: authentication required [recovered]
panic: Error response from daemon: unauthorized: authentication required

goroutine 62 [running]:
testing.tRunner.func1.2({0x4c29cc0, 0xc00094ae40})
GOROOT/src/testing/testing.go:1396 +0x24e
testing.tRunner.func1()
GOROOT/src/testing/testing.go:1399 +0x39f
panic({0x4c29cc0, 0xc00094ae40})
GOROOT/src/runtime/panic.go:884 +0x212
github.com/cockroachdb/cockroach/pkg/acceptance/cluster.(*DockerCluster).stopOnPanic(0xc00349e0f0, {0x6406b10, 0xc000082048})
github.com/cockroachdb/cockroach/pkg/acceptance/cluster/pkg/acceptance/cluster/dockercluster.go:254 +0x94
panic({0x4c29cc0, 0xc00094ae40})
GOROOT/src/runtime/panic.go:884 +0x212
github.com/cockroachdb/cockroach/pkg/acceptance/cluster.maybePanic(...)
github.com/cockroachdb/cockroach/pkg/acceptance/cluster/pkg/acceptance/cluster/docker.go:245
github.com/cockroachdb/cockroach/pkg/acceptance/cluster.(*DockerCluster).initCluster(0xc00349e0f0, {0x6406b10, 0xc000082048})
github.com/cockroachdb/cockroach/pkg/acceptance/cluster/pkg/acceptance/cluster/dockercluster.go:359 +0x950
github.com/cockroachdb/cockroach/pkg/acceptance/cluster.(*DockerCluster).Start(0xc00349e0f0, {0x6406b10?, 0xc000082048})
github.com/cockroachdb/cockroach/pkg/acceptance/cluster/pkg/acceptance/cluster/dockercluster.go:656 +0x146
github.com/cockroachdb/cockroach/pkg/acceptance.StartCluster({0x6406b10, 0xc000082048}, 0xc000007d40, {{0xc000cad5a0, 0x1c}, {0x0, 0x0, 0x0}, 0x12a05f200, 0x0, ...})
github.com/cockroachdb/cockroach/pkg/acceptance/util_cluster.go:80 +0x308
github.com/cockroachdb/cockroach/pkg/acceptance.testDocker.func1(0xc000007d40)
github.com/cockroachdb/cockroach/pkg/acceptance/util_docker.go:138 +0x89e
testing.tRunner(0xc000007d40, 0xc000d22a40)
GOROOT/src/testing/testing.go:1446 +0x10b
created by testing.(*T).Run
GOROOT/src/testing/testing.go:1493 +0x35f
```
I'm not sure who is the owner of this, guessing Foundations.

Jira issue: CRDB-30447

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.