Skip to content

Commit

Permalink
build: opt to set progress warnings in response
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 Jun 24, 2024
1 parent d155747 commit fc32c7d
Show file tree
Hide file tree
Showing 9 changed files with 253 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
endpoint: tcp://localhost:1234
- driver: docker-container
metadata-provenance: max
- driver: docker-container
metadata-warnings: true
exclude:
- driver: docker
multi-node: mnode-true
Expand Down Expand Up @@ -134,6 +136,9 @@ jobs:
if [ -n "${{ matrix.metadata-provenance }}" ]; then
echo "BUILDX_METADATA_PROVENANCE=${{ matrix.metadata-provenance }}" >> $GITHUB_ENV
fi
if [ -n "${{ matrix.metadata-warnings }}" ]; then
echo "BUILDX_METADATA_WARNINGS=${{ matrix.metadata-warnings }}" >> $GITHUB_ENV
fi
-
name: Install k3s
if: matrix.driver == 'kubernetes'
Expand Down
2 changes: 1 addition & 1 deletion commands/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func runBake(ctx context.Context, dockerCli command.Cli, targets []string, in ba
if len(in.metadataFile) > 0 {
dt := make(map[string]interface{})
for t, r := range resp {
dt[t] = decodeExporterResponse(r.ExporterResponse)
dt[t] = decodeExporterResponse(r.ExporterResponse, printer.Warnings())
}
if err := writeMetadataFile(in.metadataFile, dt); err != nil {
return err
Expand Down
7 changes: 5 additions & 2 deletions commands/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ func runBuild(ctx context.Context, dockerCli command.Cli, options buildOptions)
return err
}
} else if options.metadataFile != "" {
if err := writeMetadataFile(options.metadataFile, decodeExporterResponse(resp.ExporterResponse)); err != nil {
if err := writeMetadataFile(options.metadataFile, decodeExporterResponse(resp.ExporterResponse, printer.Warnings())); err != nil {
return err
}
}
Expand Down Expand Up @@ -728,7 +728,7 @@ func writeMetadataFile(filename string, dt interface{}) error {
return ioutils.AtomicWriteFile(filename, b, 0644)
}

func decodeExporterResponse(exporterResponse map[string]string) map[string]interface{} {
func decodeExporterResponse(exporterResponse map[string]string, warnings []client.VertexWarning) map[string]interface{} {
out := make(map[string]interface{})
for k, v := range exporterResponse {
dt, err := base64.StdEncoding.DecodeString(v)
Expand All @@ -743,6 +743,9 @@ func decodeExporterResponse(exporterResponse map[string]string) map[string]inter
}
out[k] = json.RawMessage(dt)
}
if len(warnings) > 0 && confutil.MetadataWarningsEnabled() {
out["buildx.build.warnings"] = warnings
}
return out
}

Expand Down
7 changes: 7 additions & 0 deletions docs/reference/buildx_bake.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ $ cat metadata.json

```json
{
"buildx.build.warnings": {},
"db": {
"buildx.build.provenance": {},
"buildx.build.ref": "mybuilder/mybuilder0/0fjb6ubs52xx3vygf6fgdl611",
Expand Down Expand Up @@ -161,6 +162,12 @@ $ cat metadata.json
> * `max` sets full provenance.
> * `disabled`, `false` or `0` does not set any provenance.
> **Note**
>
> Build warnings (`buildx.build.warnings`) are not included by default. Set the
> `BUILDX_METADATA_WARNING` environment variable to `1` or `true` to
> include build record warnings.
### <a name="no-cache"></a> Don't use cache when building the image (--no-cache)

Same as `build --no-cache`. Don't use cache when building the image.
Expand Down
7 changes: 7 additions & 0 deletions docs/reference/buildx_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ $ cat metadata.json
{
"buildx.build.provenance": {},
"buildx.build.ref": "mybuilder/mybuilder0/0fjb6ubs52xx3vygf6fgdl611",
"buildx.build.warnings": {},
"containerimage.config.digest": "sha256:2937f66a9722f7f4a2df583de2f8cb97fc9196059a410e7f00072fc918930e66",
"containerimage.descriptor": {
"annotations": {
Expand All @@ -353,6 +354,12 @@ $ cat metadata.json
> * `max` sets full provenance.
> * `disabled`, `false` or `0` does not set any provenance.
> **Note**
>
> Build warnings (`buildx.build.warnings`) are not included by default. Set the
> `BUILDX_METADATA_WARNING` environment variable to `1` or `true` to
> include build record warnings.
### <a name="no-cache-filter"></a> Ignore build cache for specific stages (--no-cache-filter)

The `--no-cache-filter` lets you specify one or more stages of a multi-stage
Expand Down
8 changes: 4 additions & 4 deletions hack/test-driver
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,21 @@ buildxCmd inspect --bootstrap --builder="${builderName}"

# create dockerfile
cat > "${dockerfile}" <<EOL
FROM busybox as build
fRom busybox as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN echo "I am running on \$BUILDPLATFORM, building for \$TARGETPLATFORM" > /log
FROM busybox AS log
FROM busybox As log
COPY --from=build /log /log
RUN cat /log
RUN uname -a
FROM busybox AS hello
FROm busybox AS hello
RUN echo hello > /hello
FROM scratch
COPY --from=log /log /log
CoPY --from=log /log /log
COPY --from=hello /hello /hello
EOL

Expand Down
153 changes: 147 additions & 6 deletions tests/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

"github.com/containerd/continuity/fs/fstest"
"github.com/docker/buildx/util/gitutil"
"github.com/moby/buildkit/client"
"github.com/moby/buildkit/identity"
provenancetypes "github.com/moby/buildkit/solver/llbsolver/provenance/types"
"github.com/moby/buildkit/util/contentutil"
Expand Down Expand Up @@ -42,7 +43,9 @@ var bakeTests = []func(t *testing.T, sb integration.Sandbox){
testBakeEmpty,
testBakeShmSize,
testBakeUlimits,
testBakeMetadata,
testBakeMetadataProvenance,
testBakeMetadataWarnings,
bakeMetadataWarningsDedup,
testBakeMultiExporters,
testBakeLoadPush,
}
Expand Down Expand Up @@ -633,19 +636,22 @@ target "default" {
require.Contains(t, string(dt), `1024`)
}

func testBakeMetadata(t *testing.T, sb integration.Sandbox) {
func testBakeMetadataProvenance(t *testing.T, sb integration.Sandbox) {
t.Run("default", func(t *testing.T) {
bakeMetadataProvenance(t, sb, "")
})
t.Run("max", func(t *testing.T) {
bakeMetadata(t, sb, "max")
bakeMetadataProvenance(t, sb, "max")
})
t.Run("min", func(t *testing.T) {
bakeMetadata(t, sb, "min")
bakeMetadataProvenance(t, sb, "min")
})
t.Run("disabled", func(t *testing.T) {
bakeMetadata(t, sb, "disabled")
bakeMetadataProvenance(t, sb, "disabled")
})
}

func bakeMetadata(t *testing.T, sb integration.Sandbox, metadataMode string) {
func bakeMetadataProvenance(t *testing.T, sb integration.Sandbox, metadataMode string) {
dockerfile := []byte(`
FROM scratch
COPY foo /foo
Expand Down Expand Up @@ -706,6 +712,141 @@ target "default" {
require.Equal(t, provenancetypes.BuildKitBuildType, prv.BuildType)
}

func testBakeMetadataWarnings(t *testing.T, sb integration.Sandbox) {
t.Run("default", func(t *testing.T) {
bakeMetadataWarnings(t, sb, "")
})
t.Run("true", func(t *testing.T) {
bakeMetadataWarnings(t, sb, "true")
})
t.Run("false", func(t *testing.T) {
bakeMetadataWarnings(t, sb, "false")
})
}

func bakeMetadataWarnings(t *testing.T, sb integration.Sandbox, mode string) {
dockerfile := []byte(`
frOM busybox as base
cOpy Dockerfile .
from scratch
COPy --from=base \
/Dockerfile \
/
`)
bakefile := []byte(`
target "default" {
}
`)
dir := tmpdir(
t,
fstest.CreateFile("docker-bake.hcl", bakefile, 0600),
fstest.CreateFile("Dockerfile", dockerfile, 0600),
)

dirDest := t.TempDir()

outFlag := "default.output=type=docker"
if sb.DockerAddress() == "" {
// there is no Docker atm to load the image
outFlag += ",dest=" + dirDest + "/image.tar"
}

cmd := buildxCmd(
sb,
withDir(dir),
withArgs("bake", "--metadata-file", filepath.Join(dirDest, "md.json"), "--set", outFlag),
withEnv("BUILDX_METADATA_WARNINGS="+mode),
)
out, err := cmd.CombinedOutput()
require.NoError(t, err, out)

dt, err := os.ReadFile(filepath.Join(dirDest, "md.json"))
require.NoError(t, err)

type mdT struct {
BuildWarnings []client.VertexWarning `json:"buildx.build.warnings"`
Default struct {
BuildRef string `json:"buildx.build.ref"`
} `json:"default"`
}
var md mdT
err = json.Unmarshal(dt, &md)
require.NoError(t, err)

require.NotEmpty(t, md.Default.BuildRef)
if mode == "" || mode == "false" {
require.Empty(t, md.BuildWarnings)
return
} else {
require.NotEmpty(t, md.BuildWarnings)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.13s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.12s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (1.26s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.13s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.15s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.16s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.17s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.13s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.20s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.33s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.14s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.22s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.29s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=remote/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=remote/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=remote/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=remote/true (0.26s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.24s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.25s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.21s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.25s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.23s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.27s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.33s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.24s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.18s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker-container/true (0.36s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker/true (0.08s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true (0.14s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker+containerd/true (0.14s)

Check failure on line 781 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeMetadataWarnings/worker=docker/true

=== RUN TestIntegration/TestBakeMetadataWarnings/worker=docker/true bake.go:781: Error Trace: /src/tests/bake.go:781 /src/tests/bake.go:720 Error: Should NOT be empty, but was [] Test: TestIntegration/TestBakeMetadataWarnings/worker=docker/true --- FAIL: TestIntegration/TestBakeMetadataWarnings/worker=docker/true (0.08s)
}

skipNoCompatBuildKit(t, sb, ">= 0.14.0-0", "lint")
require.Len(t, md.BuildWarnings, 3)
}

func bakeMetadataWarningsDedup(t *testing.T, sb integration.Sandbox) {
dockerfile := []byte(`
frOM busybox as base
cOpy Dockerfile .
from scratch
COPy --from=base \
/Dockerfile \
/
`)
bakefile := []byte(`
group "default" {
targets = ["base", "def"]
}
target "base" {
target = "base"
}
target "def" {
}
`)
dir := tmpdir(
t,
fstest.CreateFile("docker-bake.hcl", bakefile, 0600),
fstest.CreateFile("Dockerfile", dockerfile, 0600),
)

dirDest := t.TempDir()

outFlag := "default.output=type=docker"
if sb.DockerAddress() == "" {
// there is no Docker atm to load the image
outFlag += ",dest=" + dirDest + "/image.tar"
}

cmd := buildxCmd(
sb,
withDir(dir),
withArgs("bake", "--metadata-file", filepath.Join(dirDest, "md.json"), "--set", outFlag),
withEnv("BUILDX_METADATA_WARNINGS=true"),
)
out, err := cmd.CombinedOutput()
require.NoError(t, err, out)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 119 120 55 120 105 113 50 113 102 120 115 112 108 105 48 101 118 109 53 50 98 115 100 113 110 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config1323731708/buildkitd.toml --root /tmp/bktest_buildkitd3891432356 --addr unix:///tmp/bktest_buildkitd3891432356/buildkitd.sock --debug sandbox.go:133: 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_config1323731708/buildkitd.toml --root /tmp/bktest_buildkitd3891432356 --addr unix:///tmp/bktest_buildkitd3891432356/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:25.291139466 +0000 UTC m=+7.350888204 /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_config1323731708/buildkitd.toml --root /tmp/bktest_buildkitd3891432356 --addr unix:///tmp/bktest_buildkitd3891432356/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:25Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:25Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:25Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:25Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:25Z" level=info msg="found worker \"l1vdn4529r0qnomy0t2w02ijh\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:f0fb4e925357 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:136: time="2024-06-24T17:47:25Z" level=info msg="found 1 workers, default=\"l1vdn4529r0qnomy0t2w02ijh\"" sandbox.go:136: time="2024-06-24T17:47:25Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:25Z" level=info msg="running server on /tmp/bktest_buildkitd3891432356/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWar

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 110 119 97 54 105 54 54 112 53 102 98 102 113 121 52 100 114 49 108 100 98 51 108 121 106 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config1478604625/buildkitd.toml --root /tmp/bktest_buildkitd4186047614 --addr unix:///tmp/bktest_buildkitd4186047614/buildkitd.sock --debug sandbox.go:133: 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_config1478604625/buildkitd.toml --root /tmp/bktest_buildkitd4186047614 --addr unix:///tmp/bktest_buildkitd4186047614/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:29.454981647 +0000 UTC m=+10.805553536 /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_config1478604625/buildkitd.toml --root /tmp/bktest_buildkitd4186047614 --addr unix:///tmp/bktest_buildkitd4186047614/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:29Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:29Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:29Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:29Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:29Z" level=info msg="found worker \"n31j7jwhqn6f1tp27za4lh2no\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:69c628b95202 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:136: time="2024-06-24T17:47:29Z" level=info msg="found 1 workers, default=\"n31j7jwhqn6f1tp27za4lh2no\"" sandbox.go:136: time="2024-06-24T17:47:29Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:29Z" level=info msg="running server on /tmp/bktest_buildkitd4186047614/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarnin

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 98 102 55 103 105 113 53 54 120 110 98 104 49 121 52 118 114 103 117 50 103 52 49 111 117 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config3718103279/buildkitd.toml --root /tmp/bktest_buildkitd439318469 --addr unix:///tmp/bktest_buildkitd439318469/buildkitd.sock --debug sandbox.go:133: 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_config3718103279/buildkitd.toml --root /tmp/bktest_buildkitd439318469 --addr unix:///tmp/bktest_buildkitd439318469/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:23.673913461 +0000 UTC m=+6.620649534 /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_config3718103279/buildkitd.toml --root /tmp/bktest_buildkitd439318469 --addr unix:///tmp/bktest_buildkitd439318469/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:23Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:23Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:23Z" level=info msg="found worker \"xp2ke6z6pbglz9xkm0muhqj6k\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:5852eb6c9b5f 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:136: time="2024-06-24T17:47:23Z" level=info msg="found 1 workers, default=\"xp2ke6z6pbglz9xkm0muhqj6k\"" sandbox.go:136: time="2024-06-24T17:47:23Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:23Z" level=info msg="running server on /tmp/bktest_buildkitd439318469/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=remote (0.57s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 111 122 108 53 117 114 111 120 57 115 118 109 49 98 104 48 104 104 52 101 114 111 53 57 105 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config3358315189/buildkitd.toml --root /tmp/bktest_buildkitd885102766 --addr unix:///tmp/bktest_buildkitd885102766/buildkitd.sock --debug sandbox.go:133: 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_config3358315189/buildkitd.toml --root /tmp/bktest_buildkitd885102766 --addr unix:///tmp/bktest_buildkitd885102766/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:32.388277923 +0000 UTC m=+9.904288279 /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_config3358315189/buildkitd.toml --root /tmp/bktest_buildkitd885102766 --addr unix:///tmp/bktest_buildkitd885102766/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:32Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:32Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:32Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:32Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:32Z" level=info msg="found worker \"6y5p90u4vr43ecbnb6vpq56f3\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:08c5f5aef31a 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:136: time="2024-06-24T17:47:32Z" level=info msg="found 1 workers, default=\"6y5p90u4vr43ecbnb6vpq56f3\"" sandbox.go:136: time="2024-06-24T17:47:32Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:32Z" level=info msg="running server on /tmp/bktest_buildkitd885102766/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarningsDedu

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 101 102 105 100 121 104 116 54 97 113 53 113 114 50 113 48 53 121 57 121 110 48 104 53 99 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config3221487878/buildkitd.toml --root /tmp/bktest_buildkitd2896441001 --addr unix:///tmp/bktest_buildkitd2896441001/buildkitd.sock --debug sandbox.go:133: 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_config3221487878/buildkitd.toml --root /tmp/bktest_buildkitd2896441001 --addr unix:///tmp/bktest_buildkitd2896441001/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:31.122665771 +0000 UTC m=+9.737232879 /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_config3221487878/buildkitd.toml --root /tmp/bktest_buildkitd2896441001 --addr unix:///tmp/bktest_buildkitd2896441001/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:31Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:31Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:31Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:31Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:31Z" level=info msg="found worker \"c9mbskaots78eq90ipf8uum8s\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:e57217da3a9e 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:136: time="2024-06-24T17:47:31Z" level=info msg="found 1 workers, default=\"c9mbskaots78eq90ipf8uum8s\"" sandbox.go:136: time="2024-06-24T17:47:31Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:31Z" level=info msg="running server on /tmp/bktest_buildkitd2896441001/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarning

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 114 112 107 113 97 49 117 97 104 53 55 98 110 121 120 107 97 50 115 115 122 113 113 120 101 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config3394490221/buildkitd.toml --root /tmp/bktest_buildkitd501893251 --addr unix:///tmp/bktest_buildkitd501893251/buildkitd.sock --debug sandbox.go:133: 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_config3394490221/buildkitd.toml --root /tmp/bktest_buildkitd501893251 --addr unix:///tmp/bktest_buildkitd501893251/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:30.907953003 +0000 UTC m=+7.782421446 /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_config3394490221/buildkitd.toml --root /tmp/bktest_buildkitd501893251 --addr unix:///tmp/bktest_buildkitd501893251/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:30Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:30Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:31Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:31Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:31Z" level=info msg="found worker \"s62366qiss8xjid3mrlpa3cgt\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:c0b996a62194 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:136: time="2024-06-24T17:47:31Z" level=info msg="found 1 workers, default=\"s62366qiss8xjid3mrlpa3cgt\"" sandbox.go:136: time="2024-06-24T17:47:31Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:31Z" level=info msg="running server on /tmp/bktest_buildkitd501893251/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarningsDedu

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 111 119 98 53 111 55 102 52 56 99 57 101 52 119 117 97 103 98 122 112 107 100 99 119 108 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config4101355100/buildkitd.toml --root /tmp/bktest_buildkitd982970993 --addr unix:///tmp/bktest_buildkitd982970993/buildkitd.sock --debug sandbox.go:133: 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_config4101355100/buildkitd.toml --root /tmp/bktest_buildkitd982970993 --addr unix:///tmp/bktest_buildkitd982970993/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:38.537667235 +0000 UTC m=+13.009791499 /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_config4101355100/buildkitd.toml --root /tmp/bktest_buildkitd982970993 --addr unix:///tmp/bktest_buildkitd982970993/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:38Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:38Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:38Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:38Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:38Z" level=info msg="found worker \"wfgm30acx6k6x9lql7d228h0x\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:1020e1f47504 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:136: time="2024-06-24T17:47:38Z" level=info msg="found 1 workers, default=\"wfgm30acx6k6x9lql7d228h0x\"" sandbox.go:136: time="2024-06-24T17:47:38Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:38Z" level=info msg="running server on /tmp/bktest_buildkitd982970993/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarningsDedup/

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 111 49 99 57 116 100 51 50 49 104 104 111 102 117 105 102 122 106 101 112 98 103 114 98 116 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config3155437183/buildkitd.toml --root /tmp/bktest_buildkitd1519299013 --addr unix:///tmp/bktest_buildkitd1519299013/buildkitd.sock --debug sandbox.go:133: 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_config3155437183/buildkitd.toml --root /tmp/bktest_buildkitd1519299013 --addr unix:///tmp/bktest_buildkitd1519299013/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:36.138926907 +0000 UTC m=+8.929144547 /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_config3155437183/buildkitd.toml --root /tmp/bktest_buildkitd1519299013 --addr unix:///tmp/bktest_buildkitd1519299013/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:36Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:36Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:36Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:36Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:36Z" level=info msg="found worker \"qekl249ihib551t7jiq3bonqa\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:6125cbf5dc3a 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:136: time="2024-06-24T17:47:36Z" level=info msg="found 1 workers, default=\"qekl249ihib551t7jiq3bonqa\"" sandbox.go:136: time="2024-06-24T17:47:36Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:36Z" level=info msg="running server on /tmp/bktest_buildkitd1519299013/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarni

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 107 103 112 101 112 57 99 112 103 54 112 106 110 117 121 107 54 112 110 101 114 106 118 48 100 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.74s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 53 122 111 53 107 50 115 121 99 102 109 120 111 107 99 107 116 97 100 102 56 56 109 111 118 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.97s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 117 115 101 51 56 97 113 105 49 51 55 108 115 49 104 119 110 117 113 103 115 99 99 51 99 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config3091918239/buildkitd.toml --root /tmp/bktest_buildkitd3238269359 --addr unix:///tmp/bktest_buildkitd3238269359/buildkitd.sock --debug sandbox.go:133: 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_config3091918239/buildkitd.toml --root /tmp/bktest_buildkitd3238269359 --addr unix:///tmp/bktest_buildkitd3238269359/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:40.543807601 +0000 UTC m=+9.462268770 /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_config3091918239/buildkitd.toml --root /tmp/bktest_buildkitd3238269359 --addr unix:///tmp/bktest_buildkitd3238269359/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:40Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:40Z" level=warning msg="failed to get disk size: no such file or directory" sandbox.go:136: time="2024-06-24T17:47:40Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:40Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:40Z" level=info msg="found worker \"a3wyriv7ngdcijbgvgryb5v0k\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:98d22ce30fc3 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:136: time="2024-06-24T17:47:40Z" level=info msg="found 1 workers, default=\"a3wyriv7ngdcijbgvgryb5v0k\"" sandbox.go:136: time="2024-06-24T17:47:40Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:40Z" level=info msg="running server on /tmp/bktest_buildkitd3238269359/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarnings

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 108 102 117 108 121 106 116 105 99 101 107 98 53 110 104 101 54 121 106 117 49 54 108 122 103 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config2364993547/buildkitd.toml --root /tmp/bktest_buildkitd1209079270 --addr unix:///tmp/bktest_buildkitd1209079270/buildkitd.sock --debug sandbox.go:133: 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_config2364993547/buildkitd.toml --root /tmp/bktest_buildkitd1209079270 --addr unix:///tmp/bktest_buildkitd1209079270/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:41.686506442 +0000 UTC m=+10.521197587 /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_config2364993547/buildkitd.toml --root /tmp/bktest_buildkitd1209079270 --addr unix:///tmp/bktest_buildkitd1209079270/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:41Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:41Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:41Z" level=info msg="found worker \"qbizmuia95901tavjd96prt8j\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:880880b76a56 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:136: time="2024-06-24T17:47:41Z" level=info msg="found 1 workers, default=\"qbizmuia95901tavjd96prt8j\"" sandbox.go:136: time="2024-06-24T17:47:41Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:41Z" level=info msg="running server on /tmp/bktest_buildkitd1209079270/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=remote (0.60s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 111 100 122 111 112 121 111 110 53 112 106 48 108 97 99 48 98 99 111 53 122 115 98 113 102 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config4174226632/buildkitd.toml --root /tmp/bktest_buildkitd1324032138 --addr unix:///tmp/bktest_buildkitd1324032138/buildkitd.sock --debug sandbox.go:133: 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_config4174226632/buildkitd.toml --root /tmp/bktest_buildkitd1324032138 --addr unix:///tmp/bktest_buildkitd1324032138/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:39.153242408 +0000 UTC m=+9.632481251 /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_config4174226632/buildkitd.toml --root /tmp/bktest_buildkitd1324032138 --addr unix:///tmp/bktest_buildkitd1324032138/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:39Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:39Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:39Z" level=info msg="found worker \"l4b5aaltno1orn24g5glbc8aw\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:31d59b763bf9 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:136: time="2024-06-24T17:47:39Z" level=info msg="found 1 workers, default=\"l4b5aaltno1orn24g5glbc8aw\"" sandbox.go:136: time="2024-06-24T17:47:39Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:39Z" level=info msg="running server on /tmp/bktest_buildkitd1324032138/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=remote (0.51s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=remote

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=remote === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=remote === CONT TestIntegration/BakeMetadataWarningsDedup/worker=remote bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=remote Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 101 109 111 116 101 45 112 113 117 110 117 102 99 109 112 54 114 106 53 118 118 101 103 118 48 104 55 57 48 54 54 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 114 101 109 111 116 101 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: 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_config2875505208/buildkitd.toml --root /tmp/bktest_buildkitd4126885669 --addr unix:///tmp/bktest_buildkitd4126885669/buildkitd.sock --debug sandbox.go:133: 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_config2875505208/buildkitd.toml --root /tmp/bktest_buildkitd4126885669 --addr unix:///tmp/bktest_buildkitd4126885669/buildkitd.sock --debug sandbox.go:136: > StartCmd 2024-06-24 17:47:45.775456147 +0000 UTC m=+16.052240418 /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_config2875505208/buildkitd.toml --root /tmp/bktest_buildkitd4126885669 --addr unix:///tmp/bktest_buildkitd4126885669/buildkitd.sock --debug sandbox.go:136: time="2024-06-24T17:47:45Z" level=info msg="auto snapshotter: using overlayfs" sandbox.go:136: time="2024-06-24T17:47:45Z" level=warning msg="using host network as the default" sandbox.go:136: time="2024-06-24T17:47:45Z" level=info msg="found worker \"purnxu3auohudm6evr04qp7oa\", labels=map[org.mobyproject.buildkit.worker.executor:oci org.mobyproject.buildkit.worker.hostname:c37e11ba8f2d 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:136: time="2024-06-24T17:47:45Z" level=info msg="found 1 workers, default=\"purnxu3auohudm6evr04qp7oa\"" sandbox.go:136: time="2024-06-24T17:47:45Z" level=warning msg="currently, only the default worker can be used." sandbox.go:136: time="2024-06-24T17:47:45Z" level=info msg="running server on /tmp/bktest_buildkitd4126885669/buildkitd.sock" --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=remote (0.52s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 109 109 54 103 50 103 53 52 54 104 52 49 111 107 99 102 53 106 106 108 109 109 117 108 109 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.67s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 116 50 54 121 57 107 102 57 118 97 97 49 99 116 111 48 117 112 103 53 110 121 49 100 54 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.72s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 109 56 101 104 49 54 106 102 103 122 55 119 104 110 53 112 106 119 117 104 57 120 105 57 111 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.65s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 121 112 112 111 110 48 98 55 122 48 51 107 111 103 107 111 106 108 97 99 53 115 56 57 98 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.67s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 55 112 100 50 49 113 118 110 110 114 113 105 57 109 100 107 53 111 57 56 54 102 55 113 119 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.75s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 54 118 119 121 118 105 52 113 109 50 102 107 121 110 100 108 110 56 104 107 118 101 110 111 54 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.95s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 54 120 57 51 112 50 98 57 113 51 109 106 112 98 105 107 104 119 104 110 114 117 57 122 107 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.88s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 115 56 115 56 114 53 50 104 57 57 51 122 55 106 117 48 118 113 54 118 107 112 116 119 52 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (6.79s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 107 104 119 56 52 51 53 50 105 105 99 103 48 119 48 122 107 111 119 117 49 97 104 99 111 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.83s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker-container === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker-container bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 99 111 110 116 97 105 110 101 114 45 113 52 119 118 120 102 122 115 106 119 121 121 56 109 105 112 106 122 102 121 104 56 101 117 54 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 45 99 111 110 116 97 105 110 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] --- FAIL: TestIntegration/BakeMetadataWarningsDedup/worker=docker-container (0.80s)

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=docker

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 114 102 55 116 107 108 122 103 112 115 119 109 120 116 112 103 53 113 115 112 52 97 113 103 116 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: stdout: /usr/bin/dockerd sandbox.go:133: stderr: /usr/bin/dockerd sandbox.go:136: > startCmd 2024-06-24 17:48:11.078468908 +0000 UTC m=+55.167675232 /usr/bin/dockerd --data-root /tmp/integration1474732815/d5mtuso7zjegn/root --exec-root /tmp/dxr/d5mtuso7zjegn --pidfile /tmp/integration1474732815/d5mtuso7zjegn/docker.pid --containerd-namespace d5mtuso7zjegn --containerd-plugins-namespace d5mtuso7zjegnp --host unix:///tmp/docker-integration/d5mtuso7zjegn.sock --config-file /tmp/integration1474732815/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:136: time="2024-06-24T17:48:11.098126434Z" level=info msg="Starting up" sandbox.go:136: time="2024-06-24T17:48:11.099148377Z" level=warning msg="could not change group /tmp/docker-integration/d5mtuso7zjegn.sock to docker: group docker not found" sandbox.go:136: time="2024-06-24T17:48:11.099266978Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d5mtuso7zjegn.sock)" sandbox.go:136: time="2024-06-24T17:48:11.099290512Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:136: time="2024-06-24T17:48:11.099877427Z" level=info msg="started new containerd process" address=/tmp/dxr/d5mtuso7zjegn/containerd/containerd.sock module=libcontainerd pid=12237 sandbox.go:136: time="2024-06-24T17:48:11.100192864Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d5mtuso7zjegn/containerd/containerd.sock module=libcontainerd sandbox.go:136: time="2024-06-24T17:48:11.100382726Z" level=debug msg="2024/06/24 17:48:11 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d5mtuso7zjegn/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/d5mtuso7zjegn/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:136: time="2024-06-24T17:48:11.111532470Z" level=info msg="starting containerd" revision=ae71819c4f5e67bb4d5ae76a6b735f29cc25774e version=v1.7.18 sandbox.go:136: time="2024-06-24T17:48:11.125080680Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:136: time="2024-06-24T17:48:11.125104083Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:136: time="2024-06-24T17:48:11.12513

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker+containerd === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker+containerd === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker+containerd bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker+containerd Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 107 50 107 107 115 120 48 117 113 121 108 49 52 118 120 114 57 117 120 109 118 51 100 109 116 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: stdout: /usr/bin/dockerd sandbox.go:133: stderr: /usr/bin/dockerd sandbox.go:136: > startCmd 2024-06-24 17:48:16.805709364 +0000 UTC m=+55.386612725 /usr/bin/dockerd --data-root /tmp/integration1449152910/ds7lzcozjtexp/root --exec-root /tmp/dxr/ds7lzcozjtexp --pidfile /tmp/integration1449152910/ds7lzcozjtexp/docker.pid --containerd-namespace ds7lzcozjtexp --containerd-plugins-namespace ds7lzcozjtexpp --host unix:///tmp/docker-integration/ds7lzcozjtexp.sock --config-file /tmp/integration1449152910/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:136: time="2024-06-24T17:48:16.828607014Z" level=info msg="Starting up" sandbox.go:136: time="2024-06-24T17:48:16.829837930Z" level=warning msg="could not change group /tmp/docker-integration/ds7lzcozjtexp.sock to docker: group docker not found" sandbox.go:136: time="2024-06-24T17:48:16.829973563Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/ds7lzcozjtexp.sock)" sandbox.go:136: time="2024-06-24T17:48:16.829996556Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:136: time="2024-06-24T17:48:16.830667317Z" level=info msg="started new containerd process" address=/tmp/dxr/ds7lzcozjtexp/containerd/containerd.sock module=libcontainerd pid=11991 sandbox.go:136: time="2024-06-24T17:48:16.831087831Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/ds7lzcozjtexp/containerd/containerd.sock module=libcontainerd sandbox.go:136: time="2024-06-24T17:48:16.831284126Z" level=debug msg="2024/06/24 17:48:16 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/ds7lzcozjtexp/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/ds7lzcozjtexp/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:136: time="2024-06-24T17:48:16.845518887Z" level=info msg="starting containerd" revision=ae71819c4f5e67bb4d5ae76a6b735f29cc25774e version=v1.7.18 sandbox.go:136: time="2024-06-24T17:48:16.859877929Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:136: time="2024-06-24T17:48:16.859912975Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandb

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

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

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker+containerd === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker+containerd === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker+containerd bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker+containerd Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 117 50 115 51 54 98 98 97 116 50 52 114 51 119 52 118 54 54 51 48 122 52 99 101 55 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: stderr: /usr/bin/dockerd sandbox.go:136: > startCmd 2024-06-24 17:48:16.157193303 +0000 UTC m=+54.734173473 /usr/bin/dockerd --data-root /tmp/integration3284691182/djv9gh6c9vj38/root --exec-root /tmp/dxr/djv9gh6c9vj38 --pidfile /tmp/integration3284691182/djv9gh6c9vj38/docker.pid --containerd-namespace djv9gh6c9vj38 --containerd-plugins-namespace djv9gh6c9vj38p --host unix:///tmp/docker-integration/djv9gh6c9vj38.sock --config-file /tmp/integration3284691182/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:136: time="2024-06-24T17:48:16.176201040Z" level=info msg="Starting up" sandbox.go:136: time="2024-06-24T17:48:16.177125772Z" level=warning msg="could not change group /tmp/docker-integration/djv9gh6c9vj38.sock to docker: group docker not found" sandbox.go:136: time="2024-06-24T17:48:16.177240016Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/djv9gh6c9vj38.sock)" sandbox.go:136: time="2024-06-24T17:48:16.177262918Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:136: time="2024-06-24T17:48:16.177812668Z" level=info msg="started new containerd process" address=/tmp/dxr/djv9gh6c9vj38/containerd/containerd.sock module=libcontainerd pid=11990 sandbox.go:136: time="2024-06-24T17:48:16.178126124Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/djv9gh6c9vj38/containerd/containerd.sock module=libcontainerd sandbox.go:136: time="2024-06-24T17:48:16.178371184Z" level=debug msg="2024/06/24 17:48:16 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/djv9gh6c9vj38/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/djv9gh6c9vj38/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:136: time="2024-06-24T17:48:16.192411891Z" level=info msg="starting containerd" revision=ae71819c4f5e67bb4d5ae76a6b735f29cc25774e version=v1.7.18 sandbox.go:136: time="2024-06-24T17:48:16.205592055Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:136: time="2024-06-24T17:48:16.205614106Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:136: time="2024-06-24T17:48:16.205637881Z" level=i

Check failure on line 828 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/BakeMetadataWarningsDedup/worker=docker

=== RUN TestIntegration/BakeMetadataWarningsDedup/worker=docker === PAUSE TestIntegration/BakeMetadataWarningsDedup/worker=docker === CONT TestIntegration/BakeMetadataWarningsDedup/worker=docker bake.go:828: Error Trace: /src/tests/bake.go:828 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:95 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:212 Error: Received unexpected error: exit status 1 Test: TestIntegration/BakeMetadataWarningsDedup/worker=docker Messages: [35 48 32 98 117 105 108 100 105 110 103 32 119 105 116 104 32 34 105 110 116 101 103 114 97 116 105 111 110 45 122 53 56 99 53 108 54 104 51 102 53 117 57 118 99 99 109 50 120 118 108 101 121 109 119 34 32 105 110 115 116 97 110 99 101 32 117 115 105 110 103 32 100 111 99 107 101 114 32 100 114 105 118 101 114 10 10 35 49 32 91 105 110 116 101 114 110 97 108 93 32 108 111 97 100 32 108 111 99 97 108 32 98 97 107 101 32 100 101 102 105 110 105 116 105 111 110 115 10 35 49 32 114 101 97 100 105 110 103 32 100 111 99 107 101 114 45 98 97 107 101 46 104 99 108 32 49 48 50 66 32 47 32 49 48 50 66 32 100 111 110 101 10 35 49 32 68 79 78 69 32 48 46 48 115 10 69 82 82 79 82 58 32 99 111 117 108 100 32 110 111 116 32 102 105 110 100 32 97 110 121 32 116 97 114 103 101 116 32 109 97 116 99 104 105 110 103 32 39 100 101 102 97 117 108 116 39 10] sandbox.go:133: stdout: /usr/bin/dockerd sandbox.go:133: stderr: /usr/bin/dockerd sandbox.go:136: > startCmd 2024-06-24 17:48:22.857346771 +0000 UTC m=+57.174612965 /usr/bin/dockerd --data-root /tmp/integration1248371654/dgjwbza6thgwi/root --exec-root /tmp/dxr/dgjwbza6thgwi --pidfile /tmp/integration1248371654/dgjwbza6thgwi/docker.pid --containerd-namespace dgjwbza6thgwi --containerd-plugins-namespace dgjwbza6thgwip --host unix:///tmp/docker-integration/dgjwbza6thgwi.sock --config-file /tmp/integration1248371654/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:136: time="2024-06-24T17:48:22.878339295Z" level=info msg="Starting up" sandbox.go:136: time="2024-06-24T17:48:22.879420887Z" level=warning msg="could not change group /tmp/docker-integration/dgjwbza6thgwi.sock to docker: group docker not found" sandbox.go:136: time="2024-06-24T17:48:22.879563472Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dgjwbza6thgwi.sock)" sandbox.go:136: time="2024-06-24T17:48:22.879585283Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:136: time="2024-06-24T17:48:22.880160700Z" level=info msg="started new containerd process" address=/tmp/dxr/dgjwbza6thgwi/containerd/containerd.sock module=libcontainerd pid=12202 sandbox.go:136: time="2024-06-24T17:48:22.880604766Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dgjwbza6thgwi/containerd/containerd.sock module=libcontainerd sandbox.go:136: time="2024-06-24T17:48:22.880989315Z" level=debug msg="2024/06/24 17:48:22 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dgjwbza6thgwi/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/dgjwbza6thgwi/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:136: time="2024-06-24T17:48:22.894719590Z" level=info msg="starting containerd" revision=ae71819c4f5e67bb4d5ae76a6b735f29cc25774e version=v1.7.18 sandbox.go:136: time="2024-06-24T17:48:22.907802387Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:136: time="2024-06-24T17:48:22.907833715Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:136: time="2024-06-24T17:48:22.907871736Z"

dt, err := os.ReadFile(filepath.Join(dirDest, "md.json"))
require.NoError(t, err)

type mdT struct {
BuildWarnings []client.VertexWarning `json:"buildx.build.warnings"`
Default struct {
BuildRef string `json:"buildx.build.ref"`
} `json:"default"`
}
var md mdT
err = json.Unmarshal(dt, &md)
require.NoError(t, err)

require.NotEmpty(t, md.Default.BuildRef)
require.NotEmpty(t, md.BuildWarnings)

skipNoCompatBuildKit(t, sb, ">= 0.14.0-0", "lint")
require.Len(t, md.BuildWarnings, 3)
}

func testBakeMultiExporters(t *testing.T, sb integration.Sandbox) {
if !isDockerContainerWorker(sb) {
t.Skip("only testing with docker-container worker")
Expand Down
Loading

0 comments on commit fc32c7d

Please sign in to comment.