Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestRunBindMountPropagation fails locally (mountpoint \"/\" doesn't have optional field neither of [shared:]") #3404

Open
apostasie opened this issue Sep 3, 2024 · 4 comments
Labels
area/ci e.g., CI failure bug Something isn't working

Comments

@apostasie
Copy link
Contributor

Description

On latest lima:

--- FAIL: TestRunBindMountPropagation (0.10s)
    container_run_mount_linux_test.go:561: Running test propagation case rshared
    container_run_mount_linux_test.go:595: assertion failed: res.ExitCode is not exitCode:
        Command:  /usr/local/bin/nerdctl --namespace=nerdctl-test run -d --privileged --name nerdctl-testrunbindmountpropagation-rshared --mount type=bind,src=/tmp/TestRunBindMountPropagation1494058263/001/rw3593147632,target=/mnt1,bind-propagation=rshared ghcr.io/stargz-containers/alpine:3.13-org top
        ExitCode: 1
        Error:    exit status 1
        Stdout:
        Stderr:   time="2024-09-03T13:55:12-07:00" level=fatal msg="failed to parse volume options (\"bind\", \"/tmp/TestRunBindMountPropagation1494058263/001/rw3593147632\", \"rshared,rbind\"): mountpoint \"/\" doesn't have optional field neither of [shared:]"

@AkihiroSuda since this (apparently) involve Lima, do you have an opinion on what is going on?

Thanks.

Steps to reproduce the issue

No response

Describe the results you received and expected

na

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

@apostasie apostasie added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Sep 3, 2024
@AkihiroSuda AkihiroSuda added bug Something isn't working area/ci e.g., CI failure and removed kind/unconfirmed-bug-claim Unconfirmed bug claim labels Sep 4, 2024
@AkihiroSuda AkihiroSuda changed the title TestRunBindMountPropagation fails locally TestRunBindMountPropagation fails locally (mountpoint \"/\" doesn't have optional field neither of [shared:]") Sep 4, 2024
@AkihiroSuda
Copy link
Member

The mountpoint \"/\" doesn't have optional field neither of [shared:] check seems added in:

cc @ktock

@apostasie
Copy link
Contributor Author

Should this block 2.0?

@AkihiroSuda
Copy link
Member

Should this block 2.0?

Probably too much to block 2.0

@apostasie
Copy link
Contributor Author

@ktock would you have any pointer / insight on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci e.g., CI failure bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants