Skip to content

tests: skip the realtime delay message in the multiaxis tests - #4900

Open
grandixximo wants to merge 1 commit into
LinuxCNC:masterfrom
grandixximo:tests-rt-delay-filter
Open

grandixximo wants to merge 1 commit into
LinuxCNC:masterfrom
grandixximo:tests-rt-delay-filter

Conversation

@grandixximo

Copy link
Copy Markdown
Contributor

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant