Repository navigation
ci: Tier 2 Linux starts the slowest tests first - #950
Conversation
…, Refs #931) Fails: validate.sh has no CTestCostData.txt handoff and CI sets OBS_CTEST_JOBS: 4.
Every CI container started without CTestCostData.txt, so ctest did not know test_deinterlace_2x_field_order (83 s) and the other real-time media tests are slow and could start them last: about 285 s per mode for 660 s of work at -j4. validate.sh now carries the cost data per mode in the ccache directory (which CI restores), and keeps it when a test fails. The job count stays at 4: under -j8, CPU-heavy timing tests failed while passing alone (#938).
test_local_gate_probe captured the lane's output, so a CI failure read only 'returned non-zero exit status 101'.
|
The Ubuntu Rust Tests lint lane failed twice here (runs 38834345861 attempt 1 and 2; the other Rust jobs were cancelled after it).
It is not reproducible locally: the probe passes on master 6423c6b and on this branch rebased onto it. #936's Ubuntu lane passed after #925. So this looks environment- or cache-dependent rather than caused by this diff, which only touches the Tier 2 job. Two small follow-ups would make the next failure diagnosable: print |
Fixes #931. Part of #930.
RED acd7d91:
ci/test_tier2_schedule.py, 4 fail (no cost-data handoff,OBS_CTEST_JOBS: 4vs the first plan's 8).GREEN a1d6bdd:
validate.shrestoresCTestCostData.txtper mode from the ccache dir before ctest and writes it back after, also when a test fails. CI keeps-j4.Why not -j8: under 8 jobs,
test_encoder_join_keyframe(a real AV1 encode) andtest_media_gif_last_framefailed their timing assertions while passing 5/5 alone. Raising the job count needs per-testPROCESSORSfirst (#938).Local check: the tier2-linux lane wrote
ctest-cost-OFF.txtandctest-cost-ON.txtinto the ccache volume (test_serializer 3 0.114433 …). OFF passed 250/250. ON had two real-time timing failures (test_deinterlace_2x_field_order,test_async_delay_audio) while the host load average was 76–174 from other sessions; they're unrelated to this change, because on a first run ctest has no cost data and keeps master's order.Effect shows from the second CI run after merge: master's push saves the ccache, including the cost files, and the next runs order by them.