2026-10-16T16:55:27.529Z Diffinery runner: job upload (Upload phases (2)) for codician/diffinery@21d5fc9d2f72
2026-10-16T16:55:27.543Z Runner: image diffinery-runner:dfb768929ca5ce308febdab6, in ams13, WEUR, container 578a81d84689952c0d8527f3fbf268741b4efad922d45b926f054453dfc18fde
2026-10-16T16:55:27.543Z Runner size: large (4 vCPU, 12 GiB of memory, 20 GB of disk), asked for by runs-on
2026-10-16T16:55:27.543Z Host: AMD EPYC (family 25, model 1), 4 vCPUs, 2000 MHz
2026-10-16T16:55:27.546Z Workspace: /workspace/diffinery
2026-10-16T16:55:27.627Z ##[group]Run head -c 209715200 /dev/urandom > /tmp/blob.bin
2026-10-16T16:55:27.627Z ##[endgroup]
2026-10-16T16:55:34.420Z Download action repository 'actions/github-script@v7'
2026-10-16T16:55:34.782Z ##[group]Run actions/github-script@v7
2026-10-16T16:55:34.782Z with:
2026-10-16T16:55:34.782Z script: const fs = require("fs");
2026-10-16T16:55:34.782Z const tok = process.env.ACTIONS_RUNTIME_TOKEN;
2026-10-16T16:55:34.782Z const base = process.env.ACTIONS_RESULTS_URL;
2026-10-16T16:55:34.782Z const scp = JSON.parse(Buffer.from(tok.split(".")[1], "base64url").toString()).scp;
2026-10-16T16:55:34.782Z const [, run, job] = scp.split(" ").find((s) => s.startsWith("Actions.Results:")).split(":");
2026-10-16T16:55:34.782Z const twirp = async (m, body) => {
2026-10-16T16:55:34.783Z const r = await fetch(`${base}twirp/github.actions.results.api.v1.ArtifactService/${m}`, { method: "POST", headers: { authorization: `Bearer ${tok}`, "content-type": "application/json" }, body: JSON.stringify(body) });
2026-10-16T16:55:34.783Z if (!r.ok) throw new Error(`${m} ${r.status} ${await r.text()}`);
2026-10-16T16:55:34.783Z return r.json();
2026-10-16T16:55:34.783Z };
2026-10-16T16:55:34.783Z const ids = { workflow_run_backend_id: run, workflow_job_run_backend_id: job };
2026-10-16T16:55:34.783Z const data = fs.readFileSync("/tmp/blob.bin");
2026-10-16T16:55:34.783Z const MiB = 1024 * 1024;
2026-10-16T16:55:34.783Z for (const [bs, conc] of [[16, 8], [8, 16], [32, 4]]) {
2026-10-16T16:55:34.783Z const name = `bench-${process.env.N}-${bs}x${conc}`;
2026-10-16T16:55:34.783Z const { signed_upload_url: url } = await twirp("CreateArtifact", { ...ids, name, version: 4, mime_type: "application/octet-stream" });
2026-10-16T16:55:34.783Z const blocks = [];
2026-10-16T16:55:34.783Z for (let off = 0, i = 0; off < data.length; off += bs * MiB, i++) blocks.push(Buffer.from(`block-${String(i).padStart(8, "0")}`).toString("base64"));
2026-10-16T16:55:34.783Z let next = 0;
2026-10-16T16:55:34.783Z const t0 = Date.now();
2026-10-16T16:55:34.783Z const worker = async () => {
2026-10-16T16:55:34.783Z for (let i = next++; i < blocks.length; i = next++) {
2026-10-16T16:55:34.783Z const r = await fetch(`${url}&comp=block&blockid=${encodeURIComponent(blocks[i])}`, { method: "PUT", headers: { "x-ms-version": "2025-01-05" }, body: data.subarray(i * bs * MiB, Math.min(data.length, (i + 1) * bs * MiB)) });
2026-10-16T16:55:34.783Z if (r.status !== 201) throw new Error(`block ${r.status} ${await r.text()}`);
2026-10-16T16:55:34.783Z }
2026-10-16T16:55:34.783Z };
2026-10-16T16:55:34.783Z await Promise.all(Array.from({ length: conc }, worker));
2026-10-16T16:55:34.783Z const t1 = Date.now();
2026-10-16T16:55:34.783Z const xml = `${blocks.map((b) => `${b}`).join("")}`;
2026-10-16T16:55:34.783Z let tries = [];
2026-10-16T16:55:34.783Z for (let a = 0; a < 4; a++) {
2026-10-16T16:55:34.783Z const ta = Date.now();
2026-10-16T16:55:34.783Z const r = await fetch(`${url}&comp=blocklist`, { method: "PUT", headers: { "x-ms-version": "2025-01-05", "content-type": "application/xml", "x-ms-blob-content-type": "application/octet-stream" }, body: xml });
2026-10-16T16:55:34.783Z tries.push(`${r.status} after ${((Date.now() - ta) / 1000).toFixed(1)} s${r.status === 201 ? "" : " " + (await r.text()).slice(0, 120)}`);
2026-10-16T16:55:34.783Z if (r.status === 201) break;
2026-10-16T16:55:34.783Z }
2026-10-16T16:55:34.783Z core.info(`${name} block list: ${tries.join("; ")}`);
2026-10-16T16:55:34.783Z const t2 = Date.now();
2026-10-16T16:55:34.783Z await twirp("FinalizeArtifact", { ...ids, name, size: String(data.length) }).catch((e) => core.info(`finalize: ${e.message}`));
2026-10-16T16:55:34.783Z core.info(`${name}: ${blocks.length} blocks sent in ${((t1 - t0) / 1000).toFixed(1)} s (${(200 / ((t1 - t0) / 1000)).toFixed(0)} MiB/s), joined in ${((t2 - t1) / 1000).toFixed(1)} s`);
2026-10-16T16:55:34.783Z }
2026-10-16T16:55:34.783Z
2026-10-16T16:55:34.783Z github-token: ***
2026-10-16T16:55:34.783Z debug: false
2026-10-16T16:55:34.783Z user-agent: actions/github-script
2026-10-16T16:55:34.783Z result-encoding: json
2026-10-16T16:55:34.783Z retries: 0
2026-10-16T16:55:34.783Z retry-exempt-status-codes: 400,401,403,404,422
2026-10-16T16:55:34.783Z ##[endgroup]
2026-10-16T16:56:11.830Z bench-2-16x8 block list: 201 after 16.0 s
2026-10-16T16:56:25.547Z bench-2-16x8: 13 blocks sent in 14.7 s (14 MiB/s), joined in 16.0 s
2026-10-16T16:56:56.168Z bench-2-8x16 block list: 201 after 16.0 s
2026-10-16T16:56:59.245Z bench-2-8x16: 25 blocks sent in 9.5 s (21 MiB/s), joined in 16.0 s
2026-10-16T16:58:18.360Z bench-2-32x4 block list: 500 after 35.0 s InternalErrorinternal error; 201 after 17.3 s
2026-10-16T16:58:18.680Z bench-2-32x4: 7 blocks sent in 23.4 s (9 MiB/s), joined in 52.2 s
2026-10-16T16:58:18.818Z Host: 0% of the vCPUs' time went to other work on the host (steal)
2026-10-16T16:58:18.818Z Job completed with conclusion: success
2026-10-16T16:58:18.819Z Resources: 0.1 of 4 vCPUs busy on average (0.4 at the 95th percentile), peak memory 1.1 GiB of 11.9 GiB, peak disk 1.3 GB of 19.3 GB