Skip to content

ci: drop macOS known failures that pass or no longer exist - #218

Merged
utkuhalis merged 1 commit into
AnyTogether:mainfrom
hedibravofox:ci/macos-drop-passing-known-failures
Dec 3, 2026
Merged

utkuhalis merged 1 commit into
AnyTogether:mainfrom
hedibravofox:ci/macos-drop-passing-known-failures

Conversation

@hedibravofox

Copy link
Copy Markdown

What

ctest-known-failures.txt says to remove a line once its test passes. This removes 22 macOS entries:

Tests that pass now (19 entries, 31 tests), each 5 runs out of 5 on a real Mac:
guest_radix64, guest_icu_recovered_signatures, agc_shared_write, agc_write_tracking, agc_driver_pipelined_prefetch, agc_driver_graphics, guest_kernel_app_archive_mmap, guest_pthread_create_suspended, guest_raise_except(_trap_[0-9])?, guest_dinkumware_internals, agc_performance_overlay_statistics, guest_jxr_stream, guest_posix_spawn, net_ipv6only, guest_raw_resolver, guest_kernel_app_archive_archive, guest_dinkumware_float_bits, guest_dinkumware_division, guest_set_env(_pending_[0-9])?.
Most were listed on 2026-10-27 or 2026-11-03, before the upstream merges of November (about 2,800 commits). guest_radix64 now takes 1.4 s; its entry said over 20 s.

Tests that no longer exist on macOS (3 entries): agc_thread_priority_refused_rt, agc_thread_priority_refused_high and agc_driver_pm4_priority_refused are only registered when CMAKE_SYSTEM_NAME is Linux (agc_thread_priority_tests.cmake, agc_driver_graphics_tests.cmake), so their macOS entries match nothing.

Kept: every entry that blames the runner rather than the code: timing, virtual machine networking, no MoltenVK, the trust store, slowness under Rosetta on the runner, flaky. A pass on real hardware says nothing about those. Also kept: the entries for tests that still fail, and guest_videodec2_hevc_aliases, which #216 removes.

My Mac runs macOS 27.2.1 and the runners run macos-26. This PR's own engine job is the check there: if Rosetta on macOS 26 still fails one of these, it shows up as a failing test (after ctest's 3 tries) and I'll put that line back.

This deletes a line next to the one #211 deletes, so whichever merges second needs a one-line rebase.

Tested

macOS 27.2.1, Apple silicon, x86-64 build under Rosetta 2 (AppleClang 21.0.0, Release), at main:

  • ctest -R '<the 19 removed patterns>' -j4 --repeat until-fail:5: 31 tests, 100% passed, every run.
  • Full ctest -j8 earlier today (7,107 tests): none of the 31 failed.
  • ctest -N: no test matches the 3 Linux-only entries.
  • python3 tools/check_conventions.py --base origin/main: all checks passed.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

@utkuhalis

Copy link
Copy Markdown
Collaborator

Thanks, this is a good clean-up. Your rule is right: drop the lines whose tests now pass on real hardware, and keep the ones that blame the runner. We checked that the priority-refused tests are registered only under CMAKE_SYSTEM_NAME STREQUAL "Linux" (for example agc_driver_graphics_tests.cmake:291).

CI is approved, and its macOS engine job on macos-26 is the real test here. GitHub's macOS runners have been short for two days, so it may take a while to start. Whichever of this and #211 merges second will need the one-line rebase you mentioned.

Nineteen macOS entries whose tests pass five runs out of five on macOS
27.2.1 (Apple silicon, Rosetta 2), and three for tests that are only
registered on Linux now (agc_thread_priority_refused_rt/high,
agc_driver_pm4_priority_refused).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hedibravofox
hedibravofox force-pushed the ci/macos-drop-passing-known-failures branch from 0e223f1 to 9d0df30 Compare December 3, 2026 10:12
@utkuhalis
utkuhalis merged commit 977feb6 into AnyTogether:main Dec 3, 2026
31 of 40 checks passed
@utkuhalis

Copy link
Copy Markdown
Collaborator

Merged, thanks! Good to see that many macOS entries come off the known-failures list.

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