Skip to content

runc@master failing with Moby CI: TestTemplatedConfig: Options:[rbind ro]}: mount destination templated_config not absolute: unknown #2928

@AkihiroSuda

Description

@AkihiroSuda
--- FAIL: TestTemplatedConfig (61.70s)

[2021-05-01T17:09:25.901Z]     config_test.go:307: timeout hit after 1m0s: waiting for tasks to enter run state. task failed with error: starting container failed: failed to create shim: OCI runtime create failed: invalid mount {Destination:templated_config Type:bind Source:/go/src/github.com/docker/docker/bundles/test-integration/TestTemplatedConfig/d1fa52d447d48/root/containers/301097d0bae895342d137fd9217923474fddc25e6f06af4e3c3bd5a17cb5283c/mounts/secrets/l447q2mi60ayqntjg5bajt1hd Options:[rbind ro]}: mount destination templated_config not absolute: unknown

moby/moby#42308
(moby/moby@59751bb , runc @ d279ebd)

Regression in 2192670 ( #2917 )

libct/configs/validate: validate mounts
    
Add a check that mount destination is absolute (as per OCI spec).

OCI spec: https://github.com/opencontainers/runtime-spec/blob/master/config.md#mounts

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions