Skip to content

Armhf fails smoke-ui/*-quit tests #4962

In review

Description

@BsAtHome

@grandixximo You know about these tests...

The smoke-ui/*-quit tests failed several times recently. Both times on armhf (32-bit) test. And only on that arch. Full transcript (gmoccapy-quit, qtdragon-quit and touchy-quit) attached. It seems that the main process was killed with GUI process matching "bin/XXX" not found. Not sure why.

The last CI run part "Build and test armhf Debian packages" took 1hour 9 mins, so either it was a very, very slow machine or it got stalled somewhere in the tests.

armhf-smoke-ui-x-quit-fail.txt

Activity

  1. BsAtHome commented on Dec 4, 2026

    @BsAtHome
    ContributorAuthor

    Well, all three seem to crash and linuxcnc.err is not available from CI.

    === crash: no readable core dump; see the Python traceback in linuxcnc.err above ===
    

    I think we should print linuxcnc.err when there is a crash and no coredump is available so we can more easily see the problem in CI output.

  2. grandixximo commented on Dec 5, 2026

    @grandixximo
    Contributor

    There was no crash. That CI run (and the earlier one on 12-02 with the same three failures) was about 4x slower than usual on armhf: a quit test took 83s instead of 7s. The quit test waits 60s after task is up for the GUI process to appear, but the launcher still has halui, the remaining HAL files and the traj wait to get through before it starts the GUI. On that runner it all took longer than 60s, so the test gave up and killed linuxcnc itself; that is the "Killed" line. The gmoccapy warnings in linuxcnc.err show the GUI did start, just too late.

    linuxcnc.err is already printed, it is the block above. The "crash: no readable core dump" line is misleading: crashdump_report prints it on every run, crash or not.

    Fix in #4965: wait 120s of wall time for the GUI instead of 60 loop passes, say in the failure whether linuxcnc was still running, and print the no-core line only when linuxcnc.err holds a crash marker.

  3. added a commit that references this issue on Dec 5, 2026
    1382a10
  4. grandixximo commented on Dec 5, 2026

    @grandixximo
    Contributor

    Correction: slowness was not the cause. Both failing runs fell back to QEMU (the native check logs "exec format error" on those arm64 hosts), which is also why they were slow. Under qemu-user the GUI process's argv[0] is the emulator, not python, so the test's process match never found the GUI even though it was running. #4965 now fixes the match instead of the timeout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions