The job runs as root in the runner's container, where sshd separates
privileges and needs /var/empty (root's, not writable by others) and the
sshd user; the image lacks the directory, so the test's sshd exited and
an_ssh_tunnel failed. A step makes both. The test now waits for its sshd
and, should it exit, says why.
Checked as root in docker.gitea.com/runner-images:ubuntu-24.04: the
end-to-end tests pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>