Skip to content

Flakiness in github.com/docker/swarmkit/ca_test.TestRequestAndSaveNewCertificatesWithIntermediates #2221

Description

@ijc

This test seems to timeout after 600s about 10-20% of the time in my testing:

$ for i in $(seq -w 1 10) ; do time make test | 2>&1 tee test-master.$i.log; done
...
$ grep -E 'ran too long|^(FAIL|ok  )\     github.com/docker/swarmkit/ca' test-master.*.log
test-master.01.log:ok  	github.com/docker/swarmkit/ca	17.772s
test-master.02.log:ok  	github.com/docker/swarmkit/ca	17.649s
test-master.03.log:ok  	github.com/docker/swarmkit/ca	17.134s
test-master.04.log:ok  	github.com/docker/swarmkit/ca	17.602s
test-master.05.log:ok  	github.com/docker/swarmkit/ca	17.248s
test-master.06.log:ok  	github.com/docker/swarmkit/ca	17.245s
test-master.07.log:ok  	github.com/docker/swarmkit/ca	17.943s
test-master.08.log:*** Test killed with quit: ran too long (10m0s).
test-master.08.log:FAIL	github.com/docker/swarmkit/ca	600.068s
test-master.09.log:ok  	github.com/docker/swarmkit/ca	19.579s
test-master.10.log:*** Test killed with quit: ran too long (10m0s).
test-master.10.log:FAIL	github.com/docker/swarmkit/ca	600.079s

I noticed this because I updated gRPC from v1.0.4 to v1.3.0 and the failure rate jumped to ~50% (which might provide an avenue to easier reproduction).

The failure only seems to occur with a full make test. I haven't been able to reproduce with go test github.com/docker/swarmkit/ca (with and without -race). The -race detector is not triggering.

Failure logs from the above:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions