Skip to content

ci: Pin openSUSE to second-to-last Tumbleweed snapshot#4368

Merged
behrmann merged 2 commits into
systemd:mainfrom
martinpitt:opensuse-snapshot-prev
Jun 22, 2026
Merged

ci: Pin openSUSE to second-to-last Tumbleweed snapshot#4368
behrmann merged 2 commits into
systemd:mainfrom
martinpitt:opensuse-snapshot-prev

Conversation

@martinpitt

Copy link
Copy Markdown
Contributor

This is a version of #4366 without the third commit that moves to metalink. metalink is good for using more mirrors, and auto-falling back away from broken ones (of which there are plenty). However, the metalink entry point slc-mirror.opensuse.org is itself unreliable: example, example, example.

So we now need to pick our poison: Fail onslc-mirror as above, or fail on individual broken mirrors like this.

Both this PR and #4366 improve the current situation where almost every opensuse run fails, but neither can bring reliable test runs 😢 that really needs fixing the opensuse mirror situation.

See #4365 for details.

If tests build an image with a particular `Snapshot=` (as the next
commit will do), we need extension builds to
use the same snapshot, so that (1) they match the base image, and (2)
avoid trying to download newer packages from mirrors which don't have
these yet.

Read the snapshot from the main mkosi.local.conf and pass it along in
`ImageConfig`, for the `--directory ...` extension builds in
tests/test_extension.py.
openSUSE Tumbleweed US mirrors frequently lag behind freshly published
snapshots. On US-based GitHub action runners the geo-redirector routes
to US mirrors that haven't rsync'd the latest snapshot yet, so
zypper/dnf get 404s and timeouts on every mirror and abort. (This never
reproduces in Germany, as the primary mirrors in Nürnberg sync very
quickly.)

Pin the second-to-last published snapshot for openSUSE image builds,
which should have had time to propagate to all mirrors.

Fixes half of systemd#4365.
@martinpitt

Copy link
Copy Markdown
Contributor Author

As expected, that failure is due to a broken/hanging mirror and zypper not falling back to a different one. Without mirrorlink zypper has no other fallbacks, so that's now in "we have to live with this" territory. @behrmann can we land this one for now, and I shelve #4366?

@behrmann behrmann merged commit dc295cf into systemd:main Jun 22, 2026
89 of 91 checks passed
@behrmann

Copy link
Copy Markdown
Contributor

It's already a very decent improvement over the status quo ante. Thanks, Martin!

@martinpitt martinpitt deleted the opensuse-snapshot-prev branch June 22, 2026 07:58
@martinpitt martinpitt mentioned this pull request Jun 22, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants