Skip to content

bake: display read definition files in build output #2842

bake: display read definition files in build output

bake: display read definition files in build output #2842

Triggered via pull request October 14, 2023 04:54
Status Failure
Total duration 8m 3s
Artifacts 2

build.yml

on: pull_request
Matrix: binaries
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Failed: tests/TestIntegration: tests/run.go#L267
=== RUN TestIntegration time="2023-10-14T05:00:10Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41429" run.go:267: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:41429/library/busybox:latest time="2023-10-14T05:00:11Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41429" run.go:267: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:41429/library/alpine:latest time="2023-10-14T05:00:11Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:41429" run.go:267: copied docker.io/moby/buildkit:buildx-stable-1 to local mirror localhost:41429/moby/buildkit:buildx-stable-1 --- FAIL: TestIntegration (7.86s)
Failed: tests/TestIntegration/TestBakeLocalMulti/worker=remote: tests/bake.go#L85
=== RUN TestIntegration/TestBakeLocalMulti/worker=remote === PAUSE TestIntegration/TestBakeLocalMulti/worker=remote === CONT TestIntegration/TestBakeLocalMulti/worker=remote bake.go:85: Error Trace: /src/tests/bake.go:85 /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: "#0 building with \"integration-remote-9o932vf93pxmj4u63olgq713n\" instance using remote driver\n\n#1 [internal] load local bake definitions\n#1 reading docker-bake.hcl 22B / 22B done\n#1 DONE 0.0s\n\n#2 [internal] load .dockerignore\n#2 transferring context: 2B done\n#2 DONE 0.0s\n\n#3 [internal] load build definition from Dockerfile\n#3 transferring dockerfile: 66B done\n#3 DONE 0.0s\n\n#4 [internal] load build context\n#4 transferring context: 33B done\n#4 DONE 0.0s\n\n#5 [1/1] COPY foo /foo\n#5 DONE 0.0s\n\n#6 exporting to client directory\n#6 copying files 29B done\n#6 DONE 0.0s\n" does not contain "#1 reading compose.yaml" Test: TestIntegration/TestBakeLocalMulti/worker=remote 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_config3743446363/buildkitd.toml --root /tmp/bktest_buildkitd1393630752 --addr unix:///tmp/bktest_buildkitd1393630752/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_config3743446363/buildkitd.toml --root /tmp/bktest_buildkitd1393630752 --addr unix:///tmp/bktest_buildkitd1393630752/buildkitd.sock --debug sandbox.go:131: > StartCmd 2023-10-14 05:00:17.716254367 +0000 UTC m=+7.869069285 /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_config3743446363/buildkitd.toml --root /tmp/bktest_buildkitd1393630752 --addr unix:///tmp/bktest_buildkitd1393630752/buildkitd.sock --debug sandbox.go:131: time="2023-10-14T05:00:17Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:131: time="2023-10-14T05:00:17Z" level=warning msg="using host network as the default" sandbox.go:131: time="2023-10-14T05:00:17Z" level=info msg="found worker \"su4xdvcvy37osqlo79v9dj96d\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:04e8ac345eeb 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-14T05:00:17Z" level=info msg="found 1 workers, default=\"su4xdvcvy37osqlo79v9dj96d\"" sandbox.go:131: time="2023-10-14T05:00:17Z" level=warning msg="currently, only the default worker can be used." sandbox.go:131: time="2023-10-14T05:00:17Z" level=info msg="running server on /tmp/bktest_buildkitd1393630752/buildkitd.sock" sandbox.go:131: time="2023-10-14T05:00:18Z" level=debug msg="session started" spanID=c5d7ad628c6c6ed7 traceID=3c719c7f44c12ae22825942d9984c03d sandbox.go:131: time="2023-10-14T05:00:18Z" level=debug msg="session finished: <nil>" spanID=c5d7ad628c6c6ed7 traceID=3c719c7f44c12ae22825942d9984c03d sandbox.go:131: time="2023-10-14T05:00:18Z" level=debug msg="session started" spanID=76f882aa4ccb6887 traceID=3c719c7f44c12ae22825942d9984c03d sandbox.go:131: time="2023-10-14T05:00:18Z" level=debug msg="new ref for local: k6prbe1wt4l65p4mgd0vrrodt" span="[internal] load .dockerignore" spanID=53a16738702331e4 traceID
test (remote, ./tests)
Process completed with exit code 1.
Failed: tests/TestIntegration: tests/run.go#L267
=== RUN TestIntegration time="2023-10-14T04:59:57Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38577" run.go:267: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:38577/library/busybox:latest time="2023-10-14T04:59:57Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38577" run.go:267: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:38577/library/alpine:latest time="2023-10-14T04:59:58Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:38577" run.go:267: copied docker.io/moby/buildkit:buildx-stable-1 to local mirror localhost:38577/moby/buildkit:buildx-stable-1 --- FAIL: TestIntegration (5.64s)
Failed: tests/TestIntegration/TestBakeLocalMulti/worker=docker+containerd: tests/bake.go#L85
=== RUN TestIntegration/TestBakeLocalMulti/worker=docker+containerd === PAUSE TestIntegration/TestBakeLocalMulti/worker=docker+containerd === CONT TestIntegration/TestBakeLocalMulti/worker=docker+containerd bake.go:85: Error Trace: /src/tests/bake.go:85 /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: "#0 building with \"integration-zhsy4fwtwv3jigd6c0cjfric9\" instance using docker driver\n\n#1 [internal] load local bake definitions\n#1 reading docker-bake.hcl 22B / 22B done\n#1 DONE 0.0s\n\n#2 [internal] load .dockerignore\n#2 transferring context: 2B done\n#2 DONE 0.0s\n\n#3 [internal] load build definition from Dockerfile\n#3 transferring dockerfile: 66B done\n#3 DONE 0.0s\n\n#4 [internal] load build context\n#4 transferring context: 33B done\n#4 DONE 0.0s\n\n#5 [1/1] COPY foo /foo\n#5 DONE 0.0s\n\n#6 exporting to client directory\n#6 copying files 29B done\n#6 DONE 0.0s\n" does not contain "#1 reading compose.yaml" Test: TestIntegration/TestBakeLocalMulti/worker=docker+containerd sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2023-10-14 05:00:25.979290378 +0000 UTC m=+28.652511583 /usr/bin/dockerd --data-root /tmp/integration3260696299/dy138w4iafykr/root --exec-root /tmp/dxr/dy138w4iafykr --pidfile /tmp/integration3260696299/dy138w4iafykr/docker.pid --containerd-namespace dy138w4iafykr --containerd-plugins-namespace dy138w4iafykrp --host unix:///tmp/docker-integration/dy138w4iafykr.sock --config-file /tmp/integration3260696299/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2023-10-14T05:00:26.014577629Z" level=info msg="Starting up" sandbox.go:131: time="2023-10-14T05:00:26.015545753Z" level=warning msg="could not change group /tmp/docker-integration/dy138w4iafykr.sock to docker: group docker not found" sandbox.go:131: time="2023-10-14T05:00:26.015693556Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dy138w4iafykr.sock)" sandbox.go:131: time="2023-10-14T05:00:26.015709457Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2023-10-14T05:00:26.016301471Z" level=info msg="started new containerd process" address=/tmp/dxr/dy138w4iafykr/containerd/containerd.sock module=libcontainerd pid=7773 sandbox.go:131: time="2023-10-14T05:00:26.032335158Z" level=info msg="starting containerd" revision=1677a17964311325ed1c31e2c0a3589ce6d5c30d version=v1.7.1 sandbox.go:131: time="2023-10-14T05:00:26.049463071Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-14T05:00:26.050137487Z" 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-14T05:00:26.050162388Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1 sandbox.go:131: time="2023-10-14T05:00:26.050245590Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-14T05:00:26.050312092Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-14T05:00:26.050475696Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-14T05:00:26.050492796Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured" sandbox.go:131: time="2023-10-14T05:00:26.050504496Z" level=info
test (docker\+containerd, ./tests)
Process completed with exit code 1.
Failed: tests/TestIntegration: tests/run.go#L267
=== RUN TestIntegration time="2023-10-14T05:00:33Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40183" run.go:267: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:40183/library/busybox:latest time="2023-10-14T05:00:34Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40183" run.go:267: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:40183/library/alpine:latest time="2023-10-14T05:00:35Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:40183" run.go:267: copied docker.io/moby/buildkit:buildx-stable-1 to local mirror localhost:40183/moby/buildkit:buildx-stable-1 --- FAIL: TestIntegration (8.24s)
Failed: tests/TestIntegration/TestBakeLocalMulti/worker=docker-container: tests/bake.go#L85
=== RUN TestIntegration/TestBakeLocalMulti/worker=docker-container === PAUSE TestIntegration/TestBakeLocalMulti/worker=docker-container === CONT TestIntegration/TestBakeLocalMulti/worker=docker-container bake.go:85: Error Trace: /src/tests/bake.go:85 /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: "#0 building with \"integration-container-gyl6mvp1mnj0b9or8fbf0abpq\" instance using docker-container driver\n\n#1 [internal] load local bake definitions\n#1 reading docker-bake.hcl 22B / 22B done\n#1 DONE 0.0s\n\n#2 [internal] load build definition from Dockerfile\n#2 transferring dockerfile: 66B done\n#2 DONE 0.0s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [internal] load build context\n#4 transferring context: 33B done\n#4 DONE 0.0s\n\n#5 [1/1] COPY foo /foo\n#5 DONE 0.0s\n\n#6 exporting to client directory\n#6 copying files 29B done\n#6 DONE 0.0s\n" does not contain "#1 reading compose.yaml" Test: TestIntegration/TestBakeLocalMulti/worker=docker-container --- FAIL: TestIntegration/TestBakeLocalMulti/worker=docker-container (5.86s)
test (docker-container, ./tests)
Process completed with exit code 1.
Failed: tests/TestIntegration: tests/run.go#L267
=== RUN TestIntegration time="2023-10-14T05:00:40Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33399" run.go:267: copied docker.io/moby/buildkit:buildx-stable-1 to local mirror localhost:33399/moby/buildkit:buildx-stable-1 time="2023-10-14T05:00:46Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33399" run.go:267: copied docker.io/amd64/busybox:latest@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee to local mirror localhost:33399/library/busybox:latest time="2023-10-14T05:00:47Z" level=info msg="trying next host - response was http.StatusNotFound" host="localhost:33399" run.go:267: copied docker.io/amd64/alpine:latest@sha256:25fad2a32ad1f6f510e528448ae1ec69a28ef81916a004d3629874104f8a7f70 to local mirror localhost:33399/library/alpine:latest --- FAIL: TestIntegration (7.87s)
Failed: tests/TestIntegration/TestBakeLocalMulti/worker=docker: tests/bake.go#L85
=== RUN TestIntegration/TestBakeLocalMulti/worker=docker === PAUSE TestIntegration/TestBakeLocalMulti/worker=docker === CONT TestIntegration/TestBakeLocalMulti/worker=docker bake.go:85: Error Trace: /src/tests/bake.go:85 /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: "#0 building with \"integration-38d50wjeviv85oswlfcw07im1\" instance using docker driver\n\n#1 [internal] load local bake definitions\n#1 reading docker-bake.hcl 22B / 22B done\n#1 DONE 0.0s\n\n#2 [internal] load build definition from Dockerfile\n#2 transferring dockerfile: 66B done\n#2 DONE 0.0s\n\n#3 [internal] load .dockerignore\n#3 transferring context: 2B done\n#3 DONE 0.0s\n\n#4 [internal] load build context\n#4 transferring context: 33B done\n#4 DONE 0.0s\n\n#5 [1/1] COPY foo /foo\n#5 DONE 0.0s\n\n#6 exporting to client directory\n#6 copying files 29B done\n#6 DONE 0.0s\n" does not contain "#1 reading compose.yaml" Test: TestIntegration/TestBakeLocalMulti/worker=docker sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2023-10-14 05:01:14.541308396 +0000 UTC m=+34.575103846 /usr/bin/dockerd --data-root /tmp/integration503360238/di2jcviu1owdd/root --exec-root /tmp/dxr/di2jcviu1owdd --pidfile /tmp/integration503360238/di2jcviu1owdd/docker.pid --containerd-namespace di2jcviu1owdd --containerd-plugins-namespace di2jcviu1owddp --host unix:///tmp/docker-integration/di2jcviu1owdd.sock --config-file /tmp/integration503360238/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2023-10-14T05:01:14.576619899Z" level=info msg="Starting up" sandbox.go:131: time="2023-10-14T05:01:14.578847350Z" level=warning msg="could not change group /tmp/docker-integration/di2jcviu1owdd.sock to docker: group docker not found" sandbox.go:131: time="2023-10-14T05:01:14.579034854Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/di2jcviu1owdd.sock)" sandbox.go:131: time="2023-10-14T05:01:14.579049355Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2023-10-14T05:01:14.580069478Z" level=info msg="started new containerd process" address=/tmp/dxr/di2jcviu1owdd/containerd/containerd.sock module=libcontainerd pid=8164 sandbox.go:131: time="2023-10-14T05:01:14.599583422Z" level=info msg="starting containerd" revision=1677a17964311325ed1c31e2c0a3589ce6d5c30d version=v1.7.1 sandbox.go:131: time="2023-10-14T05:01:14.619543376Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-14T05:01:14.620576500Z" 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-14T05:01:14.620638401Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1 sandbox.go:131: time="2023-10-14T05:01:14.620776204Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-14T05:01:14.620870806Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-14T05:01:14.621146413Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2023-10-14T05:01:14.621191614Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured" sandbox.go:131: time="2023-10-14T05:01:14.621214414Z" level=info msg="loading plugin \"io.containerd.snapshotte
test (docker, ./tests)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
buildx Expired
576 MB
test-reports Expired
1.12 MB