Return error when AppArmor is unsupported and profile specified #4462
Annotations
3 errors and 1 warning
Generate annotations:
frontend/dockerfile/run.go#L272
=== RUN TestIntegration
run.go:272: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:42303/library/alpine:latest
time="2024-10-03T16:15:35Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:42303"
run.go:272: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:42303/library/busybox:latest
run.go:272: copied docker.io/amd64/debian:bullseye-20230109-slim@sha256:1acb06a0c31fb467eb8327ad361f1091ab265e0bf26d452dea45dcb0c0ea5e75 to local mirror localhost:42863/amd64/bullseye-20230109-slim:latest
--- FAIL: TestIntegration (0.07s)
|
Generate annotations:
frontend/dockerfile/dockerfile_runnetwork_test.go#L192
=== RUN TestIntegration/TestRunGlobalNetwork/worker=oci-rootless-slirp4netns-detachnetns/frontend=client/network.host=granted
=== PAUSE TestIntegration/TestRunGlobalNetwork/worker=oci-rootless-slirp4netns-detachnetns/frontend=client/network.host=granted
=== CONT TestIntegration/TestRunGlobalNetwork/worker=oci-rootless-slirp4netns-detachnetns/frontend=client/network.host=granted
dockerfile_runnetwork_test.go:192:
Error Trace: /src/frontend/dockerfile/dockerfile_runnetwork_test.go:192
/src/util/testutil/integration/run.go:97
/src/util/testutil/integration/run.go:211
Error: Received unexpected error:
process "/bin/sh -c ! nc -z 127.0.0.1 45771" did not complete successfully: exit code: 1
github.com/moby/buildkit/util/stack.Enable
/src/util/stack/stack.go:82
github.com/moby/buildkit/util/grpcerrors.FromGRPC
/src/util/grpcerrors/grpcerrors.go:204
github.com/moby/buildkit/util/grpcerrors.UnaryClientInterceptor
/src/util/grpcerrors/intercept.go:41
google.golang.org/grpc.(*ClientConn).Invoke
/src/vendor/google.golang.org/grpc/call.go:35
github.com/moby/buildkit/api/services/control.(*controlClient).Solve
/src/api/services/control/control_grpc.pb.go:88
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:270
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1695
failed to solve
github.com/moby/buildkit/client.(*Client).solve.func2
/src/client/solve.go:286
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:78
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1695
Test: TestIntegration/TestRunGlobalNetwork/worker=oci-rootless-slirp4netns-detachnetns/frontend=client/network.host=granted
sandbox.go:135: stdout: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2373669941/buildkitd.toml --root /tmp/bktest_buildkitd2349550545 --addr unix:///tmp/bktest_buildkitd2349550545/buildkitd.sock --debug
sandbox.go:135: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2373669941/buildkitd.toml --root /tmp/bktest_buildkitd2349550545 --addr unix:///tmp/bktest_buildkitd2349550545/buildkitd.sock --debug
sandbox.go:138: > StartCmd 2024-10-03 16:15:36.233810545 +0000 UTC m=+1.731940681 /usr/bin/sudo -u #1000 -i -- exec rootlesskit --net=slirp4netns --copy-up=/etc --disable-host-loopback --detach-netns buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config2373669941/buildkitd.toml --root /tmp/bktest_buildkitd2349550545 --addr unix:///tmp/bktest_buildkitd2349550545/buildkitd.sock --debug
sandbox.go:138: warning: GOCOVERDIR not set, no coverage data emitted
sandbox.go:138: time="2024-10-03T16:15:36Z" level=warning msg="failed to get disk size: no such file or directory"
sandbox.go:138: time="2024-10-03T16:15:36Z" level=warning msg="failed to get disk size
|
Test
Process completed with exit code 1.
|
Set up Docker Buildx
Failed to restore: Cache service responded with 429
|
Loading