Repository navigation
cvcGL tests: cvcgl_ewave and cvcgl_wake get their own ctest timeout (macOS Debug) - #1267
Merged
Merged
Conversation
…macOS Debug) On macOS CI the renderer is Apple's software one, on the CPU: cvcgl_ewave takes 255 s in Release and 287-299 s in Debug, cvcgl_wake 631 s in Release. A Debug or PR ctest gives a test with no TIMEOUT of its own 300 s, so package-macos / libcvc-debug timed out cvcgl_wake on every attempt (master's push run 43628764321, and ci/full runs 43636956868 and 43638263515) and cvcgl_ewave on a busy runner. TIMEOUT 1200 and 1800, as cvcgl_volren_node has for the same reason.
transfix
enabled auto-merge (squash)
November 15, 2026 05:30
transfix
added a commit
that referenced
this pull request
Nov 15, 2026
transfix
added a commit
that referenced
this pull request
Nov 16, 2026
…ings in CI (#1277) * cvcgl_wake: the rock's run at one substep a step; print timings; TIMEOUT On macOS CI (Apple Software Renderer) cvcgl_wake took 656-723 s in the release lanes and hit the 300 s debug timeout three times. The rock-shadow run takes the symmetric step at the default 1/60 s substep: six substeps of 35 passes per 0.1 s step, 148400 passes, two thirds of the program's time on Mesa llvmpipe. Run it at substep = dt = 0.1 s (inside the 0.19 s limit at 0.5 m cells; kappa~ keeps open-water dispersion exact at any substep). The test now prints the GL renderer and each section's wall time, and a macOS CI step prints them from LastTest.log. TIMEOUT 900 is provisional until measured on macOS. * cvcgl_wake: TIMEOUT 900 sized from the macOS measurements * cvcgl_wake: leave the TIMEOUT to #1267, which sets it for cvcgl_ewave too
transfix
added a commit
that referenced
this pull request
Nov 16, 2026
Conflicts (includes in ariadne.h, ariadne.cpp and ariadne_runtime_test.cpp; three hunks of #1241's menubar tray in ariadne.cpp) keep both sides. #1241's code meets this branch's groups: - An action's context keeps master's scope (a quit application's actions stop) and is built by this branch's finish_context. - The notify verbs bind by kind with the backend's (install_backend_verbs is now install_host_verbs): host_proxied in an `any` group, as cvc::notify mirrors the feed into the app's notify.* subtree raw on the caller's thread. - What they capture (scope, source, a copy of mount_names) is taken on the host thread when a context is made (NotifyScope); a spawned child, made on the thread that pumps its group, binds from its parent's copy through its spawn context instead of reading mount_names there. - quit_app kills the application's actions on current_sched() (the document's group), not only on group 0 when this Runtime used it. - drain_begin runs builtin_event before the handler seam, through this branch's `m`. Tests: AriadneIsolatedDocs.TheNotifyVerbsRunOnTheFramesThread (the feed is written on the frame's thread while a worker pumps the program; a spawned child posts as its parent's scope) and AriadneIsolatedDocs.QuitKillsALoadedDocumentsActionsInItsGroup. STATE_EXEC_THREADED.md: the notify verbs' row, Quit among the kills that go to the group, and the spawned child's notify scope.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
package-macos / libcvc-debugfails on two GPU ocean tests that run past ctest's 300 s limit. This gives each its ownTIMEOUTinsrc/cvcGL/CMakeLists.txt: 1200 s forcvcgl_ewaveand 1800 s forcvcgl_wake. It's whatcvcgl_volren_nodealready has, for the same reason.Why
macOS CI renders with Apple's software renderer, on the CPU. The two tests step 256² and 512² windows for hundreds of steps of 34–71 passes each. In ci.yml, a Debug or PR ctest gives any test without a
TIMEOUTproperty--timeout 300; Release pushes get 3600.cvcgl_ewavecvcgl_wakeRuns:
cvcgl_waketimed out 3 times;cvcgl_ewavepassed in 287 s.ci/full/window-chrome-buttons, run 43636956868, job 132575924496:cvcgl_ewavetimed out twice before passing in 293 s;cvcgl_waketimed out 3 times.ci/full/ewave-gpu-rates(EWave: the step's numbers worked out on the host in double, no sin, cos, exp, sqrt or tanh on the GPU #1219), run 43638263515: Debug job 132579781040 timed outcvcgl_wake3 times and passedcvcgl_ewavein 298.5 s. The Release lane, job 132579781022, passedcvcgl_ewavein 255 s andcvcgl_wakein 631 s.ctest's
--timeoutonly sets the default for tests without aTIMEOUTproperty, so these values take effect on every lane. They leave room for Debug and a busy runner while still failing a real hang. Both tests already hold thecvcgl_gl_contextresource lock, so they never overlap another GL test.This is the cvcGL counterpart of #1261, which does the same for the CPU
ocean_ewave_testcases on Linux Debug.Checked
ctest --show-only=json-v1on a fresh configure listsTIMEOUT1200 forcvcgl_ewaveand 1800 forcvcgl_wake, alongsidecvcgl_volren_node's 1200.ci/full/cvcgl-ocean-timeouttoo.ci/full/cvcgl-ocean-timeout(run 43681296978, d15728b):package-linux / libcvc-debug-grpcfailed only master's CPUEwave.AThinWallLeaksLittle, 3 timeouts at 300 s. That's the case tests: Ewave's cases get a 1200 s timeout of their own (PR Debug runs time out at 300 s) #1261 fixes. Master, now including tests: Ewave's cases get a 1200 s timeout of their own (PR Debug runs time out at 300 s) #1261, is merged in (b301bbb); the diff is still only the 8 lines above. The macOS lanes are still running on d15728b, which has the samesrc/cvcGLchange.