Skip to content

Bump swarmkit to 24fb4cfe8af56803640180c5592bf32da732ced2#40309

Merged
thaJeztah merged 1 commit intomoby:masterfrom
dperny:bump-swarmkit
Jan 9, 2020
Merged

Bump swarmkit to 24fb4cfe8af56803640180c5592bf32da732ced2#40309
thaJeztah merged 1 commit intomoby:masterfrom
dperny:bump-swarmkit

Conversation

@dperny
Copy link
Contributor

@dperny dperny commented Dec 13, 2019

Full diff: docker/[email protected]

changes included:

Notably, because of moby/swarmkit#2890, a change to integration tests is needed. This change has been documented in a comment.

Supercedes #39953

/cc @thaJeztah

@thaJeztah
Copy link
Member

@dperny there's also #39966, which updates the test (that commit is actually already cherry-picked into release branches, so if it's the same change, I slightly prefer having that change instead of a new variation).

However, that PR kept failing on the swarmkit changes; did anything change in swarmkit to fix that (and do we know what was fixed/changed?)

@dperny
Copy link
Contributor Author

dperny commented Dec 30, 2019

I'm 80% sure the test failure is in TestSwarmVolumePlugin.

@dperny
Copy link
Contributor Author

dperny commented Dec 30, 2019

I'm 100% sure the problem is TestDockerSwarmSuite/TestSwarmVolumePlugin

@dperny
Copy link
Contributor Author

dperny commented Dec 30, 2019

moby/swarmkit#2920

@thaJeztah
Copy link
Member

@dperny moby/swarmkit#2920 was merged, could you

@dperny dperny changed the title Bump swarmkit to d509e31c1fda18ef8224ffd19a34b4aaaff7c4da Bump swarmkit to 24fb4cfe8af56803640180c5592bf32da732ced2 Jan 2, 2020
@dperny
Copy link
Contributor Author

dperny commented Jan 2, 2020

@thaJeztah I fixed it. Additionally, I hand-copied the test changes from #39966.

@dperny dperny force-pushed the bump-swarmkit branch 2 times, most recently from 05e7f2e to 8356566 Compare January 6, 2020 16:40
Bumps the vendoring of github.com/docker/swarmkit to the above commit,
which is the current master at commit time.

Most notably, this includes a change making the ingress network respect
the default address pool. Because of this change, a change to network
integration tests was needed.

Signed-off-by: Drew Erny <[email protected]>
@dperny
Copy link
Contributor Author

dperny commented Jan 7, 2020

I think there may be some flakiness, as the last force push succeeded, but the previous on did not. I'm going to force a few more times to verify that it was a transient issue and not a flaky test.

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM left a comment (not a blocker, but perhaps good to look at for a follow-up)

poll.WaitOn(t, swarm.NoTasksForService(ctx, client, serviceID2), swarm.ServicePoll)

err = client.NetworkRemove(context.Background(), overlayID)
for retry := 0; retry < 5; retry++ {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it's ok "for now", but wondering if:

  • this should come handy in the integration/internal/network package
  • is needed in the actual daemon (as this would likely not be something only occurring in tests)

@thaJeztah thaJeztah merged commit d641569 into moby:master Jan 9, 2020
@thaJeztah thaJeztah added this to the 20.03.0 milestone Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants