Skip to content

strata: update to 0.19.0, skip two tests the build host cannot run - #560

Merged
ryanrhughes merged 1 commit into
masterfrom
strata/0.19.0-skip-restart-waiter
Sep 21, 2026
Merged

ryanrhughes merged 1 commit into
masterfrom
strata/0.19.0-skip-restart-waiter

Conversation

@ryanrhughes

@ryanrhughes ryanrhughes commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Every droplet build of strata 0.19.0 on the sync PR #512 (five runs since 2026-09-19) went silent after the settings reference tests and was cancelled by the 180-minute job timeout, on both architectures. With that fixed, aarch64 then failed one more test that passes natively.

1. restart_waiter_* hang (both arches)

0.19.0 adds two ui::settings::tests::restart_waiter_* tests. They run the real restart helper, sh -c 'while kill -0 "$1"; do sleep 0.1; done; ...', with parent pid u32::MAX, expecting the loop to exit at once. Arch's sh is bash 5.3, and its kill builtin in POSIX mode prints not a pid or valid job spec for that number but exits 0:

$ sh -c 'kill -0 4294967295; echo rc=$?'      # bash 5.3 as sh
sh: line 1: kill: `4294967295': not a pid or valid job spec
rc=0
$ bash -c 'kill -0 4294967295; echo rc=$?'    # same binary, not POSIX mode
rc=1

bash 5.2 exits 1 in both modes. Upstream CI is Ubuntu, where sh is dash and rejects the number, so upstream never sees it. Reproduced in the builder image: the loop is still running after the timeout.

2. ownership_probe_errors_disable_in_place_updates (aarch64 only)

The test points the pacman path at a directory and expects Command::output() to return an error. aarch64 builds run under QEMU user-mode emulation, where glibc's posix_spawn cannot observe the child's failed execve. Natively it returns EACCES; under QEMU the spawn "succeeds" and the child exits 127, so the probe reads "not owned" and the assertion fails. Verified with a 20-line C program on both platforms. Failed identically in the earlier aarch64 run of #512.

What

Same 0.19.0 bump as #512 (pkgver, sha256sums), plus in check():

  • --skip ui::settings::tests::restart_waiter_ on both arches
  • --skip services::update_install::tests::ownership_probe_errors_disable_in_place_updates on aarch64 only

Both with comments. The sync bot only rewrites version fields, so the skips survive future syncs (the 2026-09-11 search-fixture change did).

Verified

  • x86_64 droplet: 14 min, 2439 tests passed, artifact uploaded (previous push of this PR).
  • aarch64 droplet: reached the end of the suite, 1950 passed, only the QEMU-sensitive test failed (previous push). This push skips it.
  • Local builder container: identical result to x86_64.

Once merged, #512 rebases to drop strata and the rest of the sync can merge. Both bugs go upstream separately.

0.19.0 adds two restart_waiter tests that run `sh -c 'while kill -0 "$1"; do sleep; done'` with the pid u32::MAX. Arch's sh is bash 5.3, whose kill builtin in POSIX mode prints "not a pid or valid job spec" for that number but exits 0, so the loop never ends; every droplet build of 0.19.0 sat there until the 180-minute job timeout. Upstream CI runs on Ubuntu, where sh is dash and rejects the number.

It also adds ownership_probe_errors_disable_in_place_updates, which points the pacman path at a directory and expects Command::output() to fail. aarch64 builds run under QEMU user-mode emulation, where glibc's posix_spawn cannot observe the child's failed execve; the spawn succeeds with exit 127 and the assertion fails. Skipped on aarch64 only; it passes natively.

Both skips carry comments; the sync bot rewrites only version fields, so they survive future syncs.
@ryanrhughes
ryanrhughes force-pushed the strata/0.19.0-skip-restart-waiter branch from 8f8c7aa to 1c0ea5b Compare September 21, 2026 01:34
@ryanrhughes ryanrhughes changed the title strata: update to 0.19.0, skip restart_waiter tests strata: update to 0.19.0, skip two tests the build host cannot run Sep 21, 2026
@ryanrhughes
ryanrhughes merged commit 1b3cc77 into master Sep 21, 2026
7 checks passed
@ryanrhughes
ryanrhughes deleted the strata/0.19.0-skip-restart-waiter branch September 21, 2026 03:36
@github-actions

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Packages: strata (x86_64, PR artifact); strata (aarch64, PR artifact)

  • edge/x86_64: strata-0.19.0-1-x86_64
  • edge/aarch64: strata-0.19.0-1-aarch64
  • rc/x86_64: strata-0.19.0-1-x86_64
  • rc/aarch64: strata-0.19.0-1-aarch64
  • stable/x86_64: strata-0.19.0-1-x86_64
  • stable/aarch64: strata-0.19.0-1-aarch64

Commit 1b3cc77 · run

APS6 pushed a commit to APS6/omarchy-pkgs that referenced this pull request Sep 26, 2026
Moves the pin from f7ea7ecc to the head of quattro-upstream, which adds
omacom#552's reset-prepare, reset-verify, reset-commit and reset-rollback
entrypoints, omacom#553's luks-slots entrypoint and recovery key handling,
omacom#556's encrypt unit output to kmsg at notice, and omacom#560's snapshot restore
check with its limine-snapper-sync pre and post hooks. The pin's UTC date is
still 20260925, so pkgrel goes to 4. omacom#544 is not in it, so the Plymouth
fragment still ships and no HOOKS baseline dependency applies.
APS6 pushed a commit to APS6/omarchy-pkgs that referenced this pull request Sep 26, 2026
The boot check and, from omacom#560, the snapshot restore check read the kernel out
of the Limine UKI with objcopy. mkinitcpio pulls binutils in today, but the
package calls it directly.
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.

1 participant