2026-10-16T17:59:48.061Z Diffinery runner: job runner-docker (End-to-end (runner Docker)) for codician/diffinery@1c63ad9caf3d 2026-10-16T17:59:48.075Z Runner: image diffinery-runner:1ffa24053441a44da20e77c5, in ams22, WEUR, container 3cd2b8d09568e776dde6799ceeb244728c1512a3b3d1a9e45ec5396508c8a0d2 2026-10-16T17:59:48.075Z 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-16T17:59:48.075Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-16T17:59:48.075Z Workspace: /workspace/diffinery 2026-10-16T17:59:48.162Z ##[group]Run actions/checkout@v4 2026-10-16T17:59:48.162Z ##[endgroup] 2026-10-16T17:59:48.164Z Syncing repository: codician/diffinery 2026-10-16T17:59:48.413Z Fetching the repository (depth 1) 2026-10-16T17:59:49.982Z remote: Enumerating objects: 684, done. 2026-10-16T17:59:50.283Z Receiving objects: 0% (1/684) Receiving objects: 1% (7/684) Receiving objects: 2% (14/684) Receiving objects: 3% (21/684) Receiving objects: 4% (28/684) Receiving objects: 5% (35/684) Receiving objects: 6% (42/684) Receiving objects: 7% (48/684) Receiving objects: 8% (55/684) Receiving objects: 9% (62/684) Receiving objects: 10% (69/684) Receiving objects: 11% (76/684) Receiving objects: 12% (83/684) Receiving objects: 13% (89/684) Receiving objects: 14% (96/684) Receiving objects: 15% (103/684) Receiving objects: 16% (110/684) Receiving objects: 17% (117/684) Receiving objects: 18% (124/684) Receiving objects: 19% (130/684) Receiving objects: 20% (137/684) Receiving objects: 21% (144/684) Receiving objects: 22% (151/684) Receiving objects: 23% (158/684) Receiving objects: 24% (165/684) Receiving objects: 25% (171/684) Receiving objects: 26% (178/684) Receiving objects: 27% (185/684) Receiving objects: 28% (192/684) Receiving objects: 29% (199/684) Receiving objects: 30% (206/684) Receiving objects: 31% (213/684) Receiving objects: 32% (219/684) Receiving objects: 33% (226/684) Receiving objects: 34% (233/684) Receiving objects: 35% (240/684) Receiving objects: 36% (247/684) Receiving objects: 37% (254/684) Receiving objects: 38% (260/684) Receiving objects: 39% (267/684) Receiving objects: 40% (274/684) Receiving objects: 41% (281/684) Receiving objects: 42% (288/684) Receiving objects: 43% (295/684) Receiving objects: 44% (301/684) Receiving objects: 45% (308/684) Receiving objects: 46% (315/684) Receiving objects: 47% (322/684) Receiving objects: 48% (329/684) Receiving objects: 49% (336/684) Receiving objects: 50% (342/684) Receiving objects: 51% (349/684) Receiving objects: 52% (356/684) Receiving objects: 53% (363/684) Receiving objects: 54% (370/684) Receiving objects: 55% (377/684) Receiving objects: 56% (384/684) Receiving objects: 57% (390/684) Receiving objects: 58% (397/684) Receiving objects: 59% (404/684) Receiving objects: 60% (411/684) Receiving objects: 61% (418/684) Receiving objects: 62% (425/684) Receiving objects: 63% (431/684) Receiving objects: 64% (438/684) Receiving objects: 65% (445/684) Receiving objects: 66% (452/684) Receiving objects: 67% (459/684) Receiving objects: 68% (466/684) Receiving objects: 69% (472/684) Receiving objects: 70% (479/684) Receiving objects: 71% (486/684) Receiving objects: 72% (493/684) Receiving objects: 73% (500/684) Receiving objects: 74% (507/684) Receiving objects: 75% (513/684) Receiving objects: 76% (520/684) Receiving objects: 77% (527/684) Receiving objects: 78% (534/684) Receiving objects: 79% (541/684) Receiving objects: 80% (548/684) Receiving objects: 81% (555/684) Receiving objects: 82% (561/684) Receiving objects: 83% (568/684) Receiving objects: 84% (575/684) Receiving objects: 85% (582/684) Receiving objects: 86% (589/684) Receiving objects: 87% (596/684) Receiving objects: 88% (602/684) Receiving objects: 89% (609/684) Receiving objects: 90% (616/684) Receiving objects: 91% (623/684) Receiving objects: 92% (630/684) Receiving objects: 93% (637/684) Receiving objects: 94% (643/684) Receiving objects: 95% (650/684) Receiving objects: 96% (657/684) Receiving objects: 97% (664/684) remote: Total 684 (delta 0), reused 684 (delta 0) 2026-10-16T17:59:50.284Z Receiving objects: 98% (671/684) Receiving objects: 99% (678/684) Receiving objects: 100% (684/684) Receiving objects: 100% (684/684), 3.04 MiB | 10.40 MiB/s, done. 2026-10-16T17:59:50.305Z From https://diffinery.com/codician/diffinery 2026-10-16T17:59:50.305Z * [new ref] 1c63ad9caf3da457ca2e0e9adff25ab82b554c36 -> origin/main 2026-10-16T17:59:50.436Z Switched to a new branch 'main' 2026-10-16T17:59:50.446Z HEAD is now at 1c63ad9caf3da457ca2e0e9adff25ab82b554c36 2026-10-16T17:59:50.750Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-16T17:59:51.178Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-16T17:59:51.178Z with: 2026-10-16T17:59:51.178Z dest: ~/setup-pnpm 2026-10-16T17:59:51.178Z run_install: null 2026-10-16T17:59:51.178Z cache: false 2026-10-16T17:59:51.178Z cache_dependency_path: pnpm-lock.yaml 2026-10-16T17:59:51.178Z package_json_file: package.json 2026-10-16T17:59:51.178Z standalone: false 2026-10-16T17:59:51.178Z ##[endgroup] 2026-10-16T17:59:51.447Z ##[group]Running self-installer... 2026-10-16T17:59:52.312Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T17:59:52.337Z Packages: +1 2026-10-16T17:59:52.337Z + 2026-10-16T17:59:53.053Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-16T17:59:53.102Z 2026-10-16T17:59:53.102Z dependencies: 2026-10-16T17:59:53.102Z + pnpm 10.28.0 (12.14.0 is available) 2026-10-16T17:59:53.102Z 2026-10-16T17:59:53.109Z Done in 1.3s 2026-10-16T17:59:53.139Z ##[endgroup] 2026-10-16T17:59:53.139Z Installation Completed! 2026-10-16T17:59:53.585Z ##[group]Run actions/setup-node@v4 2026-10-16T17:59:53.585Z with: 2026-10-16T17:59:53.585Z node-version: 22 2026-10-16T17:59:53.585Z cache: pnpm 2026-10-16T17:59:53.585Z ##[endgroup] 2026-10-16T17:59:53.596Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-16T17:59:54.610Z Cache Size: ~216 MB (226493609 B) 2026-10-16T18:00:01.793Z Cache restored from key: node-cache-Linux-x64-pnpm-a02ba8dce5cb7329b868883337d1a03f862819a15859861dae22d3a8b1092f41 2026-10-16T18:00:02.666Z ##[group]Run pnpm install --frozen-lockfile 2026-10-16T18:00:02.666Z ##[endgroup] 2026-10-16T18:00:03.186Z Scope: all 8 workspace projects 2026-10-16T18:00:03.287Z Lockfile is up to date, resolution step is skipped 2026-10-16T18:00:03.369Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-16T18:00:03.432Z Packages: +250 2026-10-16T18:00:03.432Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-16T18:00:04.372Z Progress: resolved 250, reused 244, downloaded 0, added 162 2026-10-16T18:00:04.971Z Progress: resolved 250, reused 244, downloaded 0, added 250, done 2026-10-16T18:00:05.261Z .../node_modules/workerd postinstall$ node install.js 2026-10-16T18:00:05.261Z .../node_modules/workerd postinstall$ node install.js 2026-10-16T18:00:05.263Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-16T18:00:05.264Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-16T18:00:05.309Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-16T18:00:05.844Z .../node_modules/workerd postinstall: Done 2026-10-16T18:00:05.860Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-16T18:00:05.871Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-16T18:00:05.876Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-16T18:00:06.076Z .../node_modules/workerd postinstall: Done 2026-10-16T18:00:06.088Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-16T18:00:06.107Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-16T18:00:06.768Z 2026-10-16T18:00:06.768Z devDependencies: 2026-10-16T18:00:06.768Z + turbo 2.11.7 2026-10-16T18:00:06.768Z + typescript 5.9.3 2026-10-16T18:00:06.768Z 2026-10-16T18:00:07.429Z Done in 4.6s using pnpm v10.28.0 2026-10-16T18:00:07.603Z ##[group]Run pnpm --filter @diffinery/runner build 2026-10-16T18:00:07.603Z ##[endgroup] 2026-10-16T18:00:08.038Z 2026-10-16T18:00:08.038Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-16T18:00:08.038Z > 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-16T18:00:08.038Z 2026-10-16T18:00:08.097Z 2026-10-16T18:00:08.097Z dist/agent.mjs 682.1kb 2026-10-16T18:00:08.097Z 2026-10-16T18:00:08.097Z ⚡ Done in 46ms 2026-10-16T18:00:08.225Z ##[group]Run set -euo pipefail 2026-10-16T18:00:08.225Z as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; } 2026-10-16T18:00:08.225Z if [ ! -f /opt/diffinery/agent.mjs ] || ! grep -q "registry relay" /usr/local/bin/docker 2>/dev/null; then 2026-10-16T18:00:08.225Z echo "::error::this job needs a Diffinery hosted runner (its docker wrapper and agent)" 2026-10-16T18:00:08.225Z exit 1 2026-10-16T18:00:08.225Z fi 2026-10-16T18:00:08.225Z as_root pkill -x dockerd || true 2026-10-16T18:00:08.225Z as_root pkill -f -- "--registry-relay" || true 2026-10-16T18:00:08.225Z for _ in $(seq 1 60); do pgrep -x dockerd >/dev/null || break; sleep 0.5; done 2026-10-16T18:00:08.225Z as_root rm -f /run/diffinery-dockerd.ready 2026-10-16T18:00:08.225Z as_root cp --remove-destination containers/runner/image/docker /usr/local/bin/docker 2026-10-16T18:00:08.225Z as_root cp --remove-destination containers/runner/image/daemon.json /etc/docker/daemon.json 2026-10-16T18:00:08.225Z as_root cp --remove-destination containers/runner/dist/agent.mjs /opt/diffinery/agent.mjs 2026-10-16T18:00:08.225Z ##[endgroup] 2026-10-16T18:00:39.502Z ##[group]Run set -uo pipefail 2026-10-16T18:00:39.502Z start=$(date +%s) 2026-10-16T18:00:39.502Z docker info >/dev/null & a=$! 2026-10-16T18:00:39.502Z docker ps >/dev/null & b=$! 2026-10-16T18:00:39.502Z docker version >/dev/null & c=$! 2026-10-16T18:00:39.502Z failed=0 2026-10-16T18:00:39.502Z for p in $a $b $c; do wait "$p" || failed=1; done 2026-10-16T18:00:39.502Z echo "three docker commands at once, the daemon starting: $(( $(date +%s) - start )) s" 2026-10-16T18:00:39.502Z [ "$failed" = 0 ] || { echo "::error::a docker command failed while the daemon started"; exit 1; } 2026-10-16T18:00:39.502Z docker run --rm mirror.gcr.io/library/alpine:3.20 echo "container ok" 2026-10-16T18:00:39.502Z ##[endgroup] 2026-10-16T18:00:39.553Z Starting the Docker daemon 2026-10-16T18:00:41.751Z WARNING: No swap limit support 2026-10-16T18:00:41.760Z three docker commands at once, the daemon starting: 2 s 2026-10-16T18:00:41.794Z Unable to find image 'mirror.gcr.io/library/alpine:3.20' locally 2026-10-16T18:00:42.177Z 3.20: Pulling from library/alpine 2026-10-16T18:00:42.427Z 25f1d6b1951a: Pulling fs layer 2026-10-16T18:00:42.705Z d4050d56ebf2: Download complete 2026-10-16T18:00:42.708Z 3a030ca3f633: Download complete 2026-10-16T18:00:42.902Z 25f1d6b1951a: Download complete 2026-10-16T18:00:42.983Z 25f1d6b1951a: Pull complete 2026-10-16T18:00:42.983Z Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc 2026-10-16T18:00:42.983Z Status: Downloaded newer image for mirror.gcr.io/library/alpine:3.20 2026-10-16T18:00:43.427Z container ok 2026-10-16T18:00:43.767Z ##[group]Run pnpm exec vitest run test/docker.test.ts test/docker-wrapper.test.ts 2026-10-16T18:00:43.767Z ##[endgroup] 2026-10-16T18:00:44.648Z (!) 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-16T18:00:44.648Z - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-16T18:00:44.648Z - 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-16T18:00:44.648Z Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-16T18:00:44.680Z 2026-10-16T18:00:44.681Z RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-16T18:00:44.681Z 2026-10-16T18:00:49.561Z ✓ test/docker-wrapper.test.ts (2 tests) 3535ms 2026-10-16T18:00:49.561Z ✓ lets docker commands that arrive while the daemon is starting through, with the head start on 1242ms 2026-10-16T18:00:49.561Z ✓ gives up with a message, not a hang, when the daemon never comes up 2289ms 2026-10-16T18:01:11.918Z ✓ test/docker.test.ts (4 tests) 25735ms 2026-10-16T18:01:11.918Z ✓ runs steps and JavaScript actions in a job container next to a service container 8770ms 2026-10-16T18:01:11.918Z ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints 9963ms 2026-10-16T18:01:11.918Z ✓ fails a service that never gets healthy, and cleans up 6386ms 2026-10-16T18:01:11.918Z ✓ explains that containers need Docker 613ms 2026-10-16T18:01:11.927Z 2026-10-16T18:01:11.928Z Test Files 2 passed (2) 2026-10-16T18:01:11.929Z Tests 6 passed (6) 2026-10-16T18:01:11.929Z Start at 18:00:44 2026-10-16T18:01:11.929Z Duration 27.23s (transform 1.54s, setup 0ms, import 2.30s, tests 29.27s, environment 0ms) 2026-10-16T18:01:11.929Z 2026-10-16T18:01:12.131Z Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-a02ba8dce5cb7329b868883337d1a03f862819a15859861dae22d3a8b1092f41, not saving cache. 2026-10-16T18:01:12.457Z Pruning is unnecessary. 2026-10-16T18:01:12.590Z Removing persisted credentials 2026-10-16T18:01:12.657Z Host: 7% of the vCPUs' time went to other work on the host (steal) 2026-10-16T18:01:12.657Z Job completed with conclusion: success 2026-10-16T18:01:12.659Z Resources: 0.6 of 4 vCPUs busy on average (1.6 at the 95th percentile), peak memory 1.1 GiB of 11.9 GiB, peak disk 2.3 GB of 19.3 GB