Skip to content

Commit

Permalink
smp: skip test on live systems
Browse files Browse the repository at this point in the history
This should have been done a while ago. The "smp" corelens module
already disallows running on live systems. IPIs fly too fast for us to
keep up in userspace, so running the full module tends to cause issues.
In this case, the specific issue had to do with unwinding the stack on
the running task, which raises an error in drgn.

Orabug: 37296325
Signed-off-by: Stephen Brennan <[email protected]>
  • Loading branch information
brenns10 committed Nov 20, 2024
1 parent 1d809d3 commit ac89696
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_smp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
import pytest
from drgn.helpers.linux.cpumask import for_each_possible_cpu

from drgn_tools import smp
Expand All @@ -15,5 +16,6 @@ def test_is_call_single_queue_empty(prog):
print(smp.is_call_single_queue_empty(prog, cpu))


@pytest.mark.skip_live # flaky on live systems
def test_dump_smp_ipi_state(prog):
smp.dump_smp_ipi_state(prog)

0 comments on commit ac89696

Please sign in to comment.