Skip the appliance test only on 404, and stop forcing IPv6 on the probe #4
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/.github!4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/appliance-skip-only-on-404"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rehearsing the job on
keel-lxc-1from a clean clone of keel-coremastershowed the skip swallowing a failure:
Two faults in one step.
The skip was too generous. The probe was
curl -6 -fsSand anything otherthan success meant "not published yet", so an unreachable mirror produced a
green check that had tested nothing, which is the opposite of what a gate is
for. It now reads the HTTP status: 200 runs the test, 404 skips with the notice
and the summary section, and everything else, a transport failure included,
fails the job with the status or the curl exit code in the message. Two retries
cover a transient hiccup.
Forcing IPv6 broke the probe on the only runner there is. The mirror is
served by the same VM the runner runs on, and that VM resolves its own public
names to itself (
resolvectl query mirror.keellinux.organswers127.0.1.1,Data from: synthetic), so there is no AAAA record to force andcurl -6could not resolve the name at all.
keel pullnever forced a family, which iswhy it worked throughout; the resolver picks, and wherever the name has an AAAA
record the transfer goes over IPv6. On this runner the request does not leave
the machine, which is better than either family.
Test plan:
keel-lxc-1after the change: the probe answers 200,the parent check passes, and the boot test runs.
appliance / build-and-bootrun.