GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — vendor: moby/sys mountinfo/v0.4.0 by thaJeztah · Pull Request #41458 · moby/moby Conversation
|
|
@kolyshkin @cpuguy83 PTAL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ah, forgot to update x/sys; |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Once moby will switch to golang 1.15 (#40353), I hope we can finally drop |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
187a841 to
b6b850a
Compare
|
updated golang.org/x/sys; PTAL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I opened moby/sys#31 to fix the change in behavior |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
9240e67 to
93950b9
Compare
|
Looks like |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
That's what I mean: #41478 WDYT @cpuguy83 @thaJeztah? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Agreed |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
93950b9 to
f5d72b2
Compare
|
Rebased; pls check if the remaining "stubs" for Windows look ok, or if we should refactor more to not have those in the windows codepath |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Hmm, now when I look at this line... isn't it supposed to be below container.UnmountVolumes?
cc @cpuguy83
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This code was added by commit eaa5192, at that time container.UnmountVolumes was already there (below)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@cpuguy83 could you have a look?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
container.Root is /var/lib/docker/containers/<id>
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
What about volumes? I haven't checked but I suppose volumes are mounted under the container.Root, so it makes sense to have volumes unmounted first. Or am I missing something?
Surely it's a separate issue; just wondering.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
cf79fd5 to
da9703c
Compare
|
@cpuguy83 @kolyshkin PTAL <3 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
da9703c to
e082abf
Compare
e082abf to
90e6b44
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Wasn't sure if we wanted to keep this one backward compatible for now; kept it as a separate commit, but can squash it
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Since mountinfo filters were introduced recently, I don't think they have lots of users so we can just remove those from this wrapper package, and if GetMounts is called with a filter, do panic("use github.com/moby/sys/mountinfo") or something like that.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Or maybe it's time to kill the whole package
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@kolyshkin @cpuguy83 ptal |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Test failure is a flaky test, let me kick it |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
2299f83 to
f8b4800
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I thought I kill all those redundant checks already... Anyway, it's a separate issue.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
So, maybe it's time to kill pkg/mount, rather than provide all those wrappers? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yeah, so my thinking was to keep it for this release (as it's the release in which we deprecate it), then remove for the next (allowing users one release cycle to migrate) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Sebastiaan van Stijn <[email protected]>
full diff: moby/sys@mountinfo/v0.1.3...mountinfo/v0.4.0 > Note that this dependency uses submodules, providing "github.com/moby/sys/mount" > and "github.com/moby/sys/mountinfo". Our vendoring tool (vndr) currently doesn't > support submodules, so we vendor the top-level moby/sys repository (which contains > both) and pick the most recent tag, which could be either `mountinfo/vXXX` or > `mount/vXXX`. github.com/moby/sys/mountinfo v0.4.0 -------------------------------------------------------------------------------- Breaking changes: - `PidMountInfo` is now deprecated and will be removed before v1.0; users should switch to `GetMountsFromReader` Fixes and improvements: - run filter after all fields are parsed - correct handling errors from bufio.Scan - documentation formatting fixes github.com/moby/sys/mountinfo v0.3.1 -------------------------------------------------------------------------------- - mount: use MNT_* flags from golang.org/x/sys/unix on freebsd - various godoc and CI fixes - mountinfo: make GetMountinfoFromReader Linux-specific - Add support for OpenBSD in addition to FreeBSD - mountinfo: use idiomatic naming for fields github.com/moby/sys/mountinfo v0.2.0 -------------------------------------------------------------------------------- Bug fixes: - Fix path unescaping for paths with double quotes Improvements: - Mounted: speed up by adding fast paths using openat2 (Linux-only) and stat - Mounted: relax path requirements (allow relative, non-cleaned paths, symlinks) - Unescape fstype and source fields - Documentation improvements Testing/CI: - Unit tests: exclude darwin - CI: run tests under Fedora 32 to test openat2 - TestGetMounts: fix for Ubuntu build system - Makefile: fix ignoring test failures - CI: add cross build github.com/moby/sys/mount v0.1.1 -------------------------------------------------------------------------------- https://github.com/moby/sys/releases/tag/mount%2Fv0.1.1 Improvements: - RecursiveUnmount: add a fast path (moby#26) - Unmount: improve doc - fix CI linter warning on Windows Testing/CI: - Unit tests: exclude darwin - Makefile: fix ignoring test failures - CI: add cross build Signed-off-by: Sebastiaan van Stijn <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
f8b4800 to
e766361
Compare
|
updated to v0.4.0 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It seems this PR broke the Windows unit tests, and in turn revealed that the Windows CI pipeline passes if the unit tests fail, as it somehow still exits with '0'. I'm looking into this now as I wanted to add a new Windows-specific test. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Arf.. we had a tracking issue for the false reports in #39576, but thought it was fixed; apparently not 😞 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I suspect the fix for #39576 fixed the integration tests, but the unit tests are exiting 1 at one point, but still seeing an exit 0 later, which is what goes to Jenkins. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
opened #41637 to move the parts that were undefined on windows |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.