Repository navigation
test: keep the motion journey's pause-alignment search from playing past the recording's end - #7606
Open
leaf-agent wants to merge 1 commit into
Open
leaf-agent wants to merge 1 commit into
leaf-agent wants to merge 1 commit into
Conversation
…ecording's end The step pauses and resumes the leading recording until it stops on a position whole microseconds can't hold. macOS's media clock steps by 100 microseconds, so such a position is rare there, and a dispatch probe caught the leader playing through its 8 s end first: the study's playback ended with every video at 8 s, and the press meant to pause replayed from 0, so the two recordings read different times. The search now seeks the leader back just ahead of the trailing recording once it passes half the recording. Refs #7532
This branch has not been deployed
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.
test_motion_recordings_share_native_playback_and_a_sticky_transportfailed on macOS at its pause-alignment assertion (test_motion.py:100). It failed in 2 of 12 copies at main (46168668757) and in 1 of 18 in an instrumented probe (46234649115). The step under test pauses and resumes the leading recording until it stops on a playback position whole microseconds can't hold. macOS's media clock steps by 100 µs (positions read0.3011,0.3086, …), so such a position turns up there only through float error, and rarely. The probe's media-event log shows the leader playing through its 8 s end before it found one. Every video then stood at 8 s and the study's playback had ended, so the press meant to pause replayed both recordings from 0. They read0.0161and0.0015, and the assertion failed.The search now seeks the leader back to just past the trailing recording once it passes half the recording, so it never reaches the end. Everything the step asserts is unchanged.
Evidence:
The scheduled run's own failure,
4.155598 == 4.155599, isn't explained by this mechanism. That run left only its assertion message. If it recurs once this lands, the next scheduled run's report brings it back to triage.Refs #7532 — automated triage