Update go-winio package to latest version#42307
Update go-winio package to latest version#42307awmirantis wants to merge 1 commit intomoby:masterfrom awmirantis:bump-go-winio-version
Conversation
|
Heads up; this will conflict with #42270 (once merged) |
|
Looks like there's a breaking change in this version of go-winio Looking at the diff since v0.4.16 (which is green in #42270); microsoft/go-winio@v0.4.16...v0.4.18 I think this is the one that causes the failure; microsoft/go-winio#185 Looks like that change requires an updated version of hcsshim (with microsoft/hcsshim#947) and containerd as well |
|
Hmm, this one's going to be a little tricky to unwind: The removal of the forked go-winio/backuptar (in containerd) where this compile failure is happening (containerd/containerd#4395) is only in containerd 1.5.0. The API change in question is in go-winio 0.4.17, (microsoft/go-winio@bfd5468) which is also where the fix I assume we're trying to get (microsoft/go-winio@83fd176) shipped. hcsshim itself hit this problem in its integration test suite (microsoft/hcsshim#946) and ended up pulling containerd 1.5 beta in order to unblock go-winio upgrades: microsoft/hcsshim#946
where "that deduplicated" (sic) means containerd/containerd#4395. hcsshim itself isn't using these APIs, but newer containerd I'm actually somewhat surprised this has occurred, because I thought moby/moby didn't use this code, providing its own GraphDriver instead, Anyway, some options:
Of those, I would prefer the new containerd 1.4.x release. containerd/containerd#4395 was originally prepared and tested against containerd 1.4.0-beta.2 (it just took a while to be merged) so I expect no problems with doing that. It's also the most-pain to co-ordinate though. A new hcsshim 0.4.x release would be my second preference, but again, takes co-ordination. The other options can be done unilaterally here. |
|
@TBBle I'll be working on option 3 (Revert the two FileInfo commits in go-winio, release a new 0.4.x version, and then unrevert them to start the 0.5 series) today. |
|
for easier finding: pull request for the above is microsoft/go-winio#204 |
|
@awmirantis could you squash the commits? |
Signed-off-by: Adam Williams <awilliams@mirantis.com>
|
continued in #42327 |
Signed-off-by: Adam Williams awilliams@mirantis.com
Update Microsoft/go-winio to latest version. A change in this version is needed for a future fix to using docker data root on a VHDX.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)