Repository navigation
tests/ui-smoke: give the quit tests time on a slow runner - #4965
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 a slow armhf runner the quit tests failed with "GUI process not found": the launcher still had halui, the remaining HAL files and the traj wait to get through before starting the GUI, and the 60 pass wait ran out first. The report also ended with "crash: no readable core dump", which crashdump_report prints on every run, so it read as a crash. Wait 120s of wall time (SECONDS) for the GUI instead of 60 loop passes, and say in the failure whether linuxcnc was still running. Print the no-core line only when linuxcnc.err holds a crash marker, the same ones drive.py looks for. Fixes LinuxCNC#4962
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 a slow armhf runner the gmoccapy, qtdragon and touchy quit tests failed with "GUI process not found". After task is up, the launcher still loads halui and the remaining HAL files and waits for traj before it starts the GUI. On that runner this took longer than the 60 loop passes the test waits, so the test killed linuxcnc while the GUI was still coming up. The output also ended with "crash: no readable core dump", which crashdump_report prints on every run, so it read as a crash.
The quit test now waits 120s of wall time for the GUI, and the failure message says whether linuxcnc was still running. The no-core line is printed only when linuxcnc.err holds a crash marker, the same markers drive.py looks for.
Tested locally: the three quit tests pass; with -d a clean run no longer prints the crash line; a copy of the test pointed at a GUI name that doesn't exist fails after 120s with the new message.
Fixes #4962