2026-10-25T20:38:21.978Z Diffinery runner: job runner-docker (End-to-end (runner Docker)) for codician/diffinery@0fbd007d2660 2026-10-25T20:38:21.989Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in lhr19, WEUR, container 8041d7dd5e8ba02f851ec44594128576ac0cd095f7cecfc141ca76b064183143 2026-10-25T20:38:21.989Z 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-25T20:38:21.989Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-25T20:38:21.990Z Workspace: /workspace/diffinery 2026-10-25T20:38:22.121Z ##[group]Run actions/checkout@v4 2026-10-25T20:38:22.121Z ##[endgroup] 2026-10-25T20:38:22.128Z Syncing repository: codician/diffinery 2026-10-25T20:38:22.364Z Fetching the repository (depth 1) 2026-10-25T20:38:23.887Z remote: Enumerating objects: 889, done. 2026-10-25T20:38:24.070Z Receiving objects: 0% (1/889) Receiving objects: 1% (9/889) Receiving objects: 2% (18/889) Receiving objects: 3% (27/889) Receiving objects: 4% (36/889) Receiving objects: 5% (45/889) Receiving objects: 6% (54/889) Receiving objects: 7% (63/889) Receiving objects: 8% (72/889) Receiving objects: 9% (81/889) Receiving objects: 10% (89/889) Receiving objects: 11% (98/889) Receiving objects: 12% (107/889) Receiving objects: 13% (116/889) Receiving objects: 14% (125/889) Receiving objects: 15% (134/889) Receiving objects: 16% (143/889) Receiving objects: 17% (152/889) Receiving objects: 18% (161/889) Receiving objects: 19% (169/889) Receiving objects: 20% (178/889) Receiving objects: 21% (187/889) Receiving objects: 22% (196/889) Receiving objects: 23% (205/889) Receiving objects: 24% (214/889) Receiving objects: 25% (223/889) Receiving objects: 26% (232/889) Receiving objects: 27% (241/889) Receiving objects: 28% (249/889) Receiving objects: 29% (258/889) Receiving objects: 30% (267/889) Receiving objects: 31% (276/889) Receiving objects: 32% (285/889) Receiving objects: 33% (294/889) Receiving objects: 34% (303/889) Receiving objects: 35% (312/889) Receiving objects: 36% (321/889) Receiving objects: 37% (329/889) Receiving objects: 38% (338/889) Receiving objects: 39% (347/889) Receiving objects: 40% (356/889) Receiving objects: 41% (365/889) Receiving objects: 42% (374/889) Receiving objects: 43% (383/889) Receiving objects: 44% (392/889) Receiving objects: 45% (401/889) Receiving objects: 46% (409/889) Receiving objects: 47% (418/889) Receiving objects: 48% (427/889) Receiving objects: 49% (436/889) Receiving objects: 50% (445/889) Receiving objects: 51% (454/889) Receiving objects: 52% (463/889) Receiving objects: 53% (472/889) Receiving objects: 54% (481/889) Receiving objects: 55% (489/889) Receiving objects: 56% (498/889) Receiving objects: 57% (507/889) Receiving objects: 58% (516/889) Receiving objects: 59% (525/889) Receiving objects: 60% (534/889) Receiving objects: 61% (543/889) Receiving objects: 62% (552/889) Receiving objects: 63% (561/889) Receiving objects: 64% (569/889) Receiving objects: 65% (578/889) Receiving objects: 66% (587/889) Receiving objects: 67% (596/889) Receiving objects: 68% (605/889) Receiving objects: 69% (614/889) Receiving objects: 70% (623/889) Receiving objects: 71% (632/889) Receiving objects: 72% (641/889) Receiving objects: 73% (649/889) Receiving objects: 74% (658/889) Receiving objects: 75% (667/889) Receiving objects: 76% (676/889) Receiving objects: 77% (685/889) Receiving objects: 78% (694/889) Receiving objects: 79% (703/889) Receiving objects: 80% (712/889) Receiving objects: 81% (721/889) Receiving objects: 82% (729/889) Receiving objects: 83% (738/889) Receiving objects: 84% (747/889) Receiving objects: 85% (756/889) Receiving objects: 86% (765/889) Receiving objects: 87% (774/889) Receiving objects: 88% (783/889) Receiving objects: 89% (792/889) Receiving objects: 90% (801/889) Receiving objects: 91% (809/889) Receiving objects: 92% (818/889) Receiving objects: 93% (827/889) Receiving objects: 94% (836/889) Receiving objects: 95% (845/889) Receiving objects: 96% (854/889) remote: Total 889 (delta 0), reused 889 (delta 0) 2026-10-25T20:38:24.072Z Receiving objects: 97% (863/889) Receiving objects: 98% (872/889) Receiving objects: 99% (881/889) Receiving objects: 100% (889/889) Receiving objects: 100% (889/889), 4.18 MiB | 23.78 MiB/s, done. 2026-10-25T20:38:24.116Z From https://diffinery.com/codician/diffinery 2026-10-25T20:38:24.116Z * [new ref] 0fbd007d26602502e104c855dc802ae3f1ee5d59 -> origin/diffinery-checkout 2026-10-25T20:38:24.225Z Note: switching to '0fbd007d26602502e104c855dc802ae3f1ee5d59'. 2026-10-25T20:38:24.226Z 2026-10-25T20:38:24.226Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-25T20:38:24.226Z changes and commit them, and you can discard any commits you make in this 2026-10-25T20:38:24.226Z state without impacting any branches by switching back to a branch. 2026-10-25T20:38:24.226Z 2026-10-25T20:38:24.226Z If you want to create a new branch to retain commits you create, you may 2026-10-25T20:38:24.226Z do so (now or later) by using -c with the switch command. Example: 2026-10-25T20:38:24.226Z 2026-10-25T20:38:24.226Z git switch -c 2026-10-25T20:38:24.226Z 2026-10-25T20:38:24.226Z Or undo this operation with: 2026-10-25T20:38:24.226Z 2026-10-25T20:38:24.226Z git switch - 2026-10-25T20:38:24.226Z 2026-10-25T20:38:24.226Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-25T20:38:24.226Z 2026-10-25T20:38:24.226Z HEAD is now at 0fbd007 Merge 2b080a26d16406f44630aea5b7085a959f907e9c into bf456154c8a9c68eefa27fdf5c19a4e30603cb05 2026-10-25T20:38:24.231Z HEAD is now at 0fbd007d26602502e104c855dc802ae3f1ee5d59 2026-10-25T20:38:24.394Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-25T20:38:24.708Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-25T20:38:24.708Z with: 2026-10-25T20:38:24.708Z dest: ~/setup-pnpm 2026-10-25T20:38:24.708Z run_install: null 2026-10-25T20:38:24.708Z cache: false 2026-10-25T20:38:24.708Z cache_dependency_path: pnpm-lock.yaml 2026-10-25T20:38:24.708Z package_json_file: package.json 2026-10-25T20:38:24.708Z standalone: false 2026-10-25T20:38:24.708Z ##[endgroup] 2026-10-25T20:38:24.922Z ##[group]Running self-installer... 2026-10-25T20:38:25.847Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-25T20:38:25.859Z Packages: +1 2026-10-25T20:38:25.859Z + 2026-10-25T20:38:26.562Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-25T20:38:26.623Z 2026-10-25T20:38:26.623Z dependencies: 2026-10-25T20:38:26.623Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-25T20:38:26.623Z 2026-10-25T20:38:26.630Z Done in 1.4s 2026-10-25T20:38:26.669Z ##[endgroup] 2026-10-25T20:38:26.669Z Installation Completed! 2026-10-25T20:38:26.779Z ##[group]Run actions/setup-node@v4 2026-10-25T20:38:26.779Z with: 2026-10-25T20:38:26.779Z node-version: 22 2026-10-25T20:38:26.779Z cache: pnpm 2026-10-25T20:38:26.779Z ##[endgroup] 2026-10-25T20:38:26.792Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-25T20:38:27.746Z Cache Size: ~216 MB (226934503 B) 2026-10-25T20:38:34.826Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-25T20:38:34.929Z ##[group]Run pnpm install --frozen-lockfile 2026-10-25T20:38:34.929Z ##[endgroup] 2026-10-25T20:38:35.376Z Scope: all 8 workspace projects 2026-10-25T20:38:35.454Z Lockfile is up to date, resolution step is skipped 2026-10-25T20:38:35.561Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-25T20:38:35.662Z Packages: +251 2026-10-25T20:38:35.662Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-25T20:38:36.563Z Progress: resolved 251, reused 245, downloaded 0, added 162 2026-10-25T20:38:37.360Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-25T20:38:37.515Z .../node_modules/workerd postinstall$ node install.js 2026-10-25T20:38:37.516Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-25T20:38:37.517Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-25T20:38:37.519Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-25T20:38:37.528Z .../node_modules/workerd postinstall$ node install.js 2026-10-25T20:38:37.624Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-25T20:38:37.628Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-25T20:38:37.632Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-25T20:38:37.858Z .../node_modules/workerd postinstall: Done 2026-10-25T20:38:38.057Z .../node_modules/workerd postinstall: Done 2026-10-25T20:38:38.061Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-25T20:38:38.080Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-25T20:38:38.621Z 2026-10-25T20:38:38.621Z devDependencies: 2026-10-25T20:38:38.621Z + turbo 2.11.7 2026-10-25T20:38:38.621Z + typescript 5.9.3 2026-10-25T20:38:38.621Z 2026-10-25T20:38:39.187Z Done in 4.2s using pnpm v10.28.0 2026-10-25T20:38:39.333Z ##[group]Run pnpm --filter @diffinery/runner build 2026-10-25T20:38:39.333Z ##[endgroup] 2026-10-25T20:38:39.752Z 2026-10-25T20:38:39.752Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-25T20:38:39.752Z > 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-25T20:38:39.752Z 2026-10-25T20:38:39.841Z 2026-10-25T20:38:39.841Z dist/agent.mjs 684.1kb 2026-10-25T20:38:39.841Z 2026-10-25T20:38:39.841Z ⚡ Done in 71ms 2026-10-25T20:38:39.958Z ##[group]Run set -euo pipefail 2026-10-25T20:38:39.959Z as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; } 2026-10-25T20:38:39.959Z if [ ! -f /opt/diffinery/agent.mjs ] || ! grep -q "registry relay" /usr/local/bin/docker 2>/dev/null; then 2026-10-25T20:38:39.959Z echo "::error::this job needs a Diffinery hosted runner (its docker wrapper and agent)" 2026-10-25T20:38:39.959Z exit 1 2026-10-25T20:38:39.959Z fi 2026-10-25T20:38:39.959Z as_root pkill -x dockerd || true 2026-10-25T20:38:39.959Z as_root pkill -f -- "--registry-relay" || true 2026-10-25T20:38:39.959Z for _ in $(seq 1 60); do pgrep -x dockerd >/dev/null || break; sleep 0.5; done 2026-10-25T20:38:39.959Z as_root rm -f /run/diffinery-dockerd.ready 2026-10-25T20:38:39.959Z as_root cp --remove-destination containers/runner/image/docker /usr/local/bin/docker 2026-10-25T20:38:39.959Z as_root cp --remove-destination containers/runner/image/daemon.json /etc/docker/daemon.json 2026-10-25T20:38:39.959Z as_root cp --remove-destination containers/runner/dist/agent.mjs /opt/diffinery/agent.mjs 2026-10-25T20:38:39.959Z ##[endgroup] 2026-10-25T20:39:10.849Z ##[group]Run set -uo pipefail 2026-10-25T20:39:10.849Z start=$(date +%s) 2026-10-25T20:39:10.849Z docker info >/dev/null & a=$! 2026-10-25T20:39:10.849Z docker ps >/dev/null & b=$! 2026-10-25T20:39:10.849Z docker version >/dev/null & c=$! 2026-10-25T20:39:10.849Z failed=0 2026-10-25T20:39:10.849Z for p in $a $b $c; do wait "$p" || failed=1; done 2026-10-25T20:39:10.849Z echo "three docker commands at once, the daemon starting: $(( $(date +%s) - start )) s" 2026-10-25T20:39:10.849Z [ "$failed" = 0 ] || { echo "::error::a docker command failed while the daemon started"; exit 1; } 2026-10-25T20:39:10.849Z docker run --rm mirror.gcr.io/library/alpine:3.20 echo "container ok" 2026-10-25T20:39:10.849Z ##[endgroup] 2026-10-25T20:39:10.910Z Starting the Docker daemon 2026-10-25T20:39:12.581Z WARNING: No swap limit support 2026-10-25T20:39:12.588Z three docker commands at once, the daemon starting: 2 s 2026-10-25T20:39:12.623Z Unable to find image 'mirror.gcr.io/library/alpine:3.20' locally 2026-10-25T20:39:12.901Z 3.20: Pulling from library/alpine 2026-10-25T20:39:13.123Z 25f1d6b1951a: Pulling fs layer 2026-10-25T20:39:13.331Z 3a030ca3f633: Download complete 2026-10-25T20:39:13.332Z d4050d56ebf2: Download complete 2026-10-25T20:39:13.430Z 25f1d6b1951a: Download complete 2026-10-25T20:39:13.574Z 25f1d6b1951a: Pull complete 2026-10-25T20:39:13.574Z Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc 2026-10-25T20:39:13.574Z Status: Downloaded newer image for mirror.gcr.io/library/alpine:3.20 2026-10-25T20:39:13.905Z container ok 2026-10-25T20:39:14.153Z ##[group]Run pnpm exec vitest run test/docker.test.ts test/docker-wrapper.test.ts 2026-10-25T20:39:14.153Z ##[endgroup] 2026-10-25T20:39:14.904Z (!) 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-25T20:39:14.904Z - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-25T20:39:14.904Z - 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-25T20:39:14.904Z Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-25T20:39:14.970Z 2026-10-25T20:39:14.971Z RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-25T20:39:14.971Z 2026-10-25T20:39:24.556Z ✓ test/docker-wrapper.test.ts (4 tests) 8701ms 2026-10-25T20:39:24.556Z ✓ lets docker commands that arrive while the daemon is starting through, with the head start on 1180ms 2026-10-25T20:39:24.556Z ✓ gives up with a message, not a hang, when the daemon never comes up 3626ms 2026-10-25T20:39:24.556Z ✓ starts the registry relay and the daemon together 2172ms 2026-10-25T20:39:24.556Z ✓ starts the daemon again without the relay when the relay never comes up 1721ms 2026-10-25T20:39:37.160Z ✓ test/docker.test.ts (4 tests) 21231ms 2026-10-25T20:39:37.160Z ✓ runs steps and JavaScript actions in a job container next to a service container 8692ms 2026-10-25T20:39:37.160Z ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints 6799ms 2026-10-25T20:39:37.160Z ✓ fails a service that never gets healthy, and cleans up 5224ms 2026-10-25T20:39:37.160Z ✓ explains that containers need Docker 507ms 2026-10-25T20:39:37.168Z 2026-10-25T20:39:37.168Z Test Files 2 passed (2) 2026-10-25T20:39:37.168Z Tests 8 passed (8) 2026-10-25T20:39:37.168Z Start at 20:39:14 2026-10-25T20:39:37.168Z Duration 22.18s (transform 806ms, setup 0ms, import 1.28s, tests 29.93s, environment 0ms) 2026-10-25T20:39:37.168Z 2026-10-25T20:39:37.340Z Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, not saving cache. 2026-10-25T20:39:37.634Z Pruning is unnecessary. 2026-10-25T20:39:37.757Z Removing persisted credentials 2026-10-25T20:39:37.810Z Host: 3% of the vCPUs' time went to other work on the host (steal) 2026-10-25T20:39:37.810Z Job completed with conclusion: success 2026-10-25T20:39:37.811Z Resources: 0.7 of 4 vCPUs busy on average (2.0 at the 95th percentile), peak memory 1.2 GiB of 11.9 GiB, peak disk 2.3 GB of 19.2 GB