Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
59857: acceptance: add verbose logging of events from docker r=rickystewart a=rickystewart

Re-enable flaky tests and add extra logging to try to diagnose the root
cause of cockroachdb#58955.

Release note: None

Co-authored-by: Ricky Stewart <[email protected]>
  • Loading branch information
craig[bot] and rickystewart committed Feb 5, 2021
2 parents 59c4c78 + 05efcbd commit 222cded
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/acceptance/adapter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func TestDockerCSharp(t *testing.T) {
}

func TestDockerJava(t *testing.T) {
skip.WithIssue(t, 58955, "flaky test")
s := log.Scope(t)
defer s.Close(t)

Expand All @@ -70,7 +69,6 @@ func TestDockerElixir(t *testing.T) {
}

func TestDockerNodeJS(t *testing.T) {
skip.WithIssue(t, 58955, "flaky test")
s := log.Scope(t)
defer s.Close(t)

Expand Down Expand Up @@ -99,7 +97,6 @@ func TestDockerPHP(t *testing.T) {
}

func TestDockerPSQL(t *testing.T) {
skip.WithIssue(t, 58955, "flaky test")
s := log.Scope(t)
defer s.Close(t)

Expand Down
4 changes: 4 additions & 0 deletions pkg/acceptance/cluster/dockercluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,10 @@ func (l *DockerCluster) processEvent(ctx context.Context, event events.Message)
l.mu.Lock()
defer l.mu.Unlock()

// Logging everything we get from Docker in service of finding the root
// cause of #58955.
log.Infof(ctx, "processing event from Docker: %+v", event)

// If there's currently a oneshot container, ignore any die messages from
// it because those are expected.
if l.oneshot != nil && event.ID == l.oneshot.id && event.Status == eventDie {
Expand Down

0 comments on commit 222cded

Please sign in to comment.