2026-10-23T15:02:34.028Z Diffinery runner: job runner-docker (End-to-end (runner Docker)) for codician/diffinery@5f1a891e1070 2026-10-23T15:02:34.035Z Runner: image diffinery-runner:4d3bf17f06575e64ab4155b3, in ams19, WEUR, container 183d697157d13771d9ce00d78b43d29687beca64d4691c13f36d40831e65e700 2026-10-23T15:02:34.035Z Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), an earlier run of this job wasn't measured; runs-on: diffinery-large (or -medium, -small, -tiny) sets a size 2026-10-23T15:02:34.035Z Host: AMD EPYC (family 25, model 17), 4 vCPUs, 2550 MHz 2026-10-23T15:02:34.035Z Workspace: /workspace/diffinery 2026-10-23T15:02:34.176Z ##[group]Run actions/checkout@v4 2026-10-23T15:02:34.176Z ##[endgroup] 2026-10-23T15:02:34.178Z Syncing repository: codician/diffinery 2026-10-23T15:02:34.268Z Fetching the repository (depth 1) 2026-10-23T15:02:35.269Z remote: Enumerating objects: 781, done. 2026-10-23T15:02:35.503Z Receiving objects: 0% (1/781) Receiving objects: 1% (8/781) Receiving objects: 2% (16/781) Receiving objects: 3% (24/781) Receiving objects: 4% (32/781) Receiving objects: 5% (40/781) Receiving objects: 6% (47/781) Receiving objects: 7% (55/781) Receiving objects: 8% (63/781) Receiving objects: 9% (71/781) Receiving objects: 10% (79/781) Receiving objects: 11% (86/781) Receiving objects: 12% (94/781) Receiving objects: 13% (102/781) Receiving objects: 14% (110/781) Receiving objects: 15% (118/781) Receiving objects: 16% (125/781) Receiving objects: 17% (133/781) Receiving objects: 18% (141/781) Receiving objects: 19% (149/781) Receiving objects: 20% (157/781) Receiving objects: 21% (165/781) Receiving objects: 22% (172/781) Receiving objects: 23% (180/781) Receiving objects: 24% (188/781) Receiving objects: 25% (196/781) Receiving objects: 26% (204/781) Receiving objects: 27% (211/781) Receiving objects: 28% (219/781) Receiving objects: 29% (227/781) Receiving objects: 30% (235/781) Receiving objects: 31% (243/781) Receiving objects: 32% (250/781) Receiving objects: 33% (258/781) Receiving objects: 34% (266/781) Receiving objects: 35% (274/781) Receiving objects: 36% (282/781) Receiving objects: 37% (289/781) Receiving objects: 38% (297/781) Receiving objects: 39% (305/781) Receiving objects: 40% (313/781) Receiving objects: 41% (321/781) Receiving objects: 42% (329/781) Receiving objects: 43% (336/781) Receiving objects: 44% (344/781) Receiving objects: 45% (352/781) Receiving objects: 46% (360/781) Receiving objects: 47% (368/781) Receiving objects: 48% (375/781) Receiving objects: 49% (383/781) Receiving objects: 50% (391/781) Receiving objects: 51% (399/781) Receiving objects: 52% (407/781) Receiving objects: 53% (414/781) Receiving objects: 54% (422/781) Receiving objects: 55% (430/781) Receiving objects: 56% (438/781) Receiving objects: 57% (446/781) Receiving objects: 58% (453/781) Receiving objects: 59% (461/781) Receiving objects: 60% (469/781) Receiving objects: 61% (477/781) Receiving objects: 62% (485/781) Receiving objects: 63% (493/781) Receiving objects: 64% (500/781) Receiving objects: 65% (508/781) Receiving objects: 66% (516/781) Receiving objects: 67% (524/781) Receiving objects: 68% (532/781) Receiving objects: 69% (539/781) Receiving objects: 70% (547/781) Receiving objects: 71% (555/781) Receiving objects: 72% (563/781) Receiving objects: 73% (571/781) Receiving objects: 74% (578/781) Receiving objects: 75% (586/781) Receiving objects: 76% (594/781) Receiving objects: 77% (602/781) Receiving objects: 78% (610/781) Receiving objects: 79% (617/781) Receiving objects: 80% (625/781) Receiving objects: 81% (633/781) Receiving objects: 82% (641/781) Receiving objects: 83% (649/781) Receiving objects: 84% (657/781) Receiving objects: 85% (664/781) Receiving objects: 86% (672/781) Receiving objects: 87% (680/781) Receiving objects: 88% (688/781) Receiving objects: 89% (696/781) Receiving objects: 90% (703/781) Receiving objects: 91% (711/781) Receiving objects: 92% (719/781) Receiving objects: 93% (727/781) Receiving objects: 94% (735/781) Receiving objects: 95% (742/781) Receiving objects: 96% (750/781) Receiving objects: 97% (758/781) remote: Total 781 (delta 0), reused 781 (delta 0) 2026-10-23T15:02:35.504Z Receiving objects: 98% (766/781) Receiving objects: 99% (774/781) Receiving objects: 100% (781/781) Receiving objects: 100% (781/781), 3.57 MiB | 15.48 MiB/s, done. 2026-10-23T15:02:35.517Z From https://diffinery.com/codician/diffinery 2026-10-23T15:02:35.517Z * [new ref] 5f1a891e1070aa1cef0d78cbdb01c9c5c4a50536 -> origin/diffinery-checkout 2026-10-23T15:02:35.628Z Note: switching to '5f1a891e1070aa1cef0d78cbdb01c9c5c4a50536'. 2026-10-23T15:02:35.628Z 2026-10-23T15:02:35.628Z You are in 'detached HEAD' state. You can look around, make experimental 2026-10-23T15:02:35.628Z changes and commit them, and you can discard any commits you make in this 2026-10-23T15:02:35.628Z state without impacting any branches by switching back to a branch. 2026-10-23T15:02:35.628Z 2026-10-23T15:02:35.628Z If you want to create a new branch to retain commits you create, you may 2026-10-23T15:02:35.628Z do so (now or later) by using -c with the switch command. Example: 2026-10-23T15:02:35.628Z 2026-10-23T15:02:35.628Z git switch -c 2026-10-23T15:02:35.628Z 2026-10-23T15:02:35.628Z Or undo this operation with: 2026-10-23T15:02:35.628Z 2026-10-23T15:02:35.628Z git switch - 2026-10-23T15:02:35.628Z 2026-10-23T15:02:35.628Z Turn off this advice by setting config variable advice.detachedHead to false 2026-10-23T15:02:35.628Z 2026-10-23T15:02:35.628Z HEAD is now at 5f1a891 Merge 1b49740706432015a98a070b14614e88af4bc4a8 into 294f5fa63e01248d04a89f599af9d874033dcc94 2026-10-23T15:02:35.633Z HEAD is now at 5f1a891e1070aa1cef0d78cbdb01c9c5c4a50536 2026-10-23T15:02:35.737Z Download action repository 'pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1' 2026-10-23T15:02:36.078Z ##[group]Run pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 2026-10-23T15:02:36.078Z with: 2026-10-23T15:02:36.078Z dest: ~/setup-pnpm 2026-10-23T15:02:36.078Z run_install: null 2026-10-23T15:02:36.078Z cache: false 2026-10-23T15:02:36.078Z cache_dependency_path: pnpm-lock.yaml 2026-10-23T15:02:36.078Z package_json_file: package.json 2026-10-23T15:02:36.078Z standalone: false 2026-10-23T15:02:36.078Z ##[endgroup] 2026-10-23T15:02:36.284Z ##[group]Running self-installer... 2026-10-23T15:02:37.053Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-23T15:02:37.062Z Packages: +1 2026-10-23T15:02:37.062Z + 2026-10-23T15:02:37.620Z Progress: resolved 1, reused 0, downloaded 1, added 1, done 2026-10-23T15:02:37.657Z 2026-10-23T15:02:37.657Z dependencies: 2026-10-23T15:02:37.657Z + pnpm 10.28.0 (12.15.0 is available) 2026-10-23T15:02:37.657Z 2026-10-23T15:02:37.662Z Done in 1.1s 2026-10-23T15:02:37.685Z ##[endgroup] 2026-10-23T15:02:37.686Z Installation Completed! 2026-10-23T15:02:37.812Z ##[group]Run actions/setup-node@v4 2026-10-23T15:02:37.812Z with: 2026-10-23T15:02:37.812Z node-version: 22 2026-10-23T15:02:37.812Z cache: pnpm 2026-10-23T15:02:37.812Z ##[endgroup] 2026-10-23T15:02:37.820Z Found in cache @ 22.22.0 (pre-installed node satisfies '22') 2026-10-23T15:02:38.370Z pnpm cache is not found 2026-10-23T15:02:38.433Z ##[group]Run pnpm install --frozen-lockfile 2026-10-23T15:02:38.433Z ##[endgroup] 2026-10-23T15:02:38.778Z Scope: all 8 workspace projects 2026-10-23T15:02:38.860Z Lockfile is up to date, resolution step is skipped 2026-10-23T15:02:38.904Z Progress: resolved 1, reused 0, downloaded 0, added 0 2026-10-23T15:02:38.931Z Packages: +251 2026-10-23T15:02:38.931Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2026-10-23T15:02:39.906Z Progress: resolved 251, reused 0, downloaded 80, added 33 2026-10-23T15:02:40.906Z Progress: resolved 251, reused 0, downloaded 147, added 71 2026-10-23T15:02:41.907Z Progress: resolved 251, reused 0, downloaded 195, added 90 2026-10-23T15:02:42.910Z Progress: resolved 251, reused 0, downloaded 241, added 106 2026-10-23T15:02:43.909Z Progress: resolved 251, reused 0, downloaded 244, added 250 2026-10-23T15:02:44.078Z Progress: resolved 251, reused 0, downloaded 245, added 251, done 2026-10-23T15:02:44.273Z .../node_modules/workerd postinstall$ node install.js 2026-10-23T15:02:44.274Z .../node_modules/workerd postinstall$ node install.js 2026-10-23T15:02:44.275Z .../esbuild@0.28.1/node_modules/esbuild postinstall$ node install.js 2026-10-23T15:02:44.276Z .../esbuild@0.25.11/node_modules/esbuild postinstall$ node install.js 2026-10-23T15:02:45.546Z .../esbuild@0.25.12/node_modules/esbuild postinstall$ node install.js 2026-10-23T15:02:45.656Z .../node_modules/workerd postinstall: Done 2026-10-23T15:02:45.666Z .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js 2026-10-23T15:02:45.961Z .../esbuild@0.28.2/node_modules/esbuild postinstall: Done 2026-10-23T15:02:45.966Z .../esbuild@0.28.1/node_modules/esbuild postinstall: Done 2026-10-23T15:02:45.967Z .../esbuild@0.25.11/node_modules/esbuild postinstall: Done 2026-10-23T15:02:46.045Z .../esbuild@0.25.12/node_modules/esbuild postinstall: Done 2026-10-23T15:02:46.048Z .../node_modules/workerd postinstall: Done 2026-10-23T15:02:46.589Z 2026-10-23T15:02:46.589Z devDependencies: 2026-10-23T15:02:46.589Z + turbo 2.11.7 2026-10-23T15:02:46.589Z + typescript 5.9.3 2026-10-23T15:02:46.589Z 2026-10-23T15:02:47.176Z Done in 8.7s using pnpm v10.28.0 2026-10-23T15:02:47.340Z ##[group]Run pnpm --filter @diffinery/runner build 2026-10-23T15:02:47.340Z ##[endgroup] 2026-10-23T15:02:47.766Z 2026-10-23T15:02:47.766Z > @diffinery/runner@0.1.0 build /workspace/diffinery/containers/runner 2026-10-23T15:02:47.766Z > 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-23T15:02:47.766Z 2026-10-23T15:02:47.826Z 2026-10-23T15:02:47.827Z dist/agent.mjs 684.1kb 2026-10-23T15:02:47.827Z 2026-10-23T15:02:47.827Z ⚡ Done in 46ms 2026-10-23T15:02:47.905Z ##[group]Run set -euo pipefail 2026-10-23T15:02:47.905Z as_root() { if [ "$(id -u)" = 0 ]; then "$@"; else sudo "$@"; fi; } 2026-10-23T15:02:47.905Z if [ ! -f /opt/diffinery/agent.mjs ] || ! grep -q "registry relay" /usr/local/bin/docker 2>/dev/null; then 2026-10-23T15:02:47.905Z echo "::error::this job needs a Diffinery hosted runner (its docker wrapper and agent)" 2026-10-23T15:02:47.905Z exit 1 2026-10-23T15:02:47.905Z fi 2026-10-23T15:02:47.905Z as_root pkill -x dockerd || true 2026-10-23T15:02:47.905Z as_root pkill -f -- "--registry-relay" || true 2026-10-23T15:02:47.905Z for _ in $(seq 1 60); do pgrep -x dockerd >/dev/null || break; sleep 0.5; done 2026-10-23T15:02:47.905Z as_root rm -f /run/diffinery-dockerd.ready 2026-10-23T15:02:47.905Z as_root cp --remove-destination containers/runner/image/docker /usr/local/bin/docker 2026-10-23T15:02:47.905Z as_root cp --remove-destination containers/runner/image/daemon.json /etc/docker/daemon.json 2026-10-23T15:02:47.905Z as_root cp --remove-destination containers/runner/dist/agent.mjs /opt/diffinery/agent.mjs 2026-10-23T15:02:47.905Z ##[endgroup] 2026-10-23T15:03:19.435Z ##[group]Run set -uo pipefail 2026-10-23T15:03:19.435Z start=$(date +%s) 2026-10-23T15:03:19.435Z docker info >/dev/null & a=$! 2026-10-23T15:03:19.435Z docker ps >/dev/null & b=$! 2026-10-23T15:03:19.435Z docker version >/dev/null & c=$! 2026-10-23T15:03:19.435Z failed=0 2026-10-23T15:03:19.435Z for p in $a $b $c; do wait "$p" || failed=1; done 2026-10-23T15:03:19.435Z echo "three docker commands at once, the daemon starting: $(( $(date +%s) - start )) s" 2026-10-23T15:03:19.435Z [ "$failed" = 0 ] || { echo "::error::a docker command failed while the daemon started"; exit 1; } 2026-10-23T15:03:19.435Z docker run --rm mirror.gcr.io/library/alpine:3.20 echo "container ok" 2026-10-23T15:03:19.435Z ##[endgroup] 2026-10-23T15:03:19.475Z Starting the Docker daemon 2026-10-23T15:03:21.474Z WARNING: No swap limit support 2026-10-23T15:03:21.478Z three docker commands at once, the daemon starting: 2 s 2026-10-23T15:03:21.505Z Unable to find image 'mirror.gcr.io/library/alpine:3.20' locally 2026-10-23T15:03:21.840Z 3.20: Pulling from library/alpine 2026-10-23T15:03:22.210Z 25f1d6b1951a: Pulling fs layer 2026-10-23T15:03:22.413Z 3a030ca3f633: Download complete 2026-10-23T15:03:22.512Z 25f1d6b1951a: Download complete 2026-10-23T15:03:22.561Z d4050d56ebf2: Download complete 2026-10-23T15:03:22.561Z 25f1d6b1951a: Pull complete 2026-10-23T15:03:22.561Z Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc 2026-10-23T15:03:22.561Z Status: Downloaded newer image for mirror.gcr.io/library/alpine:3.20 2026-10-23T15:03:22.851Z container ok 2026-10-23T15:03:23.064Z ##[group]Run pnpm exec vitest run test/docker.test.ts test/docker-wrapper.test.ts 2026-10-23T15:03:23.064Z ##[endgroup] 2026-10-23T15:03:23.692Z (!) 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-23T15:03:23.692Z - import "../../vitest.shared" without a file extension (vitest.config.ts:2:26). Add the file extension 2026-10-23T15:03:23.692Z - 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-23T15:03:23.692Z Set `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning. 2026-10-23T15:03:23.721Z 2026-10-23T15:03:23.721Z RUN v4.1.11 /workspace/diffinery/containers/runner 2026-10-23T15:03:23.721Z 2026-10-23T15:03:32.475Z ✓ test/docker-wrapper.test.ts (4 tests) 8117ms 2026-10-23T15:03:32.475Z ✓ lets docker commands that arrive while the daemon is starting through, with the head start on 1153ms 2026-10-23T15:03:32.475Z ✓ gives up with a message, not a hang, when the daemon never comes up 3222ms 2026-10-23T15:03:32.475Z ✓ starts the registry relay and the daemon together 2106ms 2026-10-23T15:03:32.475Z ✓ starts the daemon again without the relay when the relay never comes up 1634ms 2026-10-23T15:03:41.244Z ✓ test/docker.test.ts (4 tests) 16811ms 2026-10-23T15:03:41.244Z ✓ runs steps and JavaScript actions in a job container next to a service container 6685ms 2026-10-23T15:03:41.244Z ✓ runs docker:// steps and Dockerfile actions with inputs, outputs, args and post entrypoints 5115ms 2026-10-23T15:03:41.244Z ✓ fails a service that never gets healthy, and cleans up 4624ms 2026-10-23T15:03:41.244Z ✓ explains that containers need Docker 384ms 2026-10-23T15:03:41.248Z 2026-10-23T15:03:41.249Z Test Files 2 passed (2) 2026-10-23T15:03:41.249Z Tests 8 passed (8) 2026-10-23T15:03:41.249Z Start at 15:03:23 2026-10-23T15:03:41.249Z Duration 17.52s (transform 666ms, setup 0ms, import 1.04s, tests 24.93s, environment 0ms) 2026-10-23T15:03:41.249Z 2026-10-23T15:03:43.636Z Cache Size: ~216 MB (226950615 B) 2026-10-23T15:03:43.661Z ##[warning]Failed to save: Unable to reserve cache with key node-cache-Linux-x64-pnpm-42d02c0263a3b5f911ed6ae8e9210922b97166ca02e60b2c70c55dfa1f00371b, another job may be creating this cache. 2026-10-23T15:03:43.929Z Pruning is unnecessary. 2026-10-23T15:03:43.998Z Removing persisted credentials 2026-10-23T15:03:44.032Z Host: 1% of the vCPUs' time went to other work on the host (steal) 2026-10-23T15:03:44.032Z Job completed with conclusion: success 2026-10-23T15:03:44.033Z Resources: 0.7 of 4 vCPUs busy on average (3.0 at the 95th percentile), peak memory 1.6 GiB of 11.9 GiB, peak disk 2.5 GB of 19.2 GB