Windows relinker CI job fails with tools test timeouts on slow runs #16515

Closed
opened 2026-11-06 23:46:22 +00:00 by gabichuuuuu · 0 comments
gabichuuuuu commented 2026-11-06 23:46:22 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-06T23:46:22Z.


What happens

On pull requests, the relinker (windows-latest, g++) job fails with (Timeout) in tools tests that normally take a few seconds. Which tests time out differs from run to run, and the same tests pass in other runs. Under CONTRIBUTING, a failing check keeps a pull request out of the review queue.

Title, test or build step

ctest --test-dir build-relinker --output-on-failure --timeout 120 --parallel 4 --no-tests=error in relinker (windows-latest, g++). Tests that timed out in the sample below: shader_cache_native_paths, check_main_sync_CheckMainSyncPathTests, check_main_sync_CheckMainSyncGitTests, four check_compile_modes_* tests, progress_history_output, progress_history_date_window, main_sync_renames and two of its subtests, conventions_function_bodies_shard_2 and _3, debt_split, hardware_oracle, relinker_seed_manifest, tools_nid_name_audit, pr_intake_reopen, and vulkan_validation_gate_timeouts.

AnyPS5 commit

Pull request runs of build.yml between 13:17 and 23:23 UTC on 2026-11-06. Local comparison on main d7c58042.

System

GitHub-hosted windows-latest with WinLibs GCC 15.2.0 15.2.0posix-14.0.0-ucrt-r7. Local comparison: Windows 11 x64 with the same toolchain and Python 3.15.0.

Steps to reproduce

Not reproducible on demand, because it depends on the runner. The sample:

  1. The 60 most recent failed build.yml pull-request runs (gh run list --workflow build.yml --event pull_request --status failure --limit 60).
  2. The failed-test lines of each failed relinker (…) job in those runs.
  3. The per-test durations of six passing relinker (windows-latest, g++) jobs from 22:59 to 23:12 UTC, against each test's TIMEOUT property.

Log

Job 127904180414 (#16372). The local times are from main d7c58042 with the same ctest command:

  9 - shader_cache_native_paths (Timeout)                20.03 sec   local 1.30 sec
166 - check_main_sync_CheckMainSyncPathTests (Timeout)   30.04 sec   local 4.54 sec
168 - check_main_sync_CheckMainSyncGitTests (Timeout)    30.01 sec   local 4.23 sec

In the same job, check_main_sync_CheckMainSyncEncodingTests passed in 22.15 s, against 6.4 s locally.

What was checked

  • The Windows relinker job failed in 9 of the 60 runs. Six of those failures were only timeouts, 1 to 10 tests per job. One had timeouts plus a failed test, and two had failed tests only. No relinker (ubuntu-latest, …) or relinker (macos-latest, …) job failed in the same 60 runs.
  • Jobs with timeouts ran ctest for 372–492 s. The six passing Windows jobs took 295–341 s.
  • In three passing Windows jobs, no test used more than 56% of its TIMEOUT. The highest is trace_digest_TraceDigestTests_test_cli_rejects_invalid_event_fields_without_partial_output, at 11.1 s of 20 s. The median CI-to-local ratio was 1.1×, so the limits hold in normal runs. The timed-out tests ran about 6–15× slower than locally.
  • ctest --repeat after-timeout:2 (CTest 3.17 and later) reruns, once, only a test that timed out, and a test that hangs both times still fails. Adding it to the Windows relinker ctest step would retry these tests without raising any TIMEOUT. Not tried on the runners.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6252700730 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/16515). Originally posted by [gabichuuuuu](https://github.com/gabichuuuuu) on 2026-11-06T23:46:22Z. --- ### What happens On pull requests, the `relinker (windows-latest, g++)` job fails with `(Timeout)` in tools tests that normally take a few seconds. Which tests time out differs from run to run, and the same tests pass in other runs. Under CONTRIBUTING, a failing check keeps a pull request out of the review queue. ### Title, test or build step `ctest --test-dir build-relinker --output-on-failure --timeout 120 --parallel 4 --no-tests=error` in `relinker (windows-latest, g++)`. Tests that timed out in the sample below: `shader_cache_native_paths`, `check_main_sync_CheckMainSyncPathTests`, `check_main_sync_CheckMainSyncGitTests`, four `check_compile_modes_*` tests, `progress_history_output`, `progress_history_date_window`, `main_sync_renames` and two of its subtests, `conventions_function_bodies_shard_2` and `_3`, `debt_split`, `hardware_oracle`, `relinker_seed_manifest`, `tools_nid_name_audit`, `pr_intake_reopen`, and `vulkan_validation_gate_timeouts`. ### AnyPS5 commit Pull request runs of `build.yml` between 13:17 and 23:23 UTC on 2026-11-06. Local comparison on `main` `d7c58042`. ### System GitHub-hosted `windows-latest` with WinLibs GCC 15.2.0 `15.2.0posix-14.0.0-ucrt-r7`. Local comparison: Windows 11 x64 with the same toolchain and Python 3.15.0. ### Steps to reproduce Not reproducible on demand, because it depends on the runner. The sample: 1. The 60 most recent failed `build.yml` pull-request runs (`gh run list --workflow build.yml --event pull_request --status failure --limit 60`). 2. The failed-test lines of each failed `relinker (…)` job in those runs. 3. The per-test durations of six passing `relinker (windows-latest, g++)` jobs from 22:59 to 23:12 UTC, against each test's `TIMEOUT` property. ### Log [Job 127904180414](https://github.com/boykopovar/AnyPS5/actions/runs/42221415719/job/127904180414) (#16372). The local times are from `main` `d7c58042` with the same `ctest` command: ```text 9 - shader_cache_native_paths (Timeout) 20.03 sec local 1.30 sec 166 - check_main_sync_CheckMainSyncPathTests (Timeout) 30.04 sec local 4.54 sec 168 - check_main_sync_CheckMainSyncGitTests (Timeout) 30.01 sec local 4.23 sec ``` In the same job, `check_main_sync_CheckMainSyncEncodingTests` passed in 22.15 s, against 6.4 s locally. ### What was checked - The Windows relinker job failed in 9 of the 60 runs. Six of those failures were only timeouts, 1 to 10 tests per job. One had timeouts plus a failed test, and two had failed tests only. No `relinker (ubuntu-latest, …)` or `relinker (macos-latest, …)` job failed in the same 60 runs. - Jobs with timeouts ran `ctest` for 372–492 s. The six passing Windows jobs took 295–341 s. - In three passing Windows jobs, no test used more than 56% of its `TIMEOUT`. The highest is `trace_digest_TraceDigestTests_test_cli_rejects_invalid_event_fields_without_partial_output`, at 11.1 s of 20 s. The median CI-to-local ratio was 1.1×, so the limits hold in normal runs. The timed-out tests ran about 6–15× slower than locally. - `ctest --repeat after-timeout:2` (CTest 3.17 and later) reruns, once, only a test that timed out, and a test that hangs both times still fails. Adding it to the Windows relinker `ctest` step would retry these tests without raising any `TIMEOUT`. Not tried on the runners. AI-assisted: yes.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#16515
No description provided.