ci(test): harden podman install against opensuse mirror flakes (bd openlock-k3g)#53
Merged
Conversation
vessux
added a commit
that referenced
this pull request
May 30, 2026
…p race (bd openlock-eh8) (#55) post-create-exec-proxy.test.ts was the one echo-mode integration test still on bare `curl -sf`, missing the `--retry 5 --retry-all-errors` hardening its siblings (harness-cred-inject, openrouter-opencode-cred-inject) received in #38. That gap is why it became the recurring exit-56 flake locus on #52/#53/#54. exit 56 = curl CURLE_RECV_ERROR from the in-container echo proxy on first egress, relayed faithfully through ssh (ssh's own transport failures are 255, never 56) — NOT an ssh transport drop as previously suspected. `curl -s` was muting curl's error, which presented as "empty stdout/stderr". - add `--retry 5 --retry-all-errors --retry-delay 1` to the post-create exec test - switch all three flaking tests `-sf` -> `-sSf` so a retries-exhausted failure surfaces curl's real error instead of being silently muted bd openlock-eh8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
live-integration (podman)job installs podman 5.x from the alvistack OBS repo via thedownload.opensuse.orgmirror redirector. The redirector routes apt to regional mirrors that intermittently serve half-synced.debs, so apt rejects them (File has unexpected size … Mirror sync in progress?, exit 100) and the job fails before any openlock code runs. This blocked PR #52 on three consecutive runs (2026-05-30, all onslc-mirror.opensuse.org). It's a well-known openSUSE mirror-infra issue (MirrorCache#600, containers/podman#14278) — not our code;apt-get update/--fix-missingdon't fix it.Fix
downloadcontent.opensuse.org(openSUSE's canonical content host) instead of the mirror redirector. Its index and packages are always mutually consistent — eliminating the mid-sync class at the source. Applied to both theRelease.keyfetch and the apt source line.apt-get update && install(3 tries,apt-get clean+ sleep between,if-condition form so a failed attempt doesn't tripset -e) +-o Acquire::Retries=3, as belt-and-suspenders for any transient blip.ubuntu-24.04runners ship 4.9.3, which mis-parses the Containerfile heredoc (bd openlock-sjr).Test plan
bash -n.live-integration (podman)job going green (and thedockervariant staying green).Closes bd openlock-k3g.