Skip to content

ci(test-install): accept point-zero tarball names in latest-install verify - #61

Merged
tmiland merged 1 commit into
tmiland:mainfrom
tmiland-labs:fix/latest-verify-xy0
Oct 26, 2026
Merged

tmiland merged 1 commit into
tmiland:mainfrom
tmiland-labs:fix/latest-verify-xy0

Conversation

@tmiland-labs

@tmiland-labs tmiland-labs commented Oct 19, 2026 •

Copy link
Copy Markdown

The first scheduled run of the workflow (39240990052, main@0d1e3fa) failed both latest-install jobs at Verify installation — on installs that were actually fine. In both containers the installer resolved Stable: 7.3, downloaded and PGP-verified /opt/linux-kernel/linux-7.3.tar.xz, built, and installed kernel release 7.3.0 (/boot/vmlinuz-7.3.0 present).

Root cause is the verify step's own grep, not the installer:

grep -q "Downloaded and verified .*linux-${ver}\.tar\.xz" /var/log/kernel_installer.log

${ver} is read back from /boot/vmlinuz-* → 7.3.0, but kernel.org drops the trailing .0 from point-zero stable tarballs:

linux-7.3.tar.xz   -> 200
linux-7.3.0.tar.xz -> 404

so the assertion could never match for an x.y.0 stable release. It passed on 2026-10-18 only because stable was 7.2.11, where the tarball name equals the kernel release.

Fix: strip a trailing .0 before matching (${ver%.0}). This keeps the original intent — the built release must be the one that was downloaded and PGP-verified: 7.2.11 is unchanged, 7.3.0 matches linux-7.3.tar.xz, and a real mismatch (e.g. built 7.4.0 vs downloaded 7.3) still fails.

Confirmation

  • Dispatch on labs: 39258900352 (workflow_dispatch @ 2895c31) — 11/12 green, including both latest-install jobs:
    • Latest stable Debian 13 (trixie): + grep -q Downloaded and verified .*linux-7.3\.tar\.xz /var/log/kernel_installer.log → Current stable kernel 7.3.0 installed successfully on Debian GNU/Linux 13 (trixie)
    • Latest stable Fedora 44: Current stable kernel 7.3.0 installed successfully on Fedora Linux 44 (Container Image)
    • The single red job, Mainline Ubuntu 24.04 (noble), is an unrelated transient: it died unpacking the linux-7.3-rc7.tar.gz git.kernel.org snapshot (gzip: stdin: invalid compressed data--format violated right after wget reported the file saved) — the same job passed on this same commit in the PR-triggered run 39258956640, and Mainline Fedora 44 was green in the same dispatch.
  • PR checks: all green — Lint, Tests, Test kernel install (11 checks pass; the latest-stable jobs correctly skip on pull_request).

Local gates before push: 13/13 tests/test_*.sh PASS, workflow YAML parses, IP guard clean.

…erify

kernel.org drops the trailing .0 from point-zero stable tarballs: the
7.3.0 release ships as linux-7.3.tar.xz, so the verify grep for
linux-${ver}.tar.xz could never match and the first scheduled run
(39240990052) failed both latest-install jobs on a correct install.
@tmiland
tmiland merged commit 8c4fd86 into tmiland:main Oct 26, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants