Repository navigation
ci: kernel releases for the edge, nightly and stable channels - #3064
Conversation
Fleet kernels have been configured from a Fedora asahi base config kept outside the tree, with asahi.config and one lab line merged on top. That cannot be reproduced from the tree alone. aurora_defconfig is the savedefconfig output of that configuration at this commit. `make aurora_defconfig asahi.config` produces a .config identical to the fleet recipe here and to the 7.3.0-aurora-fleet87 kit config (same toolchain: clang 22.1.6, rustc 1.97.1, pahole 1.31). Regenerate it with savedefconfig when the fleet configuration changes; the release workflow warns when asahi.config has moved past it. Signed-off-by: Ryan Murray <[email protected]>
kernel-release.yml builds the fleet configuration on ubuntu-24.04-arm with the fleet toolchain versions pinned (LLVM 22.1.6, Rust 1.97.1, bindgen 0.73.2, pahole 1.31) and publishes: - aurora-edge: prerelease, moved to every push to main; a newer push cancels a running edge build. - aurora-nightly: prerelease, daily, only when main moved since the commit the aurora-nightly tag points at. - v*: a stable release per tag on a main commit, with generated notes. An existing stable release is never rebuilt or overwritten. Assets: Image.gz, the modules tree, DTBs, config, System.map, the module signing certificate, Arch packages from make pacman-pkg and SHA256SUMS. Modules are signed with a key generated for the run and deleted afterwards; the build fails if a tarball carries it. workflow_dispatch builds without publishing by default; pull requests that change the release machinery get the same build-only run. Signed-off-by: Ryan Murray <[email protected]>
Before a release is published, boot the built kernel on the QEMU virt machine and modprobe every module in modules.order, with a watchdog per module. Loading the KUnit modules runs their suites (kunit.enable=1 on the smoke command line only). A module whose init returns -ENODEV/-ENXIO found no hardware and counts as loaded. Any other load failure, hang, kernel warning, oops or panic, and any failing KUnit suite, fails the run unless kernel-smoke-expected.txt lists it with a reason. Warnings are pinned to the module being loaded through a marker written to /dev/kmsg. The Apple drivers find no hardware under QEMU; they are covered by the lab regression gate on real Macs. Signed-off-by: Ryan Murray <[email protected]>
|
Verdict at Blockers:
Checked: I reviewed the five changed files against the two distro consumer contracts, the effective channel ruleset, and the local fleet-equivalent config and package proof. QEMU smoke result and PR build are still tracked separately. EvidencePlease include |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: HOLD at 90292a2e51c2
Blockers:
.github/workflows/kernel-release.yml:252-258: no provenance attestation. The Edge consumers (fedora-aurora#508, alarm-aurora#442) rungh attestation verify linux-source.commit --signer-workflow …/kernel-release.yml, so the first publish could never be consumed. Fix: givepublishid-token: write+attestations: writeand addactions/attest-build-provenanceondist/source.commitanddist/SHA256SUMSafter the download and before line 288..github/workflows/kernel-release.yml:297and:305: ruleset 27978656 (refs/tags/aurora-*: creation, update, deletion, non_fast_forward; active) lets only OrganizationAdmin and DeployKey bypass.github.tokenis neither, so the tag create/PATCH, and with it every edge and nightly publish, will be rejected. A PR build never reaches this path. Fix: move the tag with the release deploy key (an environment-scoped secret on areleaseenvironment limited tomain), or add a narrowly scoped bypass actor with the owner, then prove one dispatch publish against the live rule..github/scripts/kernel-release-build.sh:116:tar -tf "$f" | grep -qunderset -o pipefailmisses the key. Whengrep -qexits on a match, tar takes SIGPIPE (141), the pipeline is false, and the guard passes. I reproduced it: a 30k-entry tar containingcerts/signing_key.pemgivesMISSED. Fix:list=$(tar -tf "$f") || { echo "::error::cannot list $f"; exit 1; }thengrep -q 'signing_key\.pem$' <<<"$list"..github/workflows/kernel-release.yml:28-31: thepull_requestpath filter leaves out.github/scripts/kernel-smoke-qemu.shand.github/scripts/kernel-smoke-expected.txt. A change to the release gate or its exception list would merge without a run, although the PR body says PRs changing these files get a build-only run. Fix: add both paths.- PR body, last line:
Assisted-by: LLM (…). Current org policy is no AI attribution in commits, PR bodies or comments. Fix: delete the line. The commits themselves are clean.
Checked:
- All four CI/script files at head were read in full, plus
aurora_defconfigpresence. Permissions default tocontents: readwithcontents: writeonly onpublish. Every${{ }}reachesrun:throughenv:(no injection).pull_requestrather than_target, and checkouts usepersist-credentials: false. The stable path is guarded: a tag must be an ancestor of main or ahotfix/branch,--verify-tagis used, and an existing release is never rebuilt. YAML parses. - 3 commits, all authored and committed by Ryan Murray, each with a human
Signed-off-byand no AI trailers. - CI at
90292a2e: host-tests, plan and readiness are green;buildis still running andsmokehas not started.
Evidence
Ruleset (live): 27978656 channel tags: aurora-* (owners + release deploy key), target tag, include refs/tags/aurora-*, rules creation/update/deletion/non_fast_forward, bypass OrganizationAdmin, DeployKey. 27978627 release tags: v* (owners only): the stable path only creates a release on an existing tag (--verify-tag), so it is not affected.
Guard repro: bash -c 'set -euo pipefail; if tar -tf a.tar | grep -q "signing_key\.pem$"; then echo DETECTED; else echo MISSED; fi' on a tar containing certs/signing_key.pem followed by 30000 files gives MISSED.
Non-blocking notes:
kernel-release.yml:54+:297-303:cancel-in-progresscovers the whole run, so a push to main that lands while an older run is inpublishcan cancel it after the tag moved but before the assets are replaced.source.committhen disagrees with the tag. The consumers fail closed, but edge stays broken until the next full build. Upload assets first and move the tag last, or givepublishits own non-cancelling concurrency group.- Under steady pushes (more than one per build of about 4 h), edge may never publish. Nightly covers that, but it is worth stating.
kernel-release.yml:3,:107:RELEASES.mdis referenced but is not in the tree at this head.kernel-release.yml:276: the notes say "built from … on main", which is wrong for ahotfix/stable tag.kernel-release.yml:181-192: the LLVM tarball and the rustup installer are fetched without a pinned checksum. For release artifacts, pin a sha256 for the LLVM tarball.- Stable: if
gh release createfails partway through the upload, the release exists with partial assets and a rerun refuses at:314. That is acceptable once immutable releases are on, but needs a documented manual recovery. - Actions are pinned to major tags (
@v4), consistent withhost-tests.ymlanddt-checks.yml. - No CODEOWNERS file in the repo.
- The smoke script's ENODEV/ENXIO handling, per-module watchdog, panic detection through the missing
SMOKE-END, and glob matching against the expected list all look correct.stale_expected_failuresis reported but not enforced, which is fine.
The aurora-* tags are protected by a ruleset whose only non-admin bypass is the release deploy key, and GITHUB_TOKEN cannot be given a bypass on a repository ruleset. Move aurora-edge and aurora-nightly over SSH with that key (secret RELEASE_DEPLOY_KEY): only forward (the new commit must contain the tagged one) and with a lease on the old value. Without the secret the job stops with a one-line message saying what to add. Signed-off-by: Ryan Murray <[email protected]>
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: HOLD at dcaea2516345
Blockers:
- Still open: no provenance attestation (
.github/workflows/kernel-release.yml:260-261).publishhas onlycontents: write. It has noid-token: writeorattestations: writeand noactions/attest-build-provenancestep fordist/source.commit/dist/SHA256SUMS. The Edge consumers (fedora-aurora#508, alarm-aurora#442) rungh attestation verify … --signer-workflow …/kernel-release.yml, so they would reject the first publish. - Still open: the private-key check misses the key under
pipefail(.github/scripts/kernel-release-build.sh:116,set -euo pipefailat:17). The code is unchanged:tar -tf "$f" | grep -q 'signing_key\.pem$'. Whengrep -qfinds a match it exits early, tar gets SIGPIPE (141), the pipeline counts as false, and a tarball that contains the key passes. Fix:list=$(tar -tf "$f") || exit 1; grep -q 'signing_key\.pem$' <<<"$list". - Still open: the PR path filter is incomplete (
kernel-release.yml:31-34)..github/scripts/kernel-smoke-qemu.shand.github/scripts/kernel-smoke-expected.txtare still missing, so a change to the release gate or its exception list merges without a run. The PR body says it gets one. - New with this head:
aurora-edgewould be both a tag and a branch. The new "Move the channel tag" step pushesrefs/tags/aurora-edge.refs/heads/aurora-edge(a8ae48f86da3) is still live, andfedora-aurora/alarm-aurorapublish-edge.ymlcompare against…aurora-edge, withedgelib.pyrecording'branch': 'aurora-edge'. After the first edge publish the short name is ambiguous, and git picks the tag, so the distro Edge gate would quietly change what it compares against. This is the same issue as #3054 review 6039402259. It needs a decision in #3064 or before it merges: archive or rename the branch (alsoaurora-rc/aurora-stableif they get channel tags later), or move the distro workflows to the fully qualifiedrefs/heads//refs/tags/form first.
Checked:
- What changed since
90292a2e51c2: one commit,dcaea2516345, touching onlykernel-release.yml(+42/-4). - Prior blocker 2 (ruleset) is resolved in code. The tags now move over SSH with
RELEASE_DEPLOY_KEY. Ruleset 27978656 (refs/tags/aurora-*: creation/update/deletion/non_fast_forward, active) letsDeployKeybypass. The move is forward-only (compareahead|identical) and uses--force-with-lease=refs/tags/$tag:$old. An empty$oldmeans "must not exist", which is correct for the first create.gh release createnow uses--verify-tag. Without the secret the step stops with a clear message. The repo has no deploy keys yet (GET /keysis empty), so edge and nightly cannot publish until the owner adds one. The PR body says so. - Prior blocker 5 (attribution) is resolved. The PR body no longer has the
Assisted-by:line, and the title is clean. All 4 commits are authored and committed by Ryan Murray, each has a humanSigned-off-by:, and none has an AI trailer. - CI at
dcaea2516345:plan✅,pr-text✅,readiness✅ (earlier duplicate runs were cancelled).host-testsandbuildwere still in progress when I posted, andsmokehad not started.
Evidence
gh api repos/aurora-silicon/linux/compare/90292a2e…dcaea251: only.github/workflows/kernel-release.ymlchanged. It adds the header comment, the "Move the channel tag" step, removes thegh api -X PATCH …/git/refs/tags/$tagcall, and changes--target "$SHA"to--verify-tag.git/matching-refs/heads/aurora-edge→refs/heads/aurora-edge a8ae48f86da3f0cd31a456fd9ea254b12e8d90a1.git/matching-refs/tags/aurora-→ none yet.- Ruleset 27978656 bypass:
OrganizationAdmin(always),DeployKey(always). - The guard repro from my last review still applies, because
kernel-release-build.shdid not change.
Non-blocking notes on the new step:
ssh-keyscan -t ed25519 github.comtrusts whatever key it is served. Pinning GitHub's published ed25519 host key inknown_hostsis cheap.rm -f ~/.ssh/release_keyonly runs on success. That is fine on an ephemeral hosted runner, but atrapis cleaner.secrets.RELEASE_DEPLOY_KEYis a repo-level secret. Scoping it to areleaseenvironment limited tomainwould keep it out of any future job that does not need it.- The tag now moves before the assets are replaced. The cancel-in-progress note from my last review still applies: a newer push can cancel
publishbetween the tag move and the upload, leavingsource.commitout of step with the tag until the next full build. Moving the tag last, or givingpublishits own concurrency group with no cancel, avoids this. - Earlier non-blocking notes still open:
RELEASES.mdis referenced but not in the tree, the release notes say "on main" for hotfix tags, and the LLVM tarball and rustup installer are fetched without a pinned checksum.
- Attest build provenance for every published asset; the distribution Edge publishers verify source.commit against kernel-release.yml. - Fix the private-key guard: grep -q at the end of a pipeline exits on the first match, tar takes SIGPIPE and, under pipefail, the match read as a pass. List the tarball first, then search the list. - Run the PR check when the smoke script or its exception list changes. - Serialise builds and publishing per channel instead of cancelling a running build: a running edge build always publishes, only the newest waiting one is kept, and a build older than the tagged commit does not publish. Publishing is never cancelled halfway. - Refuse to create a channel tag while a branch of the same name exists. - Build a stable release as a draft and publish it once every asset is uploaded, so a failed upload leaves a draft the next attempt replaces. - Pin the LLVM tarball checksum and GitHub's SSH host key; remove the deploy key on every exit; name the tag in stable release notes. Signed-off-by: Ryan Murray <[email protected]>
|
Fixed in
Also from the notes:
|
|
Verdict at Blockers:
Checked: The new head adds the expected provenance subjects and job grants, correctly reads the full tar listing before matching, and includes both smoke inputs as PR triggers. All shell scripts and embedded shell steps parse. The pinned SSH host key matches GitHub's published metadata. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: HOLD at 5b5b71ed
Blockers:
.github/workflows/kernel-release.yml:263-313:RELEASE_DEPLOY_KEYis read in a job that has noenvironment:. As a repository secret it is available to any workflow run that a writer pushes on any branch, and that key is the only non-admin bypass of theaurora-*tag ruleset. Fix: addenvironment: releasetopublish, or move the tag step into its own job with that environment. Limit the environment's deployment refs tomainplusv*tags so the stable path keeps working, and register the key as an environment secret, not a repository secret.
Checked: All 4 earlier blockers are addressed in the code. The provenance step attests dist/*, which includes source.commit and SHA256SUMS, before any tag or release changes. The key guard now reads the full listing first. Both smoke files are in the PR path filter. The branch/tag guard is in place. Commits and PR text carry human identity only. CI on 5b5b71ed is still queued (host-tests, plan, pr-text, readiness).
Evidence
- Prior blocker 1, provenance:
publishnow hasid-token: writeandattestations: write(l.270-273).actions/attest-build-provenance@v2runs ondist/*(l.287-290). That matches what fedora-aurora#508 and alarm-aurora#442 check:--signer-workflow .../kernel-release.yml --source-ref refs/heads/main --source-digest <commit>. - Prior blocker 2, key guard:
kernel-release-build.sh:115-123readslist=$(tar -tf "$f") || exit, then runsgrep -q ... <<<"$list". The"$D"/*.tar.*glob covers the modules/dtbs tarballs and every*.pkg.tar.zst. - Prior blocker 3, path filter: l.37-42 now list
kernel-smoke-qemu.shandkernel-smoke-expected.txt. - Prior blocker 4, ref collision: the guard at l.331-334 is correct and needed.
refs/heads/aurora-edgestill exists (a8ae48f8). Today'sfedora-aurora/.github/workflows/publish-edge.yml:97on main compares against the bare nameaurora-edge, and a new tag of that name would take precedence over the branch without any error. #508 and #442 already userefs%2Ftags%2Faurora-edgeexplicitly. - Cutover order (not a blocker for this PR, but it needs agreement because the first edge publish cannot happen until it is settled). One order that avoids a deadlock: merge this PR (edge runs stop at the tag step, which is the same state as a missing key). Then, with the branch owner's agreement, archive the branch at the same SHA and repoint the current publishers at the archive name. Next, add the environment secret and dispatch
publish: edgefor the first attested release. Finally, merge #508 and #442. The branch archive itself is still waiting on the owner's go-ahead. - Also verified: the pinned ed25519 host key matches
api.github.com/meta.bash -npasses on both scripts. A rolling tag that would move backwards is skipped, and an unrelated history fails. The draft-then-publish stable flow never touches a published release. - Non-blocking: rolling publish moves the tag (l.352) before it replaces assets (l.362). For a short window, consumers can see the new tag with the old
source.commit. They fail closed on that comparison, so this is acceptable.
Run the publish job in the release environment, which deploys only from main and v* tags, and keep RELEASE_DEPLOY_KEY there as an environment secret. A workflow run on any other branch cannot read the key that bypasses the aurora-* tag ruleset. Signed-off-by: Ryan Murray <[email protected]>
|
Fixed in Agreed on the cutover order you laid out: merge this (edge runs stop at the tag step until the key and the branch archive are done), archive |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: FINISH at 1f3b8a34
Blockers: none. The code is clean. What's left is CI: host-tests and build (with smoke after it) are still running on 1f3b8a34.
Checked: The delta from 5b5b71ed is one commit. It puts publish (kernel-release.yml:265-270) in environment: release. The live environment allows deployments only from main (branch) and v* (tag), so the RELEASE_DEPLOY_KEY step at :315-317 is now limited to edge/nightly/stable runs. The PR-run and the non-main dispatch paths never reach it. The earlier security blocker is resolved. The commits are by a human author and committer, with Signed-off-by: on all 6, and there is no attribution in the commits, title or body.
Evidence
compare/5b5b71edbb0e...1f3b8a34155d: one commit,.github/workflows/kernel-release.yml+5 -1 (the environment line plus header and job comments).environments/release:custom_branch_policies: true, policiesmain(branch) andv*(tag).- Triggers that reach
publish: a push tomain(edge), av*tag push (stable), a schedule on the default branch (nightly), and a dispatch onmain.planrejects a publishing dispatch from other refs, andpull_requestmaps tochannel=none. Every one of these runs on a ref the environment allows. - When the key is registered it must go in as an environment secret, not a repository secret, or this scoping does nothing (matches the "Still to run" step in the PR body).
- CI at
1f3b8a34:planpass,pr-textpass.host-tests,buildandreadinesspending. - Retiring the
aurora-edgebranch and registering the deploy key are still owner steps after merge. This review decides neither.
A branch named aurora-edge exists from the previous distribution Edge train. Read and move the channel tags only as refs/tags/<name> (the nightly check used the bare name) and drop the check that refused to create a tag while that branch exists; the branch is archived once the distribution publishers read the release. Signed-off-by: Ryan Murray <[email protected]>
|
Per the agreed cutover decision, |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: FINISH at ee1ce11e
Blockers: none
Checked: delta 1f3b8a34..ee1ce11e (one commit, kernel-release.yml +5/-8), commit messages, PR title/body, Ryan's 14:06Z comment, and live checks on ee1ce11e. The code is clean. I'll approve once host-tests, build and smoke are green on this head.
Evidence
- Nightly plan now reads
git/ref/heads/mainandgit/ref/tags/aurora-nightly(.object.sha). Before this,commits/aurora-nightlyresolved the bare name, and that name could match the existingaurora-edge-style branch. The channel tags are pushed as lightweight tags ($SHA:refs/tags/$tag), so.object.shais the commit SHA. Thelast = shaskip compares like with like. - The tag step still reads
git/ref/tags/$tagand pushes$SHA:refs/tags/$tagwith--force-with-lease=refs/tags/$tag:$old. An empty$oldmeans the tag must not exist yet. The forward-only check throughcompareis unchanged. - The same-name branch refusal is removed, as agreed for the cutover. Nothing else reads the bare name:
gh release view/edit/upload/create --verify-tagall resolve through the release/tag APIs, not branches. Live refs:heads/aurora-edgeexists (a8ae48f8), and there are notags/aurora-*yet, so the first edge publish creates the tag under the lease. environment: releaseonpublishis unchanged from1f3b8a34.RELEASE_DEPLOY_KEYis still only read in that job.- §4: all 7 commits are
Signed-off-by: Ryan Murrayonly. The PR title, body and commits have no AI attribution. - Checks on
ee1ce11e:plan,pr-text,readinesssucceeded.host-testsandbuildare in progress.smokeis queued behindbuild. - Left to the owner: archiving or renaming the
aurora-edgebranch, and creating theRELEASE_DEPLOY_KEYdeploy key and secret.
|
Verdict at Blockers: Exact build and smoke checks and the current independent approval are still open. The protected environment's rolling-channel credential awaits owner authorization. Checked: 13/13 Bash blocks parse. The writer reads and advances only qualified tag refs, preserves the existing branch, and verifies the tag when creating a release. The release environment still admits main and stable tags. The old Edge branch resolves, and the first Edge tag is still absent. After the first successful attested Edge release, switch the Fedora and ALARM consumers before archiving the branch. |
The virt machine adds a virtio NIC by default, whose option ROM (efi-virtio.rom) Ubuntu ships in ipxe-qemu, a recommended package the runner does not install, so QEMU exited before booting. The smoke run needs no network: pass -nic none. Signed-off-by: Ryan Murray <[email protected]>
|
Also in |
|
Checked the |
The native Ubuntu 24.04 runner's QEMU 8.2.2 timed out before userspace on the exact release Image. Ubuntu 26.04's QEMU 10.2.1 booted that Image and a control initramfs containing the release modules under local TCG. Move the smoke job to Ubuntu 26.04 ARM64. Log emulator version and early console diagnostics. Stop after five minutes without the smoke init marker, leaving the existing overall limit for module loads and KUnit. Keep native package build and publication jobs on their existing runners. Signed-off-by: Ryan Murray <[email protected]>
|
The hosted I tested the exact 68,028,928-byte CI Image. QEMU 8.2.2 from Ubuntu 24.04 timed out locally before userspace; enabling an early console showed Linux initialization. With the official release module files in the control initramfs, Ubuntu 26.04 QEMU 10.2.1 reached the static init marker and powered off in 24 seconds. QEMU 11.0.1 also passed the same control in 32 seconds. These controls use x86-64 TCG and exercise startup through init; the native ARM64 module and KUnit results are pending.
|
On the Ubuntu 26.04 ARM runner the whole smoke run passed except raid6_kunit, which took longer than the 120 s per-module watchdog; its suite then passed (442 KUnit suites passed in that run). Raise the watchdog to 300 s; it only costs time when a module really hangs. Emulate pointer authentication with QEMU's implementation-defined algorithm (pauth-impdef=on). The architected one is slow under TCG and the kernel signs every return address; boot to the last initcall was about three times faster with it. Signed-off-by: Ryan Murray <[email protected]>
|
Run on |
|
I independently checked the current smoke delta at Bash syntax passed. The expectation file and scorer are byte-identical to the previous head. The current scorer reproduced the prior summary and result TSV byte for byte, including its failure exit. The new TCG CPU setting booted the previously verified release Image with a module-sized control initramfs to a static userspace marker and clean poweroff on local QEMU 11.0.1. KVM keeps |
satchlj
left a comment
There was a problem hiding this comment.
Gemini 4 Neon on @satchlj's behalf
Completed a full code and security audit of c22324c488e1 (.github/workflows/kernel-release.yml, .github/scripts/kernel-release-build.sh, .github/scripts/kernel-smoke-qemu.sh, .github/scripts/kernel-smoke-expected.txt), including the four commits since ee1ce11e497d (31572d1d5e57, ca5a552b5f09, eda6a7a23e91, c22324c488e1) and the build job log (138880628475):
- Permissions, environment isolation & tag monotonicity: Workflow-level permissions are locked to
contents: read; write scopes (contents,id-token,attestations) andRELEASE_DEPLOY_KEYare isolated strictly insidepublishunderenvironment: release, withpersist-credentials: falseon all checkouts. Rolling channel tags use pinnedgithub.comSSH host keys,umask 077+trapkey cleanup,compare/$old...$SHAforward-only enforcement (gracefully skipping out-of-orderbehindruns), and--force-with-lease="refs/tags/$tag:$old"(handling initial empty$oldcleanly). Stablev*releases verifymain/hotfix/*ancestry, publish atomically via--draft, and refuse rebuilds. - Build & private key hygiene:
kernel-release-build.shverifies fullasahi.configparity against the resolved.config, assertsCONFIG_MODULE_SIG_KEY="certs/signing_key.pem", deletes$O/certs/signing_key.pem, and collectstar -tfoutput into a variable before grepping forsigning_key\.pem$(avoidingSIGPIPE+set -o pipefailfalse passes). Confirmed inbuildjob138880628475(BUILD-OK 7.3.0-aurora-ci): installingpacman-package-manager+PKGEXT=.pkg.tar.zst(ca5a552b5f09) successfully produced bothlinux-aurora-ci-binand-headers.pkg.tar.zstarchives and passed the signing-key leak check. - QEMU smoke harness (
31572d1d5e57,eda6a7a23e91,c22324c488e1):-nic noneremoves the missingefi-virtio.romdependency; movingsmoketoubuntu-26.04-arm(QEMU 10.2.1) with the 300sSMOKE-BEGINboot watchdog (trap 'kill -TERM "$QEMU_PID"' EXIT),MOD_TIMEOUT=300, andCPU=max,pauth-impdef=on(TCG only;kvmretainsCPU=host) is clean and properly propagates non-zero failures.
CI status (c22324c488e1): plan, host-tests, build, readiness, and pr-text are all green; smoke (138923111236) is still running. Code looks ready — holding formal APPROVE until smoke finishes green.
|
All checks green at |
satchlj
left a comment
There was a problem hiding this comment.
Verdict: MERGE at c22324c488e1
Blockers: None.
Checked: Re-verified head c22324c488e1 now that all 8/8 CI checks (including build and the ubuntu-26.04-arm QEMU smoke gate) passed green. Previously audited all five changed files (aurora_defconfig, kernel-release.yml, kernel-release-build.sh, kernel-smoke-qemu.sh, kernel-smoke-expected.txt): full refs/tags/<name> handling, pinned toolchain and LLVM SHA-256, release environment scoping for RELEASE_DEPLOY_KEY, full-listing signing_key.pem tarball guard, build provenance attestation, and the 300 s per-module watchdog plus pauth-impdef=on TCG speed-up. Untested locally: live publish job execution (requires RELEASE_DEPLOY_KEY on main/tags) and local QEMU smoke run (covered by CI run 45516983799). Note that final merge requires an Owner for the workflow file and clearing the earlier requested-changes review on a prior head.
Evidence
- Head:
c22324c488e1fb9d7d5ab1a31c63c16d7d93ba0f(OPEN,MERGEABLE) - CI at head: 8/8 checks green (
build,smoke,plan,host-tests,pr-readiness,pr-text, plus skipped publish/guard jobs as expected on PRs);smokecompleted all 5,915 modules (5,824 OK, 65-ENODEV/-ENXIO, 14 skipped, 12 expected) and 260 KUnit modules (442 suites pass, 4 skip, 5 expected, 0 unlisted failures) in run45516983799 - Audited files:
arch/arm64/configs/aurora_defconfig,.github/workflows/kernel-release.yml,.github/scripts/kernel-release-build.sh,.github/scripts/kernel-smoke-qemu.sh,.github/scripts/kernel-smoke-expected.txt
make pacman-pkg rebuilds and relinks the kernel (the build number goes from #1 to #2), so the standalone Image.gz and modules tarball were not the binaries in the Arch package, and the QEMU smoke run booted the former. When the Arch packages build, take Image.gz (decoded from the package's EFI zboot vmlinuz), the modules tree (with depmod run against the package's System.map), the DTBs, the config and System.map from the runtime and headers packages, so every asset and the smoke run use the binaries that ship. Without makepkg the previous direct path stays. Checked against the Arch packages of run 45429366862: the staged Image equals the zstd payload of the package's vmlinuz byte for byte; 5915 modules with modules.dep; 1629 DTBs. Signed-off-by: Ryan Murray <[email protected]>
|
|
|
Run https://github.com/aurora-silicon/linux/actions/runs/45547040963 at
|
Signed-off-by: Ryan Murray <[email protected]>
|
Forwarded current main into the branch ( |
|
All checks green at |
Dismissed by owner (Ryan): all items resolved at e32e49e per Dj's agent re-audit; 21/21 checks + release run 45575851350 build/smoke green.
Problem
There are no kernel releases built from
main. Fleet kernels are configured from a Fedora config kept outside the tree, so nobody can rebuild the fleet configuration from the repository alone.Change
arch/arm64/configs/aurora_defconfig:savedefconfigoutput of the fleet configuration.make aurora_defconfig asahi.configgives the fleet.config..github/workflows/kernel-release.ymlwith.github/scripts/kernel-release-build.sh: builds that configuration onubuntu-24.04-armwith the fleet toolchain versions pinned (LLVM 22.1.6, Rust 1.97.1, bindgen 0.73.2, pahole 1.31), then publishes:aurora-edgeprerelease on every push tomain;aurora-nightlyprerelease daily, only whenmainmoved since the commit the tag points at;v*tag onmain(or on ahotfix/branch), with generated notes. An existing stable release is never rebuilt..github/scripts/kernel-smoke-qemu.sh: before anything is published, the built kernel boots under QEMU and loads every module it ships, which also runs every KUnit suite built as a module. Known exceptions with reasons are in.github/scripts/kernel-smoke-expected.txt.aurora-*channel tags are moved with the release deploy key, only forward and with a lease;GITHUB_TOKENcannot bypass the tag ruleset. Every published asset gets a build provenance attestation.workflow_dispatchbuilds without publishing by default, or publishes edge or nightly by hand frommain. Pull requests that change these files get a build-only run.Each run signs modules with a key generated for that run. The private key is deleted afterwards and the build fails if a tarball contains it. The lab fleet kits stay signed separately.
Testing
Local proof on the buildbox before this push (evidence:
traces/ci/20261124-kernel-release-localon the lab store):make aurora_defconfig asahi.configat the 7.3.0-aurora-fleet87 source commit gives a.configbyte-identical to that kit's config, and atmaina3d477d it equals the fleet recipe (Fedora base +asahi.config+olddefconfig) byte for byte.kernel-release-build.shwith the pinned toolchain: config identical toaurora_defconfig, 186/186asahi.configrequests kept, 5915 modules, 1636 DTBs, all assets pluslinux-aurora-ci-binand-headersfrommake pacman-pkg. The built config diffs clean against the fleet87 kit config. No tarball or package containssigning_key.pem.kernel-smoke-qemu.shagainst the fleet87 kit (QEMU virt, TCG, about 25 minutes): 5824 modules load, 65 return -ENODEV for absent hardware, 14 skipped, 12 listed failures; 260 KUnit modules ran 451 suites (441 pass, 4 skip, 6 listed failures). No unlisted warning, oops or hang.This pull request changes the workflow, so it gets a build-only run of the whole pipeline on
ubuntu-24.04-arm(plan, build, smoke; nothing is published).Known smoke exceptions (kernel-smoke-expected.txt)
test_lockup,test_vmalloc(minutes under emulation), thespeakup_*synthesizers (serial ones wait for hardware).tcrypt(-EAGAIN by design),xusbatm(needs parameters),ptp_kvm,alim7101_wdt,dtpm(hardware or hypervisor absent),snd-soc-uda1342(I2C driver name already taken by the media uda1342 driver),nhc_ghc_*(claim the NHC IDs of the plainnhc_*modules),ubifs(cannot get the zstd compressor at init; not yet triaged).serial_ir,snd-mtpavrequest fixed legacy PC IRQs the virt machine does not have.arm-smmu-v3-kunit-test(UBSAN array-index-out-of-bounds inarm_smmu_v3_invs_test),amdv1_iommu_test,amdgpu_dm_hdcp,amdgpu_dm_irq,amdgpu_dm_crtc,binder_alloc. They need their own fixes; the list keeps them visible without blocking releases.Still to run
aurora-edgepublish from the merge push, a nightly via dispatch, then thev0.1.0tag.v*assets cannot be replaced.aurora-*tag ruleset already lets deploy keys bypass) and its private half as theRELEASE_DEPLOY_KEYsecret of thereleaseenvironment (deploys only frommainandv*tags). Until then edge and nightly builds run and stop at the tag step with that instruction; stable releases do not need it.