Bump hcsshim to b3f49c06ffaeef24d09c6c08ec8ec8425a0303e2#40128
Bump hcsshim to b3f49c06ffaeef24d09c6c08ec8ec8425a0303e2#40128vikramhh wants to merge 1 commit intomoby:masterfrom
Conversation
Looks like this needs a more recent version of the containerd/cgroups package to get https://github.com/containerd/cgroups/blob/master/stats/v1/, which was added in containerd/cgroups#100 |
This comment has been minimized.
This comment has been minimized.
553de14 to
fe078eb
Compare
|
@thaJeztah @tiborvass - #40128 is in now. How can I trigger all checks to run on this change so that we could see if there are any build breaks? I recall @andrewhsu telling me that I need a member of maintainers group to do that. |
|
@vikramhh strange; CI should trigger as usual, because you didn't make changes to the Jenkinsfile. Could you try a rebase/force push to see if Jenkins starts? Note that our current CI doesn't run tests with Hyper-V isolation, but I have a "WIP" test branch that adds Windows 1903 and hyper-v isolation to Jenkins; #39846 I'll rebase that PR on top of this one to see if we can confirm the issue is resolved |
|
oh; your branch has a merge-conflict; you need to rebase and re-run |
fe078eb to
bbac75c
Compare
|
@vikramhh I did a quick rebase and re-vendor |
|
oh, I need to fix-up vendoring; |
92eca4c to
c804ec6
Compare
|
opened #40154 to update containerd/cgroups, and based this on top of that one |
344d1a0 to
ba2ff63
Compare
|
Seeing a lot of these failures on both RS1 and RS5; |
|
@kevpar - could you please take a look. |
Ok, so moby/integration-cli/docker_cli_run_test.go Lines 137 to 157 in 1bd184a --workdir=C:\Windows. On Linux, specifying a non-existing directory as workdir, will create the working directory if it's not there. So it could be that something in the code is first trying to change to the directory, and then falling back to creating?
(I assume |
ba2ff63 to
b08093e
Compare
|
Any ETA on when this will be merged in? |
|
@ebalders there's a regression in this hcsshim version, which is currently blocking this from being merged |
|
I am taking a look at this. |
|
@thaJeztah I'm not familiar with the moby Jenkins CI. Is there a command I can run to repro the CI tests locally? |
b08093e to
60c194d
Compare
|
Changed the title to reflect the fact that we had to bump hcsshim further to take in microsoft/hcsshim#737 |
|
Looks like you may have to run |
60c194d to
6658957
Compare
|
@thaJeztah - would you recommend running RS1 tests as well for this? |
|
restarted CI with RS1 enabled as well |
|
@thaJeztah - the RS1 failures seem to be known flaky tests mentioned in #39885 - does this look good to go otherwise? |
|
Yes, if it's ready for review, feel free to move it out of draft |
|
@kolyshkin - Looks like I need two reviewers for getting a merge done. Could you please take a look. |
|
I am seeing the following failure on Windows RS1
and it looks like it's relevant. @vikramhh I suggest you fix this test case to do case-insensitive comparison instead (just lowercase |
i.e. something like diff --git a/integration-cli/docker_cli_run_test.go b/integration-cli/docker_cli_run_test.go
index af9044a92c..4271aba72e 100644
--- a/integration-cli/docker_cli_run_test.go
+++ b/integration-cli/docker_cli_run_test.go
@@ -3945,11 +3945,11 @@ func (s *DockerSuite) TestRunAttachFailedNoLeak(c *testing.T) {
assert.Assert(c, err != nil, "Command should have failed but succeeded with: %s\nContainer 'test' [%+v]: %s\nContainer 'fail' [%+v]: %s", out, err1, out1, err2, out2)
// check for windows error as well
// TODO Windows Post TP5. Fix the error message string
- assert.Assert(c, strings.Contains(out, "port is already allocated") ||
+ assert.Assert(c, strings.Contains(strings.ToLower(out), "port is already allocated") ||
strings.Contains(out, "were not connected because a duplicate name exists") ||
- strings.Contains(out, "The specified port already exists") ||
- strings.Contains(out, "HNS failed with error : Failed to create endpoint") ||
- strings.Contains(out, "HNS failed with error : The object already exists"), fmt.Sprintf("Output: %s", out))
+ strings.Contains(out, "the specified port already exists") ||
+ strings.Contains(out, "hns failed with error : failed to create endpoint") ||
+ strings.Contains(out, "hns failed with error : the object already exists"), fmt.Sprintf("Output: %s", out))
dockerCmd(c, "rm", "-f", "test")
// NGoroutines is not updated right away, so we need to wait before failing |
9b831b6 to
f743ef4
Compare
|
@kolyshkin - Thanks for the review. I have fixed |
kolyshkin
left a comment
There was a problem hiding this comment.
Please see comments above
f743ef4 to
ed32ead
Compare
|
@vikramhh I see you updated the tests, but could you move that change to a separate commit, as requested by @kolyshkin ? |
Among other things, this is required to pull in microsoft/hcsshim#718 which should take care of multiple issues reported to us. Also fixes microsoft/hcsshim#737 which was caught by checks while attempting to bump up hcsshim version. Modifies TestRunAttachFailedNoLeak to do case-insensitive comparison to fix a failure on RS1. Signed-off-by: Vikram bir Singh <[email protected]>
ed32ead to
e09e962
Compare
|
I see this has been merged, any idea when it will be integrated into a Docker release? |
rebased on top of #40154Among other things, this is required to pull in
microsoft/hcsshim#718 which should
take care of multiple issues reported to us.
full diff: microsoft/hcsshim@2226e08...6c7177e
includes:
Note that this is a temporary workaround for a bug in the platform, and will be reverted once that is addressed:
- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)