Skip to content

Commit

Permalink
test: docker host-gateway
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Oct 16, 2023
1 parent 05af608 commit 173fc5a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ARG GO_VERSION=1.20.8
ARG XX_VERSION=1.2.1

ARG DOCKER_VERSION=24.0.2
ARG DOCKER_VERSION=24.0.6
ARG GOTESTSUM_VERSION=v1.9.0
ARG REGISTRY_VERSION=2.8.0
ARG BUILDKIT_VERSION=v0.11.6
Expand Down
24 changes: 24 additions & 0 deletions tests/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ var buildTests = []func(t *testing.T, sb integration.Sandbox){
testBuildCacheExportNotSupported,
testBuildOCIExportNotSupported,
testBuildMultiPlatformNotSupported,
testDockerHostGateway,
}

func testBuild(t *testing.T, sb integration.Sandbox) {
Expand Down Expand Up @@ -415,3 +416,26 @@ func testBuildMultiPlatformNotSupported(t *testing.T, sb integration.Sandbox) {
require.Error(t, err, string(out))
require.Contains(t, string(out), "Multi-platform build is not supported")
}

func testDockerHostGateway(t *testing.T, sb integration.Sandbox) {
dockerfile := []byte(`
FROM alpine
RUN apk add syslinux
RUN gethostip host.docker.internal | tee /hostip.txt
FROM scratch
COPY --from=0 /hostip.txt /hostip.txt
`)
dir := tmpdir(t, fstest.CreateFile("Dockerfile", dockerfile, 0600))
cmd := buildxCmd(sb, withArgs("build", "--add-host=host.docker.internal:host-gateway", fmt.Sprintf("--output=type=local,dest=%s/result", dir), dir))
out, err := cmd.CombinedOutput()
if !isDockerWorker(sb) {
require.Error(t, err, string(out))
require.Contains(t, string(out), "host-gateway is not supported")
} else {
require.NoError(t, err, string(out))
dt, err := os.ReadFile(dir + "/result/hostip.txt")
require.NoError(t, err)
require.Contains(t, "host.docker.internal", string(dt))

Check failure on line 439 in tests/build.go

View workflow job for this annotation

GitHub Actions / test (docker, ./tests)

Failed: tests/TestIntegration/TestDockerHostGateway/worker=docker

=== RUN TestIntegration/TestDockerHostGateway/worker=docker === PAUSE TestIntegration/TestDockerHostGateway/worker=docker === CONT TestIntegration/TestDockerHostGateway/worker=docker build.go:439: Error Trace: /src/tests/build.go:439 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:91 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:205 Error: "host.docker.internal" does not contain "host.docker.internal 172.18.0.1 AC120001\n" Test: TestIntegration/TestDockerHostGateway/worker=docker sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2023-10-17 00:06:08.434135926 +0000 UTC m=+7.698002689 /usr/bin/dockerd --data-root /tmp/integration2235421142/dx1n5cs7tnyvs/root --exec-root /tmp/dxr/dx1n5cs7tnyvs --pidfile /tmp/integration2235421142/dx1n5cs7tnyvs/docker.pid --containerd-namespace dx1n5cs7tnyvs --containerd-plugins-namespace dx1n5cs7tnyvsp --host unix:///tmp/docker-integration/dx1n5cs7tnyvs.sock --config-file /tmp/integration2235421142/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2023-10-17T00:06:08.476319521Z" level=info msg="Starting up" sandbox.go:131: time="2023-10-17T00:06:08.478187639Z" level=warning msg="could not change group /tmp/docker-integration/dx1n5cs7tnyvs.sock to docker: group docker not found" sandbox.go:131: time="2023-10-17T00:06:08.478323540Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dx1n5cs7tnyvs.sock)" sandbox.go:131: time="2023-10-17T00:06:08.478341940Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2023-10-17T00:06:08.479044747Z" level=info msg="started new containerd process" address=/tmp/dxr/dx1n5cs7tnyvs/containerd/containerd.sock module=libcontainerd pid=4727 sandbox.go:131: time="2023-10-17T00:06:08.498772832Z" level=info msg="starting containerd" revision=7880925980b188f4c97b462f709d0db8e8962aff version=v1.7.3 sandbox.go:131: time="2023-10-17T00:06:08.518652918Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:08.519376925Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:08.519401925Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1 sandbox.go:131: time="2023-10-17T00:06:08.519493226Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:08.519554527Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:08.519731528Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:08.519750729Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured" sandbox.go:131: time="2023-10-17T00:06:08.519765029Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:08.519865730Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /tmp/integration2235421142/dx1n5cs7tnyvs/root/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:08.519881730Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1 sandbox

Check failure on line 439 in tests/build.go

View workflow job for this annotation

GitHub Actions / test (docker\+containerd, ./tests)

Failed: tests/TestIntegration/TestDockerHostGateway/worker=docker+containerd

=== RUN TestIntegration/TestDockerHostGateway/worker=docker+containerd === PAUSE TestIntegration/TestDockerHostGateway/worker=docker+containerd === CONT TestIntegration/TestDockerHostGateway/worker=docker+containerd build.go:439: Error Trace: /src/tests/build.go:439 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:91 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:205 Error: "host.docker.internal" does not contain "host.docker.internal 172.18.0.1 AC120001\n" Test: TestIntegration/TestDockerHostGateway/worker=docker+containerd sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:131: fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz sandbox.go:131: fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz sandbox.go:131: (1/16) Installing mtools (4.0.43-r1) sandbox.go:131: (2/16) Installing libblkid (2.38.1-r8) sandbox.go:131: (3/16) Installing blkid (2.38.1-r8) sandbox.go:131: (4/16) Installing xz-libs (5.4.3-r0) sandbox.go:131: (5/16) Installing zstd-libs (1.5.5-r4) sandbox.go:131: (6/16) Installing kmod (30-r3) sandbox.go:131: (7/16) Installing lddtree (1.27-r0) sandbox.go:131: (8/16) Installing mdev-conf (4.5-r0) sandbox.go:131: (9/16) Installing argon2-libs (20190702-r4) sandbox.go:131: (10/16) Installing device-mapper-libs (2.03.21-r3) sandbox.go:131: (11/16) Installing json-c (0.16-r3) sandbox.go:131: (12/16) Installing libuuid (2.38.1-r8) sandbox.go:131: (13/16) Installing cryptsetup-libs (2.6.1-r3) sandbox.go:131: (14/16) Installing kmod-libs (30-r3) sandbox.go:131: (15/16) Installing mkinitfs (3.8.1-r0) sandbox.go:131: Executing mkinitfs-3.8.1-r0.post-install sandbox.go:131: (16/16) Installing syslinux (6.04_pre1-r13) sandbox.go:131: Executing busybox-1.36.1-r0.trigger sandbox.go:131: OK: 14 MiB in 31 packages sandbox.go:131: host.docker.internal 172.18.0.1 AC120001 sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2023-10-17 00:06:10.563289766 +0000 UTC m=+9.084914080 /usr/bin/dockerd --data-root /tmp/integration3855029724/di40ufknw8dky/root --exec-root /tmp/dxr/di40ufknw8dky --pidfile /tmp/integration3855029724/di40ufknw8dky/docker.pid --containerd-namespace di40ufknw8dky --containerd-plugins-namespace di40ufknw8dkyp --host unix:///tmp/docker-integration/di40ufknw8dky.sock --config-file /tmp/integration3855029724/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2023-10-17T00:06:10.599421322Z" level=info msg="Starting up" sandbox.go:131: time="2023-10-17T00:06:10.600648445Z" level=warning msg="could not change group /tmp/docker-integration/di40ufknw8dky.sock to docker: group docker not found" sandbox.go:131: time="2023-10-17T00:06:10.600869449Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/di40ufknw8dky.sock)" sandbox.go:131: time="2023-10-17T00:06:10.600888749Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2023-10-17T00:06:10.601623862Z" level=info msg="started new containerd process" address=/tmp/dxr/di40ufknw8dky/containerd/containerd.sock module=libcontainerd pid=4732 sandbox.go:131: time="2023-10-17T00:06:10.618004260Z" level=info msg="starting containerd" revision=7880925980b188f4c97b462f709d0db8e8962aff version=v1.7.3 sandbox.go:131: time="2023-10-17T00:06:10.636000987Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:10.637127007Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:10.637159808Z" level=
}
}
9 changes: 9 additions & 0 deletions tests/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,25 @@ func testInspect(t *testing.T, sb integration.Sandbox) {

var name string
var driver string
var hostGatewayIP string
for _, line := range strings.Split(out, "\n") {
if v, ok := strings.CutPrefix(line, "Name:"); ok && name == "" {
name = strings.TrimSpace(v)
}
if v, ok := strings.CutPrefix(line, "Driver:"); ok && driver == "" {
driver = strings.TrimSpace(v)
}
if v, ok := strings.CutPrefix(line, " org.mobyproject.buildkit.worker.moby.host-gateway-ip:"); ok {
hostGatewayIP = strings.TrimSpace(v)
}
}

require.Equal(t, sb.Address(), name)
sbDriver, _, _ := strings.Cut(sb.Name(), "+")
require.Equal(t, sbDriver, driver)
if !isDockerWorker(sb) {
require.NotEmpty(t, hostGatewayIP, "host-gateway-ip worker label should be set with docker driver")

Check failure on line 45 in tests/inspect.go

View workflow job for this annotation

GitHub Actions / test (docker-container, ./tests)

Failed: tests/TestIntegration/TestInspect/worker=docker-container

=== RUN TestIntegration/TestInspect/worker=docker-container === PAUSE TestIntegration/TestInspect/worker=docker-container === CONT TestIntegration/TestInspect/worker=docker-container inspect.go:45: Error Trace: /src/tests/inspect.go:45 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:91 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:205 Error: Should NOT be empty, but was Test: TestIntegration/TestInspect/worker=docker-container Messages: host-gateway-ip worker label should be set with docker driver --- FAIL: TestIntegration/TestInspect/worker=docker-container (4.38s)

Check failure on line 45 in tests/inspect.go

View workflow job for this annotation

GitHub Actions / test (remote, ./tests)

Failed: tests/TestIntegration/TestInspect/worker=remote

=== RUN TestIntegration/TestInspect/worker=remote === PAUSE TestIntegration/TestInspect/worker=remote === CONT TestIntegration/TestInspect/worker=remote inspect.go:45: Error Trace: /src/tests/inspect.go:45 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:91 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:205 Error: Should NOT be empty, but was Test: TestIntegration/TestInspect/worker=remote Messages: host-gateway-ip worker label should be set with docker driver sandbox.go:128: stdout: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1367707801/buildkitd.toml --root /tmp/bktest_buildkitd3048576717 --addr unix:///tmp/bktest_buildkitd3048576717/buildkitd.sock --debug sandbox.go:128: stderr: /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1367707801/buildkitd.toml --root /tmp/bktest_buildkitd3048576717 --addr unix:///tmp/bktest_buildkitd3048576717/buildkitd.sock --debug sandbox.go:131: > StartCmd 2023-10-17 00:05:44.258264948 +0000 UTC m=+6.574405811 /usr/bin/buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config1367707801/buildkitd.toml --root /tmp/bktest_buildkitd3048576717 --addr unix:///tmp/bktest_buildkitd3048576717/buildkitd.sock --debug sandbox.go:131: time="2023-10-17T00:05:44Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:131: time="2023-10-17T00:05:44Z" level=warning msg="using host network as the default" sandbox.go:131: time="2023-10-17T00:05:44Z" level=info msg="found worker \"nsi2t4ekewyeoa4fkfspko3bp\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:5feea556ab82 org.mobyproject.buildkit.worker.network:host org.mobyproject.buildkit.worker.oci.process-mode:sandbox org.mobyproject.buildkit.worker.sandbox:true org.mobyproject.buildkit.worker.selinux.enabled:false org.mobyproject.buildkit.worker.snapshotter:overlayfs], platforms=[linux/amd64 linux/amd64/v2 linux/amd64/v3 linux/amd64/v4 linux/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]" sandbox.go:131: time="2023-10-17T00:05:44Z" level=info msg="found 1 workers, default=\"nsi2t4ekewyeoa4fkfspko3bp\"" sandbox.go:131: time="2023-10-17T00:05:44Z" level=warning msg="currently, only the default worker can be used." sandbox.go:131: time="2023-10-17T00:05:44Z" level=info msg="running server on /tmp/bktest_buildkitd3048576717/buildkitd.sock" --- FAIL: TestIntegration/TestInspect/worker=remote (0.89s)
} else {
require.Empty(t, hostGatewayIP, "host-gateway-ip worker label should not be set with non-docker driver")

Check failure on line 47 in tests/inspect.go

View workflow job for this annotation

GitHub Actions / test (docker, ./tests)

Failed: tests/TestIntegration/TestInspect/worker=docker

=== RUN TestIntegration/TestInspect/worker=docker === PAUSE TestIntegration/TestInspect/worker=docker === CONT TestIntegration/TestInspect/worker=docker inspect.go:47: Error Trace: /src/tests/inspect.go:47 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:91 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:205 Error: Should be empty, but was 172.18.0.1 Test: TestIntegration/TestInspect/worker=docker Messages: host-gateway-ip worker label should not be set with non-docker driver sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2023-10-17 00:06:18.806894948 +0000 UTC m=+18.070761711 /usr/bin/dockerd --data-root /tmp/integration812432875/dvv9qexdsd642/root --exec-root /tmp/dxr/dvv9qexdsd642 --pidfile /tmp/integration812432875/dvv9qexdsd642/docker.pid --containerd-namespace dvv9qexdsd642 --containerd-plugins-namespace dvv9qexdsd642p --host unix:///tmp/docker-integration/dvv9qexdsd642.sock --config-file /tmp/integration812432875/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2023-10-17T00:06:18.848506441Z" level=info msg="Starting up" sandbox.go:131: time="2023-10-17T00:06:18.849522350Z" level=warning msg="could not change group /tmp/docker-integration/dvv9qexdsd642.sock to docker: group docker not found" sandbox.go:131: time="2023-10-17T00:06:18.849645952Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dvv9qexdsd642.sock)" sandbox.go:131: time="2023-10-17T00:06:18.849661852Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2023-10-17T00:06:18.850243057Z" level=info msg="started new containerd process" address=/tmp/dxr/dvv9qexdsd642/containerd/containerd.sock module=libcontainerd pid=5697 sandbox.go:131: time="2023-10-17T00:06:18.864669194Z" level=info msg="starting containerd" revision=7880925980b188f4c97b462f709d0db8e8962aff version=v1.7.3 sandbox.go:131: time="2023-10-17T00:06:18.881108049Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:18.881775755Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:18.881800255Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1 sandbox.go:131: time="2023-10-17T00:06:18.881898256Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:18.881958157Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:18.882137659Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:18.882155359Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured" sandbox.go:131: time="2023-10-17T00:06:18.882169059Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:18.882266960Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /tmp/integration812432875/dvv9qexdsd642/root/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:18.882311160Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"

Check failure on line 47 in tests/inspect.go

View workflow job for this annotation

GitHub Actions / test (docker\+containerd, ./tests)

Failed: tests/TestIntegration/TestInspect/worker=docker+containerd

=== RUN TestIntegration/TestInspect/worker=docker+containerd === PAUSE TestIntegration/TestInspect/worker=docker+containerd === CONT TestIntegration/TestInspect/worker=docker+containerd inspect.go:47: Error Trace: /src/tests/inspect.go:47 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:91 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:205 Error: Should be empty, but was 172.18.0.1 Test: TestIntegration/TestInspect/worker=docker+containerd Messages: host-gateway-ip worker label should not be set with non-docker driver sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2023-10-17 00:06:21.20936133 +0000 UTC m=+19.730985644 /usr/bin/dockerd --data-root /tmp/integration150758249/dras3lno4wl4b/root --exec-root /tmp/dxr/dras3lno4wl4b --pidfile /tmp/integration150758249/dras3lno4wl4b/docker.pid --containerd-namespace dras3lno4wl4b --containerd-plugins-namespace dras3lno4wl4bp --host unix:///tmp/docker-integration/dras3lno4wl4b.sock --config-file /tmp/integration150758249/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2023-10-17T00:06:21.249449461Z" level=info msg="Starting up" sandbox.go:131: time="2023-10-17T00:06:21.250758884Z" level=warning msg="could not change group /tmp/docker-integration/dras3lno4wl4b.sock to docker: group docker not found" sandbox.go:131: time="2023-10-17T00:06:21.250963588Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dras3lno4wl4b.sock)" sandbox.go:131: time="2023-10-17T00:06:21.250981788Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2023-10-17T00:06:21.251685801Z" level=info msg="started new containerd process" address=/tmp/dxr/dras3lno4wl4b/containerd/containerd.sock module=libcontainerd pid=5600 sandbox.go:131: time="2023-10-17T00:06:21.268494007Z" level=info msg="starting containerd" revision=7880925980b188f4c97b462f709d0db8e8962aff version=v1.7.3 sandbox.go:131: time="2023-10-17T00:06:21.285985226Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:21.286992544Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:21.287051645Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1 sandbox.go:131: time="2023-10-17T00:06:21.287208048Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:21.287295050Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:21.287555755Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:21.287602555Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured" sandbox.go:131: time="2023-10-17T00:06:21.287623456Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:21.287763358Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /tmp/integration150758249/dras3lno4wl4b/root/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-17T00:06:21.287798459Z" level=info msg="loadin
}
}

0 comments on commit 173fc5a

Please sign in to comment.