Skip to content

Remove open-coding of ParentLayerPathsFlag - #1917

Open
Paul "TBBle" Hampson (TBBle) wants to merge 1 commit into
microsoft:mainfrom
TBBle:use_containerd_mount_parents_api
Open

Remove open-coding of ParentLayerPathsFlag#1917
Paul "TBBle" Hampson (TBBle) wants to merge 1 commit into
microsoft:mainfrom
TBBle:use_containerd_mount_parents_api

Conversation

@TBBle

Copy link
Copy Markdown
Contributor

containerd/mount.Mount provides an API for this now, although in one case we have to create an instance of that from the protobuf-marshelled types.Mount.

Something I stumbled across while poking at the containerd image store support for Windows in moby.

Comment threadcmd/containerd-shim-runhcs-v1/rootfs.go Outdated
@TBBle

Paul "TBBle" Hampson (TBBle) commented Sep 29, 2023

Copy link
Copy Markdown
ContributorAuthor

What is test-windows (windows-2022)'s "Test repo" step doing, that sometimes it passes in 3 minutes, but usually it runs for half an hour with no logs and then gets a runner-disconnection error? It's been happening on-and-off for a few weeks, and no particular changes jumped out at me in the commit log. (Although apparently such failure is considered a CI pass usually, so maybe it's been happening for longer than that.)

@helsaawy

Copy link
Copy Markdown
Contributor

What is test-windows (windows-2022)'s "Test repo" step doing, that sometimes it passes in 3 minutes, but usually it runs for half an hour with no logs and then gets a runner-disconnection error? It's been happening on-and-off for a few weeks, and no particular changes jumped out at me in the commit log. (Although apparently such failure is considered a CI pass usually, so maybe it's been happening for longer than that.)

It's running the repo tests; from what I was able to track down, GitHub is improperly enabling CIMFS in the runners, causing our tests (https://github.com/microsoft/hcsshim/blob/main/pkg/cimfs/cim_test.go) to crash the VM.

@ambarve

Amit Barve (ambarve) commented Oct 2, 2023

Copy link
Copy Markdown
Contributor

What is test-windows (windows-2022)'s "Test repo" step doing, that sometimes it passes in 3 minutes, but usually it runs for half an hour with no logs and then gets a runner-disconnection error? It's been happening on-and-off for a few weeks, and no particular changes jumped out at me in the commit log. (Although apparently such failure is considered a CI pass usually, so maybe it's been happening for longer than that.)

It's running the repo tests; from what I was able to track down, GitHub is improperly enabling CIMFS in the runners, causing our tests (https://github.com/microsoft/hcsshim/blob/main/pkg/cimfs/cim_test.go) to crash the VM.

I wouldn't say Github is improperly enabling CIMFS. The host OS version that Github uses for test runners doesn't have full CIMFS support so running tests on those is causing the crash. I will update the tests to not run on these versions.

containerd/mount.Mount provides an API for this now, although in one
case we have to create an instance of that from the protobuf-marshelled
types.Mount.
Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
Sign up for freeto 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.

4 participants

@TBBle@helsaawy@ambarve@katiewasnothere