Flaky test: TestDockerSwarmSuite/TestSwarmClusterRotateUnlockKey
Author: GordonTheTurtleCreated Aug 6, 2026Updated Sep 17, 2026
Labelsflaky
Description
The test TestDockerSwarmSuite/TestSwarmClusterRotateUnlockKey has been observed failing intermittently in CI. The closed predecessor issue #38885 tracked an earlier occurrence; it has now reappeared.
Evidence
| Run ID | Branch | Job | Result | Timestamp |
|---|---|---|---|---|
| 31034928221 | renovate/aws-sdk-go-v2-monorepo |
test (amd64, snapshotter) / integration-cli (DockerSwarmSuite) | ❌ FAIL (78.93s) | 2026-08-05 |
| 31034581723 | master |
test (amd64, snapshotter) / integration-cli (DockerSwarmSuite) | ✅ PASS | 2026-08-05 |
| 31032733902 | milestone-warn |
test (amd64, snapshotter) / integration-cli (DockerSwarmSuite) | ✅ PASS | 2026-08-05 |
Log excerpt (amd64, job 92406875170)
--- FAIL: TestDockerSwarmSuite/TestSwarmClusterRotateUnlockKey (78.93s)
FAIL amd64.integration-cli.TestDockerSwarmSuite
The test timed out at ~79 seconds. This is consistent with a swarm raft/key-rotation race condition: after rotating the unlock key, waiting for all nodes to propagate the new key can occasionally exceed the test timeout on a loaded CI runner.
Related: #38885 (closed predecessor), #34051 (similar lock/unlock flake)
cc @vvoland Flagged by automated CI flakiness scan.
Source: moby/moby