Bump go-connections for TLS 1.3 support #41084
Conversation
|
OK, so this "fixes" the failures, but it doesn't look right; Why is the daemon it's testing against an older daemon? Is it testing against the pre-installed daemon on the host, instead of the one that was built (and should be used for tests)? |
|
Earlier, I see these debug lines; So it looks like either |
|
So... these are only used in Windows.ps1? Lines 591 to 596 in 07e6b84 Further down, it's used to set Lines 883 to 885 in 07e6b84 Lines 924 to 929 in 07e6b84 And I see this printed in the logs; So for some reason |
|
So, testutil creates the client here; moby/testutil/environment/environment.go Line 39 in 07e6b84 Which uses Lines 45 to 49 in 07e6b84 Which uses Lines 89 to 91 in 07e6b84 Which calls I suspect this may be related docker/go-connections@fb772cf#diff-998ed58b58f0b5f52161ef8e4e27692d @AkihiroSuda could you have a look? |
94ba20f to
1782471
Compare
|
Reverting docker/go-connections#61 and docker/go-connections#58 resolves the problem on Windows, so we need to look at those |
1782471 to
0f08ef6
Compare
This restores the deprecated Transport.Dial, which were removed in commits: - 61039d0 (Replace deprecated Transport.Dial with Transport.DialContext) - fb772cf (Fix problems introduced by 61039d0) While we should still look at removing these, the moby code currently looks to be depending on their behavior. Removing them caused CI to fail, which blocked us from updating to the current version of this package. With those changes, Windows clients in CI were connecting with the wrong daemon, causing CI failures: Failed failed to get info from daemon: Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 exit status 1 FAIL github.com/docker/docker/integration/build 0.219s More details on moby/moby#41042 and moby/moby#41084 This patch restores the deprecated parts, but keeps the new variants as well, so that we can perform the migration in Moby when possible (after which they can be removed again) Signed-off-by: Sebastiaan van Stijn <[email protected]>
This restores the deprecated Transport.Dial, which were removed in commits: - 61039d0 (Replace deprecated Transport.Dial with Transport.DialContext) - fb772cf (Fix problems introduced by 61039d0) While we should still look at removing these, the moby code currently looks to be depending on their behavior. Removing them caused CI to fail, which blocked us from updating to the current version of this package. With those changes, Windows clients in CI were connecting with the wrong daemon, causing CI failures: Failed failed to get info from daemon: Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 exit status 1 FAIL github.com/docker/docker/integration/build 0.219s More details on moby/moby#41042 and moby/moby#41084 This patch restores the deprecated parts, but keeps the new variants as well, so that we can perform the migration in Moby when possible (after which they can be removed again) Signed-off-by: Sebastiaan van Stijn <[email protected]>
0f08ef6 to
f83301c
Compare
This restores the deprecated Transport.Dial, which were removed in commits: - 61039d0 (Replace deprecated Transport.Dial with Transport.DialContext) - fb772cf (Fix problems introduced by 61039d0) While we should still look at removing these, the moby code currently looks to be depending on their behavior. Removing them caused CI to fail, which blocked us from updating to the current version of this package. With those changes, Windows clients in CI were connecting with the wrong daemon, causing CI failures: Failed failed to get info from daemon: Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 exit status 1 FAIL github.com/docker/docker/integration/build 0.219s More details on moby/moby#41042 and moby/moby#41084 This patch restores the deprecated parts, but keeps the new variants as well, so that we can perform the migration in Moby when possible (after which they can be removed again) Signed-off-by: Sebastiaan van Stijn <[email protected]>
f83301c to
323e0d8
Compare
This restores the deprecated Transport.Dial, which were removed in commits: - 61039d0 (Replace deprecated Transport.Dial with Transport.DialContext) - fb772cf (Fix problems introduced by 61039d0) While we should still look at removing these, the moby code currently looks to be depending on their behavior. Removing them caused CI to fail, which blocked us from updating to the current version of this package. With those changes, Windows clients in CI were connecting with the wrong daemon, causing CI failures: Failed failed to get info from daemon: Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 exit status 1 FAIL github.com/docker/docker/integration/build 0.219s More details on moby/moby#41042 and moby/moby#41084 This patch restores the deprecated parts, but keeps the new variants as well, so that we can perform the migration in Moby when possible (after which they can be removed again) Signed-off-by: Sebastiaan van Stijn <[email protected]>
323e0d8 to
5e9d608
Compare
This restores the deprecated Transport.Dial, which were removed in commits: - 61039d0 (Replace deprecated Transport.Dial with Transport.DialContext) - fb772cf (Fix problems introduced by 61039d0) While we should still look at removing these, the moby code currently looks to be depending on their behavior. Removing them caused CI to fail, which blocked us from updating to the current version of this package. With those changes, Windows clients in CI were connecting with the wrong daemon, causing CI failures: Failed failed to get info from daemon: Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 exit status 1 FAIL github.com/docker/docker/integration/build 0.219s More details on moby/moby#41042 and moby/moby#41084 This patch restores the deprecated parts, but keeps the new variants as well, so that we can perform the migration in Moby when possible (after which they can be removed again) Signed-off-by: Sebastiaan van Stijn <[email protected]>
5e9d608 to
f68f795
Compare
This restores the deprecated Transport.Dial, which were removed in commits: - 61039d0 (Replace deprecated Transport.Dial with Transport.DialContext) - fb772cf (Fix problems introduced by 61039d0) While we should still look at removing these, the moby code currently looks to be depending on their behavior. Removing them caused CI to fail, which blocked us from updating to the current version of this package. With those changes, Windows clients in CI were connecting with the wrong daemon, causing CI failures: Failed failed to get info from daemon: Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40 exit status 1 FAIL github.com/docker/docker/integration/build 0.219s More details on moby/moby#41042 and moby/moby#41084 This patch restores the deprecated parts, but keeps the new variants as well, so that we can perform the migration in Moby when possible (after which they can be removed again) Signed-off-by: Sebastiaan van Stijn <[email protected]>
6de2e87 to
1eb8123
Compare
Fixes 40495 Signed-off-by: Sam Whited <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]>
1eb8123 to
8074e7a
Compare
testing #41042 with API version negotiation enabled on the testutil client