Skip to content

Update hcsshim vendor to v0.8.20#42611

Merged
thaJeztah merged 1 commit into
moby:masterfrom
kevpar:update-hcsshim
Jul 13, 2021
Merged

Update hcsshim vendor to v0.8.20#42611
thaJeztah merged 1 commit into
moby:masterfrom
kevpar:update-hcsshim

Conversation

@kevpar

@kevpar kevpar commented Jul 8, 2021

Copy link
Copy Markdown
Contributor

Full set of changes: microsoft/hcsshim@v0.8.16...v0.8.20

Importantly brings in microsoft/hcsshim#1065,
which fixes #42610.

Signed-off-by: Kevin Parsons [email protected]

@thaJeztah

thaJeztah commented Jul 9, 2021

Copy link
Copy Markdown
Member

I think you used vndr directly to revendor. We currently had to wrap it in a script to ignore a local copy of golang's archive package. Can you try running hack/vendor.sh instead (or revert the changes in vendor/archive if that's faster)

[2021-07-09T00:26:33.174Z] The result of vndr differs
[2021-07-09T00:26:33.174Z] 
[2021-07-09T00:26:33.174Z] ?? vendor/archive/tar/example_test.go
[2021-07-09T00:26:33.174Z] ?? vendor/archive/tar/reader_test.go
[2021-07-09T00:26:33.174Z] ?? vendor/archive/tar/strconv_test.go
[2021-07-09T00:26:33.174Z] ?? vendor/archive/tar/tar_test.go
[2021-07-09T00:26:33.174Z] ?? vendor/archive/tar/testdata/
[2021-07-09T00:26:33.174Z] ?? vendor/archive/tar/writer_test.go

We should update the vendor-check to update the Please vendor your package with github.com/LK4D4/vndr message accordingly; in

echo 'Please vendor your package with github.com/LK4D4/vndr.'

should be something like:

Please vendor your package with hack/vendor.sh

@thaJeztah

Copy link
Copy Markdown
Member

Otherwise LGTM.

Assuming we want this to be included in a docker 20.10 release (which currently uses the moby branch on hcsshim, I also opened microsoft/hcsshim#1066, which back ports the fix mentioned to that branch

@thaJeztah

Copy link
Copy Markdown
Member

also prepared #42613 for 20.10

@thaJeztah thaJeztah added this to the 21.xx milestone Jul 9, 2021
@kevpar

kevpar commented Jul 9, 2021

Copy link
Copy Markdown
Contributor Author

@thaJeztah I did not realize there was a separate vendor script, I'll try that :)

@thaJeztah

Copy link
Copy Markdown
Member

Yes, it's a bit unfortunate that we (again) had to fork the archive package, due to a security issue in the archive package (when using under specific conditions); we should try to get rid of it (more details in #42402)

Full set of changes: microsoft/hcsshim@v0.8.16...v0.8.20

Importantly brings in microsoft/hcsshim#1065,
which fixes moby#42610.

Signed-off-by: Kevin Parsons <[email protected]>
@kevpar

kevpar commented Jul 13, 2021

Copy link
Copy Markdown
Contributor Author

Yes, it's a bit unfortunate that we (again) had to fork the archive package, due to a security issue in the archive package (when using under specific conditions); we should try to get rid of it (more details in #42402)

I've created a new PR to fix the vendor error message and also allow the vendor script to work on Windows: #42634

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks for updating!

@cpuguy83 cpuguy83 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@kevpar

kevpar commented Jul 13, 2021

Copy link
Copy Markdown
Contributor Author

Test TestNetworkDBIslands in the CI seems to be failing with lots of errors like dial tcp 172.17.0.2:10033: connect: connection refused. This seems unrelated to the changes here.

@thaJeztah

Copy link
Copy Markdown
Member

Yes, CI is super flaky since libnetwork was moved into this repository (it was flaky in that repository, but becomes more apparent here). Some PR's in flight to try to improve the situation (#42625, #42594)

@thaJeztah

Copy link
Copy Markdown
Member

Failure on arm64 is a known flaky test: #42582

=== FAIL: libnetwork/drivers/bridge TestCreateParallel (0.28s)
time="2021-07-13T20:05:30Z" level=warning msg="bridge store not initialized. kv object docker/network/v1.0/bridge/net31/ is not added to the store"
time="2021-07-13T20:05:30Z" level=warning msg="bridge store not initialized. kv object docker/network/v1.0/bridge/net3/ is not added to the store"
    bridge_test.go:1133: Success should be 1 instead: 2

everything else is green

@thaJeztah
thaJeztah merged commit a4ee738 into moby:master Jul 13, 2021
@kevpar

kevpar commented Jul 13, 2021

Copy link
Copy Markdown
Contributor Author

Thanks @thaJeztah! :)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: If HcsShutdownComputeSystem returns ERROR_PROC_NOT_FOUND, moby leaks the container

3 participants