Skip to content

Commit

Permalink
bake: extend print test
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Nov 28, 2024
1 parent 8e8abfa commit 625bbae
Showing 1 changed file with 108 additions and 0 deletions.
108 changes: 108 additions & 0 deletions tests/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (

"github.com/containerd/continuity/fs/fstest"
"github.com/docker/buildx/bake"
"github.com/docker/buildx/util/buildflags"
"github.com/docker/buildx/util/gitutil"
"github.com/moby/buildkit/client"
"github.com/moby/buildkit/frontend/subrequests/lint"
Expand All @@ -32,6 +33,7 @@ func bakeCmd(sb integration.Sandbox, opts ...cmdOpt) (string, error) {

var bakeTests = []func(t *testing.T, sb integration.Sandbox){
testBakePrint,
testBakePrintConsistency,
testBakeLocal,
testBakeLocalMulti,
testBakeRemote,
Expand Down Expand Up @@ -63,6 +65,112 @@ var bakeTests = []func(t *testing.T, sb integration.Sandbox){
}

func testBakePrint(t *testing.T, sb integration.Sandbox) {
dockerfile := []byte(`
FROM busybox
ARG HELLO
RUN echo "Hello ${HELLO}"
`)
bakefile := []byte(`
target "build" {
args = {
HELLO = "foo"
}
cache-from = [
"type=gha,scope=build",
"type=s3,region=eu-west-1,bucket=mybucket",
"user/repo:cache",
]
cache-to = [
"type=gha,scope=build,token=foo,mode=max",
"type=s3,region=eu-west-1,bucket=mybucket",
"type=inline"
]
output = [
"./release-out",
"type=registry,ref=user/app"
]
}
`)
dir := tmpdir(
t,
fstest.CreateFile("docker-bake.hcl", bakefile, 0600),
fstest.CreateFile("Dockerfile", dockerfile, 0600),
)

cmd := buildxCmd(sb, withDir(dir), withArgs("bake", "--print", "build"))
cmd.Env = append(cmd.Env, "ACTIONS_RUNTIME_TOKEN=baz", "AWS_ACCESS_KEY_ID=foo", "AWS_SECRET_ACCESS_KEY=bar")
stdout := bytes.Buffer{}
stderr := bytes.Buffer{}
cmd.Stdout = &stdout
cmd.Stderr = &stderr
require.NoError(t, cmd.Run(), stdout.String(), stderr.String())

var def struct {
Group map[string]*bake.Group `json:"group,omitempty"`
Target map[string]*bake.Target `json:"target"`
}
require.NoError(t, json.Unmarshal(stdout.Bytes(), &def))

require.Len(t, def.Group, 1)
require.Contains(t, def.Group, "default")

require.Equal(t, []string{"build"}, def.Group["default"].Targets)
require.Len(t, def.Target, 1)
require.Contains(t, def.Target, "build")
require.Equal(t, ".", *def.Target["build"].Context)
require.Equal(t, "Dockerfile", *def.Target["build"].Dockerfile)
require.Equal(t, map[string]*string{"HELLO": ptrstr("foo")}, def.Target["build"].Args)
require.Equal(t, []*buildflags.CacheOptionsEntry{

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (buildx-stable-1, remote, ./tests)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000d21b00), (*buildflags.CacheOptionsEntry)(0xc000d21b20), (*buildflags.CacheOptionsEntry)(0xc000d21b40)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000d21a00), (*buildflags.CacheOptionsEntry)(0xc000d21a20), (*buildflags.CacheOptionsEntry)(0xc000d21a60)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config3698804028/buildkitd.toml --root /tmp/bktest_buildkitd2961109999 --addr unix:///tmp/bktest_buildkitd2961109999/buildkitd.sock --debug sandbox.go:135: 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_config3698804028/buildkitd.toml --root /tmp/bktest_buildkitd2961109999 --addr unix:///tmp/bktest_buildkitd2961109999/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:32.841591378 +0000 UTC m=+10.113353563 /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_config3698804028/buildkitd.toml --root /tmp/bktest_buildkitd2961109999 --addr unix:///tmp/bktest_buildkitd2961109999/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:32Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="found worker \"nr6o41qrlye6hfbr8pj0gvdfx\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:7e007aed0bee 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/arm/v7 linux/arm/v6]" sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="found 1 workers, default=\"nr6o41qrlye6hfbr8pj0gvdfx\"" sandbox.go:138: time="2024-11-28T10:43:32Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="running server on /tmp/bktest_buildkitd2961109999/buildkitd.sock" --- FAIL: TestIntegration/TestBakePrint/worker=remote (0.36s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (master, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001ff5f00), (*buildflags.CacheOptionsEntry)(0xc001ff5f20), (*buildflags.CacheOptionsEntry)(0xc001ff5f40)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001ff5e00), (*buildflags.CacheOptionsEntry)(0xc001ff5e20), (*buildflags.CacheOptionsEntry)(0xc001ff5e60)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config1601454635/buildkitd.toml --root /tmp/bktest_buildkitd650849570 --addr unix:///tmp/bktest_buildkitd650849570/buildkitd.sock --debug sandbox.go:135: 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_config1601454635/buildkitd.toml --root /tmp/bktest_buildkitd650849570 --addr unix:///tmp/bktest_buildkitd650849570/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:32.667039819 +0000 UTC m=+7.469587334 /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_config1601454635/buildkitd.toml --root /tmp/bktest_buildkitd650849570 --addr unix:///tmp/bktest_buildkitd650849570/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:32Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="found worker \"6hlsgtfwx623mg6nb7jtoml6d\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:ef27bcb3488e 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/arm/v7 linux/arm/v6]" sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="found 1 workers, default=\"6hlsgtfwx623mg6nb7jtoml6d\"" sandbox.go:138: time="2024-11-28T10:43:32Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="running server on /tmp/bktest_buildkitd650849570/buildkitd.sock" --- FAIL: TestIntegration/TestBakePrint/worker=remote (0.26s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (master, remote, ./tests)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001b702a0), (*buildflags.CacheOptionsEntry)(0xc001b702c0), (*buildflags.CacheOptionsEntry)(0xc001b702e0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001b70140), (*buildflags.CacheOptionsEntry)(0xc001b70160), (*buildflags.CacheOptionsEntry)(0xc001b701a0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config2185060441/buildkitd.toml --root /tmp/bktest_buildkitd4039549938 --addr unix:///tmp/bktest_buildkitd4039549938/buildkitd.sock --debug sandbox.go:135: 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_config2185060441/buildkitd.toml --root /tmp/bktest_buildkitd4039549938 --addr unix:///tmp/bktest_buildkitd4039549938/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:32.423200312 +0000 UTC m=+7.656598185 /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_config2185060441/buildkitd.toml --root /tmp/bktest_buildkitd4039549938 --addr unix:///tmp/bktest_buildkitd4039549938/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:32Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="found worker \"mrtz67nhqk96u0ejuzp170cgu\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:3799fbdfd293 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/arm/v7 linux/arm/v6]" sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="found 1 workers, default=\"mrtz67nhqk96u0ejuzp170cgu\"" sandbox.go:138: time="2024-11-28T10:43:32Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:32Z" level=info msg="running server on /tmp/bktest_buildkitd4039549938/buildkitd.sock" --- FAIL: TestIntegration/TestBakePrint/worker=remote (0.41s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (latest, remote, ./tests)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000c32720), (*buildflags.CacheOptionsEntry)(0xc000c32740), (*buildflags.CacheOptionsEntry)(0xc000c32760)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000c32620), (*buildflags.CacheOptionsEntry)(0xc000c32640), (*buildflags.CacheOptionsEntry)(0xc000c32680)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config924257729/buildkitd.toml --root /tmp/bktest_buildkitd2011235861 --addr unix:///tmp/bktest_buildkitd2011235861/buildkitd.sock --debug sandbox.go:135: 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_config924257729/buildkitd.toml --root /tmp/bktest_buildkitd2011235861 --addr unix:///tmp/bktest_buildkitd2011235861/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:31.772550473 +0000 UTC m=+7.820050579 /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_config924257729/buildkitd.toml --root /tmp/bktest_buildkitd2011235861 --addr unix:///tmp/bktest_buildkitd2011235861/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:31Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:31Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:31Z" level=info msg="found worker \"taeixm63etj3eh5ypsx5ofi6e\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:1e7076aff115 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/arm/v7 linux/arm/v6]" sandbox.go:138: time="2024-11-28T10:43:31Z" level=info msg="found 1 workers, default=\"taeixm63etj3eh5ypsx5ofi6e\"" sandbox.go:138: time="2024-11-28T10:43:31Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:31Z" level=info msg="running server on /tmp/bktest_buildkitd2011235861/buildkitd.sock" --- FAIL: TestIntegration/TestBakePrint/worker=remote (0.41s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (buildx-stable-1, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001217840), (*buildflags.CacheOptionsEntry)(0xc001217860), (*buildflags.CacheOptionsEntry)(0xc001217880)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0012176e0), (*buildflags.CacheOptionsEntry)(0xc001217760), (*buildflags.CacheOptionsEntry)(0xc0012177a0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config2128683583/buildkitd.toml --root /tmp/bktest_buildkitd2467737177 --addr unix:///tmp/bktest_buildkitd2467737177/buildkitd.sock --debug sandbox.go:135: 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_config2128683583/buildkitd.toml --root /tmp/bktest_buildkitd2467737177 --addr unix:///tmp/bktest_buildkitd2467737177/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:37.114160828 +0000 UTC m=+9.456866911 /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_config2128683583/buildkitd.toml --root /tmp/bktest_buildkitd2467737177 --addr unix:///tmp/bktest_buildkitd2467737177/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:37Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:37Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:37Z" level=info msg="found worker \"i272446o8ir87k6r65rn8y7ku\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:f48bf400e486 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/arm/v7 linux/arm/v6]" sandbox.go:138: time="2024-11-28T10:43:37Z" level=info msg="found 1 workers, default=\"i272446o8ir87k6r65rn8y7ku\"" sandbox.go:138: time="2024-11-28T10:43:37Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:37Z" level=info msg="running server on /tmp/bktest_buildkitd2467737177/buildkitd.sock" --- FAIL: TestIntegration/TestBakePrint/worker=remote (0.48s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (latest, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc002250280), (*buildflags.CacheOptionsEntry)(0xc0022502a0), (*buildflags.CacheOptionsEntry)(0xc0022502c0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc002250180), (*buildflags.CacheOptionsEntry)(0xc0022501a0), (*buildflags.CacheOptionsEntry)(0xc0022501e0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config974290237/buildkitd.toml --root /tmp/bktest_buildkitd8465766 --addr unix:///tmp/bktest_buildkitd8465766/buildkitd.sock --debug sandbox.go:135: 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_config974290237/buildkitd.toml --root /tmp/bktest_buildkitd8465766 --addr unix:///tmp/bktest_buildkitd8465766/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:37.780059938 +0000 UTC m=+7.722035179 /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_config974290237/buildkitd.toml --root /tmp/bktest_buildkitd8465766 --addr unix:///tmp/bktest_buildkitd8465766/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:37Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:37Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:37Z" level=info msg="found worker \"hwy22c0o0yihgf9glmr2vqn97\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:486aaf9e536b 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/arm/v7 linux/arm/v6]" sandbox.go:138: time="2024-11-28T10:43:37Z" level=info msg="found 1 workers, default=\"hwy22c0o0yihgf9glmr2vqn97\"" sandbox.go:138: time="2024-11-28T10:43:37Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:37Z" level=info msg="running server on /tmp/bktest_buildkitd8465766/buildkitd.sock" --- FAIL: TestIntegration/TestBakePrint/worker=remote (0.42s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.16.0, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001314ea0), (*buildflags.CacheOptionsEntry)(0xc001314ec0), (*buildflags.CacheOptionsEntry)(0xc001314ee0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001314da0), (*buildflags.CacheOptionsEntry)(0xc001314dc0), (*buildflags.CacheOptionsEntry)(0xc001314e00)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config1549222906/buildkitd.toml --root /tmp/bktest_buildkitd2894424126 --addr unix:///tmp/bktest_buildkitd2894424126/buildkitd.sock --debug sandbox.go:135: 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_config1549222906/buildkitd.toml --root /tmp/bktest_buildkitd2894424126 --addr unix:///tmp/bktest_buildkitd2894424126/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:35.615540522 +0000 UTC m=+8.536651134 /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_config1549222906/buildkitd.toml --root /tmp/bktest_buildkitd2894424126 --addr unix:///tmp/bktest_buildkitd2894424126/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:35Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-11-28T10:43:35Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-11-28T10:43:35Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:35Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:35Z" level=info msg="found worker \"w5130h0rei92nwlk4qs8ybprh\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:ccc6cd322beb 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:138: time="2024-11-28T10:43:35Z" level=info msg="found 1 workers, default=\"w5130h0rei92nwlk4qs8ybprh\"" sandbox.go:138: time="2024-11-28T10:43:35Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:35Z" level=info msg="running server on /tmp/bktest_buildkitd2894424126/buildkit

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.17.2, remote, ./tests)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc002237220), (*buildflags.CacheOptionsEntry)(0xc002237240), (*buildflags.CacheOptionsEntry)(0xc002237260)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc002237120), (*buildflags.CacheOptionsEntry)(0xc002237140), (*buildflags.CacheOptionsEntry)(0xc002237180)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config1521020871/buildkitd.toml --root /tmp/bktest_buildkitd1540197149 --addr unix:///tmp/bktest_buildkitd1540197149/buildkitd.sock --debug sandbox.go:135: 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_config1521020871/buildkitd.toml --root /tmp/bktest_buildkitd1540197149 --addr unix:///tmp/bktest_buildkitd1540197149/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:38.918428116 +0000 UTC m=+8.402454063 /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_config1521020871/buildkitd.toml --root /tmp/bktest_buildkitd1540197149 --addr unix:///tmp/bktest_buildkitd1540197149/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:38Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:38Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:38Z" level=info msg="found worker \"i6c7mcixs3xrjv6vbf9v2o6jc\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:ce8e6f394efb 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/arm/v7 linux/arm/v6]" sandbox.go:138: time="2024-11-28T10:43:39Z" level=info msg="found 1 workers, default=\"i6c7mcixs3xrjv6vbf9v2o6jc\"" sandbox.go:138: time="2024-11-28T10:43:39Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:39Z" level=info msg="running server on /tmp/bktest_buildkitd1540197149/buildkitd.sock" --- FAIL: TestIntegration/TestBakePrint/worker=remote (0.38s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.15.2, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001b68120), (*buildflags.CacheOptionsEntry)(0xc001b681a0), (*buildflags.CacheOptionsEntry)(0xc001b681c0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0003a7f20), (*buildflags.CacheOptionsEntry)(0xc0003a7f40), (*buildflags.CacheOptionsEntry)(0xc001b68000)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config3256884371/buildkitd.toml --root /tmp/bktest_buildkitd2568456428 --addr unix:///tmp/bktest_buildkitd2568456428/buildkitd.sock --debug sandbox.go:135: 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_config3256884371/buildkitd.toml --root /tmp/bktest_buildkitd2568456428 --addr unix:///tmp/bktest_buildkitd2568456428/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:40.606855781 +0000 UTC m=+8.567039984 /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_config3256884371/buildkitd.toml --root /tmp/bktest_buildkitd2568456428 --addr unix:///tmp/bktest_buildkitd2568456428/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:40Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-11-28T10:43:40Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-11-28T10:43:40Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:40Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:40Z" level=info msg="found worker \"z0fqmewstwaghti1eni5feisw\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:adb554caf191 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:138: time="2024-11-28T10:43:40Z" level=info msg="found 1 workers, default=\"z0fqmewstwaghti1eni5feisw\"" sandbox.go:138: time="2024-11-28T10:43:40Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:40Z" level=info msg="running server on /tmp/bktest_buildkitd2568456428/buildkit

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00142a620), (*buildflags.CacheOptionsEntry)(0xc00142a640), (*buildflags.CacheOptionsEntry)(0xc00142a660)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00142a520), (*buildflags.CacheOptionsEntry)(0xc00142a540), (*buildflags.CacheOptionsEntry)(0xc00142a580)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (0.66s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.15.2, remote, ./tests)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0010a5d60), (*buildflags.CacheOptionsEntry)(0xc0010a5d80), (*buildflags.CacheOptionsEntry)(0xc0010a5da0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0010a5c40), (*buildflags.CacheOptionsEntry)(0xc0010a5c60), (*buildflags.CacheOptionsEntry)(0xc0010a5ca0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config379729788/buildkitd.toml --root /tmp/bktest_buildkitd3166366991 --addr unix:///tmp/bktest_buildkitd3166366991/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:45.022695114 +0000 UTC m=+9.819377490 /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_config379729788/buildkitd.toml --root /tmp/bktest_buildkitd3166366991 --addr unix:///tmp/bktest_buildkitd3166366991/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:45Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-11-28T10:43:45Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-11-28T10:43:45Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:45Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:45Z" level=info msg="found worker \"8723stysgvrz2iu8wg6mg0gd1\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:d7f574459d0e 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:138: time="2024-11-28T10:43:45Z" level=info msg="found 1 workers, default=\"8723stysgvrz2iu8wg6mg0gd1\"" sandbox.go:138: time="2024-11-28T10:43:45Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:45Z" level=info msg="running server on /tmp/bktest_buildkitd3166366991/buildkitd.sock" sandbox.go:135: 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_config379729788/buildkitd.toml --root /tmp/bktest_buildkitd3166366991 --addr unix:///tmp/bktest_buildkitd3166366991/buildkitd.sock --d

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.16.0, remote, ./tests)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00112ae00), (*buildflags.CacheOptionsEntry)(0xc00112ae20), (*buildflags.CacheOptionsEntry)(0xc00112ae40)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00112aca0), (*buildflags.CacheOptionsEntry)(0xc00112acc0), (*buildflags.CacheOptionsEntry)(0xc00112ad60)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config3373536003/buildkitd.toml --root /tmp/bktest_buildkitd1716206727 --addr unix:///tmp/bktest_buildkitd1716206727/buildkitd.sock --debug sandbox.go:135: 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_config3373536003/buildkitd.toml --root /tmp/bktest_buildkitd1716206727 --addr unix:///tmp/bktest_buildkitd1716206727/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:45.46175031 +0000 UTC m=+8.344555926 /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_config3373536003/buildkitd.toml --root /tmp/bktest_buildkitd1716206727 --addr unix:///tmp/bktest_buildkitd1716206727/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:45Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-11-28T10:43:45Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:138: time="2024-11-28T10:43:45Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:45Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:45Z" level=info msg="found worker \"nqecvgudj8inyuz3e1shlyh40\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:d356aa7fd3c1 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:138: time="2024-11-28T10:43:45Z" level=info msg="found 1 workers, default=\"nqecvgudj8inyuz3e1shlyh40\"" sandbox.go:138: time="2024-11-28T10:43:45Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:45Z" level=info msg="running server on /tmp/bktest_buildkitd1716206727/buildkitd

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.17.2, remote, ./tests, experimental)

Failed: tests/TestIntegration/TestBakePrint/worker=remote

=== RUN TestIntegration/TestBakePrint/worker=remote === PAUSE TestIntegration/TestBakePrint/worker=remote === CONT TestIntegration/TestBakePrint/worker=remote bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0017059e0), (*buildflags.CacheOptionsEntry)(0xc001705a00), (*buildflags.CacheOptionsEntry)(0xc001705a20)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0017058e0), (*buildflags.CacheOptionsEntry)(0xc001705900), (*buildflags.CacheOptionsEntry)(0xc001705940)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=remote sandbox.go:135: 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_config3862682704/buildkitd.toml --root /tmp/bktest_buildkitd3485893550 --addr unix:///tmp/bktest_buildkitd3485893550/buildkitd.sock --debug sandbox.go:135: 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_config3862682704/buildkitd.toml --root /tmp/bktest_buildkitd3485893550 --addr unix:///tmp/bktest_buildkitd3485893550/buildkitd.sock --debug sandbox.go:138: > StartCmd 2024-11-28 10:43:44.096663619 +0000 UTC m=+10.622971962 /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_config3862682704/buildkitd.toml --root /tmp/bktest_buildkitd3485893550 --addr unix:///tmp/bktest_buildkitd3485893550/buildkitd.sock --debug sandbox.go:138: time="2024-11-28T10:43:44Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:138: time="2024-11-28T10:43:44Z" level=warning msg="using host network as the default" sandbox.go:138: time="2024-11-28T10:43:44Z" level=info msg="found worker \"rh88c77hz9ceicdjnachho1l7\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:98d287d62c97 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/arm/v7 linux/arm/v6]" sandbox.go:138: time="2024-11-28T10:43:44Z" level=info msg="found 1 workers, default=\"rh88c77hz9ceicdjnachho1l7\"" sandbox.go:138: time="2024-11-28T10:43:44Z" level=warning msg="currently, only the default worker can be used." sandbox.go:138: time="2024-11-28T10:43:44Z" level=info msg="running server on /tmp/bktest_buildkitd3485893550/buildkitd.sock" --- FAIL: TestIntegration/TestBakePrint/worker=remote (0.38s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (buildx-stable-1, docker-container, ./tests)

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000e49860), (*buildflags.CacheOptionsEntry)(0xc000e49880), (*buildflags.CacheOptionsEntry)(0xc000e498a0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000e49760), (*buildflags.CacheOptionsEntry)(0xc000e49780), (*buildflags.CacheOptionsEntry)(0xc000e497c0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.38s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001d227a0), (*buildflags.CacheOptionsEntry)(0xc001d227c0), (*buildflags.CacheOptionsEntry)(0xc001d227e0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001d224e0), (*buildflags.CacheOptionsEntry)(0xc001d22500), (*buildflags.CacheOptionsEntry)(0xc001d22580)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.30s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.16.0, docker-container, ./tests, experimental)

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0024a3100), (*buildflags.CacheOptionsEntry)(0xc0024a3120), (*buildflags.CacheOptionsEntry)(0xc0024a3140)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0024a3000), (*buildflags.CacheOptionsEntry)(0xc0024a3020), (*buildflags.CacheOptionsEntry)(0xc0024a3060)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.17s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (buildx-stable-1, docker-container, ./tests, experimental)

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00256e120), (*buildflags.CacheOptionsEntry)(0xc00256e160), (*buildflags.CacheOptionsEntry)(0xc00256e180)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00256e020), (*buildflags.CacheOptionsEntry)(0xc00256e040), (*buildflags.CacheOptionsEntry)(0xc00256e080)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.17s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001ed3260), (*buildflags.CacheOptionsEntry)(0xc001ed3280), (*buildflags.CacheOptionsEntry)(0xc001ed32a0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001ed3160), (*buildflags.CacheOptionsEntry)(0xc001ed3180), (*buildflags.CacheOptionsEntry)(0xc001ed31c0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.19s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00240da60), (*buildflags.CacheOptionsEntry)(0xc00240da80), (*buildflags.CacheOptionsEntry)(0xc00240daa0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00240d960), (*buildflags.CacheOptionsEntry)(0xc00240d980), (*buildflags.CacheOptionsEntry)(0xc00240d9c0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.41s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0008b4fa0), (*buildflags.CacheOptionsEntry)(0xc0008b4fc0), (*buildflags.CacheOptionsEntry)(0xc0008b4fe0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0008b4ea0), (*buildflags.CacheOptionsEntry)(0xc0008b4ec0), (*buildflags.CacheOptionsEntry)(0xc0008b4f00)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (0.56s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0010439a0), (*buildflags.CacheOptionsEntry)(0xc0010439c0), (*buildflags.CacheOptionsEntry)(0xc0010439e0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0010438a0), (*buildflags.CacheOptionsEntry)(0xc0010438c0), (*buildflags.CacheOptionsEntry)(0xc001043900)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.32s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0020a15c0), (*buildflags.CacheOptionsEntry)(0xc0020a15e0), (*buildflags.CacheOptionsEntry)(0xc0020a1600)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0020a14c0), (*buildflags.CacheOptionsEntry)(0xc0020a14e0), (*buildflags.CacheOptionsEntry)(0xc0020a1520)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.25s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.15.2, docker-container, ./tests, experimental)

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00145c140), (*buildflags.CacheOptionsEntry)(0xc00145c160), (*buildflags.CacheOptionsEntry)(0xc00145c1e0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0000b5f60), (*buildflags.CacheOptionsEntry)(0xc00145c000), (*buildflags.CacheOptionsEntry)(0xc00145c0a0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.18s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.17.2, docker-container, ./tests, experimental)

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

=== RUN TestIntegration/TestBakePrint/worker=docker-container === PAUSE TestIntegration/TestBakePrint/worker=docker-container === CONT TestIntegration/TestBakePrint/worker=docker-container bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001411580), (*buildflags.CacheOptionsEntry)(0xc0014115a0), (*buildflags.CacheOptionsEntry)(0xc0014115c0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001411420), (*buildflags.CacheOptionsEntry)(0xc001411440), (*buildflags.CacheOptionsEntry)(0xc0014114e0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker-container --- FAIL: TestIntegration/TestBakePrint/worker=docker-container (1.18s)

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakePrint/worker=docker

=== RUN TestIntegration/TestBakePrint/worker=docker === PAUSE TestIntegration/TestBakePrint/worker=docker === CONT TestIntegration/TestBakePrint/worker=docker bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001d86280), (*buildflags.CacheOptionsEntry)(0xc001d862a0), (*buildflags.CacheOptionsEntry)(0xc001d862c0)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001d86180), (*buildflags.CacheOptionsEntry)(0xc001d861a0), (*buildflags.CacheOptionsEntry)(0xc001d861e0)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker sandbox.go:135: stdout: /usr/bin/dockerd sandbox.go:135: stderr: /usr/bin/dockerd sandbox.go:138: > startCmd 2024-11-28 10:45:28.306518941 +0000 UTC m=+126.920425616 /usr/bin/dockerd --data-root /tmp/integration1457804326/dobr3zkapb7lz/root --exec-root /tmp/dxr/dobr3zkapb7lz --pidfile /tmp/integration1457804326/dobr3zkapb7lz/docker.pid --containerd-namespace dobr3zkapb7lz --containerd-plugins-namespace dobr3zkapb7lzp --host unix:///tmp/docker-integration/dobr3zkapb7lz.sock --config-file /tmp/integration1457804326/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:138: time="2024-11-28T10:45:28.323737082Z" level=info msg="Starting up" sandbox.go:138: time="2024-11-28T10:45:28.324662175Z" level=warning msg="could not change group /tmp/docker-integration/dobr3zkapb7lz.sock to docker: group docker not found" sandbox.go:138: time="2024-11-28T10:45:28.324774995Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dobr3zkapb7lz.sock)" sandbox.go:138: time="2024-11-28T10:45:28.324798189Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:138: time="2024-11-28T10:45:28.325348266Z" level=info msg="started new containerd process" address=/tmp/dxr/dobr3zkapb7lz/containerd/containerd.sock module=libcontainerd pid=20373 sandbox.go:138: time="2024-11-28T10:45:28.325721241Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dobr3zkapb7lz/containerd/containerd.sock module=libcontainerd sandbox.go:138: time="2024-11-28T10:45:28.325843735Z" level=debug msg="2024/11/28 10:45:28 WARNING: [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dobr3zkapb7lz/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/dobr3zkapb7lz/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:138: time="2024-11-28T10:45:28.335914625Z" level=info msg="starting containerd" revision=7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c version=v1.7.22 sandbox.go:138: time="2024-11-28T10:45:28.348485789Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-11-28T10:45:28.348507379Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." typ

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker@26.1, ./tests)

Failed: tests/TestIntegration/TestBakePrint/worker=docker@26.1

=== RUN TestIntegration/TestBakePrint/worker=docker@26.1 === PAUSE TestIntegration/TestBakePrint/worker=docker@26.1 === CONT TestIntegration/TestBakePrint/worker=docker@26.1 bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000a8b160), (*buildflags.CacheOptionsEntry)(0xc000a8b180), (*buildflags.CacheOptionsEntry)(0xc000a8b200)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc000a8afa0), (*buildflags.CacheOptionsEntry)(0xc000a8afc0), (*buildflags.CacheOptionsEntry)(0xc000a8b060)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker@26.1 sandbox.go:135: stdout: /opt/docker-alt-26/dockerd sandbox.go:135: stderr: /opt/docker-alt-26/dockerd sandbox.go:138: > startCmd 2024-11-28 10:45:30.639220874 +0000 UTC m=+126.922042088 /opt/docker-alt-26/dockerd --data-root /tmp/integration2908307495/didaf95prwqrt/root --exec-root /tmp/dxr/didaf95prwqrt --pidfile /tmp/integration2908307495/didaf95prwqrt/docker.pid --containerd-namespace didaf95prwqrt --containerd-plugins-namespace didaf95prwqrtp --host unix:///tmp/docker-integration/didaf95prwqrt.sock --config-file /tmp/integration2908307495/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:138: time="2024-11-28T10:45:30.663942563Z" level=info msg="Starting up" sandbox.go:138: time="2024-11-28T10:45:30.665187420Z" level=warning msg="could not change group /tmp/docker-integration/didaf95prwqrt.sock to docker: group docker not found" sandbox.go:138: time="2024-11-28T10:45:30.665311080Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/didaf95prwqrt.sock)" sandbox.go:138: time="2024-11-28T10:45:30.665331838Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:138: time="2024-11-28T10:45:30.665906191Z" level=info msg="started new containerd process" address=/tmp/dxr/didaf95prwqrt/containerd/containerd.sock module=libcontainerd pid=20293 sandbox.go:138: time="2024-11-28T10:45:30.666263375Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/didaf95prwqrt/containerd/containerd.sock module=libcontainerd sandbox.go:138: time="2024-11-28T10:45:30.666413300Z" level=debug msg="2024/11/28 10:45:30 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/didaf95prwqrt/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/didaf95prwqrt/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:138: time="2024-11-28T10:45:30.677627920Z" level=info msg="starting containerd" revision=926c9586fe4a6236699318391cd44976a98e31f1 version=v1.7.15 sandbox.go:138: time="2024-11-28T10:45:30.690950431Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-11-28T10:45:30.690980697Z" level=info msg="loadi

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker, ./tests, experimental)

Failed: tests/TestIntegration/TestBakePrint/worker=docker

=== RUN TestIntegration/TestBakePrint/worker=docker === PAUSE TestIntegration/TestBakePrint/worker=docker === CONT TestIntegration/TestBakePrint/worker=docker bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0004116c0), (*buildflags.CacheOptionsEntry)(0xc000411720), (*buildflags.CacheOptionsEntry)(0xc000411760)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0004114a0), (*buildflags.CacheOptionsEntry)(0xc0004114c0), (*buildflags.CacheOptionsEntry)(0xc000411620)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker sandbox.go:135: stdout: /usr/bin/dockerd sandbox.go:135: stderr: /usr/bin/dockerd sandbox.go:138: > startCmd 2024-11-28 10:45:26.147812507 +0000 UTC m=+120.897151029 /usr/bin/dockerd --data-root /tmp/integration2096795658/dvjywko66w16p/root --exec-root /tmp/dxr/dvjywko66w16p --pidfile /tmp/integration2096795658/dvjywko66w16p/docker.pid --containerd-namespace dvjywko66w16p --containerd-plugins-namespace dvjywko66w16pp --host unix:///tmp/docker-integration/dvjywko66w16p.sock --config-file /tmp/integration2096795658/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:138: time="2024-11-28T10:45:26.166837364Z" level=info msg="Starting up" sandbox.go:138: time="2024-11-28T10:45:26.167910068Z" level=warning msg="could not change group /tmp/docker-integration/dvjywko66w16p.sock to docker: group docker not found" sandbox.go:138: time="2024-11-28T10:45:26.168031163Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dvjywko66w16p.sock)" sandbox.go:138: time="2024-11-28T10:45:26.168047964Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:138: time="2024-11-28T10:45:26.168601032Z" level=info msg="started new containerd process" address=/tmp/dxr/dvjywko66w16p/containerd/containerd.sock module=libcontainerd pid=19715 sandbox.go:138: time="2024-11-28T10:45:26.168934632Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dvjywko66w16p/containerd/containerd.sock module=libcontainerd sandbox.go:138: time="2024-11-28T10:45:26.169108282Z" level=debug msg="2024/11/28 10:45:26 WARNING: [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dvjywko66w16p/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/dvjywko66w16p/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:138: time="2024-11-28T10:45:26.179299271Z" level=info msg="starting containerd" revision=7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c version=v1.7.22 sandbox.go:138: time="2024-11-28T10:45:26.191856970Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-11-28T10:45:26.191881556Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." typ

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/TestBakePrint/worker=docker+containerd === PAUSE TestIntegration/TestBakePrint/worker=docker+containerd === CONT TestIntegration/TestBakePrint/worker=docker+containerd bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0024aefe0), (*buildflags.CacheOptionsEntry)(0xc0024af000), (*buildflags.CacheOptionsEntry)(0xc0024af020)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0024aeee0), (*buildflags.CacheOptionsEntry)(0xc0024aef00), (*buildflags.CacheOptionsEntry)(0xc0024aef40)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker+containerd sandbox.go:135: stdout: /usr/bin/dockerd sandbox.go:135: stderr: /usr/bin/dockerd sandbox.go:138: > startCmd 2024-11-28 10:45:31.259135288 +0000 UTC m=+127.007869512 /usr/bin/dockerd --data-root /tmp/integration3275944212/doshbwdnf46da/root --exec-root /tmp/dxr/doshbwdnf46da --pidfile /tmp/integration3275944212/doshbwdnf46da/docker.pid --containerd-namespace doshbwdnf46da --containerd-plugins-namespace doshbwdnf46dap --host unix:///tmp/docker-integration/doshbwdnf46da.sock --config-file /tmp/integration3275944212/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:138: time="2024-11-28T10:45:31.276731835Z" level=info msg="Starting up" sandbox.go:138: time="2024-11-28T10:45:31.277776400Z" level=warning msg="could not change group /tmp/docker-integration/doshbwdnf46da.sock to docker: group docker not found" sandbox.go:138: time="2024-11-28T10:45:31.277948681Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/doshbwdnf46da.sock)" sandbox.go:138: time="2024-11-28T10:45:31.277964761Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:138: time="2024-11-28T10:45:31.278483195Z" level=info msg="started new containerd process" address=/tmp/dxr/doshbwdnf46da/containerd/containerd.sock module=libcontainerd pid=20088 sandbox.go:138: time="2024-11-28T10:45:31.278799885Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/doshbwdnf46da/containerd/containerd.sock module=libcontainerd sandbox.go:138: time="2024-11-28T10:45:31.278929116Z" level=debug msg="2024/11/28 10:45:31 WARNING: [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/doshbwdnf46da/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/doshbwdnf46da/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:138: time="2024-11-28T10:45:31.289053406Z" level=info msg="starting containerd" revision=7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c version=v1.7.22 sandbox.go:138: time="2024-11-28T10:45:31.301772776Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-11-28T10:45:31.301808102Z" level=info msg="loading plug

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker@26.1, ./tests, experimental)

Failed: tests/TestIntegration/TestBakePrint/worker=docker@26.1

=== RUN TestIntegration/TestBakePrint/worker=docker@26.1 === PAUSE TestIntegration/TestBakePrint/worker=docker@26.1 === CONT TestIntegration/TestBakePrint/worker=docker@26.1 bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0012581c0), (*buildflags.CacheOptionsEntry)(0xc0012581e0), (*buildflags.CacheOptionsEntry)(0xc001258200)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc0012580c0), (*buildflags.CacheOptionsEntry)(0xc0012580e0), (*buildflags.CacheOptionsEntry)(0xc001258120)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker@26.1 sandbox.go:135: stdout: /opt/docker-alt-26/dockerd sandbox.go:135: stderr: /opt/docker-alt-26/dockerd sandbox.go:138: > startCmd 2024-11-28 10:45:33.996433934 +0000 UTC m=+127.893285221 /opt/docker-alt-26/dockerd --data-root /tmp/integration849403980/dqg574chp6ryf/root --exec-root /tmp/dxr/dqg574chp6ryf --pidfile /tmp/integration849403980/dqg574chp6ryf/docker.pid --containerd-namespace dqg574chp6ryf --containerd-plugins-namespace dqg574chp6ryfp --host unix:///tmp/docker-integration/dqg574chp6ryf.sock --config-file /tmp/integration849403980/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:138: time="2024-11-28T10:45:34.022122258Z" level=info msg="Starting up" sandbox.go:138: time="2024-11-28T10:45:34.023254750Z" level=warning msg="could not change group /tmp/docker-integration/dqg574chp6ryf.sock to docker: group docker not found" sandbox.go:138: time="2024-11-28T10:45:34.023377259Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dqg574chp6ryf.sock)" sandbox.go:138: time="2024-11-28T10:45:34.023397858Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:138: time="2024-11-28T10:45:34.024126564Z" level=info msg="started new containerd process" address=/tmp/dxr/dqg574chp6ryf/containerd/containerd.sock module=libcontainerd pid=20298 sandbox.go:138: time="2024-11-28T10:45:34.024436605Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dqg574chp6ryf/containerd/containerd.sock module=libcontainerd sandbox.go:138: time="2024-11-28T10:45:34.024615063Z" level=debug msg="2024/11/28 10:45:34 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dqg574chp6ryf/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/dqg574chp6ryf/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:138: time="2024-11-28T10:45:34.036321447Z" level=info msg="starting containerd" revision=926c9586fe4a6236699318391cd44976a98e31f1 version=v1.7.15 sandbox.go:138: time="2024-11-28T10:45:34.049064519Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-11-28T10:45:34.049091380Z" level=info msg="loading

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker+containerd@26.1, ./tests, experimental)

Failed: tests/TestIntegration/TestBakePrint/worker=docker+containerd@26.1

=== RUN TestIntegration/TestBakePrint/worker=docker+containerd@26.1 === PAUSE TestIntegration/TestBakePrint/worker=docker+containerd@26.1 === CONT TestIntegration/TestBakePrint/worker=docker+containerd@26.1 bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001f78c00), (*buildflags.CacheOptionsEntry)(0xc001f78c20), (*buildflags.CacheOptionsEntry)(0xc001f78c40)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001f78b00), (*buildflags.CacheOptionsEntry)(0xc001f78b20), (*buildflags.CacheOptionsEntry)(0xc001f78b60)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker+containerd@26.1 sandbox.go:135: stdout: /opt/docker-alt-26/dockerd sandbox.go:135: stderr: /opt/docker-alt-26/dockerd sandbox.go:138: > startCmd 2024-11-28 10:45:14.048053977 +0000 UTC m=+108.051840203 /opt/docker-alt-26/dockerd --data-root /tmp/integration1514326076/dnrg61gwh8q44/root --exec-root /tmp/dxr/dnrg61gwh8q44 --pidfile /tmp/integration1514326076/dnrg61gwh8q44/docker.pid --containerd-namespace dnrg61gwh8q44 --containerd-plugins-namespace dnrg61gwh8q44p --host unix:///tmp/docker-integration/dnrg61gwh8q44.sock --config-file /tmp/integration1514326076/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:138: time="2024-11-28T10:45:14.073101272Z" level=info msg="Starting up" sandbox.go:138: time="2024-11-28T10:45:14.074145925Z" level=warning msg="could not change group /tmp/docker-integration/dnrg61gwh8q44.sock to docker: group docker not found" sandbox.go:138: time="2024-11-28T10:45:14.074257193Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dnrg61gwh8q44.sock)" sandbox.go:138: time="2024-11-28T10:45:14.074275597Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:138: time="2024-11-28T10:45:14.074807782Z" level=info msg="started new containerd process" address=/tmp/dxr/dnrg61gwh8q44/containerd/containerd.sock module=libcontainerd pid=18145 sandbox.go:138: time="2024-11-28T10:45:14.075166463Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dnrg61gwh8q44/containerd/containerd.sock module=libcontainerd sandbox.go:138: time="2024-11-28T10:45:14.075325579Z" level=debug msg="2024/11/28 10:45:14 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dnrg61gwh8q44/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/dnrg61gwh8q44/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:138: time="2024-11-28T10:45:14.087175403Z" level=info msg="starting containerd" revision=926c9586fe4a6236699318391cd44976a98e31f1 version=v1.7.15 sandbox.go:138: time="2024-11-28T10:45:14.100683837Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-11-2

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker+containerd, ./tests, experimental)

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

=== RUN TestIntegration/TestBakePrint/worker=docker+containerd === PAUSE TestIntegration/TestBakePrint/worker=docker+containerd === CONT TestIntegration/TestBakePrint/worker=docker+containerd bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00226ab20), (*buildflags.CacheOptionsEntry)(0xc00226ab40), (*buildflags.CacheOptionsEntry)(0xc00226ab60)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc00226aa20), (*buildflags.CacheOptionsEntry)(0xc00226aa40), (*buildflags.CacheOptionsEntry)(0xc00226aa80)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker+containerd sandbox.go:135: stdout: /usr/bin/dockerd sandbox.go:135: stderr: /usr/bin/dockerd sandbox.go:138: > startCmd 2024-11-28 10:45:52.562684616 +0000 UTC m=+142.793966879 /usr/bin/dockerd --data-root /tmp/integration2763219276/dmvrufb202lql/root --exec-root /tmp/dxr/dmvrufb202lql --pidfile /tmp/integration2763219276/dmvrufb202lql/docker.pid --containerd-namespace dmvrufb202lql --containerd-plugins-namespace dmvrufb202lqlp --host unix:///tmp/docker-integration/dmvrufb202lql.sock --config-file /tmp/integration2763219276/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:138: time="2024-11-28T10:45:52.582124061Z" level=info msg="Starting up" sandbox.go:138: time="2024-11-28T10:45:52.583205179Z" level=warning msg="could not change group /tmp/docker-integration/dmvrufb202lql.sock to docker: group docker not found" sandbox.go:138: time="2024-11-28T10:45:52.583329261Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dmvrufb202lql.sock)" sandbox.go:138: time="2024-11-28T10:45:52.583350481Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:138: time="2024-11-28T10:45:52.583933960Z" level=info msg="started new containerd process" address=/tmp/dxr/dmvrufb202lql/containerd/containerd.sock module=libcontainerd pid=21134 sandbox.go:138: time="2024-11-28T10:45:52.584273484Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dmvrufb202lql/containerd/containerd.sock module=libcontainerd sandbox.go:138: time="2024-11-28T10:45:52.584569464Z" level=debug msg="2024/11/28 10:45:52 WARNING: [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dmvrufb202lql/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/dmvrufb202lql/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:138: time="2024-11-28T10:45:52.595037297Z" level=info msg="starting containerd" revision=7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c version=v1.7.22 sandbox.go:138: time="2024-11-28T10:45:52.607565393Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-11-28T10:45:52.607599026Z" level=info msg="loading plug

Check failure on line 123 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (docker+containerd@26.1, ./tests)

Failed: tests/TestIntegration/TestBakePrint/worker=docker+containerd@26.1

=== RUN TestIntegration/TestBakePrint/worker=docker+containerd@26.1 === PAUSE TestIntegration/TestBakePrint/worker=docker+containerd@26.1 === CONT TestIntegration/TestBakePrint/worker=docker+containerd@26.1 bake.go:123: Error Trace: /src/tests/bake.go:123 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:97 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:211 Error: Not equal: expected: []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001b453c0), (*buildflags.CacheOptionsEntry)(0xc001b453e0), (*buildflags.CacheOptionsEntry)(0xc001b45400)} actual : []*buildflags.CacheOptionsEntry{(*buildflags.CacheOptionsEntry)(0xc001b452c0), (*buildflags.CacheOptionsEntry)(0xc001b452e0), (*buildflags.CacheOptionsEntry)(0xc001b45320)} Diff: --- Expected +++ Actual @@ -17,4 +17,6 @@ (*buildflags.CacheOptionsEntry)({ - Type: (string) (len=15) "user/repo:cache", - Attrs: (map[string]string) <nil>, + Type: (string) (len=8) "registry", + Attrs: (map[string]string) (len=1) { + (string) (len=3) "ref": (string) (len=15) "user/repo:cache" + }, ImplicitAttrs: (map[string]string) <nil> Test: TestIntegration/TestBakePrint/worker=docker+containerd@26.1 sandbox.go:135: stdout: /opt/docker-alt-26/dockerd sandbox.go:135: stderr: /opt/docker-alt-26/dockerd sandbox.go:138: > startCmd 2024-11-28 10:44:55.319600907 +0000 UTC m=+79.457319999 /opt/docker-alt-26/dockerd --data-root /tmp/integration1350376794/dlwkgaygljr07/root --exec-root /tmp/dxr/dlwkgaygljr07 --pidfile /tmp/integration1350376794/dlwkgaygljr07/docker.pid --containerd-namespace dlwkgaygljr07 --containerd-plugins-namespace dlwkgaygljr07p --host unix:///tmp/docker-integration/dlwkgaygljr07.sock --config-file /tmp/integration1350376794/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:138: time="2024-11-28T10:44:55.348031572Z" level=info msg="Starting up" sandbox.go:138: time="2024-11-28T10:44:55.349089829Z" level=warning msg="could not change group /tmp/docker-integration/dlwkgaygljr07.sock to docker: group docker not found" sandbox.go:138: time="2024-11-28T10:44:55.349251191Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dlwkgaygljr07.sock)" sandbox.go:138: time="2024-11-28T10:44:55.349269114Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:138: time="2024-11-28T10:44:55.349800847Z" level=info msg="started new containerd process" address=/tmp/dxr/dlwkgaygljr07/containerd/containerd.sock module=libcontainerd pid=14650 sandbox.go:138: time="2024-11-28T10:44:55.350547464Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dlwkgaygljr07/containerd/containerd.sock module=libcontainerd sandbox.go:138: time="2024-11-28T10:44:55.350718836Z" level=debug msg="2024/11/28 10:44:55 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dlwkgaygljr07/containerd/containerd.sock\", ServerName: \"localhost\", Attributes: {\"<%!p(networktype.keyType=grpc.internal.transport.networktype)>\": \"unix\" }, }. Err: connection error: desc = \"transport: Error while dialing: dial unix /tmp/dxr/dlwkgaygljr07/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:138: time="2024-11-28T10:44:55.363525289Z" level=info msg="starting containerd" revision=926c9586fe4a6236699318391cd44976a98e31f1 version=v1.7.15 sandbox.go:138: time="2024-11-28T10:44:55.376295148Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:138: time="2024-11-28
{Type: "gha", Attrs: map[string]string{"scope": "build"}},
{Type: "s3", Attrs: map[string]string{"region": "eu-west-1", "bucket": "mybucket"}},
{Type: "user/repo:cache"},
}, def.Target["build"].CacheFrom)
require.Equal(t, []*buildflags.CacheOptionsEntry{
{Type: "gha", Attrs: map[string]string{"scope": "build", "token": "foo", "mode": "max"}},
{Type: "s3", Attrs: map[string]string{"region": "eu-west-1", "bucket": "mybucket"}},
{Type: "inline"},
}, def.Target["build"].CacheTo)
require.Equal(t, []*buildflags.ExportEntry{
{Type: "local", Destination: "./release-out"},
{Type: "registry", Attrs: map[string]string{"ref": "user/app"}},
}, def.Target["build"].Outputs)

require.JSONEq(t, `{
"group": {
"default": {
"targets": [
"build"
]
}
},
"target": {
"build": {
"context": ".",
"dockerfile": "Dockerfile",
"args": {
"HELLO": "foo"
},
"cache-from": [
"type=gha,scope=build",
"type=s3,region=eu-west-1,bucket=mybucket",
"user/repo:cache"
],
"cache-to": [
"type=gha,scope=build,mode=max",
"type=s3,region=eu-west-1,bucket=mybucket",
"type=inline"
],
"output": [
"./release-out",
"type=registry,ref=user/app"
]
}
}
}
`, stdout.String())
}

func testBakePrintConsistency(t *testing.T, sb integration.Sandbox) {
testCases := []struct {
name string
f string
Expand Down

0 comments on commit 625bbae

Please sign in to comment.