Skip to content

flea: update to 0.3.1, run shelfundo tests on tmpfs, skip three under QEMU - #569

Merged
ryanrhughes merged 1 commit into
masterfrom
flea/0.3.1-shelfundo-tmpfs
Sep 21, 2026
Merged

ryanrhughes merged 1 commit into
masterfrom
flea/0.3.1-shelfundo-tmpfs

Conversation

@ryanrhughes

Copy link
Copy Markdown
Collaborator

Why

flea has been stuck at 0.2.1 in every channel. 0.3.0 merged on 2026-09-17 but its publish build failed check() (run 35374514905), and 0.3.1 on the sync PR #512 fails the same way. The shelfundo suite is new in 0.3.0.

1. shelfundo::tests::undo_refuses_to_walk_a_stranger_back (both arches)

The test deletes a file, creates another under the same name, and expects undo to tell them apart by (dev, ino, kind). ext4 hands the freed inode number straight back to the next create, so on the droplet's /tmp the stranger is identical and undo tries to walk it back into a directory the test never created:

/tmp/flea-test-shelfundo-stranger-3332-224/was/a.txt could not go back (file or folder not found)

tmpfs allocates inode numbers from a counter and never reuses one, which is what the test assumes. The suite joins the filesystem tests this PKGBUILD already runs with TMPDIR on /dev/shm.

2. Three tests on aarch64 only

backend::child::tests::a_child_that_never_started_is_told_apart_from_one_that_ran_and_failed, ..::a_child_is_noticed_when_it_exits_rather_than_at_the_next_poll_boundary, and backend::menu_registry::tests::unavailable_failed_and_oversized_queries_are_named_errors expect spawning a missing program to be reported as not started. Under QEMU user-mode emulation glibc's posix_spawn cannot observe the child's failed execve: the spawn succeeds and the child exits 127. Same mechanism as strata's ownership_probe test in #560. Skipped on aarch64 only.

What

Same 0.3.1 bump as #512 (pkgver, sha256sums), plus the two check() changes above, with comments. The sync bot only rewrites version fields, so they survive future syncs.

Verified

  • Droplet x86_64 log for 0.3.1: only the stranger test failed (635 passed). Droplet aarch64: those four.
  • Locally in the builder container the stranger test passes 5/5 with TMPDIR on tmpfs.

Both findings go upstream separately.

… QEMU

flea 0.3.0 never published: its shelfundo suite (new in 0.3.0) failed check() on the 2026-09-18 publish build, and 0.3.1 fails the same way on the sync PR. undo_refuses_to_walk_a_stranger_back deletes a file, creates another under the same name, and expects undo to tell them apart by (dev, ino, kind). ext4 hands the freed inode number straight back to the next create, so on the droplet's /tmp the stranger is identical and undo walks it back into a directory that does not exist. tmpfs allocates inode numbers from a counter and never reuses one. The suite joins the filesystem tests that already run with TMPDIR on /dev/shm.

On aarch64 three more tests fail: two in backend::child and one in menu_registry expect spawning a missing program to be reported as not started. Under QEMU user-mode emulation glibc's posix_spawn cannot observe the child's failed execve; the spawn succeeds with exit 127. Skipped on aarch64 only.
@ryanrhughes
ryanrhughes merged commit bc7ea4d into master Sep 21, 2026
7 checks passed
@ryanrhughes
ryanrhughes deleted the flea/0.3.1-shelfundo-tmpfs branch September 21, 2026 04:45
@github-actions

Copy link
Copy Markdown
Contributor

Publish succeeded → live

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

  • edge/x86_64: flea-0.3.1-1-x86_64
  • edge/aarch64: flea-0.3.1-1-aarch64
  • rc/x86_64: flea-0.3.1-1-x86_64
  • rc/aarch64: flea-0.3.1-1-aarch64
  • stable/x86_64: flea-0.3.1-1-x86_64
  • stable/aarch64: flea-0.3.1-1-aarch64

Commit bc7ea4d · run

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