2026-10-25T21:00:49.816Z Diffinery runner: job runner-docker (End-to-end (runner Docker)) for codician/diffinery@2fd4b6853eae 2026-10-25T21:00:49.921Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in ams19, WEUR, container eb0c2c481d8302708e32229c3bbb6a93f67faf373b0c2b593ca8c531b7fa482c 2026-10-25T21:00:49.921Z 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-25T21:00:49.921Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-25T21:00:49.921Z Workspace: /workspace/diffinery 2026-10-25T21:00:50.338Z ##[group]Run actions/checkout@v4 2026-10-25T21:00:50.338Z ##[endgroup] 2026-10-25T21:00:50.341Z Syncing repository: codician/diffinery 2026-10-25T21:00:50.514Z Fetching the repository (depth 1) 2026-10-25T21:00:51.601Z remote: Enumerating objects: 899, done. 2026-10-25T21:00:51.800Z Receiving objects: 0% (1/899) Receiving objects: 1% (9/899) Receiving objects: 2% (18/899) Receiving objects: 3% (27/899) Receiving objects: 4% (36/899) Receiving objects: 5% (45/899) Receiving objects: 6% (54/899) Receiving objects: 7% (63/899) Receiving objects: 8% (72/899) Receiving objects: 9% (81/899) Receiving objects: 10% (90/899) Receiving objects: 11% (99/899) Receiving objects: 12% (108/899) Receiving objects: 13% (117/899) Receiving objects: 14% (126/899) Receiving objects: 15% (135/899) Receiving objects: 16% (144/899) Receiving objects: 17% (153/899) Receiving objects: 18% (162/899) Receiving objects: 19% (171/899) Receiving objects: 20% (180/899) Receiving objects: 21% (189/899) Receiving objects: 22% (198/899) Receiving objects: 23% (207/899) Receiving objects: 24% (216/899) Receiving objects: 25% (225/899) Receiving objects: 26% (234/899) Receiving objects: 27% (243/899) Receiving objects: 28% (252/899) Receiving objects: 29% (261/899) Receiving objects: 30% (270/899) Receiving objects: 31% (279/899) Receiving objects: 32% (288/899) Receiving objects: 33% (297/899) Receiving objects: 34% (306/899) Receiving objects: 35% (315/899) Receiving objects: 36% (324/899) Receiving objects: 37% (333/899) Receiving objects: 38% (342/899) Receiving objects: 39% (351/899) Receiving objects: 40% (360/899) Receiving objects: 41% (369/899) Receiving objects: 42% (378/899) Receiving objects: 43% (387/899) Receiving objects: 44% (396/899) Receiving objects: 45% (405/899) Receiving objects: 46% (414/899) Receiving objects: 47% (423/899) Receiving objects: 48% (432/899) Receiving objects: 49% (441/899) Receiving objects: 50% (450/899) Receiving objects: 51% (459/899) Receiving objects: 52% (468/899) Receiving objects: 53% (477/899) Receiving objects: 54% (486/899) Receiving objects: 55% (495/899) Receiving objects: 56% (504/899) Receiving objects: 57% (513/899) Receiving objects: 58% (522/899) Receiving objects: 59% (531/899) Receiving objects: 60% (540/899) Receiving objects: 61% (549/899) Receiving objects: 62% (558/899) Receiving objects: 63% (567/899) Receiving objects: 64% (576/899) Receiving objects: 65% (585/899) Receiving objects: 66% (594/899) Receiving objects: 67% (603/899) Receiving objects: 68% (612/899) Receiving objects: 69% (621/899) Receiving objects: 70% (630/899) Receiving objects: 71% (639/899) Receiving objects: 72% (648/899) Receiving objects: 73% (657/899) Receiving objects: 74% (666/899) Receiving objects: 75% (675/899) Receiving objects: 76% (684/899) Receiving objects: 77% (693/899) Receiving objects: 78% (702/899) Receiving objects: 79% (711/899) Receiving objects: 80% (720/899) Receiving objects: 81% (729/899) Receiving objects: 82% (738/899) Receiving objects: 83% (747/899) Receiving objects: 84% (756/899) Receiving objects: 85% (765/899) Receiving objects: 86% (774/899) Receiving objects: 87% (783/899) Receiving objects: 88% (792/899) Receiving objects: 89% (801/899) Receiving objects: 90% (810/899) Receiving objects: 91% (819/899) Receiving objects: 92% (828/899) Receiving objects: 93% (837/899) Receiving objects: 94% (846/899) Receiving objects: 95% (855/899) Receiving objects: 96% (864/899) remote: Total 899 (delta 0), reused 899 (delta 0) 2026-10-25T21:00:51.802Z Receiving objects: 97% (873/899) Receiving objects: 98% (882/899) Receiving objects: 99% (891/899) Receiving objects: 100% (899/899) Receiving objects: 100% (899/899), 4.26 MiB | 21.79 MiB/s, done. 2026-10-25T21:00:51.817Z From https://diffinery.com/codician/diffinery 2026-10-25T21:00:51.817Z * [new ref] 2fd4b6853eaea36eec1004a8a1a7d4bd5243e307 -> origin/diffinery-checkout 2026-10-25T21:00:51.923Z Note: switching to '2fd4b6853eaea36eec1004a8a1a7d4bd5243e307'. 2026-10-25T21:00:51.923Z 2026-10-25T21:00:51.923Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-25T21:00:51.924Z changes and commit them, and you can discard any commits you make in this 2026-10-25T21:00:51.924Z state without impacting any branches by switching back to a branch. 2026-10-25T21:00:51.924Z 2026-10-25T21:00:51.924Z If you want to create a new branch to retain commits you create, you may 2026-10-25T21:00:51.924Z do so (now or later) by using -c with the switch command. Example: 2026-10-25T21:00:51.924Z 2026-10-25T21:00:51.924Z git switch -c 2026-10-25T21:00:51.924Z 2026-10-25T21:00:51.924Z Or undo this operation with: 2026-10-25T21:00:51.924Z 2026-10-25T21:00:51.924Z git switch - 2026-10-25T21:00:51.924Z 2026-10-25T21:00:51.924Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-25T21:00:51.924Z 2026-10-25T21:00:51.924Z HEAD is now at 2fd4b68 Merge bb864a3e54ba083c4968d7fac202e7164d627c2a into 417ed9120a52a45f14a0218a2adc5dfbaa737313 2026-10-25T21:00:51.932Z HEAD is now at 2fd4b6853eaea36eec1004a8a1a7d4bd5243e307 2026-10-25T21:00:52.032Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-25T21:00:52.424Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-25T21:00:52.424Z with: 2026-10-25T21:00:52.424Z dest: ~/setup-pnpm 2026-10-25T21:00:52.424Z run_install: null 2026-10-25T21:00:52.424Z cache: false 2026-10-25T21:00:52.424Z cache_dependency_path: pnpm-lock.yaml 2026-10-25T21:00:52.424Z package_json_file: package.json 2026-10-25T21:00:52.424Z standalone: false 2026-10-25T21:00:52.424Z ##[endgroup] 2026-10-25T21:00:52.646Z ##[group]Running self-installer... 2026-10-25T21:00:53.548Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-25T21:00:53.561Z Packages: +1 2026-10-25T21:00:53.561Z + 2026-10-25T21:00:54.264Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-25T21:00:54.318Z 2026-10-25T21:00:54.318Z dependencies: 2026-10-25T21:00:54.318Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-25T21:00:54.318Z 2026-10-25T21:00:54.326Z Done in 1.3s 2026-10-25T21:00:54.356Z ##[endgroup] 2026-10-25T21:00:54.356Z Installation Completed! 2026-10-25T21:00:54.483Z ##[group]Run actions/setup-node@v4 2026-10-25T21:00:54.483Z with: 2026-10-25T21:00:54.483Z node-version: 22 2026-10-25T21:00:54.483Z cache: pnpm 2026-10-25T21:00:54.483Z ##[endgroup] 2026-10-25T21:00:54.494Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-25T21:00:55.521Z Cache Size: ~216 MB (226934503 B) 2026-10-25T21:01:00.851Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-25T21:01:00.943Z ##[group]Run pnpm install --frozen-lockfile 2026-10-25T21:01:00.943Z ##[endgroup] 2026-10-25T21:01:01.399Z Scope: all 8 workspace projects 2026-10-25T21:01:01.472Z Lockfile is up to date, resolution step is skipped 2026-10-25T21:01:01.533Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-25T21:01:01.587Z Packages: +251 2026-10-25T21:01:01.587Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-25T21:01:02.534Z Progress: resolved 251, reused 245, downloaded 0, added 162 2026-10-25T21:01:02.960Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-25T21:01:03.187Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-25T21:01:03.187Z .../node_modules/workerd postinstall$ node install.js 2026-10-25T21:01:03.188Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-25T21:01:03.190Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-25T21:01:03.198Z .../node_modules/workerd postinstall$ node install.js 2026-10-25T21:01:03.291Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-25T21:01:03.296Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-25T21:01:03.315Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-25T21:01:03.489Z .../node_modules/workerd postinstall: Done 2026-10-25T21:01:03.494Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-25T21:01:03.657Z .../node_modules/workerd postinstall: Done 2026-10-25T21:01:03.659Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-25T21:01:04.218Z 2026-10-25T21:01:04.218Z devDependencies: 2026-10-25T21:01:04.218Z + turbo 2.11.7 2026-10-25T21:01:04.218Z + typescript 5.9.3 2026-10-25T21:01:04.218Z 2026-10-25T21:01:04.729Z Done in 3.7s using pnpm v10.28.0 2026-10-25T21:01:04.848Z ##[group]Run pnpm --filter @diffinery/runner build 2026-10-25T21:01:04.848Z ##[endgroup] 2026-10-25T21:01:05.309Z 2026-10-25T21:01:05.309Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-25T21:01:05.309Z > 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-25T21:01:05.309Z 2026-10-25T21:01:05.372Z 2026-10-25T21:01:05.372Z dist/agent.mjs 684.1kb 2026-10-25T21:01:05.372Z 2026-10-25T21:01:05.372Z ⚡ Done in 45ms 2026-10-25T21:01:05.475Z ##[group]Run set -euo pipefail 2026-10-25T21:01:05.475Z as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; } 2026-10-25T21:01:05.475Z if [ ! -f /opt/diffinery/agent.mjs ] || ! grep -q "registry relay" /usr/local/bin/docker 2>/dev/null; then 2026-10-25T21:01:05.475Z echo "::error::this job needs a Diffinery hosted runner (its docker wrapper and agent)" 2026-10-25T21:01:05.475Z exit 1 2026-10-25T21:01:05.475Z fi 2026-10-25T21:01:05.475Z as_root pkill -x dockerd || true 2026-10-25T21:01:05.475Z as_root pkill -f -- "--registry-relay" || true 2026-10-25T21:01:05.475Z for _ in $(seq 1 60); do pgrep -x dockerd >/dev/null || break; sleep 0.5; done 2026-10-25T21:01:05.475Z as_root rm -f /run/diffinery-dockerd.ready 2026-10-25T21:01:05.475Z as_root cp --remove-destination containers/runner/image/docker /usr/local/bin/docker 2026-10-25T21:01:05.475Z as_root cp --remove-destination containers/runner/image/daemon.json /etc/docker/daemon.json 2026-10-25T21:01:05.475Z as_root cp --remove-destination containers/runner/dist/agent.mjs /opt/diffinery/agent.mjs 2026-10-25T21:01:05.475Z ##[endgroup] 2026-10-25T21:01:42.286Z ##[group]Run set -uo pipefail 2026-10-25T21:01:42.286Z start=$(date +%s) 2026-10-25T21:01:42.286Z docker info >/dev/null & a=$! 2026-10-25T21:01:42.286Z docker ps >/dev/null & b=$! 2026-10-25T21:01:42.286Z docker version >/dev/null & c=$! 2026-10-25T21:01:42.286Z failed=0 2026-10-25T21:01:42.286Z for p in $a $b $c; do wait "$p" || failed=1; done 2026-10-25T21:01:42.286Z echo "three docker commands at once, the daemon starting: $(( $(date +%s) - start )) s" 2026-10-25T21:01:42.286Z [ "$failed" = 0 ] || { echo "::error::a docker command failed while the daemon started"; exit 1; } 2026-10-25T21:01:42.286Z docker run --rm mirror.gcr.io/library/alpine:3.20 echo "container ok" 2026-10-25T21:01:42.286Z ##[endgroup] 2026-10-25T21:01:42.568Z Starting the Docker daemon 2026-10-25T21:01:44.140Z WARNING: No swap limit support 2026-10-25T21:01:44.145Z three docker commands at once, the daemon starting: 2 s 2026-10-25T21:01:44.173Z Unable to find image 'mirror.gcr.io/library/alpine:3.20' locally 2026-10-25T21:01:44.514Z 3.20: Pulling from library/alpine 2026-10-25T21:01:44.747Z 25f1d6b1951a: Pulling fs layer 2026-10-25T21:01:45.080Z 25f1d6b1951a: Download complete 2026-10-25T21:01:45.177Z 3a030ca3f633: Download complete 2026-10-25T21:01:45.178Z d4050d56ebf2: Download complete 2026-10-25T21:01:45.178Z 25f1d6b1951a: Pull complete 2026-10-25T21:01:45.178Z Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc 2026-10-25T21:01:45.178Z Status: Downloaded newer image for mirror.gcr.io/library/alpine:3.20 2026-10-25T21:01:45.517Z container ok 2026-10-25T21:01:45.734Z ##[group]Run pnpm exec vitest run test/docker.test.ts test/docker-wrapper.test.ts 2026-10-25T21:01:45.734Z ##[endgroup] 2026-10-25T21:01:46.397Z (!) 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-25T21:01:46.397Z - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-25T21:01:46.397Z - 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-25T21:01:46.397Z Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-25T21:01:46.427Z 2026-10-25T21:01:46.427Z RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-25T21:01:46.427Z 2026-10-25T21:01:54.487Z ✓ test/docker-wrapper.test.ts (4 tests) 7309ms 2026-10-25T21:01:54.487Z ✓ lets docker commands that arrive while the daemon is starting through, with the head start on 1190ms 2026-10-25T21:01:54.488Z ✓ gives up with a message, not a hang, when the daemon never comes up 2302ms 2026-10-25T21:01:54.488Z ✓ starts the registry relay and the daemon together 2121ms 2026-10-25T21:01:54.488Z ✓ starts the daemon again without the relay when the relay never comes up 1694ms 2026-10-25T21:02:06.732Z ✓ test/docker.test.ts (4 tests) 19479ms 2026-10-25T21:02:06.732Z ✓ runs steps and JavaScript actions in a job container next to a service container 8319ms 2026-10-25T21:02:06.732Z ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints 5618ms 2026-10-25T21:02:06.733Z ✓ fails a service that never gets healthy, and cleans up 4933ms 2026-10-25T21:02:06.733Z ✓ explains that containers need Docker 606ms 2026-10-25T21:02:06.739Z 2026-10-25T21:02:06.740Z Test Files 2 passed (2) 2026-10-25T21:02:06.740Z Tests 8 passed (8) 2026-10-25T21:02:06.740Z Start at 21:01:46 2026-10-25T21:02:06.740Z Duration 20.30s (transform 837ms, setup 0ms, import 1.24s, tests 26.79s, environment 0ms) 2026-10-25T21:02:06.740Z 2026-10-25T21:02:07.381Z Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, not saving cache. 2026-10-25T21:02:07.653Z Pruning is unnecessary. 2026-10-25T21:02:07.754Z Removing persisted credentials 2026-10-25T21:02:07.805Z Host: 3% of the vCPUs' time went to other work on the host (steal) 2026-10-25T21:02:07.805Z Job completed with conclusion: success 2026-10-25T21:02:07.806Z Resources: 0.6 of 4 vCPUs busy on average (1.9 at the 95th percentile), peak memory 1.1 GiB of 11.9 GiB, peak disk 2.3 GB of 19.2 GB