buildkit #247
Annotations
2 errors
client/client_test.go#L964
=== RUN TestIntegration/TestSecurityModeErrors/worker=oci-rootless/secmode=sandbox
=== PAUSE TestIntegration/TestSecurityModeErrors/worker=oci-rootless/secmode=sandbox
=== CONT TestIntegration/TestSecurityModeErrors/worker=oci-rootless/secmode=sandbox
client_test.go:964:
Error Trace: /src/client/client_test.go:964
/src/util/testutil/integration/run.go:88
/src/util/testutil/integration/run.go:197
Error: "failed to receive status: rpc error: code = Canceled desc = context canceled" does not contain "security.insecure is not allowed"
Test: TestIntegration/TestSecurityModeErrors/worker=oci-rootless/secmode=sandbox
sandbox.go:278: stdout: /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config851580646/buildkitd.toml --root /tmp/bktest_buildkitd2503593873 --addr unix:///tmp/bktest_buildkitd2503593873/buildkitd.sock --debug
sandbox.go:278: stderr: /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config851580646/buildkitd.toml --root /tmp/bktest_buildkitd2503593873 --addr unix:///tmp/bktest_buildkitd2503593873/buildkitd.sock --debug
sandbox.go:281: > startCmd 2023-12-14 10:10:08.285387429 +0000 UTC m=+90.627145355 /usr/bin/sudo -u #1000 -i -- exec rootlesskit buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config851580646/buildkitd.toml --root /tmp/bktest_buildkitd2503593873 --addr unix:///tmp/bktest_buildkitd2503593873/buildkitd.sock --debug
sandbox.go:281: time="2023-12-14T10:10:08Z" level=info msg="auto snapshotter: using overlayfs"
sandbox.go:281: time="2023-12-14T10:10:08Z" level=debug msg="running in rootless mode"
sandbox.go:281: time="2023-12-14T10:10:08Z" level=info msg="found worker \"p9jiocd9dqeyko3phz49hgoer\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:50d88f4ab277 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/arm64 linux/riscv64 linux/ppc64le linux/s390x linux/386 linux/mips64le linux/mips64 linux/arm/v7 linux/arm/v6]"
sandbox.go:281: time="2023-12-14T10:10:08Z" level=info msg="found 1 workers, default=\"p9jiocd9dqeyko3phz49hgoer\""
sandbox.go:281: time="2023-12-14T10:10:08Z" level=warning msg="currently, only the default worker can be used."
sandbox.go:281: time="2023-12-14T10:10:08Z" level=info msg="running server on /tmp/bktest_buildkitd2503593873/buildkitd.sock"
sandbox.go:281: time="2023-12-14T10:10:08Z" level=error msg="/moby.buildkit.v1.Control/Solve returned error: rpc error: code = Unknown desc = granting entitlement security.insecure is not allowed by build daemon configuration"
sandbox.go:281: granting entitlement security.insecure is not allowed by build daemon configuration
sandbox.go:281: 26860 71a8a40 buildkitd --oci-worker=true --containerd-worker=false --oci-worker-gc=false --oci-worker-labels=org.mobyproject.buildkit.worker.sandbox=true --config=/tmp/bktest_config851580646/buildkitd.toml --root /tmp/bktest_buildkitd2503593873 --addr unix:///tmp/bktest_buildkitd2503593873/buildkitd.sock --debug
sandbox.go:281: github.com/moby/buildkit/util/entitlements.WhiteList
sandbox.go:281: /src/util/entitlements/entitlements.go:46
sandbox.go:281: github.com/moby/buildkit/solver/llbsolver.(*Solver).Solve
sandbox.go:281: /src/solver/llbsolver/solver.go:426
sandbox.go:281: github.com/moby/buildkit/control.
|
Test
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading