bash-4.2# ./containerd-stress density
INFO[0000] pulling docker.io/library/alpine:latest
INFO[0001] generating spec from image
rootfs absolute path is required
The error is thrown by functions WithImageConfig (density.go) ---> WithAdditionalGIDs (spec_opts.go)
if c.Snapshotter == "" && c.SnapshotKey == "" {
if !isRootfsAbs(s.Root.Path) {
return errors.New("rootfs absolute path is required")
}
}
By default, this function populateDefaultUnixSpec will set the
*s = Spec{
Version: specs.Version,
Root: &specs.Root{
Path: defaultRootfsPath,
},
defaultRootfsPath = "rootfs" in spec.go
It is obviously not an absolute path
I am very confused about this:
- density test should never pass
- WithImageConfig function is called in many tests in same way, like TestBindLowPortNonRoot in container_linux_test.go. they should not pass too
I think both of two don't meet expectation.
test env:
centos 7
4.15.0-43.generic.x86_64
Please let me know if i make some wrong during the test
The error is thrown by functions WithImageConfig (density.go) ---> WithAdditionalGIDs (spec_opts.go)
By default, this function populateDefaultUnixSpec will set the
defaultRootfsPath = "rootfs"in spec.goIt is obviously not an absolute path
I am very confused about this:
I think both of two don't meet expectation.
test env:
Please let me know if i make some wrong during the test