2026-10-26T18:50:32.398Z Diffinery runner: job runner-docker (End-to-end (runner Docker)) for codician/diffinery@640174e49567 2026-10-26T18:50:32.497Z Runner: image diffinery-runner:bca05d12d6c57337029615de, in ams19, WEUR, container 82c39441a2d709c3234745ab57bee736f8982035f334612fe6e014316f69a2f6 2026-10-26T18:50:32.497Z 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-26T18:50:32.497Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-26T18:50:32.498Z Workspace: /workspace/diffinery 2026-10-26T18:50:32.711Z ##[group]Run actions/checkout@v4 2026-10-26T18:50:32.711Z ##[endgroup] 2026-10-26T18:50:32.713Z Syncing repository: codician/diffinery 2026-10-26T18:50:33.157Z Fetching the repository (depth 1) 2026-10-26T18:50:35.178Z remote: Enumerating objects: 921, done. 2026-10-26T18:50:35.598Z Receiving objects: 0% (1/921) Receiving objects: 1% (10/921) Receiving objects: 2% (19/921) Receiving objects: 3% (28/921) Receiving objects: 4% (37/921) Receiving objects: 5% (47/921) Receiving objects: 6% (56/921) Receiving objects: 7% (65/921) Receiving objects: 8% (74/921) Receiving objects: 9% (83/921) Receiving objects: 10% (93/921) Receiving objects: 11% (102/921) Receiving objects: 12% (111/921) Receiving objects: 13% (120/921) Receiving objects: 14% (129/921) Receiving objects: 15% (139/921) Receiving objects: 16% (148/921) Receiving objects: 17% (157/921) Receiving objects: 18% (166/921) Receiving objects: 19% (175/921) Receiving objects: 20% (185/921) Receiving objects: 21% (194/921) Receiving objects: 22% (203/921) Receiving objects: 23% (212/921) Receiving objects: 24% (222/921) Receiving objects: 25% (231/921) Receiving objects: 26% (240/921) Receiving objects: 27% (249/921) Receiving objects: 28% (258/921) Receiving objects: 29% (268/921) Receiving objects: 30% (277/921) Receiving objects: 31% (286/921) Receiving objects: 32% (295/921) Receiving objects: 33% (304/921) Receiving objects: 34% (314/921) Receiving objects: 35% (323/921) Receiving objects: 36% (332/921) Receiving objects: 37% (341/921) Receiving objects: 38% (350/921) Receiving objects: 39% (360/921) Receiving objects: 40% (369/921) Receiving objects: 41% (378/921) Receiving objects: 42% (387/921) Receiving objects: 43% (397/921) Receiving objects: 44% (406/921) Receiving objects: 45% (415/921) Receiving objects: 46% (424/921) Receiving objects: 47% (433/921) Receiving objects: 48% (443/921) Receiving objects: 49% (452/921) Receiving objects: 50% (461/921) Receiving objects: 51% (470/921) Receiving objects: 52% (479/921) Receiving objects: 53% (489/921) Receiving objects: 54% (498/921) Receiving objects: 55% (507/921) Receiving objects: 56% (516/921) Receiving objects: 57% (525/921) Receiving objects: 58% (535/921) Receiving objects: 59% (544/921) Receiving objects: 60% (553/921) Receiving objects: 61% (562/921) Receiving objects: 62% (572/921) Receiving objects: 63% (581/921) Receiving objects: 64% (590/921) Receiving objects: 65% (599/921) Receiving objects: 66% (608/921) Receiving objects: 67% (618/921) Receiving objects: 68% (627/921) Receiving objects: 69% (636/921) Receiving objects: 70% (645/921) Receiving objects: 71% (654/921) Receiving objects: 72% (664/921) Receiving objects: 73% (673/921) Receiving objects: 74% (682/921) Receiving objects: 75% (691/921) Receiving objects: 76% (700/921) Receiving objects: 77% (710/921) Receiving objects: 78% (719/921) Receiving objects: 79% (728/921) Receiving objects: 80% (737/921) Receiving objects: 81% (747/921) Receiving objects: 82% (756/921) Receiving objects: 83% (765/921) Receiving objects: 84% (774/921) Receiving objects: 85% (783/921) Receiving objects: 86% (793/921) Receiving objects: 87% (802/921) Receiving objects: 88% (811/921) Receiving objects: 89% (820/921) Receiving objects: 90% (829/921) Receiving objects: 91% (839/921) Receiving objects: 92% (848/921) Receiving objects: 93% (857/921) Receiving objects: 94% (866/921) Receiving objects: 95% (875/921) Receiving objects: 96% (885/921) remote: Total 921 (delta 0), reused 921 (delta 0) 2026-10-26T18:50:35.603Z Receiving objects: 97% (894/921) Receiving objects: 98% (903/921) Receiving objects: 99% (912/921) Receiving objects: 100% (921/921) Receiving objects: 100% (921/921), 5.84 MiB | 14.06 MiB/s, done. 2026-10-26T18:50:35.640Z From https://diffinery.com/codician/diffinery 2026-10-26T18:50:35.640Z * [new ref] 640174e49567c07118887718bd07a1523c115dda -> origin/main 2026-10-26T18:50:35.961Z Switched to a new branch 'main' 2026-10-26T18:50:35.974Z HEAD is now at 640174e49567c07118887718bd07a1523c115dda 2026-10-26T18:50:36.217Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-26T18:50:36.736Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-26T18:50:36.736Z with: 2026-10-26T18:50:36.736Z dest: ~/setup-pnpm 2026-10-26T18:50:36.736Z run_install: null 2026-10-26T18:50:36.736Z cache: false 2026-10-26T18:50:36.736Z cache_dependency_path: pnpm-lock.yaml 2026-10-26T18:50:36.736Z package_json_file: package.json 2026-10-26T18:50:36.736Z standalone: false 2026-10-26T18:50:36.736Z ##[endgroup] 2026-10-26T18:50:37.018Z ##[group]Running self-installer... 2026-10-26T18:50:38.668Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-26T18:50:38.706Z Packages: +1 2026-10-26T18:50:38.706Z + 2026-10-26T18:50:39.588Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-26T18:50:39.673Z 2026-10-26T18:50:39.673Z dependencies: 2026-10-26T18:50:39.673Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-26T18:50:39.673Z 2026-10-26T18:50:39.679Z Done in 2.2s 2026-10-26T18:50:39.718Z ##[endgroup] 2026-10-26T18:50:39.719Z Installation Completed! 2026-10-26T18:50:39.883Z ##[group]Run actions/setup-node@v4 2026-10-26T18:50:39.883Z with: 2026-10-26T18:50:39.883Z node-version: 22 2026-10-26T18:50:39.883Z cache: pnpm 2026-10-26T18:50:39.883Z ##[endgroup] 2026-10-26T18:50:39.895Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-26T18:50:41.164Z Cache Size: ~216 MB (226934503 B) 2026-10-26T18:50:49.258Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-26T18:50:49.395Z ##[group]Run pnpm install --frozen-lockfile 2026-10-26T18:50:49.395Z ##[endgroup] 2026-10-26T18:50:50.641Z Scope: all 8 workspace projects 2026-10-26T18:50:50.834Z Lockfile is up to date, resolution step is skipped 2026-10-26T18:50:51.019Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-26T18:50:51.106Z Packages: +251 2026-10-26T18:50:51.106Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-26T18:50:52.020Z Progress: resolved 251, reused 182, downloaded 0, added 0 2026-10-26T18:50:53.023Z Progress: resolved 251, reused 245, downloaded 0, added 162 2026-10-26T18:50:54.025Z Progress: resolved 251, reused 245, downloaded 0, added 250 2026-10-26T18:50:54.287Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-26T18:50:54.846Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-26T18:50:54.847Z .../node_modules/workerd postinstall$ node install.js 2026-10-26T18:50:54.852Z .../node_modules/workerd postinstall$ node install.js 2026-10-26T18:50:54.922Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-26T18:50:54.924Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-26T18:50:55.050Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-26T18:50:55.073Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-26T18:50:55.406Z .../node_modules/workerd postinstall: Done 2026-10-26T18:50:55.711Z .../node_modules/workerd postinstall: Done 2026-10-26T18:50:55.734Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-26T18:50:55.764Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-26T18:50:55.789Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-26T18:50:57.070Z 2026-10-26T18:50:57.070Z devDependencies: 2026-10-26T18:50:57.070Z + turbo 2.11.7 2026-10-26T18:50:57.070Z + typescript 5.9.3 2026-10-26T18:50:57.070Z 2026-10-26T18:50:57.705Z Done in 8.2s using pnpm v10.28.0 2026-10-26T18:50:57.857Z ##[group]Run pnpm --filter @diffinery/runner build 2026-10-26T18:50:57.857Z ##[endgroup] 2026-10-26T18:50:58.428Z 2026-10-26T18:50:58.428Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-26T18:50:58.428Z > 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-26T18:50:58.428Z 2026-10-26T18:50:58.546Z 2026-10-26T18:50:58.547Z dist/agent.mjs 686.0kb 2026-10-26T18:50:58.547Z 2026-10-26T18:50:58.547Z ⚡ Done in 80ms 2026-10-26T18:50:58.712Z ##[group]Run set -euo pipefail 2026-10-26T18:50:58.712Z as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; } 2026-10-26T18:50:58.712Z if [ ! -f /opt/diffinery/agent.mjs ] || ! grep -q "registry relay" /usr/local/bin/docker 2>/dev/null; then 2026-10-26T18:50:58.712Z echo "::error::this job needs a Diffinery hosted runner (its docker wrapper and agent)" 2026-10-26T18:50:58.712Z exit 1 2026-10-26T18:50:58.712Z fi 2026-10-26T18:50:58.712Z as_root pkill -x dockerd || true 2026-10-26T18:50:58.712Z as_root pkill -f -- "--registry-relay" || true 2026-10-26T18:50:58.712Z for _ in $(seq 1 60); do pgrep -x dockerd >/dev/null || break; sleep 0.5; done 2026-10-26T18:50:58.712Z as_root rm -f /run/diffinery-dockerd.ready 2026-10-26T18:50:58.712Z as_root cp --remove-destination containers/runner/image/docker /usr/local/bin/docker 2026-10-26T18:50:58.712Z as_root cp --remove-destination containers/runner/image/daemon.json /etc/docker/daemon.json 2026-10-26T18:50:58.712Z as_root cp --remove-destination containers/runner/dist/agent.mjs /opt/diffinery/agent.mjs 2026-10-26T18:50:58.712Z ##[endgroup] 2026-10-26T18:51:30.442Z ##[group]Run set -uo pipefail 2026-10-26T18:51:30.442Z start=$(date +%s) 2026-10-26T18:51:30.442Z docker info >/dev/null & a=$! 2026-10-26T18:51:30.442Z docker ps >/dev/null & b=$! 2026-10-26T18:51:30.442Z docker version >/dev/null & c=$! 2026-10-26T18:51:30.442Z failed=0 2026-10-26T18:51:30.442Z for p in $a $b $c; do wait "$p" || failed=1; done 2026-10-26T18:51:30.442Z echo "three docker commands at once, the daemon starting: $(( $(date +%s) - start )) s" 2026-10-26T18:51:30.442Z [ "$failed" = 0 ] || { echo "::error::a docker command failed while the daemon started"; exit 1; } 2026-10-26T18:51:30.442Z docker run --rm mirror.gcr.io/library/alpine:3.20 echo "container ok" 2026-10-26T18:51:30.442Z ##[endgroup] 2026-10-26T18:51:30.564Z Starting the Docker daemon 2026-10-26T18:51:33.016Z WARNING: No swap limit support 2026-10-26T18:51:33.032Z three docker commands at once, the daemon starting: 3 s 2026-10-26T18:51:33.134Z Unable to find image 'mirror.gcr.io/library/alpine:3.20' locally 2026-10-26T18:51:33.523Z 3.20: Pulling from library/alpine 2026-10-26T18:51:33.874Z 25f1d6b1951a: Pulling fs layer 2026-10-26T18:51:34.063Z d4050d56ebf2: Download complete 2026-10-26T18:51:34.164Z 3a030ca3f633: Download complete 2026-10-26T18:51:34.267Z 25f1d6b1951a: Download complete 2026-10-26T18:51:34.462Z 25f1d6b1951a: Pull complete 2026-10-26T18:51:34.467Z Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc 2026-10-26T18:51:34.467Z Status: Downloaded newer image for mirror.gcr.io/library/alpine:3.20 2026-10-26T18:51:35.013Z container ok 2026-10-26T18:51:35.371Z ##[group]Run pnpm exec vitest run test/docker.test.ts test/docker-wrapper.test.ts 2026-10-26T18:51:35.371Z ##[endgroup] 2026-10-26T18:51:36.267Z (!) 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-26T18:51:36.267Z - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-26T18:51:36.267Z - 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-26T18:51:36.267Z Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-26T18:51:36.301Z 2026-10-26T18:51:36.301Z RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-26T18:51:36.301Z 2026-10-26T18:51:45.176Z ✓ test/docker-wrapper.test.ts (4 tests) 7441ms 2026-10-26T18:51:45.176Z ✓ lets docker commands that arrive while the daemon is starting through, with the head start on 1237ms 2026-10-26T18:51:45.176Z ✓ gives up with a message, not a hang, when the daemon never comes up 2300ms 2026-10-26T18:51:45.176Z ✓ starts the registry relay and the daemon together 2113ms 2026-10-26T18:51:45.176Z ✓ starts the daemon again without the relay when the relay never comes up 1788ms 2026-10-26T18:52:03.294Z ✓ test/docker.test.ts (4 tests) 25386ms 2026-10-26T18:52:03.294Z ✓ runs steps and JavaScript actions in a job container next to a service container 10721ms 2026-10-26T18:52:03.294Z ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints 8518ms 2026-10-26T18:52:03.294Z ✓ fails a service that never gets healthy, and cleans up 5433ms 2026-10-26T18:52:03.295Z ✓ explains that containers need Docker 710ms 2026-10-26T18:52:03.309Z 2026-10-26T18:52:03.310Z Test Files 2 passed (2) 2026-10-26T18:52:03.310Z Tests 8 passed (8) 2026-10-26T18:52:03.310Z Start at 18:51:36 2026-10-26T18:52:03.311Z Duration 26.99s (transform 1.83s, setup 0ms, import 2.63s, tests 32.83s, environment 0ms) 2026-10-26T18:52:03.312Z 2026-10-26T18:52:04.103Z Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, not saving cache. 2026-10-26T18:52:04.521Z Pruning is unnecessary. 2026-10-26T18:52:04.663Z Removing persisted credentials 2026-10-26T18:52:04.735Z Host: 9% of the vCPUs' time went to other work on the host (steal) 2026-10-26T18:52:04.735Z Job completed with conclusion: success 2026-10-26T18:52:04.736Z Resources: 0.7 of 4 vCPUs busy on average (1.7 at the 95th percentile), peak memory 1.3 GiB of 11.9 GiB, peak disk 2.3 GB of 19.2 GB