2026-10-24T12:26:39.944Z Diffinery runner: job runner-docker (End-to-end (runner Docker)) for codician/diffinery@4341960c5630 2026-10-24T12:26:39.970Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in mrs04, WEUR, container d94de4a12ca2a56050a112ce175f70e6a60fd5e891b48117f266172c71880d9c 2026-10-24T12:26:39.970Z 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-24T12:26:39.970Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-24T12:26:39.970Z Workspace: /workspace/diffinery 2026-10-24T12:26:40.119Z ##[group]Run actions/checkout@v4 2026-10-24T12:26:40.119Z ##[endgroup] 2026-10-24T12:26:40.121Z Syncing repository: codician/diffinery 2026-10-24T12:26:40.325Z Fetching the repository (depth 1) 2026-10-24T12:26:42.260Z remote: Enumerating objects: 786, done. 2026-10-24T12:26:42.549Z Receiving objects: 0% (1/786) Receiving objects: 1% (8/786) Receiving objects: 2% (16/786) Receiving objects: 3% (24/786) Receiving objects: 4% (32/786) Receiving objects: 5% (40/786) Receiving objects: 6% (48/786) Receiving objects: 7% (56/786) Receiving objects: 8% (63/786) Receiving objects: 9% (71/786) Receiving objects: 10% (79/786) Receiving objects: 11% (87/786) Receiving objects: 12% (95/786) Receiving objects: 13% (103/786) Receiving objects: 14% (111/786) Receiving objects: 15% (118/786) Receiving objects: 16% (126/786) Receiving objects: 17% (134/786) Receiving objects: 18% (142/786) Receiving objects: 19% (150/786) Receiving objects: 20% (158/786) Receiving objects: 21% (166/786) Receiving objects: 22% (173/786) Receiving objects: 23% (181/786) Receiving objects: 24% (189/786) Receiving objects: 25% (197/786) Receiving objects: 26% (205/786) Receiving objects: 27% (213/786) Receiving objects: 28% (221/786) Receiving objects: 29% (228/786) Receiving objects: 30% (236/786) Receiving objects: 31% (244/786) Receiving objects: 32% (252/786) Receiving objects: 33% (260/786) Receiving objects: 34% (268/786) Receiving objects: 35% (276/786) Receiving objects: 36% (283/786) Receiving objects: 37% (291/786) Receiving objects: 38% (299/786) Receiving objects: 39% (307/786) Receiving objects: 40% (315/786) Receiving objects: 41% (323/786) Receiving objects: 42% (331/786) Receiving objects: 43% (338/786) Receiving objects: 44% (346/786) Receiving objects: 45% (354/786) Receiving objects: 46% (362/786) Receiving objects: 47% (370/786) Receiving objects: 48% (378/786) Receiving objects: 49% (386/786) Receiving objects: 50% (393/786) Receiving objects: 51% (401/786) Receiving objects: 52% (409/786) Receiving objects: 53% (417/786) Receiving objects: 54% (425/786) Receiving objects: 55% (433/786) Receiving objects: 56% (441/786) Receiving objects: 57% (449/786) Receiving objects: 58% (456/786) Receiving objects: 59% (464/786) Receiving objects: 60% (472/786) Receiving objects: 61% (480/786) Receiving objects: 62% (488/786) Receiving objects: 63% (496/786) Receiving objects: 64% (504/786) Receiving objects: 65% (511/786) Receiving objects: 66% (519/786) Receiving objects: 67% (527/786) Receiving objects: 68% (535/786) Receiving objects: 69% (543/786) Receiving objects: 70% (551/786) Receiving objects: 71% (559/786) Receiving objects: 72% (566/786) Receiving objects: 73% (574/786) Receiving objects: 74% (582/786) Receiving objects: 75% (590/786) Receiving objects: 76% (598/786) Receiving objects: 77% (606/786) Receiving objects: 78% (614/786) Receiving objects: 79% (621/786) Receiving objects: 80% (629/786) Receiving objects: 81% (637/786) Receiving objects: 82% (645/786) Receiving objects: 83% (653/786) Receiving objects: 84% (661/786) Receiving objects: 85% (669/786) Receiving objects: 86% (676/786) Receiving objects: 87% (684/786) Receiving objects: 88% (692/786) Receiving objects: 89% (700/786) Receiving objects: 90% (708/786) Receiving objects: 91% (716/786) Receiving objects: 92% (724/786) Receiving objects: 93% (731/786) Receiving objects: 94% (739/786) Receiving objects: 95% (747/786) Receiving objects: 96% (755/786) Receiving objects: 97% (763/786) remote: Total 786 (delta 0), reused 786 (delta 0) 2026-10-24T12:26:42.551Z Receiving objects: 98% (771/786) Receiving objects: 99% (779/786) Receiving objects: 100% (786/786) Receiving objects: 100% (786/786), 3.60 MiB | 12.53 MiB/s, done. 2026-10-24T12:26:42.566Z From https://diffinery.com/codician/diffinery 2026-10-24T12:26:42.566Z * [new ref] 4341960c563024a2a24f0f92bf5f27ea92e99ac9 -> origin/diffinery-checkout 2026-10-24T12:26:42.702Z Note: switching to '4341960c563024a2a24f0f92bf5f27ea92e99ac9'. 2026-10-24T12:26:42.702Z 2026-10-24T12:26:42.702Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-24T12:26:42.702Z changes and commit them, and you can discard any commits you make in this 2026-10-24T12:26:42.702Z state without impacting any branches by switching back to a branch. 2026-10-24T12:26:42.702Z 2026-10-24T12:26:42.702Z If you want to create a new branch to retain commits you create, you may 2026-10-24T12:26:42.702Z do so (now or later) by using -c with the switch command. Example: 2026-10-24T12:26:42.702Z 2026-10-24T12:26:42.702Z git switch -c 2026-10-24T12:26:42.702Z 2026-10-24T12:26:42.702Z Or undo this operation with: 2026-10-24T12:26:42.702Z 2026-10-24T12:26:42.702Z git switch - 2026-10-24T12:26:42.702Z 2026-10-24T12:26:42.702Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-24T12:26:42.702Z 2026-10-24T12:26:42.702Z HEAD is now at 4341960 Merge 32560aad54d20c5a90f751a31b0861dea1614955 into bf470037ea65eaddac032a50c8026247604d5785 2026-10-24T12:26:42.708Z HEAD is now at 4341960c563024a2a24f0f92bf5f27ea92e99ac9 2026-10-24T12:26:43.106Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-24T12:26:43.576Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-24T12:26:43.576Z with: 2026-10-24T12:26:43.576Z dest: ~/setup-pnpm 2026-10-24T12:26:43.576Z run_install: null 2026-10-24T12:26:43.576Z cache: false 2026-10-24T12:26:43.576Z cache_dependency_path: pnpm-lock.yaml 2026-10-24T12:26:43.576Z package_json_file: package.json 2026-10-24T12:26:43.576Z standalone: false 2026-10-24T12:26:43.576Z ##[endgroup] 2026-10-24T12:26:43.847Z ##[group]Running self-installer... 2026-10-24T12:26:44.842Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-24T12:26:44.852Z Packages: +1 2026-10-24T12:26:44.852Z + 2026-10-24T12:26:45.568Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-24T12:26:45.630Z 2026-10-24T12:26:45.630Z dependencies: 2026-10-24T12:26:45.630Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-24T12:26:45.630Z 2026-10-24T12:26:45.634Z Done in 1.5s 2026-10-24T12:26:45.662Z ##[endgroup] 2026-10-24T12:26:45.663Z Installation Completed! 2026-10-24T12:26:46.452Z ##[group]Run actions/setup-node@v4 2026-10-24T12:26:46.452Z with: 2026-10-24T12:26:46.452Z node-version: 22 2026-10-24T12:26:46.452Z cache: pnpm 2026-10-24T12:26:46.452Z ##[endgroup] 2026-10-24T12:26:46.460Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-24T12:26:47.675Z Cache Size: ~216 MB (226934503 B) 2026-10-24T12:26:53.786Z Cache restored from key: node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b 2026-10-24T12:26:53.887Z ##[group]Run pnpm install --frozen-lockfile 2026-10-24T12:26:53.887Z ##[endgroup] 2026-10-24T12:26:54.314Z Scope: all 8 workspace projects 2026-10-24T12:26:54.388Z Lockfile is up to date, resolution step is skipped 2026-10-24T12:26:54.451Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-24T12:26:54.498Z Packages: +251 2026-10-24T12:26:54.498Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-24T12:26:55.452Z Progress: resolved 251, reused 245, downloaded 0, added 168 2026-10-24T12:26:56.453Z Progress: resolved 251, reused 245, downloaded 0, added 169 2026-10-24T12:26:56.928Z Progress: resolved 251, reused 245, downloaded 0, added 251, done 2026-10-24T12:26:57.119Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-24T12:26:57.120Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-24T12:26:57.122Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-24T12:26:57.123Z .../node_modules/workerd postinstall$ node install.js 2026-10-24T12:26:57.124Z .../node_modules/workerd postinstall$ node install.js 2026-10-24T12:26:57.222Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-24T12:26:57.242Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-24T12:26:57.389Z .../node_modules/workerd postinstall: Done 2026-10-24T12:26:57.427Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-24T12:26:57.590Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-24T12:26:57.593Z .../node_modules/workerd postinstall: Done 2026-10-24T12:26:57.597Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-24T12:26:58.149Z 2026-10-24T12:26:58.149Z devDependencies: 2026-10-24T12:26:58.149Z + turbo 2.11.7 2026-10-24T12:26:58.149Z + typescript 5.9.3 2026-10-24T12:26:58.149Z 2026-10-24T12:26:58.746Z Done in 4.8s using pnpm v10.28.0 2026-10-24T12:26:58.896Z ##[group]Run pnpm --filter @diffinery/runner build 2026-10-24T12:26:58.896Z ##[endgroup] 2026-10-24T12:26:59.295Z 2026-10-24T12:26:59.295Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-24T12:26:59.295Z > 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-24T12:26:59.295Z 2026-10-24T12:26:59.356Z 2026-10-24T12:26:59.356Z dist/agent.mjs 684.1kb 2026-10-24T12:26:59.356Z 2026-10-24T12:26:59.356Z ⚡ Done in 46ms 2026-10-24T12:26:59.493Z ##[group]Run set -euo pipefail 2026-10-24T12:26:59.493Z as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; } 2026-10-24T12:26:59.493Z if [ ! -f /opt/diffinery/agent.mjs ] || ! grep -q "registry relay" /usr/local/bin/docker 2>/dev/null; then 2026-10-24T12:26:59.493Z echo "::error::this job needs a Diffinery hosted runner (its docker wrapper and agent)" 2026-10-24T12:26:59.493Z exit 1 2026-10-24T12:26:59.493Z fi 2026-10-24T12:26:59.493Z as_root pkill -x dockerd || true 2026-10-24T12:26:59.493Z as_root pkill -f -- "--registry-relay" || true 2026-10-24T12:26:59.493Z for _ in $(seq 1 60); do pgrep -x dockerd >/dev/null || break; sleep 0.5; done 2026-10-24T12:26:59.493Z as_root rm -f /run/diffinery-dockerd.ready 2026-10-24T12:26:59.493Z as_root cp --remove-destination containers/runner/image/docker /usr/local/bin/docker 2026-10-24T12:26:59.493Z as_root cp --remove-destination containers/runner/image/daemon.json /etc/docker/daemon.json 2026-10-24T12:26:59.493Z as_root cp --remove-destination containers/runner/dist/agent.mjs /opt/diffinery/agent.mjs 2026-10-24T12:26:59.493Z ##[endgroup] 2026-10-24T12:27:32.260Z ##[group]Run set -uo pipefail 2026-10-24T12:27:32.260Z start=$(date +%s) 2026-10-24T12:27:32.260Z docker info >/dev/null & a=$! 2026-10-24T12:27:32.260Z docker ps >/dev/null & b=$! 2026-10-24T12:27:32.260Z docker version >/dev/null & c=$! 2026-10-24T12:27:32.260Z failed=0 2026-10-24T12:27:32.260Z for p in $a $b $c; do wait "$p" || failed=1; done 2026-10-24T12:27:32.260Z echo "three docker commands at once, the daemon starting: $(( $(date +%s) - start )) s" 2026-10-24T12:27:32.260Z [ "$failed" = 0 ] || { echo "::error::a docker command failed while the daemon started"; exit 1; } 2026-10-24T12:27:32.260Z docker run --rm mirror.gcr.io/library/alpine:3.20 echo "container ok" 2026-10-24T12:27:32.260Z ##[endgroup] 2026-10-24T12:27:32.307Z Starting the Docker daemon 2026-10-24T12:27:34.059Z WARNING: No swap limit support 2026-10-24T12:27:34.064Z three docker commands at once, the daemon starting: 2 s 2026-10-24T12:27:34.097Z Unable to find image 'mirror.gcr.io/library/alpine:3.20' locally 2026-10-24T12:27:34.466Z 3.20: Pulling from library/alpine 2026-10-24T12:27:34.678Z 25f1d6b1951a: Pulling fs layer 2026-10-24T12:27:35.105Z 3a030ca3f633: Download complete 2026-10-24T12:27:35.204Z 25f1d6b1951a: Download complete 2026-10-24T12:27:35.240Z d4050d56ebf2: Download complete 2026-10-24T12:27:35.240Z 25f1d6b1951a: Pull complete 2026-10-24T12:27:35.240Z Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc 2026-10-24T12:27:35.240Z Status: Downloaded newer image for mirror.gcr.io/library/alpine:3.20 2026-10-24T12:27:35.461Z container ok 2026-10-24T12:27:35.679Z ##[group]Run pnpm exec vitest run test/docker.test.ts test/docker-wrapper.test.ts 2026-10-24T12:27:35.679Z ##[endgroup] 2026-10-24T12:27:36.516Z (!) 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-24T12:27:36.516Z - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-24T12:27:36.516Z - 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-24T12:27:36.516Z Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-24T12:27:36.555Z 2026-10-24T12:27:36.555Z RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-24T12:27:36.555Z 2026-10-24T12:27:45.562Z ✓ test/docker-wrapper.test.ts (4 tests) 8246ms 2026-10-24T12:27:45.562Z ✓ lets docker commands that arrive while the daemon is starting through, with the head start on 1188ms 2026-10-24T12:27:45.562Z ✓ gives up with a message, not a hang, when the daemon never comes up 3269ms 2026-10-24T12:27:45.562Z ✓ starts the registry relay and the daemon together 2141ms 2026-10-24T12:27:45.562Z ✓ starts the daemon again without the relay when the relay never comes up 1645ms 2026-10-24T12:27:57.149Z ✓ test/docker.test.ts (4 tests) 19752ms 2026-10-24T12:27:57.149Z ✓ runs steps and JavaScript actions in a job container next to a service container 8474ms 2026-10-24T12:27:57.149Z ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints 5885ms 2026-10-24T12:27:57.149Z ✓ fails a service that never gets healthy, and cleans up 4954ms 2026-10-24T12:27:57.149Z ✓ explains that containers need Docker 437ms 2026-10-24T12:27:57.158Z 2026-10-24T12:27:57.159Z Test Files 2 passed (2) 2026-10-24T12:27:57.159Z Tests 8 passed (8) 2026-10-24T12:27:57.159Z Start at 12:27:36 2026-10-24T12:27:57.159Z Duration 20.59s (transform 833ms, setup 0ms, import 1.27s, tests 28.00s, environment 0ms) 2026-10-24T12:27:57.160Z 2026-10-24T12:27:57.313Z Cache hit occurred on the primary key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, not saving cache. 2026-10-24T12:27:57.652Z Pruning is unnecessary. 2026-10-24T12:27:58.130Z Removing persisted credentials 2026-10-24T12:27:58.195Z Host: 1% of the vCPUs' time went to other work on the host (steal) 2026-10-24T12:27:58.195Z Job completed with conclusion: success 2026-10-24T12:27:58.196Z Resources: 0.6 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