2026-10-23T21:11:58.301Z Diffinery runner: job runner-docker (End-to-end (runner Docker)) for codician/diffinery@5b65b4fd3b67 2026-10-23T21:11:58.315Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in hel02, EEUR, container 521ca7b2afbd92cab572ad600ee797e462e6cc4bb538af5fde46bec09755161c 2026-10-23T21:11:58.315Z 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-23T21:11:58.315Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2546 MHz 2026-10-23T21:11:58.315Z Workspace: /workspace/diffinery 2026-10-23T21:11:58.394Z ##[group]Run actions/checkout@v4 2026-10-23T21:11:58.394Z ##[endgroup] 2026-10-23T21:11:58.396Z Syncing repository: codician/diffinery 2026-10-23T21:11:58.459Z Fetching the repository (depth 1) 2026-10-23T21:11:59.860Z remote: Enumerating objects: 782, done. 2026-10-23T21:12:00.348Z Receiving objects: 0% (1/782) Receiving objects: 1% (8/782) Receiving objects: 2% (16/782) Receiving objects: 3% (24/782) Receiving objects: 4% (32/782) Receiving objects: 5% (40/782) Receiving objects: 6% (47/782) Receiving objects: 7% (55/782) Receiving objects: 8% (63/782) Receiving objects: 9% (71/782) Receiving objects: 10% (79/782) Receiving objects: 11% (87/782) Receiving objects: 12% (94/782) Receiving objects: 13% (102/782) Receiving objects: 14% (110/782) Receiving objects: 15% (118/782) Receiving objects: 16% (126/782) Receiving objects: 17% (133/782) Receiving objects: 18% (141/782) Receiving objects: 19% (149/782) Receiving objects: 20% (157/782) Receiving objects: 21% (165/782) Receiving objects: 22% (173/782) Receiving objects: 23% (180/782) Receiving objects: 24% (188/782) Receiving objects: 25% (196/782) Receiving objects: 26% (204/782) Receiving objects: 27% (212/782) Receiving objects: 28% (219/782) Receiving objects: 29% (227/782) Receiving objects: 30% (235/782) Receiving objects: 31% (243/782) Receiving objects: 32% (251/782) Receiving objects: 33% (259/782) Receiving objects: 34% (266/782) Receiving objects: 35% (274/782) Receiving objects: 36% (282/782) Receiving objects: 37% (290/782) Receiving objects: 38% (298/782) Receiving objects: 39% (305/782) Receiving objects: 40% (313/782) Receiving objects: 41% (321/782) Receiving objects: 42% (329/782) Receiving objects: 43% (337/782) Receiving objects: 44% (345/782) Receiving objects: 45% (352/782) Receiving objects: 46% (360/782) Receiving objects: 47% (368/782) Receiving objects: 48% (376/782) Receiving objects: 49% (384/782) Receiving objects: 50% (391/782) Receiving objects: 51% (399/782) Receiving objects: 52% (407/782) Receiving objects: 53% (415/782) Receiving objects: 54% (423/782) Receiving objects: 55% (431/782) Receiving objects: 56% (438/782) Receiving objects: 57% (446/782) Receiving objects: 58% (454/782) Receiving objects: 59% (462/782) Receiving objects: 60% (470/782) Receiving objects: 61% (478/782) Receiving objects: 62% (485/782) Receiving objects: 63% (493/782) Receiving objects: 64% (501/782) Receiving objects: 65% (509/782) Receiving objects: 66% (517/782) Receiving objects: 67% (524/782) Receiving objects: 68% (532/782) Receiving objects: 69% (540/782) Receiving objects: 70% (548/782) Receiving objects: 71% (556/782) Receiving objects: 72% (564/782) Receiving objects: 73% (571/782) Receiving objects: 74% (579/782) Receiving objects: 75% (587/782) Receiving objects: 76% (595/782) Receiving objects: 77% (603/782) Receiving objects: 78% (610/782) Receiving objects: 79% (618/782) Receiving objects: 80% (626/782) Receiving objects: 81% (634/782) Receiving objects: 82% (642/782) Receiving objects: 83% (650/782) Receiving objects: 84% (657/782) Receiving objects: 85% (665/782) Receiving objects: 86% (673/782) Receiving objects: 87% (681/782) Receiving objects: 88% (689/782) Receiving objects: 89% (696/782) Receiving objects: 90% (704/782) Receiving objects: 91% (712/782) Receiving objects: 92% (720/782) Receiving objects: 93% (728/782) Receiving objects: 94% (736/782) Receiving objects: 95% (743/782) Receiving objects: 96% (751/782) Receiving objects: 97% (759/782) remote: Total 782 (delta 0), reused 782 (delta 0) 2026-10-23T21:12:00.349Z Receiving objects: 98% (767/782) Receiving objects: 99% (775/782) Receiving objects: 100% (782/782) Receiving objects: 100% (782/782), 3.57 MiB | 7.47 MiB/s, done. 2026-10-23T21:12:00.359Z From https://diffinery.com/codician/diffinery 2026-10-23T21:12:00.359Z * [new ref] 5b65b4fd3b67d2ebec8b9cfcc4716f5502bfdf60 -> origin/diffinery-checkout 2026-10-23T21:12:00.442Z Note: switching to '5b65b4fd3b67d2ebec8b9cfcc4716f5502bfdf60'. 2026-10-23T21:12:00.442Z 2026-10-23T21:12:00.442Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-23T21:12:00.442Z changes and commit them, and you can discard any commits you make in this 2026-10-23T21:12:00.442Z state without impacting any branches by switching back to a branch. 2026-10-23T21:12:00.442Z 2026-10-23T21:12:00.442Z If you want to create a new branch to retain commits you create, you may 2026-10-23T21:12:00.442Z do so (now or later) by using -c with the switch command. Example: 2026-10-23T21:12:00.442Z 2026-10-23T21:12:00.442Z git switch -c 2026-10-23T21:12:00.442Z 2026-10-23T21:12:00.442Z Or undo this operation with: 2026-10-23T21:12:00.442Z 2026-10-23T21:12:00.442Z git switch - 2026-10-23T21:12:00.442Z 2026-10-23T21:12:00.442Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-23T21:12:00.442Z 2026-10-23T21:12:00.442Z HEAD is now at 5b65b4f Merge 817a5303a2f2cc67d803560969a73bc689ee9cec into 6a78aa3d32b7661bf65bc962bf3a0b2535bdf618 2026-10-23T21:12:00.445Z HEAD is now at 5b65b4fd3b67d2ebec8b9cfcc4716f5502bfdf60 2026-10-23T21:12:00.678Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-23T21:12:01.335Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-23T21:12:01.335Z with: 2026-10-23T21:12:01.335Z dest: ~/setup-pnpm 2026-10-23T21:12:01.335Z run_install: null 2026-10-23T21:12:01.335Z cache: false 2026-10-23T21:12:01.335Z cache_dependency_path: pnpm-lock.yaml 2026-10-23T21:12:01.335Z package_json_file: package.json 2026-10-23T21:12:01.335Z standalone: false 2026-10-23T21:12:01.335Z ##[endgroup] 2026-10-23T21:12:01.486Z ##[group]Running self-installer... 2026-10-23T21:12:02.043Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-23T21:12:02.051Z Packages: +1 2026-10-23T21:12:02.051Z + 2026-10-23T21:12:02.488Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-23T21:12:02.512Z 2026-10-23T21:12:02.512Z dependencies: 2026-10-23T21:12:02.512Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-23T21:12:02.512Z 2026-10-23T21:12:02.514Z Done in 836ms 2026-10-23T21:12:02.532Z ##[endgroup] 2026-10-23T21:12:02.532Z Installation Completed! 2026-10-23T21:12:02.664Z ##[group]Run actions/setup-node@v4 2026-10-23T21:12:02.664Z with: 2026-10-23T21:12:02.664Z node-version: 22 2026-10-23T21:12:02.664Z cache: pnpm 2026-10-23T21:12:02.664Z ##[endgroup] 2026-10-23T21:12:02.670Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-23T21:12:03.853Z Cache Size: ~216 MB (226934503 B) 2026-10-23T21:12:08.873Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-23T21:12:08.991Z ##[group]Run pnpm install --frozen-lockfile 2026-10-23T21:12:08.991Z ##[endgroup] 2026-10-23T21:12:09.260Z Scope: all 8 workspace projects 2026-10-23T21:12:09.313Z Lockfile is up to date, resolution step is skipped 2026-10-23T21:12:09.349Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-23T21:12:09.380Z Packages: +251 2026-10-23T21:12:09.380Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-23T21:12:10.350Z Progress: resolved 251, reused 245, downloaded 0, added 250 2026-10-23T21:12:10.416Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-23T21:12:10.506Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-23T21:12:10.507Z .../node_modules/workerd postinstall$ node install.js 2026-10-23T21:12:10.508Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-23T21:12:10.509Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-23T21:12:10.509Z .../node_modules/workerd postinstall$ node install.js 2026-10-23T21:12:10.700Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-23T21:12:10.703Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-23T21:12:10.707Z .../node_modules/workerd postinstall: Done 2026-10-23T21:12:10.708Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-23T21:12:10.832Z .../node_modules/workerd postinstall: Done 2026-10-23T21:12:10.836Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-23T21:12:10.839Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-23T21:12:11.229Z 2026-10-23T21:12:11.229Z devDependencies: 2026-10-23T21:12:11.229Z + turbo 2.11.7 2026-10-23T21:12:11.229Z + typescript 5.9.3 2026-10-23T21:12:11.229Z 2026-10-23T21:12:11.642Z Done in 2.6s using pnpm v10.28.0 2026-10-23T21:12:11.772Z ##[group]Run pnpm --filter @diffinery/runner build 2026-10-23T21:12:11.772Z ##[endgroup] 2026-10-23T21:12:12.080Z 2026-10-23T21:12:12.080Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-23T21:12:12.080Z > 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-23T21:12:12.080Z 2026-10-23T21:12:12.127Z 2026-10-23T21:12:12.127Z dist/agent.mjs 684.1kb 2026-10-23T21:12:12.127Z 2026-10-23T21:12:12.127Z ⚡ Done in 37ms 2026-10-23T21:12:12.256Z ##[group]Run set -euo pipefail 2026-10-23T21:12:12.256Z as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; } 2026-10-23T21:12:12.256Z if [ ! -f /opt/diffinery/agent.mjs ] || ! grep -q "registry relay" /usr/local/bin/docker 2>/dev/null; then 2026-10-23T21:12:12.256Z echo "::error::this job needs a Diffinery hosted runner (its docker wrapper and agent)" 2026-10-23T21:12:12.256Z exit 1 2026-10-23T21:12:12.256Z fi 2026-10-23T21:12:12.256Z as_root pkill -x dockerd || true 2026-10-23T21:12:12.256Z as_root pkill -f -- "--registry-relay" || true 2026-10-23T21:12:12.256Z for _ in $(seq 1 60); do pgrep -x dockerd >/dev/null || break; sleep 0.5; done 2026-10-23T21:12:12.256Z as_root rm -f /run/diffinery-dockerd.ready 2026-10-23T21:12:12.256Z as_root cp --remove-destination containers/runner/image/docker /usr/local/bin/docker 2026-10-23T21:12:12.256Z as_root cp --remove-destination containers/runner/image/daemon.json /etc/docker/daemon.json 2026-10-23T21:12:12.256Z as_root cp --remove-destination containers/runner/dist/agent.mjs /opt/diffinery/agent.mjs 2026-10-23T21:12:12.256Z ##[endgroup] 2026-10-23T21:12:42.693Z ##[group]Run set -uo pipefail 2026-10-23T21:12:42.693Z start=$(date +%s) 2026-10-23T21:12:42.693Z docker info >/dev/null & a=$! 2026-10-23T21:12:42.693Z docker ps >/dev/null & b=$! 2026-10-23T21:12:42.693Z docker version >/dev/null & c=$! 2026-10-23T21:12:42.693Z failed=0 2026-10-23T21:12:42.693Z for p in $a $b $c; do wait "$p" || failed=1; done 2026-10-23T21:12:42.693Z echo "three docker commands at once, the daemon starting: $(( $(date +%s) - start )) s" 2026-10-23T21:12:42.693Z [ "$failed" = 0 ] || { echo "::error::a docker command failed while the daemon started"; exit 1; } 2026-10-23T21:12:42.693Z docker run --rm mirror.gcr.io/library/alpine:3.20 echo "container ok" 2026-10-23T21:12:42.693Z ##[endgroup] 2026-10-23T21:12:42.729Z Starting the Docker daemon 2026-10-23T21:12:43.985Z WARNING: No swap limit support 2026-10-23T21:12:43.989Z three docker commands at once, the daemon starting: 1 s 2026-10-23T21:12:44.011Z Unable to find image 'mirror.gcr.io/library/alpine:3.20' locally 2026-10-23T21:12:44.683Z 3.20: Pulling from library/alpine 2026-10-23T21:12:45.153Z 25f1d6b1951a: Pulling fs layer 2026-10-23T21:12:45.616Z 3a030ca3f633: Download complete 2026-10-23T21:12:45.716Z 25f1d6b1951a: Download complete 2026-10-23T21:12:45.816Z d4050d56ebf2: Download complete 2026-10-23T21:12:45.816Z 25f1d6b1951a: Pull complete 2026-10-23T21:12:45.856Z Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc 2026-10-23T21:12:45.856Z Status: Downloaded newer image for mirror.gcr.io/library/alpine:3.20 2026-10-23T21:12:46.391Z container ok 2026-10-23T21:12:46.632Z ##[group]Run pnpm exec vitest run test/docker.test.ts test/docker-wrapper.test.ts 2026-10-23T21:12:46.632Z ##[endgroup] 2026-10-23T21:12:47.137Z (!) 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-23T21:12:47.137Z - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-23T21:12:47.137Z - 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-23T21:12:47.137Z Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-23T21:12:47.157Z 2026-10-23T21:12:47.157Z RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-23T21:12:47.157Z 2026-10-23T21:12:55.739Z ✓ test/docker-wrapper.test.ts (4 tests) 8049ms 2026-10-23T21:12:55.739Z ✓ lets docker commands that arrive while the daemon is starting through, with the head start on 1118ms 2026-10-23T21:12:55.739Z ✓ gives up with a message, not a hang, when the daemon never comes up 3181ms 2026-10-23T21:12:55.739Z ✓ starts the registry relay and the daemon together 2131ms 2026-10-23T21:12:55.739Z ✓ starts the daemon again without the relay when the relay never comes up 1617ms 2026-10-23T21:13:06.354Z ✓ test/docker.test.ts (4 tests) 18615ms 2026-10-23T21:13:06.354Z ✓ runs steps and JavaScript actions in a job container next to a service container 8381ms 2026-10-23T21:13:06.354Z ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints 5268ms 2026-10-23T21:13:06.354Z ✓ fails a service that never gets healthy, and cleans up 4628ms 2026-10-23T21:13:06.354Z ✓ explains that containers need Docker 334ms 2026-10-23T21:13:06.357Z 2026-10-23T21:13:06.357Z Test Files 2 passed (2) 2026-10-23T21:13:06.357Z Tests 8 passed (8) 2026-10-23T21:13:06.357Z Start at 21:12:47 2026-10-23T21:13:06.357Z Duration 19.19s (transform 573ms, setup 0ms, import 857ms, tests 26.66s, environment 0ms) 2026-10-23T21:13:06.357Z 2026-10-23T21:13:06.515Z Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, not saving cache. 2026-10-23T21:13:06.761Z Pruning is unnecessary. 2026-10-23T21:13:06.875Z Removing persisted credentials 2026-10-23T21:13:06.937Z Host: 0% of the vCPUs' time went to other work on the host (steal) 2026-10-23T21:13:06.937Z Job completed with conclusion: success 2026-10-23T21:13:06.938Z Resources: 0.5 of 4 vCPUs busy on average (2.0 at the 95th percentile), peak memory 1.1 GiB of 11.9 GiB, peak disk 2.3 GB of 19.2 GB