Repository navigation
tests: skip the realtime delay message in the multiaxis tests - #4900
Open
grandixximo wants to merge 1 commit into
Open
grandixximo wants to merge 1 commit into
grandixximo wants to merge 1 commit into
Conversation
On the rtpreempt buildbot a late servo period puts "Unexpected realtime delay" on the error channel. twp-table, twp-table-one-sided, ptp-machine-frame, twp-native and twp-native-ptp report every error message, so they failed on it. twp-native and twp-native-ptp also took it as the refusal of a command they expect to be refused, and the real refusal then showed up as an error at the next check. Read the channel through a poll() that skips that message, as tests/kins-switch does. Tested with a temporary hook in rtapi that posts the message after N periods: with N from 300 to 5000 the old scripts fail (2 to 5 of the 5 tests), the new ones pass.
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.
On the rtpreempt buildbot (builder 11) a late servo period puts "Unexpected realtime delay" on the error channel, and master has been red there on every push today. twp-table, twp-table-one-sided, ptp-machine-frame, twp-native and twp-native-ptp report every error message, so they failed on it. twp-native and twp-native-ptp also took it as the refusal of a command they expect to be refused, and the real refusal then showed up as an error at the next check.
The tests now read the channel through a poll() that skips that message, as tests/kins-switch does.
I tested it with a temporary hook in rtapi that posts the message after N periods: with N from 300 to 5000 the old scripts fail (2 to 5 of the 5 tests), the new ones pass. I have not run it on the buildbot itself.