Windows: audio_out2_timing and guest_pthread_start are load-sensitive under ctest -j, not regressions; RUN_SERIAL would settle them #4347
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-12T07:22:42Z.
Two tests fail on Windows under CPU load but pass alone, so they show up as "known failures" in many Windows reports (#4174, #4109, #3757, #3291, #2853) without being regressions. Measured on
main2ccbd376andbab7b328side by side (Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Release, 16 logical CPUs) with synthetic load:2ccbd376bab7b328audio_out2_timingaudio_out2_timingguest_pthread_startaudio_out2_timingexits with0xc0000409(FATAL: abort() (SIGABRT), nowhat():because the test'sRequirecallsstd::abort); the return address maps toRequire(Constant(played, first, burst, 0.5f * masterGain))inTestPrimingAfterRunningDry. If the pushing thread is held off the CPU for longer than the 40 ms startup buffer, the SDL disk device runs dry mid-burst and writes silence, so the 12-grain burst is no longer one constant run.guest_pthread_startis not hung: itsRunThreadlines keep coming at about 30 to 40 starts per second under load (about 5000 idle); 10000 sequential thread starts with several hand-offs each overrun the 60 s Windows timeout.Neither is Windows-specific in the code (only the 60 s limit and the stack walk are). Options, cheapest first: mark both tests
RUN_SERIAL(or give themPROCESSORS) soctest -jdoes not starve them; make the audio check accept a burst split by device-dry silence; cut the pthread test to a few hundred iterations. The merges in range that touch these paths (#4002, #4005, #3944, #3494, #4029) are ruled out by the same failures on the older build.Measured with Claude Code assistance.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T07:30:17Z.
I opened #4356 with the Windows-only
RUN_SERIALchange for both tests. Linux CMake configure and the test-registration unit suite pass; a focused CMake/CTest fixture confirms the serial property preserves the existing environment and timeout settings. Windows CI is still needed to validate the project configuration. The change prevents overlap with other CTest jobs, though unrelated external CPU load can still affect these timing-sensitive tests.