2026-10-24T12:06:54.281Z Diffinery runner: job runner-docker (End-to-end (runner Docker)) for codician/diffinery@4efbfe4d1993 2026-10-24T12:06:54.289Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in cdg15, WEUR, container 509edbf280a52c6e04dc97497c54582f549706e66cb7c77924bbd100b8c6d40e 2026-10-24T12:06:54.289Z Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), this job uses what a smaller runner doesn't have; runs-on: diffinery-large (or -medium, -small, -tiny) sets a size 2026-10-24T12:06:54.289Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-24T12:06:54.290Z Workspace: /workspace/diffinery 2026-10-24T12:06:54.355Z ##[group]Run actions/checkout@v4 2026-10-24T12:06:54.355Z ##[endgroup] 2026-10-24T12:06:54.358Z Syncing repository: codician/diffinery 2026-10-24T12:06:54.409Z Fetching the repository (depth 1) 2026-10-24T12:06:55.485Z remote: Enumerating objects: 785, done. 2026-10-24T12:06:55.760Z Receiving objects: 0% (1/785) Receiving objects: 1% (8/785) Receiving objects: 2% (16/785) Receiving objects: 3% (24/785) Receiving objects: 4% (32/785) Receiving objects: 5% (40/785) Receiving objects: 6% (48/785) Receiving objects: 7% (55/785) Receiving objects: 8% (63/785) Receiving objects: 9% (71/785) Receiving objects: 10% (79/785) Receiving objects: 11% (87/785) Receiving objects: 12% (95/785) Receiving objects: 13% (103/785) Receiving objects: 14% (110/785) Receiving objects: 15% (118/785) Receiving objects: 16% (126/785) Receiving objects: 17% (134/785) Receiving objects: 18% (142/785) Receiving objects: 19% (150/785) Receiving objects: 20% (157/785) Receiving objects: 21% (165/785) Receiving objects: 22% (173/785) Receiving objects: 23% (181/785) Receiving objects: 24% (189/785) Receiving objects: 25% (197/785) Receiving objects: 26% (205/785) Receiving objects: 27% (212/785) Receiving objects: 28% (220/785) Receiving objects: 29% (228/785) Receiving objects: 30% (236/785) Receiving objects: 31% (244/785) Receiving objects: 32% (252/785) Receiving objects: 33% (260/785) Receiving objects: 34% (267/785) Receiving objects: 35% (275/785) Receiving objects: 36% (283/785) Receiving objects: 37% (291/785) Receiving objects: 38% (299/785) Receiving objects: 39% (307/785) Receiving objects: 40% (314/785) Receiving objects: 41% (322/785) Receiving objects: 42% (330/785) Receiving objects: 43% (338/785) Receiving objects: 44% (346/785) Receiving objects: 45% (354/785) Receiving objects: 46% (362/785) Receiving objects: 47% (369/785) Receiving objects: 48% (377/785) Receiving objects: 49% (385/785) Receiving objects: 50% (393/785) Receiving objects: 51% (401/785) Receiving objects: 52% (409/785) Receiving objects: 53% (417/785) Receiving objects: 54% (424/785) Receiving objects: 55% (432/785) Receiving objects: 56% (440/785) Receiving objects: 57% (448/785) Receiving objects: 58% (456/785) Receiving objects: 59% (464/785) Receiving objects: 60% (471/785) Receiving objects: 61% (479/785) Receiving objects: 62% (487/785) Receiving objects: 63% (495/785) Receiving objects: 64% (503/785) Receiving objects: 65% (511/785) Receiving objects: 66% (519/785) Receiving objects: 67% (526/785) Receiving objects: 68% (534/785) Receiving objects: 69% (542/785) Receiving objects: 70% (550/785) Receiving objects: 71% (558/785) Receiving objects: 72% (566/785) Receiving objects: 73% (574/785) Receiving objects: 74% (581/785) Receiving objects: 75% (589/785) Receiving objects: 76% (597/785) Receiving objects: 77% (605/785) Receiving objects: 78% (613/785) Receiving objects: 79% (621/785) Receiving objects: 80% (628/785) Receiving objects: 81% (636/785) Receiving objects: 82% (644/785) Receiving objects: 83% (652/785) Receiving objects: 84% (660/785) Receiving objects: 85% (668/785) Receiving objects: 86% (676/785) Receiving objects: 87% (683/785) Receiving objects: 88% (691/785) Receiving objects: 89% (699/785) Receiving objects: 90% (707/785) Receiving objects: 91% (715/785) Receiving objects: 92% (723/785) Receiving objects: 93% (731/785) Receiving objects: 94% (738/785) Receiving objects: 95% (746/785) Receiving objects: 96% (754/785) Receiving objects: 97% (762/785) remote: Total 785 (delta 0), reused 785 (delta 0) 2026-10-24T12:06:55.761Z Receiving objects: 98% (770/785) Receiving objects: 99% (778/785) Receiving objects: 100% (785/785) Receiving objects: 100% (785/785), 3.59 MiB | 13.58 MiB/s, done. 2026-10-24T12:06:55.772Z From https://diffinery.com/codician/diffinery 2026-10-24T12:06:55.772Z * [new ref] 4efbfe4d1993f82b2ebbb49b1b28b07b766b816d -> origin/diffinery-checkout 2026-10-24T12:06:55.863Z Note: switching to '4efbfe4d1993f82b2ebbb49b1b28b07b766b816d'. 2026-10-24T12:06:55.863Z 2026-10-24T12:06:55.863Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-24T12:06:55.863Z changes and commit them, and you can discard any commits you make in this 2026-10-24T12:06:55.863Z state without impacting any branches by switching back to a branch. 2026-10-24T12:06:55.863Z 2026-10-24T12:06:55.863Z If you want to create a new branch to retain commits you create, you may 2026-10-24T12:06:55.863Z do so (now or later) by using -c with the switch command. Example: 2026-10-24T12:06:55.863Z 2026-10-24T12:06:55.863Z git switch -c 2026-10-24T12:06:55.863Z 2026-10-24T12:06:55.863Z Or undo this operation with: 2026-10-24T12:06:55.863Z 2026-10-24T12:06:55.863Z git switch - 2026-10-24T12:06:55.863Z 2026-10-24T12:06:55.863Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-24T12:06:55.863Z 2026-10-24T12:06:55.863Z HEAD is now at 4efbfe4 Merge 7af0d9dcb101391771fcaa27b208abcb27b7b81a into bf470037ea65eaddac032a50c8026247604d5785 2026-10-24T12:06:55.867Z HEAD is now at 4efbfe4d1993f82b2ebbb49b1b28b07b766b816d 2026-10-24T12:06:56.209Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-24T12:06:57.037Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-24T12:06:57.037Z with: 2026-10-24T12:06:57.037Z dest: ~/setup-pnpm 2026-10-24T12:06:57.037Z run_install: null 2026-10-24T12:06:57.037Z cache: false 2026-10-24T12:06:57.037Z cache_dependency_path: pnpm-lock.yaml 2026-10-24T12:06:57.037Z package_json_file: package.json 2026-10-24T12:06:57.037Z standalone: false 2026-10-24T12:06:57.037Z ##[endgroup] 2026-10-24T12:06:57.195Z ##[group]Running self-installer... 2026-10-24T12:06:57.727Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-24T12:06:57.734Z Packages: +1 2026-10-24T12:06:57.734Z + 2026-10-24T12:06:58.202Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-24T12:06:58.225Z 2026-10-24T12:06:58.225Z dependencies: 2026-10-24T12:06:58.225Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-24T12:06:58.225Z 2026-10-24T12:06:58.228Z Done in 857ms 2026-10-24T12:06:58.245Z ##[endgroup] 2026-10-24T12:06:58.246Z Installation Completed! 2026-10-24T12:06:58.367Z ##[group]Run actions/setup-node@v4 2026-10-24T12:06:58.367Z with: 2026-10-24T12:06:58.367Z node-version: 22 2026-10-24T12:06:58.367Z cache: pnpm 2026-10-24T12:06:58.367Z ##[endgroup] 2026-10-24T12:06:58.373Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-24T12:06:59.501Z Cache Size: ~216 MB (226934503 B) 2026-10-24T12:07:03.557Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-24T12:07:03.783Z ##[group]Run pnpm install --frozen-lockfile 2026-10-24T12:07:03.783Z ##[endgroup] 2026-10-24T12:07:04.124Z Scope: all 8 workspace projects 2026-10-24T12:07:04.182Z Lockfile is up to date, resolution step is skipped 2026-10-24T12:07:04.229Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-24T12:07:04.278Z Packages: +251 2026-10-24T12:07:04.278Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-24T12:07:05.231Z Progress: resolved 251, reused 245, downloaded 0, added 249 2026-10-24T12:07:05.371Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-24T12:07:05.485Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-24T12:07:05.486Z .../node_modules/workerd postinstall$ node install.js 2026-10-24T12:07:05.487Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-24T12:07:05.488Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-24T12:07:05.508Z .../node_modules/workerd postinstall$ node install.js 2026-10-24T12:07:05.690Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-24T12:07:05.691Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-24T12:07:05.694Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-24T12:07:05.698Z .../node_modules/workerd postinstall: Done 2026-10-24T12:07:05.825Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-24T12:07:05.831Z .../node_modules/workerd postinstall: Done 2026-10-24T12:07:05.836Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-24T12:07:06.322Z 2026-10-24T12:07:06.322Z devDependencies: 2026-10-24T12:07:06.322Z + turbo 2.11.7 2026-10-24T12:07:06.322Z + typescript 5.9.3 2026-10-24T12:07:06.322Z 2026-10-24T12:07:06.747Z Done in 2.9s using pnpm v10.28.0 2026-10-24T12:07:06.868Z ##[group]Run pnpm --filter @diffinery/runner build 2026-10-24T12:07:06.869Z ##[endgroup] 2026-10-24T12:07:07.198Z 2026-10-24T12:07:07.198Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-24T12:07:07.198Z > esbuild src/main.ts --bundle --platform=node --target=node22 --format=esm --outfile=dist/agent.mjs --external:bufferutil --external:utf-8-validate "--banner:js=import { createRequire as __diffineryCreateRequire } from 'node:module'; const require = __diffineryCreateRequire(import.meta.url);" 2026-10-24T12:07:07.198Z 2026-10-24T12:07:07.248Z 2026-10-24T12:07:07.248Z dist/agent.mjs 684.1kb 2026-10-24T12:07:07.248Z 2026-10-24T12:07:07.248Z ⚡ Done in 39ms 2026-10-24T12:07:07.345Z ##[group]Run set -euo pipefail 2026-10-24T12:07:07.345Z as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; } 2026-10-24T12:07:07.345Z if [ ! -f /opt/diffinery/agent.mjs ] || ! grep -q "registry relay" /usr/local/bin/docker 2>/dev/null; then 2026-10-24T12:07:07.345Z echo "::error::this job needs a Diffinery hosted runner (its docker wrapper and agent)" 2026-10-24T12:07:07.345Z exit 1 2026-10-24T12:07:07.345Z fi 2026-10-24T12:07:07.345Z as_root pkill -x dockerd || true 2026-10-24T12:07:07.345Z as_root pkill -f -- "--registry-relay" || true 2026-10-24T12:07:07.345Z for _ in $(seq 1 60); do pgrep -x dockerd >/dev/null || break; sleep 0.5; done 2026-10-24T12:07:07.345Z as_root rm -f /run/diffinery-dockerd.ready 2026-10-24T12:07:07.345Z as_root cp --remove-destination containers/runner/image/docker /usr/local/bin/docker 2026-10-24T12:07:07.345Z as_root cp --remove-destination containers/runner/image/daemon.json /etc/docker/daemon.json 2026-10-24T12:07:07.345Z as_root cp --remove-destination containers/runner/dist/agent.mjs /opt/diffinery/agent.mjs 2026-10-24T12:07:07.345Z ##[endgroup] 2026-10-24T12:07:39.880Z ##[group]Run set -uo pipefail 2026-10-24T12:07:39.880Z start=$(date +%s) 2026-10-24T12:07:39.880Z docker info >/dev/null & a=$! 2026-10-24T12:07:39.880Z docker ps >/dev/null & b=$! 2026-10-24T12:07:39.880Z docker version >/dev/null & c=$! 2026-10-24T12:07:39.880Z failed=0 2026-10-24T12:07:39.880Z for p in $a $b $c; do wait "$p" || failed=1; done 2026-10-24T12:07:39.880Z echo "three docker commands at once, the daemon starting: $(( $(date +%s) - start )) s" 2026-10-24T12:07:39.880Z [ "$failed" = 0 ] || { echo "::error::a docker command failed while the daemon started"; exit 1; } 2026-10-24T12:07:39.880Z docker run --rm mirror.gcr.io/library/alpine:3.20 echo "container ok" 2026-10-24T12:07:39.880Z ##[endgroup] 2026-10-24T12:07:39.911Z Starting the Docker daemon 2026-10-24T12:07:41.217Z WARNING: No swap limit support 2026-10-24T12:07:41.219Z three docker commands at once, the daemon starting: 2 s 2026-10-24T12:07:41.240Z Unable to find image 'mirror.gcr.io/library/alpine:3.20' locally 2026-10-24T12:07:41.428Z 3.20: Pulling from library/alpine 2026-10-24T12:07:41.580Z 25f1d6b1951a: Pulling fs layer 2026-10-24T12:07:41.744Z 3a030ca3f633: Download complete 2026-10-24T12:07:41.845Z 25f1d6b1951a: Download complete 2026-10-24T12:07:41.845Z d4050d56ebf2: Download complete 2026-10-24T12:07:41.933Z 25f1d6b1951a: Pull complete 2026-10-24T12:07:41.933Z Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc 2026-10-24T12:07:41.933Z Status: Downloaded newer image for mirror.gcr.io/library/alpine:3.20 2026-10-24T12:07:42.116Z container ok 2026-10-24T12:07:42.314Z ##[group]Run pnpm exec vitest run test/docker.test.ts test/docker-wrapper.test.ts 2026-10-24T12:07:42.314Z ##[endgroup] 2026-10-24T12:07:42.844Z (!) Your Vite config uses features that are unsupported by `configLoader: 'native'`, which is planned to become the default in a future major version of Vite: 2026-10-24T12:07:42.844Z - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-24T12:07:42.844Z - ESM syntax in a file loaded as CommonJS (../../vitest.shared.ts:10:1). Use a `.mjs` extension or set `"type": "module"` in the closest package.json 2026-10-24T12:07:42.844Z Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-24T12:07:42.868Z 2026-10-24T12:07:42.868Z RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-24T12:07:42.868Z 2026-10-24T12:07:51.455Z ✓ test/docker-wrapper.test.ts (4 tests) 8019ms 2026-10-24T12:07:51.455Z ✓ lets docker commands that arrive while the daemon is starting through, with the head start on 1133ms 2026-10-24T12:07:51.455Z ✓ gives up with a message, not a hang, when the daemon never comes up 3186ms 2026-10-24T12:07:51.455Z ✓ starts the registry relay and the daemon together 2088ms 2026-10-24T12:07:51.455Z ✓ starts the daemon again without the relay when the relay never comes up 1612ms 2026-10-24T12:07:58.077Z ✓ test/docker.test.ts (4 tests) 14586ms 2026-10-24T12:07:58.077Z ✓ runs steps and JavaScript actions in a job container next to a service container 5469ms 2026-10-24T12:07:58.077Z ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints 4455ms 2026-10-24T12:07:58.077Z ✓ fails a service that never gets healthy, and cleans up 4324ms 2026-10-24T12:07:58.077Z ✓ explains that containers need Docker 336ms 2026-10-24T12:07:58.080Z 2026-10-24T12:07:58.081Z Test Files 2 passed (2) 2026-10-24T12:07:58.081Z Tests 8 passed (8) 2026-10-24T12:07:58.081Z Start at 12:07:42 2026-10-24T12:07:58.081Z Duration 15.21s (transform 600ms, setup 0ms, import 924ms, tests 22.61s, environment 0ms) 2026-10-24T12:07:58.081Z 2026-10-24T12:07:58.274Z Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, not saving cache. 2026-10-24T12:07:58.482Z Pruning is unnecessary. 2026-10-24T12:07:58.558Z Removing persisted credentials 2026-10-24T12:07:58.597Z Host: 0% of the vCPUs' time went to other work on the host (steal) 2026-10-24T12:07:58.597Z Job completed with conclusion: success 2026-10-24T12:07:58.598Z Resources: 0.5 of 4 vCPUs busy on average (2.2 at the 95th percentile), peak memory 1.1 GiB of 11.9 GiB, peak disk 2.3 GB of 19.2 GB