Skip to content

Run the ISO end-to-end tests on the archive-1 runners - #740

Open
Marketen wants to merge 4 commits into
masterfrom
marc/iso-e2e-self-hosted
Open

Marketen wants to merge 4 commits into
masterfrom
marc/iso-e2e-self-hosted

Conversation

@Marketen

@Marketen Marketen commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

The Debian and Ubuntu unattended ISO tests now run on our archive-1 org runners (archive-org-2, archive-org-3) instead of ubuntu-latest. This works towards the decision of 14 October to move the installer repo's Actions minutes off GitHub. Pull requests from forks still run on ubuntu-latest, so outside code never runs on our machines.

Why more than a runs-on change

A GitHub-hosted runner is thrown away after each job; ours are not. Each job uses sudo to create a TAP interface, iptables NAT rules and a dnsmasq, and Docker leaves root-owned ISOs in the workspace. So each job now:

  • uses its own TAP interface, subnet and MAC (Debian dne2e0 / 192.168.77.0/24, Ubuntu dne2e1 / 192.168.78.0/24), so both can run on one host at the same time;
  • removes a guest network left over by a cancelled run before creating its own, and removes it and the ISO and log output when it finishes;
  • takes back root-owned files in the workspace before checkout.
  • runs the ISO build in its own Compose project and removes that project's container, network and image afterwards. Both jobs check out into a directory named DAppNode, so on one Docker host they would otherwise share and remove each other's installer container.

e2e_network.sh down also stops a dnsmasq whose pid file was lost.

What the runner needs

  • /dev/kvm. Without it the install falls back to TCG emulation and runs past the 90-minute timeout. The job warns when KVM is missing.
  • Docker with compose. The ISO build runs a privileged container.
  • apt and passwordless sudo for the runner user.
  • About 40 GB free disk. The guest disk is a 32 GB qcow2, plus the ISO and Docker layers.

This PR's own e2e runs are the first on these runners and confirm whether those requirements are met.

Checks

  • actionlint 1.7.7: no new findings. It only reports the existing timezone: key on the schedule, which is already on master and works.
  • shellcheck 0.10.0 on test/e2e_network.sh: clean.

🤖 Generated with Claude Code

The Debian and Ubuntu unattended ISO tests run on the runner named by the
ISO_E2E_RUNNER repository variable, or on ubuntu-latest while it is unset.
Pull requests from forks always stay on ubuntu-latest.

A self-hosted host is reused between runs, so each job now:
- uses its own TAP interface, subnet and MAC, so both can run on one host;
- clears a leftover guest network before creating its own, and removes it
  and the build output afterwards;
- takes back root-owned files a cancelled run left in the workspace.

Removing the network also stops a dnsmasq whose pid file was lost.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Marketen
Marketen requested a review from a team as a code owner November 19, 2026 16:51
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Marketen Marketen changed the title Let the ISO end-to-end tests run on a self-hosted runner Run the ISO end-to-end tests on the ipfs-dev-gateway runners Nov 19, 2026
Marketen and others added 2 commits November 19, 2026 18:00
Each ISO job gets its own Compose project, so the Debian and Ubuntu jobs
cannot share or remove each other's installer container on one Docker host,
and removes its installer container, network and image when it finishes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Marketen Marketen changed the title Run the ISO end-to-end tests on the ipfs-dev-gateway runners Run the ISO end-to-end tests on the archive-1 runners Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant