Runner and execution environment
Encyclopedia home · Search machine-readable catalog
The broken snippets are deliberate negative examples. Use only in an isolated fixture repository or lab.
F019
Runner label mismatch
Symptom. job stays queued.
Root cause. No runner advertises the requested label.
Broken example
runs-on: ubuntu-24.04Corrected example
runs-on: ubuntu-latestVerification. Compare exact labels in the server and use the configured one.
Correction validation syntax-validated.
F020
Runner service is stopped
Symptom. runner appears offline.
Root cause. Service state and logs were never checked.
Broken example
systemctl status act_runnerCorrected example
systemctl is-active act_runner
journalctl -u act_runner --since '10 minutes ago' --no-pagerVerification. Diagnose startup and restart only the authorized service.
Correction validation syntax-validated.
F021
Wrong operating-system command
Symptom. apt-get command not found.
Root cause. Linux package manager was used on Windows.
Broken example
runs-on: windows-latest
steps:
- run: apt-get --versionCorrected example
runs-on: ubuntu-latest
steps:
- run: apt-get --versionVerification. Verify the run logs show Ubuntu.
Correction validation syntax-validated.
F022
Bash syntax executed in sh
Symptom. [[: not found.
Root cause. Double brackets are Bash syntax.
Broken example
shell: sh
run: '[[ -f README.md ]]'Corrected example
shell: bash
run: '[[ -f README.md ]]'Verification. Check shell selection and exit status.
Correction validation syntax-validated.
F023
Relative path assumes runner workspace root
Symptom. file or directory not found tests.
Root cause. Tests live one subdirectory below checkout.
Broken example
pytest -q testsCorrected example
cd service
pytest -q testsVerification. Print pwd and list the test path in context.
Correction validation syntax-validated.
F024
Missing Docker socket access
Symptom. cannot connect to Docker daemon or permissions denied.
Root cause. Docker CLI exists without reachable daemon.
Broken example
docker build .Corrected example
docker info --format '{{.ServerVersion}}'
docker build .Verification. Use a trusted builder with intentionally provisioned access.
Correction validation syntax-validated.
F025
Missing executable bit
Symptom. Permission denied.
Root cause. Linux relies on executable mode or an explicit interpreter.
Broken example
./ci/verify.shCorrected example
bash ci/verify.shVerification. Commit executable mode if direct execution is needed.
Correction validation syntax-validated.
F026
Wrong CPU architecture
Symptom. Exec format error.
Root cause. An arm64 executable cannot run natively on x86-64.
Broken example
./dist/agent-arm64Corrected example
test "$(uname -m)" = aarch64
./dist/agent-arm64Verification. Run on an arm64 host or use a matching artifact.
Correction validation syntax-validated.
F027
Job exceeds runner disk capacity
Symptom. no space left on device.
Root cause. Build layers and workspace compete for storage.
Broken example
docker build -t web:ci .Corrected example
df -h .
docker system df
docker build -t web:ci .Verification. Use disposable workers or owner-approved cleanup after measuring.
Correction validation syntax-validated.
F028
Host-only name unavailable in job container
Symptom. connection refused.
Root cause. Loopback inside a container refers to the container.
Broken example
curl -fsS http://localhost:3000/api/v1/versionCorrected example
curl -fsS "${GITEA_URL:?}/api/v1/version"Verification. Supply an approved host name reachable from the job network.
Correction validation syntax-validated.