Skip to content

test: Watchdog reset on lockups #1319

Closed

Description

@wkz

To ensure that a system running Infix is always able to recover from any kind of lockup, we should add a test that creates a hard lockup that lasts longer than the watchdog timeout and verify that the system reboots.

Linux provides the test_lockup module for this purpose. For example, if the timeout is 60s, we can create a 65s hard lockup on all cores like this:

modprobe test_lockup all_cpus=1 disable_irq=1 time_secs=65

If, and only if, the watchdog has the capability to report the reset reason, the test should also verify that.

Activity

  1. added
    testRegression test related
    triagePending investigation & classification (CCB)
    on Dec 12, 2025
  2. added this to the Infix v26.01 milestone on Dec 15, 2025
  3. removed
    triagePending investigation & classification (CCB)
    on Dec 15, 2025
  4. linked a pull request that will close this issueCN9130 Watchdog #1321on Dec 16, 2025
  5. wkz commented on Dec 16, 2025

    @wkz
    ContributorAuthor

    Fixed by #1321

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

    testRegression test related

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions