2026-10-24T13:14:37.981Z Diffinery runner: job runner-docker (End-to-end (runner Docker)) for codician/diffinery@038d35b8aa24 2026-10-24T13:14:37.996Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in dus02, WEUR, container a48703358b854feac8bb64c38aaf37fe3cbfe0f21424f900802ec9e2807b12bf 2026-10-24T13:14:37.996Z 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-24T13:14:37.996Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-24T13:14:37.996Z Workspace: /workspace/diffinery 2026-10-24T13:14:38.035Z ##[group]Run actions/checkout@v4 2026-10-24T13:14:38.035Z ##[endgroup] 2026-10-24T13:14:38.036Z Syncing repository: codician/diffinery 2026-10-24T13:14:38.111Z Fetching the repository (depth 1) 2026-10-24T13:14:38.981Z remote: Enumerating objects: 786, done. 2026-10-24T13:14:39.436Z Receiving objects: 0% (1/786) Receiving objects: 1% (8/786) Receiving objects: 2% (16/786) Receiving objects: 3% (24/786) Receiving objects: 4% (32/786) Receiving objects: 5% (40/786) Receiving objects: 6% (48/786) Receiving objects: 7% (56/786) Receiving objects: 8% (63/786) Receiving objects: 9% (71/786) Receiving objects: 10% (79/786) Receiving objects: 11% (87/786) Receiving objects: 12% (95/786) Receiving objects: 13% (103/786) Receiving objects: 14% (111/786) Receiving objects: 15% (118/786) Receiving objects: 16% (126/786) Receiving objects: 17% (134/786) Receiving objects: 18% (142/786) Receiving objects: 19% (150/786) Receiving objects: 20% (158/786) Receiving objects: 21% (166/786) Receiving objects: 22% (173/786) Receiving objects: 23% (181/786) Receiving objects: 24% (189/786) Receiving objects: 25% (197/786) Receiving objects: 26% (205/786) Receiving objects: 27% (213/786) Receiving objects: 28% (221/786) Receiving objects: 29% (228/786) Receiving objects: 30% (236/786) Receiving objects: 31% (244/786) Receiving objects: 32% (252/786) Receiving objects: 33% (260/786) Receiving objects: 34% (268/786) Receiving objects: 35% (276/786) Receiving objects: 36% (283/786) Receiving objects: 37% (291/786) Receiving objects: 38% (299/786) Receiving objects: 39% (307/786) Receiving objects: 40% (315/786) Receiving objects: 41% (323/786) Receiving objects: 42% (331/786) Receiving objects: 43% (338/786) Receiving objects: 44% (346/786) Receiving objects: 45% (354/786) Receiving objects: 46% (362/786) Receiving objects: 47% (370/786) Receiving objects: 48% (378/786) Receiving objects: 49% (386/786) Receiving objects: 50% (393/786) Receiving objects: 51% (401/786) Receiving objects: 52% (409/786) Receiving objects: 53% (417/786) Receiving objects: 54% (425/786) Receiving objects: 55% (433/786) Receiving objects: 56% (441/786) Receiving objects: 57% (449/786) Receiving objects: 58% (456/786) Receiving objects: 59% (464/786) Receiving objects: 60% (472/786) Receiving objects: 61% (480/786) Receiving objects: 62% (488/786) Receiving objects: 63% (496/786) Receiving objects: 64% (504/786) Receiving objects: 65% (511/786) Receiving objects: 66% (519/786) Receiving objects: 67% (527/786) Receiving objects: 68% (535/786) Receiving objects: 69% (543/786) Receiving objects: 70% (551/786) Receiving objects: 71% (559/786) Receiving objects: 72% (566/786) Receiving objects: 73% (574/786) Receiving objects: 74% (582/786) Receiving objects: 75% (590/786) Receiving objects: 76% (598/786) Receiving objects: 77% (606/786) Receiving objects: 78% (614/786) Receiving objects: 79% (621/786) Receiving objects: 80% (629/786) Receiving objects: 81% (637/786) Receiving objects: 82% (645/786) Receiving objects: 83% (653/786) Receiving objects: 84% (661/786) Receiving objects: 85% (669/786) Receiving objects: 86% (676/786) Receiving objects: 87% (684/786) Receiving objects: 88% (692/786) Receiving objects: 89% (700/786) Receiving objects: 90% (708/786) Receiving objects: 91% (716/786) Receiving objects: 92% (724/786) Receiving objects: 93% (731/786) Receiving objects: 94% (739/786) Receiving objects: 95% (747/786) Receiving objects: 96% (755/786) Receiving objects: 97% (763/786) remote: Total 786 (delta 0), reused 786 (delta 0) 2026-10-24T13:14:39.437Z Receiving objects: 98% (771/786) Receiving objects: 99% (779/786) Receiving objects: 100% (786/786) Receiving objects: 100% (786/786), 3.60 MiB | 7.96 MiB/s, done. 2026-10-24T13:14:39.448Z From https://diffinery.com/codician/diffinery 2026-10-24T13:14:39.448Z * [new ref] 038d35b8aa24c6ec90e42ee11efb5f9692bb9d16 -> origin/diffinery-checkout 2026-10-24T13:14:39.525Z Note: switching to '038d35b8aa24c6ec90e42ee11efb5f9692bb9d16'. 2026-10-24T13:14:39.525Z 2026-10-24T13:14:39.525Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-24T13:14:39.525Z changes and commit them, and you can discard any commits you make in this 2026-10-24T13:14:39.525Z state without impacting any branches by switching back to a branch. 2026-10-24T13:14:39.525Z 2026-10-24T13:14:39.525Z If you want to create a new branch to retain commits you create, you may 2026-10-24T13:14:39.525Z do so (now or later) by using -c with the switch command. Example: 2026-10-24T13:14:39.525Z 2026-10-24T13:14:39.525Z git switch -c 2026-10-24T13:14:39.525Z 2026-10-24T13:14:39.525Z Or undo this operation with: 2026-10-24T13:14:39.525Z 2026-10-24T13:14:39.525Z git switch - 2026-10-24T13:14:39.525Z 2026-10-24T13:14:39.525Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-24T13:14:39.525Z 2026-10-24T13:14:39.525Z HEAD is now at 038d35b Merge f6526c0131403a601239c98a901020ca4e20829b into 3e7cf1cfa2c733c8d5dd17db42f1247bea76641b 2026-10-24T13:14:39.529Z HEAD is now at 038d35b8aa24c6ec90e42ee11efb5f9692bb9d16 2026-10-24T13:14:39.691Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-24T13:14:40.953Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-24T13:14:40.953Z with: 2026-10-24T13:14:40.953Z dest: ~/setup-pnpm 2026-10-24T13:14:40.953Z run_install: null 2026-10-24T13:14:40.953Z cache: false 2026-10-24T13:14:40.953Z cache_dependency_path: pnpm-lock.yaml 2026-10-24T13:14:40.953Z package_json_file: package.json 2026-10-24T13:14:40.953Z standalone: false 2026-10-24T13:14:40.953Z ##[endgroup] 2026-10-24T13:14:41.137Z ##[group]Running self-installer... 2026-10-24T13:14:41.754Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-24T13:14:41.763Z Packages: +1 2026-10-24T13:14:41.763Z + 2026-10-24T13:14:42.246Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-24T13:14:42.274Z 2026-10-24T13:14:42.274Z dependencies: 2026-10-24T13:14:42.274Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-24T13:14:42.274Z 2026-10-24T13:14:42.277Z Done in 920ms 2026-10-24T13:14:42.297Z ##[endgroup] 2026-10-24T13:14:42.297Z Installation Completed! 2026-10-24T13:14:42.401Z ##[group]Run actions/setup-node@v4 2026-10-24T13:14:42.401Z with: 2026-10-24T13:14:42.401Z node-version: 22 2026-10-24T13:14:42.401Z cache: pnpm 2026-10-24T13:14:42.401Z ##[endgroup] 2026-10-24T13:14:42.410Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-24T13:14:43.376Z Cache Size: ~216 MB (226934503 B) 2026-10-24T13:14:47.594Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-24T13:14:47.667Z ##[group]Run pnpm install --frozen-lockfile 2026-10-24T13:14:47.667Z ##[endgroup] 2026-10-24T13:14:48.020Z Scope: all 8 workspace projects 2026-10-24T13:14:48.080Z Lockfile is up to date, resolution step is skipped 2026-10-24T13:14:48.128Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-24T13:14:48.160Z Packages: +251 2026-10-24T13:14:48.160Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-24T13:14:49.129Z Progress: resolved 251, reused 245, downloaded 0, added 248 2026-10-24T13:14:49.209Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-24T13:14:49.311Z .../node_modules/workerd postinstall$ node install.js 2026-10-24T13:14:49.312Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-24T13:14:49.313Z .../node_modules/workerd postinstall$ node install.js 2026-10-24T13:14:49.324Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-24T13:14:49.327Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-24T13:14:49.486Z .../node_modules/workerd postinstall: Done 2026-10-24T13:14:49.492Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-24T13:14:49.492Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-24T13:14:49.637Z .../node_modules/workerd postinstall: Done 2026-10-24T13:14:49.649Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-24T13:14:49.651Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-24T13:14:49.658Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-24T13:14:50.077Z 2026-10-24T13:14:50.077Z devDependencies: 2026-10-24T13:14:50.077Z + turbo 2.11.7 2026-10-24T13:14:50.077Z + typescript 5.9.3 2026-10-24T13:14:50.077Z 2026-10-24T13:14:50.489Z Done in 2.7s using pnpm v10.28.0 2026-10-24T13:14:50.580Z ##[group]Run pnpm --filter @diffinery/runner build 2026-10-24T13:14:50.580Z ##[endgroup] 2026-10-24T13:14:50.866Z 2026-10-24T13:14:50.866Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-24T13:14:50.866Z > 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-24T13:14:50.866Z 2026-10-24T13:14:50.908Z 2026-10-24T13:14:50.908Z dist/agent.mjs 684.1kb 2026-10-24T13:14:50.908Z 2026-10-24T13:14:50.908Z ⚡ Done in 32ms 2026-10-24T13:14:50.995Z ##[group]Run set -euo pipefail 2026-10-24T13:14:50.995Z as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; } 2026-10-24T13:14:50.995Z if [ ! -f /opt/diffinery/agent.mjs ] || ! grep -q "registry relay" /usr/local/bin/docker 2>/dev/null; then 2026-10-24T13:14:50.995Z echo "::error::this job needs a Diffinery hosted runner (its docker wrapper and agent)" 2026-10-24T13:14:50.995Z exit 1 2026-10-24T13:14:50.995Z fi 2026-10-24T13:14:50.995Z as_root pkill -x dockerd || true 2026-10-24T13:14:50.995Z as_root pkill -f -- "--registry-relay" || true 2026-10-24T13:14:50.995Z for _ in $(seq 1 60); do pgrep -x dockerd >/dev/null || break; sleep 0.5; done 2026-10-24T13:14:50.995Z as_root rm -f /run/diffinery-dockerd.ready 2026-10-24T13:14:50.995Z as_root cp --remove-destination containers/runner/image/docker /usr/local/bin/docker 2026-10-24T13:14:50.995Z as_root cp --remove-destination containers/runner/image/daemon.json /etc/docker/daemon.json 2026-10-24T13:14:50.995Z as_root cp --remove-destination containers/runner/dist/agent.mjs /opt/diffinery/agent.mjs 2026-10-24T13:14:50.995Z ##[endgroup] 2026-10-24T13:15:21.403Z ##[group]Run set -uo pipefail 2026-10-24T13:15:21.403Z start=$(date +%s) 2026-10-24T13:15:21.403Z docker info >/dev/null & a=$! 2026-10-24T13:15:21.403Z docker ps >/dev/null & b=$! 2026-10-24T13:15:21.403Z docker version >/dev/null & c=$! 2026-10-24T13:15:21.403Z failed=0 2026-10-24T13:15:21.403Z for p in $a $b $c; do wait "$p" || failed=1; done 2026-10-24T13:15:21.403Z echo "three docker commands at once, the daemon starting: $(( $(date +%s) - start )) s" 2026-10-24T13:15:21.403Z [ "$failed" = 0 ] || { echo "::error::a docker command failed while the daemon started"; exit 1; } 2026-10-24T13:15:21.403Z docker run --rm mirror.gcr.io/library/alpine:3.20 echo "container ok" 2026-10-24T13:15:21.403Z ##[endgroup] 2026-10-24T13:15:21.439Z Starting the Docker daemon 2026-10-24T13:15:22.716Z WARNING: No swap limit support 2026-10-24T13:15:22.720Z three docker commands at once, the daemon starting: 1 s 2026-10-24T13:15:22.742Z Unable to find image 'mirror.gcr.io/library/alpine:3.20' locally 2026-10-24T13:15:23.029Z 3.20: Pulling from library/alpine 2026-10-24T13:15:23.246Z 25f1d6b1951a: Pulling fs layer 2026-10-24T13:15:23.651Z 25f1d6b1951a: Download complete 2026-10-24T13:15:23.652Z 3a030ca3f633: Download complete 2026-10-24T13:15:23.652Z d4050d56ebf2: Download complete 2026-10-24T13:15:23.679Z 25f1d6b1951a: Pull complete 2026-10-24T13:15:23.679Z Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc 2026-10-24T13:15:23.679Z Status: Downloaded newer image for mirror.gcr.io/library/alpine:3.20 2026-10-24T13:15:23.863Z container ok 2026-10-24T13:15:24.052Z ##[group]Run pnpm exec vitest run test/docker.test.ts test/docker-wrapper.test.ts 2026-10-24T13:15:24.052Z ##[endgroup] 2026-10-24T13:15:24.577Z (!) 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-24T13:15:24.577Z - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-24T13:15:24.577Z - 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-24T13:15:24.577Z Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-24T13:15:24.599Z 2026-10-24T13:15:24.600Z RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-24T13:15:24.600Z 2026-10-24T13:15:35.281Z ✓ test/docker-wrapper.test.ts (4 tests) 10118ms 2026-10-24T13:15:35.281Z ✓ lets docker commands that arrive while the daemon is starting through, with the head start on 3217ms 2026-10-24T13:15:35.281Z ✓ gives up with a message, not a hang, when the daemon never comes up 3197ms 2026-10-24T13:15:35.281Z ✓ starts the registry relay and the daemon together 2091ms 2026-10-24T13:15:35.281Z ✓ starts the daemon again without the relay when the relay never comes up 1611ms 2026-10-24T13:15:42.749Z ✓ test/docker.test.ts (4 tests) 17534ms 2026-10-24T13:15:42.749Z ✓ runs steps and JavaScript actions in a job container next to a service container 8273ms 2026-10-24T13:15:42.749Z ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints 4572ms 2026-10-24T13:15:42.749Z ✓ fails a service that never gets healthy, and cleans up 4359ms 2026-10-24T13:15:42.749Z ✓ explains that containers need Docker 329ms 2026-10-24T13:15:42.752Z 2026-10-24T13:15:42.753Z Test Files 2 passed (2) 2026-10-24T13:15:42.753Z Tests 8 passed (8) 2026-10-24T13:15:42.753Z Start at 13:15:24 2026-10-24T13:15:42.753Z Duration 18.15s (transform 589ms, setup 0ms, import 913ms, tests 27.65s, environment 0ms) 2026-10-24T13:15:42.753Z 2026-10-24T13:15:42.873Z Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, not saving cache. 2026-10-24T13:15:43.101Z Pruning is unnecessary. 2026-10-24T13:15:43.195Z Removing persisted credentials 2026-10-24T13:15:43.239Z Host: 0% of the vCPUs' time went to other work on the host (steal) 2026-10-24T13:15:43.239Z Job completed with conclusion: success 2026-10-24T13:15:43.240Z Resources: 0.6 of 4 vCPUs busy on average (2.1 at the 95th percentile), peak memory 1.2 GiB of 11.9 GiB, peak disk 2.3 GB of 19.2 GB