Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: run remote worker on tcp and container endpoints #2342

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 30 additions & 58 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,54 +30,53 @@ env:
GOTESTSUM_VERSION: "v1.9.0" # same as one in Dockerfile

jobs:
prepare-test-integration:
runs-on: ubuntu-22.04
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ env.BUILDX_VERSION }}
driver-opts: image=${{ env.BUILDKIT_IMAGE }}
buildkitd-flags: --debug
-
name: Build
uses: docker/bake-action@v4
with:
targets: integration-test-base
set: |
*.cache-from=type=gha,scope=${{ env.TEST_CACHE_SCOPE }}
*.cache-to=type=gha,scope=${{ env.TEST_CACHE_SCOPE }}

test-integration:
runs-on: ubuntu-22.04
needs:
- prepare-test-integration
env:
TESTFLAGS_DOCKER: "-v --parallel=1 --timeout=30m"
TEST_IMAGE_BUILD: "0"
TEST_IMAGE_ID: "buildx-tests"
strategy:
fail-fast: false
matrix:
buildkit:
- master
- latest
- buildx-stable-1
- v0.13.0
- v0.12.5
- v0.11.6
worker:
- docker
- docker\+containerd # same as docker, but with containerd snapshotter
- docker-container
- remote
- remote+docker-container
- remote+tcp
pkg:
- ./tests
include:
- worker: docker
pkg: ./tests
- worker: docker+containerd # same as docker, but with containerd snapshotter
pkg: ./tests
steps:
-
name: Prepare
run: |
echo "TESTREPORTS_NAME=${{ github.job }}-$(echo "${{ matrix.pkg }}-${{ matrix.worker }}" | tr -dc '[:alnum:]-\n\r' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
echo "TESTREPORTS_NAME=${{ github.job }}-$(echo "${{ matrix.pkg }}-${{ matrix.buildkit }}-${{ matrix.worker }}" | tr -dc '[:alnum:]-\n\r' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
if [ -n "${{ matrix.buildkit }}" ]; then
echo "TEST_BUILDKIT_TAG=${{ matrix.buildkit }}" >> $GITHUB_ENV
fi
testFlags="--run=//worker=$(echo "${{ matrix.worker }}" | sed 's/\+/\\+/g')$"
case "${{ matrix.worker }}" in
docker | docker+containerd | docker@* | docker+containerd@* | remote*)
echo "TESTFLAGS=${{ env.TESTFLAGS_DOCKER }} $testFlags" >> $GITHUB_ENV
;;
*)
echo "TESTFLAGS=${{ env.TESTFLAGS }} $testFlags" >> $GITHUB_ENV
;;
esac
if [[ "${{ matrix.worker }}" == "docker"* ]]; then
echo "TEST_DOCKERD=1" >> $GITHUB_ENV
fi
-
name: Checkout
uses: actions/checkout@v4
Expand All @@ -99,16 +98,13 @@ jobs:
with:
targets: integration-test
set: |
*.cache-from=type=gha,scope=${{ env.TEST_CACHE_SCOPE }}
*.output=type=docker,name=${{ env.TEST_IMAGE_ID }}
-
name: Test
run: |
./hack/test
env:
TEST_REPORT_SUFFIX: "-${{ env.TESTREPORTS_NAME }}"
TEST_DOCKERD: "${{ startsWith(matrix.worker, 'docker') && '1' || '0' }}"
TESTFLAGS: "${{ (matrix.worker == 'docker' || matrix.worker == 'docker\\+containerd') && env.TESTFLAGS_DOCKER || env.TESTFLAGS }} --run=//worker=${{ matrix.worker }}$"
TESTPKGS: "${{ matrix.pkg }}"
-
name: Send to Codecov
Expand Down Expand Up @@ -355,27 +351,3 @@ jobs:
with:
draft: true
files: ${{ env.DESTDIR }}/*

buildkit-edge:
runs-on: ubuntu-22.04
continue-on-error: true
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: ${{ env.BUILDX_VERSION }}
driver-opts: image=moby/buildkit:master
buildkitd-flags: --debug
-
# Just run a bake target to check eveything runs fine
name: Build
uses: docker/bake-action@v4
with:
targets: binaries
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ ARG XX_VERSION=1.4.0
ARG DOCKER_VERSION=25.0.2
ARG GOTESTSUM_VERSION=v1.9.0
ARG REGISTRY_VERSION=2.8.0
ARG BUILDKIT_VERSION=v0.12.5
ARG UNDOCK_VERSION=0.7.0

FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine AS golatest
FROM moby/moby-bin:$DOCKER_VERSION AS docker-engine
FROM dockereng/cli-bin:$DOCKER_VERSION AS docker-cli
FROM registry:$REGISTRY_VERSION AS registry
FROM moby/buildkit:$BUILDKIT_VERSION AS buildkit
FROM crazymax/undock:$UNDOCK_VERSION AS undock

FROM golatest AS gobase
COPY --from=xx / /
Expand Down Expand Up @@ -90,8 +90,7 @@ COPY --link --from=gotestsum /out/gotestsum /usr/bin/
COPY --link --from=registry /bin/registry /usr/bin/
COPY --link --from=docker-engine / /usr/bin/
COPY --link --from=docker-cli / /usr/bin/
COPY --link --from=buildkit /usr/bin/buildkitd /usr/bin/
COPY --link --from=buildkit /usr/bin/buildctl /usr/bin/
COPY --link --from=undock /usr/local/bin/undock /usr/bin/
COPY --link --from=binaries /buildx /usr/bin/

FROM integration-test-base AS integration-test
Expand Down
5 changes: 3 additions & 2 deletions hack/test
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set -eu -o pipefail
: "${TEST_REPORT_SUFFIX=}"
: "${TEST_KEEP_CACHE=}"
: "${TEST_DOCKERD=}"
: "${TEST_BUILDKIT_TAG=}"
: "${TEST_BUILDKIT_IMAGE=}"

if [ "$TEST_IMAGE_BUILD" = "1" ]; then
Expand All @@ -24,11 +25,11 @@ gotestArgs="-mod=vendor -coverprofile=/testreports/coverage-report$TEST_REPORT_S

cacheVolume="buildx-test-cache"
if ! docker container inspect "$cacheVolume" >/dev/null 2>/dev/null; then
docker create -v /root/.cache -v /root/.cache/registry -v /go/pkg/mod --name "$cacheVolume" alpine
docker create -v /root/.cache -v /root/.cache/registry -v /root/.cache/undock -v /go/pkg/mod --name "$cacheVolume" alpine
fi
if [ "$TEST_KEEP_CACHE" != "1" ]; then
trap 'docker rm -v $cacheVolume' EXIT
fi

cid=$(docker create --rm -v /tmp $testReportsVol --volumes-from=$cacheVolume -e GITHUB_REF -e TEST_DOCKERD -e TEST_BUILDKIT_IMAGE -e SKIP_INTEGRATION_TESTS -e GOTESTSUM_FORMAT ${BUILDKIT_INTEGRATION_SNAPSHOTTER:+"-eBUILDKIT_INTEGRATION_SNAPSHOTTER"} -e BUILDKIT_REGISTRY_MIRROR_DIR=/root/.cache/registry --privileged $TEST_IMAGE_ID gotestsum $gotestsumArgs --packages="${TESTPKGS:-./...}" -- $gotestArgs ${TESTFLAGS:--v})
cid=$(docker create --rm -v /tmp $testReportsVol --volumes-from=$cacheVolume -e GITHUB_REF -e TEST_DOCKERD -e TEST_BUILDKIT_IMAGE -e TEST_BUILDKIT_TAG -e SKIP_INTEGRATION_TESTS -e GOTESTSUM_FORMAT ${BUILDKIT_INTEGRATION_SNAPSHOTTER:+"-eBUILDKIT_INTEGRATION_SNAPSHOTTER"} -e BUILDKIT_REGISTRY_MIRROR_DIR=/root/.cache/registry --privileged $TEST_IMAGE_ID gotestsum $gotestsumArgs --packages="${TESTPKGS:-./...}" -- $gotestArgs ${TESTFLAGS:--v})
docker start -a -i $cid
49 changes: 6 additions & 43 deletions tests/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"fmt"
"os"
"path/filepath"
"strings"
"testing"

"github.com/containerd/continuity/fs/fstest"
Expand Down Expand Up @@ -139,7 +138,7 @@
addr := gitutil.GitServeHTTP(git, t)

out, err := bakeCmd(sb, withDir(dir), withArgs(addr, "--set", "*.output=type=local,dest="+dirDest))
require.NoError(t, err, out)

Check failure on line 141 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.11.6, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemote/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemote/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemote/worker=remote+tcp === CONT TestIntegration/TestBakeRemote/worker=remote+tcp bake.go:141: Error Trace: /src/tests/bake.go:141 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemote/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:02.267347353 +0000 UTC m=+127.983630898 /usr/bin/dockerd --data-root /tmp/integration2422189995/dp15t7woycer1/root --exec-root /tmp/dxr/dp15t7woycer1 --pidfile /tmp/integration2422189995/dp15t7woycer1/docker.pid --containerd-namespace dp15t7woycer1 --containerd-plugins-namespace dp15t7woycer1p --host unix:///tmp/docker-integration/dp15t7woycer1.sock --config-file /tmp/integration2422189995/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:02.310157444Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:02.311979106Z" level=warning msg="could not change group /tmp/docker-integration/dp15t7woycer1.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:02.312160416Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dp15t7woycer1.sock)" sandbox.go:131: time="2024-03-14T16:17:02.312182317Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:02.312797508Z" level=info msg="started new containerd process" address=/tmp/dxr/dp15t7woycer1/containerd/containerd.sock module=libcontainerd pid=19650 sandbox.go:131: time="2024-03-14T16:17:02.313632292Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dp15t7woycer1/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:02.313799335Z" level=debug msg="2024/03/14 16:17:02 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dp15t7woycer1/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/dp15t7woycer1/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:02.325492538Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:02.338772140Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:02.338794401Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:02.338819248Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:02.338831751Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:02.338928883Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:02.338944502Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:02.338953850Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configur

Check failure on line 141 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemote/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemote/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemote/worker=remote+tcp === CONT TestIntegration/TestBakeRemote/worker=remote+tcp bake.go:141: Error Trace: /src/tests/bake.go:141 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemote/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:04.222987184 +0000 UTC m=+135.462892060 /usr/bin/dockerd --data-root /tmp/integration2871786081/dn8obpxs2qvkj/root --exec-root /tmp/dxr/dn8obpxs2qvkj --pidfile /tmp/integration2871786081/dn8obpxs2qvkj/docker.pid --containerd-namespace dn8obpxs2qvkj --containerd-plugins-namespace dn8obpxs2qvkjp --host unix:///tmp/docker-integration/dn8obpxs2qvkj.sock --config-file /tmp/integration2871786081/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:04.254495114Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:04.256340081Z" level=warning msg="could not change group /tmp/docker-integration/dn8obpxs2qvkj.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:04.256548512Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dn8obpxs2qvkj.sock)" sandbox.go:131: time="2024-03-14T16:17:04.256570303Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:04.257191988Z" level=info msg="started new containerd process" address=/tmp/dxr/dn8obpxs2qvkj/containerd/containerd.sock module=libcontainerd pid=19624 sandbox.go:131: time="2024-03-14T16:17:04.257563273Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dn8obpxs2qvkj/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:04.257713952Z" level=debug msg="2024/03/14 16:17:04 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dn8obpxs2qvkj/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/dn8obpxs2qvkj/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:04.269551174Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:04.282982264Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:04.283022199Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:04.283059108Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:04.283077863Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:04.283184213Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:04.283205002Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:04.283220822Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured" sandbox.go:131: time="2024-03-14T16:1

Check failure on line 141 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemote/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemote/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemote/worker=remote+tcp === CONT TestIntegration/TestBakeRemote/worker=remote+tcp bake.go:141: Error Trace: /src/tests/bake.go:141 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemote/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:14.189899817 +0000 UTC m=+132.934977184 /usr/bin/dockerd --data-root /tmp/integration4275768163/djit3izdeh294/root --exec-root /tmp/dxr/djit3izdeh294 --pidfile /tmp/integration4275768163/djit3izdeh294/docker.pid --containerd-namespace djit3izdeh294 --containerd-plugins-namespace djit3izdeh294p --host unix:///tmp/docker-integration/djit3izdeh294.sock --config-file /tmp/integration4275768163/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:14.220705653Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:14.222456513Z" level=warning msg="could not change group /tmp/docker-integration/djit3izdeh294.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:14.222625305Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/djit3izdeh294.sock)" sandbox.go:131: time="2024-03-14T16:17:14.222643209Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:14.223705972Z" level=info msg="started new containerd process" address=/tmp/dxr/djit3izdeh294/containerd/containerd.sock module=libcontainerd pid=19454 sandbox.go:131: time="2024-03-14T16:17:14.224112491Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/djit3izdeh294/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:14.224271468Z" level=debug msg="2024/03/14 16:17:14 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/djit3izdeh294/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/djit3izdeh294/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:14.236589816Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:14.250144921Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:14.250191692Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:14.250232788Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:14.250293529Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:14.250384509Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:14.250415457Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:14.250434652Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configur

Check failure on line 141 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemote/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemote/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemote/worker=remote+tcp === CONT TestIntegration/TestBakeRemote/worker=remote+tcp bake.go:141: Error Trace: /src/tests/bake.go:141 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemote/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:16.082351943 +0000 UTC m=+133.987601926 /usr/bin/dockerd --data-root /tmp/integration286902773/dxjvukz7s0lk0/root --exec-root /tmp/dxr/dxjvukz7s0lk0 --pidfile /tmp/integration286902773/dxjvukz7s0lk0/docker.pid --containerd-namespace dxjvukz7s0lk0 --containerd-plugins-namespace dxjvukz7s0lk0p --host unix:///tmp/docker-integration/dxjvukz7s0lk0.sock --config-file /tmp/integration286902773/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:16.115221374Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:16.117240439Z" level=warning msg="could not change group /tmp/docker-integration/dxjvukz7s0lk0.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:16.117379077Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dxjvukz7s0lk0.sock)" sandbox.go:131: time="2024-03-14T16:17:16.117397692Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:16.117994716Z" level=info msg="started new containerd process" address=/tmp/dxr/dxjvukz7s0lk0/containerd/containerd.sock module=libcontainerd pid=19499 sandbox.go:131: time="2024-03-14T16:17:16.118382548Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dxjvukz7s0lk0/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:16.118541835Z" level=debug msg="2024/03/14 16:17:16 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dxjvukz7s0lk0/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/dxjvukz7s0lk0/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:16.130754537Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:16.144269472Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:16.144323393Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:16.144354380Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:16.144368867Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:16.144449748Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:16.144465227Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:16.144478411Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"

Check failure on line 141 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemote/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemote/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemote/worker=remote+tcp === CONT TestIntegration/TestBakeRemote/worker=remote+tcp bake.go:141: Error Trace: /src/tests/bake.go:141 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemote/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:18.624529929 +0000 UTC m=+139.803369633 /usr/bin/dockerd --data-root /tmp/integration1080101627/dx9dbxsz8t5hi/root --exec-root /tmp/dxr/dx9dbxsz8t5hi --pidfile /tmp/integration1080101627/dx9dbxsz8t5hi/docker.pid --containerd-namespace dx9dbxsz8t5hi --containerd-plugins-namespace dx9dbxsz8t5hip --host unix:///tmp/docker-integration/dx9dbxsz8t5hi.sock --config-file /tmp/integration1080101627/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:18.664546747Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:18.666274110Z" level=warning msg="could not change group /tmp/docker-integration/dx9dbxsz8t5hi.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:18.666437121Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dx9dbxsz8t5hi.sock)" sandbox.go:131: time="2024-03-14T16:17:18.666455696Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:18.667101531Z" level=info msg="started new containerd process" address=/tmp/dxr/dx9dbxsz8t5hi/containerd/containerd.sock module=libcontainerd pid=19634 sandbox.go:131: time="2024-03-14T16:17:18.668257076Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dx9dbxsz8t5hi/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:18.668449846Z" level=debug msg="2024/03/14 16:17:18 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dx9dbxsz8t5hi/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/dx9dbxsz8t5hi/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:18.681434253Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:18.695311913Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:18.695390049Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:18.695425746Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:18.695446985Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:18.695547313Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:18.695566979Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:18.695585804Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configur

Check failure on line 141 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.13.0, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemote/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemote/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemote/worker=remote+tcp === CONT TestIntegration/TestBakeRemote/worker=remote+tcp bake.go:141: Error Trace: /src/tests/bake.go:141 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemote/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:29.512618354 +0000 UTC m=+143.519580357 /usr/bin/dockerd --data-root /tmp/integration2450211844/d0zi6qvabvwav/root --exec-root /tmp/dxr/d0zi6qvabvwav --pidfile /tmp/integration2450211844/d0zi6qvabvwav/docker.pid --containerd-namespace d0zi6qvabvwav --containerd-plugins-namespace d0zi6qvabvwavp --host unix:///tmp/docker-integration/d0zi6qvabvwav.sock --config-file /tmp/integration2450211844/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:29.545620554Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:29.547509898Z" level=warning msg="could not change group /tmp/docker-integration/d0zi6qvabvwav.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:29.547715811Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d0zi6qvabvwav.sock)" sandbox.go:131: time="2024-03-14T16:17:29.547777998Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:29.548331309Z" level=info msg="started new containerd process" address=/tmp/dxr/d0zi6qvabvwav/containerd/containerd.sock module=libcontainerd pid=19630 sandbox.go:131: time="2024-03-14T16:17:29.548966744Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d0zi6qvabvwav/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:29.549313415Z" level=debug msg="2024/03/14 16:17:29 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d0zi6qvabvwav/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/d0zi6qvabvwav/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:29.562360155Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:29.576488615Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:29.576553556Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:29.576612368Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:29.576630602Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:29.576780772Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:29.576806570Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:29.576822389Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configur

require.FileExists(t, filepath.Join(dirDest, "foo"))
}
Expand Down Expand Up @@ -181,7 +180,7 @@
addr := gitutil.GitServeHTTP(git, t)

out, err := bakeCmd(sb, withDir(dirSrc), withArgs(addr, "--file", "cwd://local-docker-bake.hcl", "--set", "*.output=type=local,dest="+dirDest))
require.NoError(t, err, out)

Check failure on line 183 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.11.6, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp bake.go:183: Error Trace: /src/tests/bake.go:183 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp Messages: ERROR: failed to solve: failed to load cache key: error fetching default branch for repository http://127.0.0.1:45007/test.git: exit status 128 sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:54.367785485 +0000 UTC m=+120.084069050 /usr/bin/dockerd --data-root /tmp/integration3947093073/dc31g001bjtkg/root --exec-root /tmp/dxr/dc31g001bjtkg --pidfile /tmp/integration3947093073/dc31g001bjtkg/docker.pid --containerd-namespace dc31g001bjtkg --containerd-plugins-namespace dc31g001bjtkgp --host unix:///tmp/docker-integration/dc31g001bjtkg.sock --config-file /tmp/integration3947093073/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:54.395177529Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:54.396793426Z" level=warning msg="could not change group /tmp/docker-integration/dc31g001bjtkg.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:54.396914683Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dc31g001bjtkg.sock)" sandbox.go:131: time="2024-03-14T16:16:54.396931846Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:54.397473230Z" level=info msg="started new containerd process" address=/tmp/dxr/dc31g001bjtkg/containerd/containerd.sock module=libcontainerd pid=18783 sandbox.go:131: time="2024-03-14T16:16:54.397813798Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dc31g001bjtkg/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:54.397968714Z" level=debug msg="2024/03/14 16:16:54 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dc31g001bjtkg/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/dc31g001bjtkg/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:54.410235097Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:54.424138532Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:54.424165883Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:54.424198294Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:54.424219624Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:54.424315393Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:54.424338627Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox

Check failure on line 183 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp bake.go:183: Error Trace: /src/tests/bake.go:183 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp Messages: ERROR: failed to solve: failed to load cache key: error fetching default branch for repository http://127.0.0.1:35559/test.git: git error: exit status 128 stderr: fatal: unable to access 'http://127.0.0.1:35559/test.git/': Failed to connect to 127.0.0.1 port 35559 after 0 ms: Couldn't connect to server sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:55.758800766 +0000 UTC m=+126.998705642 /usr/bin/dockerd --data-root /tmp/integration1521614019/dk7h59q5acl1n/root --exec-root /tmp/dxr/dk7h59q5acl1n --pidfile /tmp/integration1521614019/dk7h59q5acl1n/docker.pid --containerd-namespace dk7h59q5acl1n --containerd-plugins-namespace dk7h59q5acl1np --host unix:///tmp/docker-integration/dk7h59q5acl1n.sock --config-file /tmp/integration1521614019/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:55.786486807Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:55.788109768Z" level=warning msg="could not change group /tmp/docker-integration/dk7h59q5acl1n.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:55.788220716Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dk7h59q5acl1n.sock)" sandbox.go:131: time="2024-03-14T16:16:55.788256594Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:55.788868375Z" level=info msg="started new containerd process" address=/tmp/dxr/dk7h59q5acl1n/containerd/containerd.sock module=libcontainerd pid=18800 sandbox.go:131: time="2024-03-14T16:16:55.789206459Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dk7h59q5acl1n/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:55.789590654Z" level=debug msg="2024/03/14 16:16:55 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dk7h59q5acl1n/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/dk7h59q5acl1n/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:55.802204928Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:55.815645115Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:55.815667407Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:55.815701821Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:55.815722360Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:55.815803572Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: s

Check failure on line 183 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp bake.go:183: Error Trace: /src/tests/bake.go:183 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp Messages: ERROR: failed to solve: failed to load cache key: error fetching default branch for repository http://127.0.0.1:38235/test.git: exit status 128 sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:06.250365642 +0000 UTC m=+124.995442989 /usr/bin/dockerd --data-root /tmp/integration2498829958/d1bo3f94xo500/root --exec-root /tmp/dxr/d1bo3f94xo500 --pidfile /tmp/integration2498829958/d1bo3f94xo500/docker.pid --containerd-namespace d1bo3f94xo500 --containerd-plugins-namespace d1bo3f94xo500p --host unix:///tmp/docker-integration/d1bo3f94xo500.sock --config-file /tmp/integration2498829958/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:06.281450211Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:06.284134134Z" level=warning msg="could not change group /tmp/docker-integration/d1bo3f94xo500.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:06.284383951Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d1bo3f94xo500.sock)" sandbox.go:131: time="2024-03-14T16:17:06.284407294Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:06.285242066Z" level=info msg="started new containerd process" address=/tmp/dxr/d1bo3f94xo500/containerd/containerd.sock module=libcontainerd pid=18651 sandbox.go:131: time="2024-03-14T16:17:06.285858447Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d1bo3f94xo500/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:06.286045817Z" level=debug msg="2024/03/14 16:17:06 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d1bo3f94xo500/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/d1bo3f94xo500/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:06.298733825Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:06.312933636Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:06.312961518Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:06.312997065Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:06.313020378Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:06.313097052Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:06.313116067Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox

Check failure on line 183 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp bake.go:183: Error Trace: /src/tests/bake.go:183 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp Messages: ERROR: failed to solve: failed to load cache key: error fetching default branch for repository http://127.0.0.1:44751/test.git: exit status 128 sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:08.150213478 +0000 UTC m=+126.055463491 /usr/bin/dockerd --data-root /tmp/integration2557791138/difjcjpoagumg/root --exec-root /tmp/dxr/difjcjpoagumg --pidfile /tmp/integration2557791138/difjcjpoagumg/docker.pid --containerd-namespace difjcjpoagumg --containerd-plugins-namespace difjcjpoagumgp --host unix:///tmp/docker-integration/difjcjpoagumg.sock --config-file /tmp/integration2557791138/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:08.184335550Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:08.186764151Z" level=warning msg="could not change group /tmp/docker-integration/difjcjpoagumg.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:08.186885146Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/difjcjpoagumg.sock)" sandbox.go:131: time="2024-03-14T16:17:08.186902899Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:08.187412790Z" level=info msg="started new containerd process" address=/tmp/dxr/difjcjpoagumg/containerd/containerd.sock module=libcontainerd pid=18692 sandbox.go:131: time="2024-03-14T16:17:08.187781516Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/difjcjpoagumg/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:08.187945036Z" level=debug msg="2024/03/14 16:17:08 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/difjcjpoagumg/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/difjcjpoagumg/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:08.199569408Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:08.213111916Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:08.213158663Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:08.213192956Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:08.213207073Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:08.213272625Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:08.213286250Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox

Check failure on line 183 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp bake.go:183: Error Trace: /src/tests/bake.go:183 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp Messages: ERROR: failed to solve: failed to load cache key: error fetching default branch for repository http://127.0.0.1:35285/test.git: git error: exit status 128 stderr: fatal: unable to access 'http://127.0.0.1:35285/test.git/': Failed to connect to 127.0.0.1 port 35285 after 0 ms: Couldn't connect to server sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:10.163097919 +0000 UTC m=+131.341937593 /usr/bin/dockerd --data-root /tmp/integration1966250361/drkccq3ihc2z8/root --exec-root /tmp/dxr/drkccq3ihc2z8 --pidfile /tmp/integration1966250361/drkccq3ihc2z8/docker.pid --containerd-namespace drkccq3ihc2z8 --containerd-plugins-namespace drkccq3ihc2z8p --host unix:///tmp/docker-integration/drkccq3ihc2z8.sock --config-file /tmp/integration1966250361/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:10.189052790Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:10.190701949Z" level=warning msg="could not change group /tmp/docker-integration/drkccq3ihc2z8.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:10.190836019Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/drkccq3ihc2z8.sock)" sandbox.go:131: time="2024-03-14T16:17:10.190853141Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:10.191385615Z" level=info msg="started new containerd process" address=/tmp/dxr/drkccq3ihc2z8/containerd/containerd.sock module=libcontainerd pid=18814 sandbox.go:131: time="2024-03-14T16:17:10.192137408Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/drkccq3ihc2z8/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:10.192315040Z" level=debug msg="2024/03/14 16:17:10 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/drkccq3ihc2z8/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/drkccq3ihc2z8/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:10.205670810Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:10.219153097Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:10.219182151Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:10.219221254Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:10.219243386Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:10.219342511Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: s

Check failure on line 183 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.13.0, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp bake.go:183: Error Trace: /src/tests/bake.go:183 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteLocalOverride/worker=remote+tcp Messages: ERROR: failed to solve: failed to load cache key: error fetching default branch for repository http://127.0.0.1:39961/test.git: git error: exit status 128 stderr: fatal: unable to access 'http://127.0.0.1:39961/test.git/': Failed to connect to 127.0.0.1 port 39961 after 0 ms: Couldn't connect to server sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:20.68888708 +0000 UTC m=+134.695849083 /usr/bin/dockerd --data-root /tmp/integration3462330502/d64b1bojhtrdq/root --exec-root /tmp/dxr/d64b1bojhtrdq --pidfile /tmp/integration3462330502/d64b1bojhtrdq/docker.pid --containerd-namespace d64b1bojhtrdq --containerd-plugins-namespace d64b1bojhtrdqp --host unix:///tmp/docker-integration/d64b1bojhtrdq.sock --config-file /tmp/integration3462330502/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:20.718481239Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:20.720844506Z" level=warning msg="could not change group /tmp/docker-integration/d64b1bojhtrdq.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:20.721012770Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d64b1bojhtrdq.sock)" sandbox.go:131: time="2024-03-14T16:17:20.721040331Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:20.721681961Z" level=info msg="started new containerd process" address=/tmp/dxr/d64b1bojhtrdq/containerd/containerd.sock module=libcontainerd pid=18812 sandbox.go:131: time="2024-03-14T16:17:20.722111084Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d64b1bojhtrdq/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:20.722289394Z" level=debug msg="2024/03/14 16:17:20 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d64b1bojhtrdq/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/d64b1bojhtrdq/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:20.735340794Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:20.748931442Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:20.748977247Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:20.749027911Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:20.749052868Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:20.749177260Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1

require.FileExists(t, filepath.Join(dirDest, "bar"))
}
Expand Down Expand Up @@ -250,7 +249,7 @@
addr := gitutil.GitServeHTTP(git, t)

out, err := bakeCmd(sb, withDir(dirSrc), withArgs(addr, "--set", "*.output=type=local,dest="+dirDest))
require.NoError(t, err, out)

Check failure on line 252 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.11.6, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp bake.go:252: Error Trace: /src/tests/bake.go:252 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:58.442413672 +0000 UTC m=+124.158697237 /usr/bin/dockerd --data-root /tmp/integration1655257954/d1jxlweoi76z6/root --exec-root /tmp/dxr/d1jxlweoi76z6 --pidfile /tmp/integration1655257954/d1jxlweoi76z6/docker.pid --containerd-namespace d1jxlweoi76z6 --containerd-plugins-namespace d1jxlweoi76z6p --host unix:///tmp/docker-integration/d1jxlweoi76z6.sock --config-file /tmp/integration1655257954/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:58.476362803Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:58.478047527Z" level=warning msg="could not change group /tmp/docker-integration/d1jxlweoi76z6.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:58.478157292Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d1jxlweoi76z6.sock)" sandbox.go:131: time="2024-03-14T16:16:58.478173773Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:58.481859376Z" level=info msg="started new containerd process" address=/tmp/dxr/d1jxlweoi76z6/containerd/containerd.sock module=libcontainerd pid=19268 sandbox.go:131: time="2024-03-14T16:16:58.482405589Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d1jxlweoi76z6/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:58.482556447Z" level=debug msg="2024/03/14 16:16:58 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d1jxlweoi76z6/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/d1jxlweoi76z6/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:58.492607467Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:58.506136560Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:58.506164392Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:58.506201642Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:58.506225326Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:58.506297481Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:58.506311959Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:58.506321226Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.

Check failure on line 252 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp bake.go:252: Error Trace: /src/tests/bake.go:252 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:00.062565471 +0000 UTC m=+131.302470317 /usr/bin/dockerd --data-root /tmp/integration1280473112/dvtl7h3x045g9/root --exec-root /tmp/dxr/dvtl7h3x045g9 --pidfile /tmp/integration1280473112/dvtl7h3x045g9/docker.pid --containerd-namespace dvtl7h3x045g9 --containerd-plugins-namespace dvtl7h3x045g9p --host unix:///tmp/docker-integration/dvtl7h3x045g9.sock --config-file /tmp/integration1280473112/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:00.093166300Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:00.095364409Z" level=warning msg="could not change group /tmp/docker-integration/dvtl7h3x045g9.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:00.095488020Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dvtl7h3x045g9.sock)" sandbox.go:131: time="2024-03-14T16:17:00.095510683Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:00.096396725Z" level=info msg="started new containerd process" address=/tmp/dxr/dvtl7h3x045g9/containerd/containerd.sock module=libcontainerd pid=19266 sandbox.go:131: time="2024-03-14T16:17:00.096902611Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dvtl7h3x045g9/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:00.097080144Z" level=debug msg="2024/03/14 16:17:00 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dvtl7h3x045g9/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/dvtl7h3x045g9/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:00.108583970Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:00.122954919Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:00.123006916Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:00.123056629Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:00.123079262Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:00.123159212Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:00.123194918Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:00.123217450Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.

Check failure on line 252 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp bake.go:252: Error Trace: /src/tests/bake.go:252 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:10.297423726 +0000 UTC m=+129.042501093 /usr/bin/dockerd --data-root /tmp/integration2439880097/d5lv26macv44o/root --exec-root /tmp/dxr/d5lv26macv44o --pidfile /tmp/integration2439880097/d5lv26macv44o/docker.pid --containerd-namespace d5lv26macv44o --containerd-plugins-namespace d5lv26macv44op --host unix:///tmp/docker-integration/d5lv26macv44o.sock --config-file /tmp/integration2439880097/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:10.334560632Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:10.336415707Z" level=warning msg="could not change group /tmp/docker-integration/d5lv26macv44o.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:10.336531944Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d5lv26macv44o.sock)" sandbox.go:131: time="2024-03-14T16:17:10.336550308Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:10.337137922Z" level=info msg="started new containerd process" address=/tmp/dxr/d5lv26macv44o/containerd/containerd.sock module=libcontainerd pid=19100 sandbox.go:131: time="2024-03-14T16:17:10.337553849Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d5lv26macv44o/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:10.337806399Z" level=debug msg="2024/03/14 16:17:10 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d5lv26macv44o/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/d5lv26macv44o/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:10.349772500Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:10.363366027Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:10.363388669Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:10.363422483Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:10.363440206Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:10.363517140Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:10.363534181Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:10.363548097Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.

Check failure on line 252 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp bake.go:252: Error Trace: /src/tests/bake.go:252 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:12.190434931 +0000 UTC m=+130.095684944 /usr/bin/dockerd --data-root /tmp/integration3365436444/dufjt0phy59bm/root --exec-root /tmp/dxr/dufjt0phy59bm --pidfile /tmp/integration3365436444/dufjt0phy59bm/docker.pid --containerd-namespace dufjt0phy59bm --containerd-plugins-namespace dufjt0phy59bmp --host unix:///tmp/docker-integration/dufjt0phy59bm.sock --config-file /tmp/integration3365436444/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:12.223918099Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:12.225768784Z" level=warning msg="could not change group /tmp/docker-integration/dufjt0phy59bm.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:12.226111442Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dufjt0phy59bm.sock)" sandbox.go:131: time="2024-03-14T16:17:12.226130086Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:12.226705186Z" level=info msg="started new containerd process" address=/tmp/dxr/dufjt0phy59bm/containerd/containerd.sock module=libcontainerd pid=19145 sandbox.go:131: time="2024-03-14T16:17:12.227061429Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dufjt0phy59bm/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:12.227203071Z" level=debug msg="2024/03/14 16:17:12 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dufjt0phy59bm/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/dufjt0phy59bm/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:12.239522895Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:12.253475638Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:12.253500494Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:12.253525180Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:12.253537714Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:12.253621129Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:12.253635706Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:12.253645114Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"

Check failure on line 252 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp bake.go:252: Error Trace: /src/tests/bake.go:252 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:14.45614725 +0000 UTC m=+135.634986914 /usr/bin/dockerd --data-root /tmp/integration3872027466/d11w7w5cc1lx2/root --exec-root /tmp/dxr/d11w7w5cc1lx2 --pidfile /tmp/integration3872027466/d11w7w5cc1lx2/docker.pid --containerd-namespace d11w7w5cc1lx2 --containerd-plugins-namespace d11w7w5cc1lx2p --host unix:///tmp/docker-integration/d11w7w5cc1lx2.sock --config-file /tmp/integration3872027466/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:14.493669059Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:14.495628546Z" level=warning msg="could not change group /tmp/docker-integration/d11w7w5cc1lx2.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:14.495995772Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d11w7w5cc1lx2.sock)" sandbox.go:131: time="2024-03-14T16:17:14.496056686Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:14.498445405Z" level=info msg="started new containerd process" address=/tmp/dxr/d11w7w5cc1lx2/containerd/containerd.sock module=libcontainerd pid=19276 sandbox.go:131: time="2024-03-14T16:17:14.498911264Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d11w7w5cc1lx2/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:14.499090559Z" level=debug msg="2024/03/14 16:17:14 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d11w7w5cc1lx2/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/d11w7w5cc1lx2/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:14.509919734Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:14.523759998Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:14.523783232Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:14.523843404Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:14.523876285Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:14.523974910Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:14.523998423Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:14.524028349Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.d

Check failure on line 252 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.13.0, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp bake.go:252: Error Trace: /src/tests/bake.go:252 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContext/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:25.157311794 +0000 UTC m=+139.164273797 /usr/bin/dockerd --data-root /tmp/integration1721868256/dde4f59xm58ub/root --exec-root /tmp/dxr/dde4f59xm58ub --pidfile /tmp/integration1721868256/dde4f59xm58ub/docker.pid --containerd-namespace dde4f59xm58ub --containerd-plugins-namespace dde4f59xm58ubp --host unix:///tmp/docker-integration/dde4f59xm58ub.sock --config-file /tmp/integration1721868256/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:25.192862771Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:25.195334230Z" level=warning msg="could not change group /tmp/docker-integration/dde4f59xm58ub.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:25.195483158Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dde4f59xm58ub.sock)" sandbox.go:131: time="2024-03-14T16:17:25.195501532Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:25.196078468Z" level=info msg="started new containerd process" address=/tmp/dxr/dde4f59xm58ub/containerd/containerd.sock module=libcontainerd pid=19273 sandbox.go:131: time="2024-03-14T16:17:25.196449009Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dde4f59xm58ub/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:25.196741132Z" level=debug msg="2024/03/14 16:17:25 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dde4f59xm58ub/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/dde4f59xm58ub/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:25.210307030Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:25.224418189Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:25.224463193Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:25.224562939Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:25.224589489Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:25.224716445Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:25.224733267Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:25.224747754Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.

require.FileExists(t, filepath.Join(dirDest, "foo"))
}
Expand Down Expand Up @@ -290,7 +289,7 @@
addrSrc := gitutil.GitServeHTTP(gitSrc, t)

out, err := bakeCmd(sb, withDir("/tmp"), withArgs(addrSpec, addrSrc, "--set", "*.output=type=local,dest="+dirDest))
require.NoError(t, err, out)

Check failure on line 292 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.11.6, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp bake.go:292: Error Trace: /src/tests/bake.go:292 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:15:06.629928637 +0000 UTC m=+12.346212203 /usr/bin/dockerd --data-root /tmp/integration1786994801/dsogw2nq5i5e8/root --exec-root /tmp/dxr/dsogw2nq5i5e8 --pidfile /tmp/integration1786994801/dsogw2nq5i5e8/docker.pid --containerd-namespace dsogw2nq5i5e8 --containerd-plugins-namespace dsogw2nq5i5e8p --host unix:///tmp/docker-integration/dsogw2nq5i5e8.sock --config-file /tmp/integration1786994801/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:15:06.657143102Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:15:06.658142494Z" level=warning msg="could not change group /tmp/docker-integration/dsogw2nq5i5e8.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:15:06.658451783Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dsogw2nq5i5e8.sock)" sandbox.go:131: time="2024-03-14T16:15:06.658477071Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:15:06.659028018Z" level=info msg="started new containerd process" address=/tmp/dxr/dsogw2nq5i5e8/containerd/containerd.sock module=libcontainerd pid=8508 sandbox.go:131: time="2024-03-14T16:15:06.659417437Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dsogw2nq5i5e8/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:15:06.659564366Z" level=debug msg="2024/03/14 16:15:06 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dsogw2nq5i5e8/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/dsogw2nq5i5e8/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:15:06.670163916Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:15:06.683098262Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:15:06.683120534Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:15:06.683153335Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:15:06.683171669Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:06.683252140Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:06.683268421Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:06.683281766Z" level=warning msg="failed to load plugin

Check failure on line 292 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp bake.go:292: Error Trace: /src/tests/bake.go:292 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:15:00.65389422 +0000 UTC m=+11.893799087 /usr/bin/dockerd --data-root /tmp/integration948279247/d4gqgwu4w9s46/root --exec-root /tmp/dxr/d4gqgwu4w9s46 --pidfile /tmp/integration948279247/d4gqgwu4w9s46/docker.pid --containerd-namespace d4gqgwu4w9s46 --containerd-plugins-namespace d4gqgwu4w9s46p --host unix:///tmp/docker-integration/d4gqgwu4w9s46.sock --config-file /tmp/integration948279247/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:15:00.682681250Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:15:00.683973719Z" level=warning msg="could not change group /tmp/docker-integration/d4gqgwu4w9s46.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:15:00.684082353Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d4gqgwu4w9s46.sock)" sandbox.go:131: time="2024-03-14T16:15:00.684107029Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:15:00.684630859Z" level=info msg="started new containerd process" address=/tmp/dxr/d4gqgwu4w9s46/containerd/containerd.sock module=libcontainerd pid=8537 sandbox.go:131: time="2024-03-14T16:15:00.685019297Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d4gqgwu4w9s46/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:15:00.685138291Z" level=debug msg="2024/03/14 16:15:00 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d4gqgwu4w9s46/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/d4gqgwu4w9s46/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:15:00.696001713Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:15:00.708880282Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:15:00.708909937Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:15:00.708934413Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:15:00.708952206Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:00.709032998Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:00.709049078Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:00.709058185Z" level=warning msg="failed to load plugin io.

Check failure on line 292 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp bake.go:292: Error Trace: /src/tests/bake.go:292 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:15:17.793699895 +0000 UTC m=+16.538777232 /usr/bin/dockerd --data-root /tmp/integration2889964566/dwuuxxlite99a/root --exec-root /tmp/dxr/dwuuxxlite99a --pidfile /tmp/integration2889964566/dwuuxxlite99a/docker.pid --containerd-namespace dwuuxxlite99a --containerd-plugins-namespace dwuuxxlite99ap --host unix:///tmp/docker-integration/dwuuxxlite99a.sock --config-file /tmp/integration2889964566/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:15:17.818791303Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:15:17.819769553Z" level=warning msg="could not change group /tmp/docker-integration/dwuuxxlite99a.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:15:17.819889958Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dwuuxxlite99a.sock)" sandbox.go:131: time="2024-03-14T16:15:17.819921677Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:15:17.820536105Z" level=info msg="started new containerd process" address=/tmp/dxr/dwuuxxlite99a/containerd/containerd.sock module=libcontainerd pid=8527 sandbox.go:131: time="2024-03-14T16:15:17.821009809Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dwuuxxlite99a/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:15:17.821141933Z" level=debug msg="2024/03/14 16:15:17 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dwuuxxlite99a/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/dwuuxxlite99a/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:15:17.831758068Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:15:17.844613986Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:15:17.844636017Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:15:17.844664751Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:15:17.844681652Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:17.844770288Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:17.844790265Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:17.844806726Z" level=warning msg="failed to load plugin

Check failure on line 292 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp bake.go:292: Error Trace: /src/tests/bake.go:292 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:15:19.051137883 +0000 UTC m=+16.956387896 /usr/bin/dockerd --data-root /tmp/integration1146178021/d8iqvlejh1c12/root --exec-root /tmp/dxr/d8iqvlejh1c12 --pidfile /tmp/integration1146178021/d8iqvlejh1c12/docker.pid --containerd-namespace d8iqvlejh1c12 --containerd-plugins-namespace d8iqvlejh1c12p --host unix:///tmp/docker-integration/d8iqvlejh1c12.sock --config-file /tmp/integration1146178021/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:15:19.077702858Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:15:19.078763322Z" level=warning msg="could not change group /tmp/docker-integration/d8iqvlejh1c12.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:15:19.078879598Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d8iqvlejh1c12.sock)" sandbox.go:131: time="2024-03-14T16:15:19.078913882Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:15:19.081992635Z" level=info msg="started new containerd process" address=/tmp/dxr/d8iqvlejh1c12/containerd/containerd.sock module=libcontainerd pid=8541 sandbox.go:131: time="2024-03-14T16:15:19.082702937Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d8iqvlejh1c12/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:15:19.082861771Z" level=debug msg="2024/03/14 16:15:19 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d8iqvlejh1c12/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/d8iqvlejh1c12/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:15:19.091327147Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:15:19.104656851Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:15:19.104680204Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:15:19.104704970Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:15:19.104717804Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:19.104786191Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:19.104800638Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:19.104809915Z" level=warning msg="failed to load plugin

Check failure on line 292 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp bake.go:292: Error Trace: /src/tests/bake.go:292 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:15:13.170957132 +0000 UTC m=+14.349796806 /usr/bin/dockerd --data-root /tmp/integration962288551/dl03vogjbnvu9/root --exec-root /tmp/dxr/dl03vogjbnvu9 --pidfile /tmp/integration962288551/dl03vogjbnvu9/docker.pid --containerd-namespace dl03vogjbnvu9 --containerd-plugins-namespace dl03vogjbnvu9p --host unix:///tmp/docker-integration/dl03vogjbnvu9.sock --config-file /tmp/integration962288551/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:15:13.196374828Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:15:13.197564328Z" level=warning msg="could not change group /tmp/docker-integration/dl03vogjbnvu9.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:15:13.197674624Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dl03vogjbnvu9.sock)" sandbox.go:131: time="2024-03-14T16:15:13.197711062Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:15:13.198232408Z" level=info msg="started new containerd process" address=/tmp/dxr/dl03vogjbnvu9/containerd/containerd.sock module=libcontainerd pid=8546 sandbox.go:131: time="2024-03-14T16:15:13.198581019Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dl03vogjbnvu9/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:15:13.199040727Z" level=debug msg="2024/03/14 16:15:13 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dl03vogjbnvu9/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/dl03vogjbnvu9/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:15:13.210726971Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:15:13.224434989Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:15:13.224462410Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:15:13.224488088Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:15:13.224507865Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:13.224589618Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:13.224605317Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:13.224616287Z" level=warning msg="failed to load plugin io

Check failure on line 292 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.13.0, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp bake.go:292: Error Trace: /src/tests/bake.go:292 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteCmdContextOverride/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:15:21.043123943 +0000 UTC m=+15.050085966 /usr/bin/dockerd --data-root /tmp/integration3161123169/dgq2eg6idgknx/root --exec-root /tmp/dxr/dgq2eg6idgknx --pidfile /tmp/integration3161123169/dgq2eg6idgknx/docker.pid --containerd-namespace dgq2eg6idgknx --containerd-plugins-namespace dgq2eg6idgknxp --host unix:///tmp/docker-integration/dgq2eg6idgknx.sock --config-file /tmp/integration3161123169/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:15:21.075796293Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:15:21.076963129Z" level=warning msg="could not change group /tmp/docker-integration/dgq2eg6idgknx.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:15:21.077141652Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dgq2eg6idgknx.sock)" sandbox.go:131: time="2024-03-14T16:15:21.077166869Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:15:21.077742550Z" level=info msg="started new containerd process" address=/tmp/dxr/dgq2eg6idgknx/containerd/containerd.sock module=libcontainerd pid=8553 sandbox.go:131: time="2024-03-14T16:15:21.078243404Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dgq2eg6idgknx/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:15:21.078489257Z" level=debug msg="2024/03/14 16:15:21 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dgq2eg6idgknx/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/dgq2eg6idgknx/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:15:21.090123390Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:15:21.103440199Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:15:21.103535646Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:15:21.103585660Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:15:21.103615155Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:21.103738244Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:21.103772909Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:15:21.103793628Z" level=warning msg="failed to load plugin

require.FileExists(t, filepath.Join(dirDest, "foo"))
}
Expand Down Expand Up @@ -324,7 +323,7 @@
addr := gitutil.GitServeHTTP(git, t)

out, err := bakeCmd(sb, withDir("/tmp"), withArgs(addr, "--set", "*.output=type=local,dest="+dirDest))
require.NoError(t, err, out)

Check failure on line 326 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.11.6, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp bake.go:326: Error Trace: /src/tests/bake.go:326 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:42.903657332 +0000 UTC m=+108.619940897 /usr/bin/dockerd --data-root /tmp/integration4125230874/dvrvkc1mgohj9/root --exec-root /tmp/dxr/dvrvkc1mgohj9 --pidfile /tmp/integration4125230874/dvrvkc1mgohj9/docker.pid --containerd-namespace dvrvkc1mgohj9 --containerd-plugins-namespace dvrvkc1mgohj9p --host unix:///tmp/docker-integration/dvrvkc1mgohj9.sock --config-file /tmp/integration4125230874/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:42.933241299Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:42.934872395Z" level=warning msg="could not change group /tmp/docker-integration/dvrvkc1mgohj9.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:42.935006656Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dvrvkc1mgohj9.sock)" sandbox.go:131: time="2024-03-14T16:16:42.935025772Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:42.935868537Z" level=info msg="started new containerd process" address=/tmp/dxr/dvrvkc1mgohj9/containerd/containerd.sock module=libcontainerd pid=17710 sandbox.go:131: time="2024-03-14T16:16:42.936316496Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dvrvkc1mgohj9/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:42.936499001Z" level=debug msg="2024/03/14 16:16:42 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dvrvkc1mgohj9/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/dvrvkc1mgohj9/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:42.948374165Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:42.962235008Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:42.962257750Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:42.962291704Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:42.962311311Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:42.962402551Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:42.962419363Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:42.962442827Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not c

Check failure on line 326 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp bake.go:326: Error Trace: /src/tests/bake.go:326 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:43.45612214 +0000 UTC m=+114.696027016 /usr/bin/dockerd --data-root /tmp/integration745404777/dm3jjn5nz1aia/root --exec-root /tmp/dxr/dm3jjn5nz1aia --pidfile /tmp/integration745404777/dm3jjn5nz1aia/docker.pid --containerd-namespace dm3jjn5nz1aia --containerd-plugins-namespace dm3jjn5nz1aiap --host unix:///tmp/docker-integration/dm3jjn5nz1aia.sock --config-file /tmp/integration745404777/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:43.491571738Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:43.493218173Z" level=warning msg="could not change group /tmp/docker-integration/dm3jjn5nz1aia.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:43.493350481Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dm3jjn5nz1aia.sock)" sandbox.go:131: time="2024-03-14T16:16:43.493371120Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:43.493958927Z" level=info msg="started new containerd process" address=/tmp/dxr/dm3jjn5nz1aia/containerd/containerd.sock module=libcontainerd pid=17735 sandbox.go:131: time="2024-03-14T16:16:43.495195537Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dm3jjn5nz1aia/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:43.495390883Z" level=debug msg="2024/03/14 16:16:43 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dm3jjn5nz1aia/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/dm3jjn5nz1aia/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:43.507701485Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:43.520346106Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:43.520373728Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:43.520407121Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:43.520429172Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:43.520512558Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:43.520527276Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:43.520536433Z" level=warning msg="failed to load plugin io.containerd.snapsho

Check failure on line 326 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp bake.go:326: Error Trace: /src/tests/bake.go:326 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:54.799366747 +0000 UTC m=+113.544444104 /usr/bin/dockerd --data-root /tmp/integration2029575181/dvoqjpq4bf6u5/root --exec-root /tmp/dxr/dvoqjpq4bf6u5 --pidfile /tmp/integration2029575181/dvoqjpq4bf6u5/docker.pid --containerd-namespace dvoqjpq4bf6u5 --containerd-plugins-namespace dvoqjpq4bf6u5p --host unix:///tmp/docker-integration/dvoqjpq4bf6u5.sock --config-file /tmp/integration2029575181/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:54.839123402Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:54.840836524Z" level=warning msg="could not change group /tmp/docker-integration/dvoqjpq4bf6u5.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:54.840970695Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dvoqjpq4bf6u5.sock)" sandbox.go:131: time="2024-03-14T16:16:54.840991564Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:54.841692152Z" level=info msg="started new containerd process" address=/tmp/dxr/dvoqjpq4bf6u5/containerd/containerd.sock module=libcontainerd pid=17607 sandbox.go:131: time="2024-03-14T16:16:54.842096798Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dvoqjpq4bf6u5/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:54.842280005Z" level=debug msg="2024/03/14 16:16:54 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dvoqjpq4bf6u5/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/dvoqjpq4bf6u5/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:54.854555302Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:54.868336339Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:54.868365162Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:54.868390379Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:54.868411779Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:54.868498000Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:54.868514291Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:54.868524009Z" level=warning msg="failed to load plugin io.containerd.sna

Check failure on line 326 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp bake.go:326: Error Trace: /src/tests/bake.go:326 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:56.708930527 +0000 UTC m=+114.614180530 /usr/bin/dockerd --data-root /tmp/integration1347263822/d1xwdtn9tzikd/root --exec-root /tmp/dxr/d1xwdtn9tzikd --pidfile /tmp/integration1347263822/d1xwdtn9tzikd/docker.pid --containerd-namespace d1xwdtn9tzikd --containerd-plugins-namespace d1xwdtn9tzikdp --host unix:///tmp/docker-integration/d1xwdtn9tzikd.sock --config-file /tmp/integration1347263822/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:56.741004130Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:56.742820491Z" level=warning msg="could not change group /tmp/docker-integration/d1xwdtn9tzikd.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:56.743026314Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/d1xwdtn9tzikd.sock)" sandbox.go:131: time="2024-03-14T16:16:56.743048115Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:56.743728653Z" level=info msg="started new containerd process" address=/tmp/dxr/d1xwdtn9tzikd/containerd/containerd.sock module=libcontainerd pid=17643 sandbox.go:131: time="2024-03-14T16:16:56.744237260Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/d1xwdtn9tzikd/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:56.744649944Z" level=debug msg="2024/03/14 16:16:56 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/d1xwdtn9tzikd/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/d1xwdtn9tzikd/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:56.757320107Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:56.770582444Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:56.770608793Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:56.770633439Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:56.770653216Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:56.770731902Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:56.770748563Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:56.770758141Z" level=warning msg="failed to load plugin io.containerd.sna

Check failure on line 326 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp bake.go:326: Error Trace: /src/tests/bake.go:326 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:57.690720278 +0000 UTC m=+118.869559972 /usr/bin/dockerd --data-root /tmp/integration122757980/dkc0av0pg7s56/root --exec-root /tmp/dxr/dkc0av0pg7s56 --pidfile /tmp/integration122757980/dkc0av0pg7s56/docker.pid --containerd-namespace dkc0av0pg7s56 --containerd-plugins-namespace dkc0av0pg7s56p --host unix:///tmp/docker-integration/dkc0av0pg7s56.sock --config-file /tmp/integration122757980/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:57.723463261Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:57.725185125Z" level=warning msg="could not change group /tmp/docker-integration/dkc0av0pg7s56.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:57.725342609Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dkc0av0pg7s56.sock)" sandbox.go:131: time="2024-03-14T16:16:57.725363898Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:57.726024178Z" level=info msg="started new containerd process" address=/tmp/dxr/dkc0av0pg7s56/containerd/containerd.sock module=libcontainerd pid=17744 sandbox.go:131: time="2024-03-14T16:16:57.726804234Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dkc0av0pg7s56/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:57.727217686Z" level=debug msg="2024/03/14 16:16:57 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dkc0av0pg7s56/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/dkc0av0pg7s56/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:57.739438588Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:57.753153399Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:57.753200938Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:57.753249328Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:57.753283752Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:57.753359524Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:57.753396603Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:57.753415378Z" level=warning msg="failed to load plugin io.containerd.snapsh

Check failure on line 326 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.13.0, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp bake.go:326: Error Trace: /src/tests/bake.go:326 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: Received unexpected error: exit status 1 Test: TestIntegration/TestBakeRemoteContextSubdir/worker=remote+tcp Messages: ERROR: couldn't find a bake definition sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:08.00201989 +0000 UTC m=+122.008981893 /usr/bin/dockerd --data-root /tmp/integration2814359811/dmvytdmxwoxbk/root --exec-root /tmp/dxr/dmvytdmxwoxbk --pidfile /tmp/integration2814359811/dmvytdmxwoxbk/docker.pid --containerd-namespace dmvytdmxwoxbk --containerd-plugins-namespace dmvytdmxwoxbkp --host unix:///tmp/docker-integration/dmvytdmxwoxbk.sock --config-file /tmp/integration2814359811/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:08.032376349Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:08.034122706Z" level=warning msg="could not change group /tmp/docker-integration/dmvytdmxwoxbk.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:08.034332397Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dmvytdmxwoxbk.sock)" sandbox.go:131: time="2024-03-14T16:17:08.034367863Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:08.035155431Z" level=info msg="started new containerd process" address=/tmp/dxr/dmvytdmxwoxbk/containerd/containerd.sock module=libcontainerd pid=17747 sandbox.go:131: time="2024-03-14T16:17:08.035671313Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dmvytdmxwoxbk/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:08.035882925Z" level=debug msg="2024/03/14 16:17:08 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dmvytdmxwoxbk/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/dmvytdmxwoxbk/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:08.047618969Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:08.060683847Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:08.060726747Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:08.060773885Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:08.060799593Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:08.060929335Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:08.060950054Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:08.060968188Z" level=warning msg="failed to load plugin io.containerd.snap

require.FileExists(t, filepath.Join(dirDest, "super-cool.txt"))
}
Expand Down Expand Up @@ -370,7 +369,7 @@
withArgs(addr, "--set", "*.output=type=local,dest="+dirDest),
)
require.Error(t, err, out)
require.Contains(t, out, "outside of the working directory, please set BAKE_ALLOW_REMOTE_FS_ACCESS")

Check failure on line 372 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.11.6, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp bake.go:372: Error Trace: /src/tests/bake.go:372 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: "ERROR: couldn't find a bake definition\n" does not contain "outside of the working directory, please set BAKE_ALLOW_REMOTE_FS_ACCESS" Test: TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:39.079654051 +0000 UTC m=+104.795937616 /usr/bin/dockerd --data-root /tmp/integration1460936068/dknojoli8mlml/root --exec-root /tmp/dxr/dknojoli8mlml --pidfile /tmp/integration1460936068/dknojoli8mlml/docker.pid --containerd-namespace dknojoli8mlml --containerd-plugins-namespace dknojoli8mlmlp --host unix:///tmp/docker-integration/dknojoli8mlml.sock --config-file /tmp/integration1460936068/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:39.110379175Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:39.112177615Z" level=warning msg="could not change group /tmp/docker-integration/dknojoli8mlml.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:39.112326173Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dknojoli8mlml.sock)" sandbox.go:131: time="2024-03-14T16:16:39.112356350Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:39.112972133Z" level=info msg="started new containerd process" address=/tmp/dxr/dknojoli8mlml/containerd/containerd.sock module=libcontainerd pid=17332 sandbox.go:131: time="2024-03-14T16:16:39.113343068Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dknojoli8mlml/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:39.113512605Z" level=debug msg="2024/03/14 16:16:39 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dknojoli8mlml/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/dknojoli8mlml/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:39.126390650Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:39.140185158Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:39.140208212Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:39.140232958Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:39.140245782Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:39.140320843Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:39.140337774Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:39.140347182Z" level=warning msg="

Check failure on line 372 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp bake.go:372: Error Trace: /src/tests/bake.go:372 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: "ERROR: couldn't find a bake definition\n" does not contain "outside of the working directory, please set BAKE_ALLOW_REMOTE_FS_ACCESS" Test: TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:39.380457016 +0000 UTC m=+110.620361872 /usr/bin/dockerd --data-root /tmp/integration2604158727/dlzxvva5zvzlm/root --exec-root /tmp/dxr/dlzxvva5zvzlm --pidfile /tmp/integration2604158727/dlzxvva5zvzlm/docker.pid --containerd-namespace dlzxvva5zvzlm --containerd-plugins-namespace dlzxvva5zvzlmp --host unix:///tmp/docker-integration/dlzxvva5zvzlm.sock --config-file /tmp/integration2604158727/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:39.417340832Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:39.418935149Z" level=warning msg="could not change group /tmp/docker-integration/dlzxvva5zvzlm.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:39.419097764Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dlzxvva5zvzlm.sock)" sandbox.go:131: time="2024-03-14T16:16:39.419115106Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:39.419629095Z" level=info msg="started new containerd process" address=/tmp/dxr/dlzxvva5zvzlm/containerd/containerd.sock module=libcontainerd pid=17377 sandbox.go:131: time="2024-03-14T16:16:39.419999018Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dlzxvva5zvzlm/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:39.420195479Z" level=debug msg="2024/03/14 16:16:39 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dlzxvva5zvzlm/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/dlzxvva5zvzlm/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:39.433858290Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:39.447301771Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:39.447324233Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:39.447348188Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:39.447373435Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:39.447482169Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:39.447499181Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:39.447508658Z" level=warning msg="

Check failure on line 372 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp bake.go:372: Error Trace: /src/tests/bake.go:372 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: "ERROR: couldn't find a bake definition\n" does not contain "outside of the working directory, please set BAKE_ALLOW_REMOTE_FS_ACCESS" Test: TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:50.99519893 +0000 UTC m=+109.740276298 /usr/bin/dockerd --data-root /tmp/integration648818988/dza0e70ljc6lk/root --exec-root /tmp/dxr/dza0e70ljc6lk --pidfile /tmp/integration648818988/dza0e70ljc6lk/docker.pid --containerd-namespace dza0e70ljc6lk --containerd-plugins-namespace dza0e70ljc6lkp --host unix:///tmp/docker-integration/dza0e70ljc6lk.sock --config-file /tmp/integration648818988/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:51.036170468Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:51.038269078Z" level=warning msg="could not change group /tmp/docker-integration/dza0e70ljc6lk.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:51.038416123Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dza0e70ljc6lk.sock)" sandbox.go:131: time="2024-03-14T16:16:51.038437944Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:51.039191551Z" level=info msg="started new containerd process" address=/tmp/dxr/dza0e70ljc6lk/containerd/containerd.sock module=libcontainerd pid=17254 sandbox.go:131: time="2024-03-14T16:16:51.039551554Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dza0e70ljc6lk/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:51.039742709Z" level=debug msg="2024/03/14 16:16:51 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dza0e70ljc6lk/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/dza0e70ljc6lk/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:51.052191857Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:51.066176263Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:51.066206289Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:51.066240744Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:51.066264277Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:51.066348314Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:51.066367821Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:51.066384111Z" level=warning msg="fail

Check failure on line 372 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp bake.go:372: Error Trace: /src/tests/bake.go:372 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: "ERROR: couldn't find a bake definition\n" does not contain "outside of the working directory, please set BAKE_ALLOW_REMOTE_FS_ACCESS" Test: TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:52.851779781 +0000 UTC m=+110.757029783 /usr/bin/dockerd --data-root /tmp/integration4076860910/dnhkl4m8jddri/root --exec-root /tmp/dxr/dnhkl4m8jddri --pidfile /tmp/integration4076860910/dnhkl4m8jddri/docker.pid --containerd-namespace dnhkl4m8jddri --containerd-plugins-namespace dnhkl4m8jddrip --host unix:///tmp/docker-integration/dnhkl4m8jddri.sock --config-file /tmp/integration4076860910/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:52.882565605Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:52.884107332Z" level=warning msg="could not change group /tmp/docker-integration/dnhkl4m8jddri.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:52.884258753Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dnhkl4m8jddri.sock)" sandbox.go:131: time="2024-03-14T16:16:52.884279592Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:52.884816967Z" level=info msg="started new containerd process" address=/tmp/dxr/dnhkl4m8jddri/containerd/containerd.sock module=libcontainerd pid=17289 sandbox.go:131: time="2024-03-14T16:16:52.885397213Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dnhkl4m8jddri/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:52.885511129Z" level=debug msg="2024/03/14 16:16:52 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dnhkl4m8jddri/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/dnhkl4m8jddri/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:52.898249751Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:52.912488863Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:52.912512708Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:52.912544707Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:52.912555737Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:52.912652017Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:52.912669609Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:52.912683405Z" level=warning msg="

Check failure on line 372 in tests/bake.go

View workflow job for this annotation

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

Failed: tests/TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp bake.go:372: Error Trace: /src/tests/bake.go:372 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: "ERROR: couldn't find a bake definition\n" does not contain "outside of the working directory, please set BAKE_ALLOW_REMOTE_FS_ACCESS" Test: TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:16:53.641386767 +0000 UTC m=+114.820226452 /usr/bin/dockerd --data-root /tmp/integration2004547063/dwh8b1ffd2zlm/root --exec-root /tmp/dxr/dwh8b1ffd2zlm --pidfile /tmp/integration2004547063/dwh8b1ffd2zlm/docker.pid --containerd-namespace dwh8b1ffd2zlm --containerd-plugins-namespace dwh8b1ffd2zlmp --host unix:///tmp/docker-integration/dwh8b1ffd2zlm.sock --config-file /tmp/integration2004547063/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:16:53.669400491Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:16:53.670981251Z" level=warning msg="could not change group /tmp/docker-integration/dwh8b1ffd2zlm.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:16:53.671121665Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dwh8b1ffd2zlm.sock)" sandbox.go:131: time="2024-03-14T16:16:53.671138927Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:16:53.671877464Z" level=info msg="started new containerd process" address=/tmp/dxr/dwh8b1ffd2zlm/containerd/containerd.sock module=libcontainerd pid=17387 sandbox.go:131: time="2024-03-14T16:16:53.672317622Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dwh8b1ffd2zlm/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:16:53.672594068Z" level=debug msg="2024/03/14 16:16:53 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dwh8b1ffd2zlm/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/dwh8b1ffd2zlm/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:16:53.684058734Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:16:53.697400810Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:16:53.697427641Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:16:53.697481399Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:16:53.697519932Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:53.697600964Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:53.697619368Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:16:53.697635078Z" level=warning msg="

Check failure on line 372 in tests/bake.go

View workflow job for this annotation

GitHub Actions / test-integration (v0.13.0, remote+tcp, ./tests)

Failed: tests/TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp

=== RUN TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === PAUSE TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp === CONT TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp bake.go:372: Error Trace: /src/tests/bake.go:372 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:93 /src/vendor/github.com/moby/buildkit/util/testutil/integration/run.go:207 Error: "ERROR: couldn't find a bake definition\n" does not contain "outside of the working directory, please set BAKE_ALLOW_REMOTE_FS_ACCESS" Test: TestIntegration/TestBakeRemoteCmdContextEscapeRoot/worker=remote+tcp sandbox.go:128: stdout: /usr/bin/dockerd sandbox.go:128: stderr: /usr/bin/dockerd sandbox.go:131: > startCmd 2024-03-14 16:17:03.789266205 +0000 UTC m=+117.796228237 /usr/bin/dockerd --data-root /tmp/integration2936212781/dvu3i72y1xa0b/root --exec-root /tmp/dxr/dvu3i72y1xa0b --pidfile /tmp/integration2936212781/dvu3i72y1xa0b/docker.pid --containerd-namespace dvu3i72y1xa0b --containerd-plugins-namespace dvu3i72y1xa0bp --host unix:///tmp/docker-integration/dvu3i72y1xa0b.sock --config-file /tmp/integration2936212781/daemon.json --userland-proxy=false --tls=false --debug sandbox.go:131: time="2024-03-14T16:17:03.820969604Z" level=info msg="Starting up" sandbox.go:131: time="2024-03-14T16:17:03.822635390Z" level=warning msg="could not change group /tmp/docker-integration/dvu3i72y1xa0b.sock to docker: group docker not found" sandbox.go:131: time="2024-03-14T16:17:03.822767497Z" level=debug msg="Listener created for HTTP on unix (/tmp/docker-integration/dvu3i72y1xa0b.sock)" sandbox.go:131: time="2024-03-14T16:17:03.822789979Z" level=info msg="containerd not running, starting managed containerd" sandbox.go:131: time="2024-03-14T16:17:03.823650854Z" level=info msg="started new containerd process" address=/tmp/dxr/dvu3i72y1xa0b/containerd/containerd.sock module=libcontainerd pid=17393 sandbox.go:131: time="2024-03-14T16:17:03.824112034Z" level=debug msg="created containerd monitoring client" address=/tmp/dxr/dvu3i72y1xa0b/containerd/containerd.sock module=libcontainerd sandbox.go:131: time="2024-03-14T16:17:03.824262963Z" level=debug msg="2024/03/14 16:17:03 WARNING: [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: \"/tmp/dxr/dvu3i72y1xa0b/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/dvu3i72y1xa0b/containerd/containerd.sock: connect: no such file or directory\"" library=grpc sandbox.go:131: time="2024-03-14T16:17:03.838192102Z" level=info msg="starting containerd" revision=7c3aca7a610df76212171d200ca3811ff6096eb8 version=v1.7.13 sandbox.go:131: time="2024-03-14T16:17:03.851485717Z" level=info msg="loading plugin \"io.containerd.event.v1.exchange\"..." type=io.containerd.event.v1 sandbox.go:131: time="2024-03-14T16:17:03.851529689Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1 sandbox.go:131: time="2024-03-14T16:17:03.851578179Z" level=info msg="loading plugin \"io.containerd.warning.v1.deprecations\"..." type=io.containerd.warning.v1 sandbox.go:131: time="2024-03-14T16:17:03.851598297Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:03.851719713Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.blockfile\"..." error="no scratch file generator: skip plugin" type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:03.851736875Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1 sandbox.go:131: time="2024-03-14T16:17:03.851753827Z" level=warning msg="

out, err = bakeCmd(
sb,
Expand Down Expand Up @@ -641,9 +640,10 @@
}

func testBakeMultiExporters(t *testing.T, sb integration.Sandbox) {
if sb.Name() != "docker" {
t.Skip("skipping test for non-docker workers")
if !isDockerContainerWorker(sb) {
t.Skip("only testing with docker-container worker")
}
skipNoCompatBuildKit(t, sb, ">= 0.13.0-0", "multi exporters")

registry, err := sb.NewRegistry()
if errors.Is(err, integration.ErrRequirements) {
Expand All @@ -654,30 +654,12 @@
targetReg := registry + "/buildx/registry:latest"
targetStore := "buildx:local-" + identity.NewID()

var builderName string
t.Cleanup(func() {
if builderName == "" {
return
}

cmd := dockerCmd(sb, withArgs("image", "rm", targetStore))
cmd.Stderr = os.Stderr
require.NoError(t, cmd.Run())

out, err := rmCmd(sb, withArgs(builderName))
require.NoError(t, err, out)
})

// TODO: use stable buildkit image when v0.13.0 released
out, err := createCmd(sb, withArgs(
"--driver", "docker-container",
"--buildkitd-flags=--allow-insecure-entitlement=network.host",
"--driver-opt", "network=host",
"--driver-opt", "image=moby/buildkit:v0.13.0-rc3",
))
require.NoError(t, err, out)
builderName = strings.TrimSpace(out)

dockerfile := []byte(`
FROM scratch
COPY foo /foo
Expand All @@ -699,7 +681,6 @@
"--set", fmt.Sprintf("*.output=type=oci,dest=%s/result", dir),
}
cmd := buildxCmd(sb, withDir(dir), withArgs("bake"), withArgs(outputs...))
cmd.Env = append(cmd.Env, "BUILDX_BUILDER="+builderName)
outb, err := cmd.CombinedOutput()
require.NoError(t, err, string(outb))

Expand All @@ -722,9 +703,10 @@
}

func testBakeLoadPush(t *testing.T, sb integration.Sandbox) {
if sb.Name() != "docker" {
t.Skip("skipping test for non-docker workers")
if !isDockerContainerWorker(sb) {
t.Skip("only testing with docker-container worker")
}
skipNoCompatBuildKit(t, sb, ">= 0.13.0-0", "multi exporters")

registry, err := sb.NewRegistry()
if errors.Is(err, integration.ErrRequirements) {
Expand All @@ -734,30 +716,12 @@

target := registry + "/buildx/registry:" + identity.NewID()

var builderName string
t.Cleanup(func() {
if builderName == "" {
return
}

cmd := dockerCmd(sb, withArgs("image", "rm", target))
cmd.Stderr = os.Stderr
require.NoError(t, cmd.Run())

out, err := rmCmd(sb, withArgs(builderName))
require.NoError(t, err, out)
})

// TODO: use stable buildkit image when v0.13.0 released
out, err := createCmd(sb, withArgs(
"--driver", "docker-container",
"--buildkitd-flags=--allow-insecure-entitlement=network.host",
"--driver-opt", "network=host",
"--driver-opt", "image=moby/buildkit:v0.13.0-rc3",
))
require.NoError(t, err, out)
builderName = strings.TrimSpace(out)

dockerfile := []byte(`
FROM scratch
COPY foo /foo
Expand All @@ -774,7 +738,6 @@
)

cmd := buildxCmd(sb, withDir(dir), withArgs("bake", "--push", "--load", fmt.Sprintf("--set=*.tags=%s", target)))
cmd.Env = append(cmd.Env, "BUILDX_BUILDER="+builderName)
outb, err := cmd.CombinedOutput()
require.NoError(t, err, string(outb))

Expand Down
Loading
Loading