Skip to content

3.15.0b2, Fedora 44, riscv64: failing test: test_c_stack_unwind #151040

@davidlt

Description

@davidlt

Bug report

Bug description:

Compiling for riscv64 on Fedora 44 new Beta 2 build adds one more failing test, test_c_stack_unwind

1 test failed:
    test_c_stack_unwind
475 tests OK.
1:01:50 load avg: 1.14 Re-running 1 failed tests in verbose mode in subprocesses
1:01:50 load avg: 1.14 Run 1 test in parallel using 1 worker process (timeout: 2 hour 15 min, worker timeout: 2 hour 20 min)
1:01:54 load avg: 1.12 [1/1/1] test_c_stack_unwind failed (1 failure)
Re-running test_c_stack_unwind in verbose mode (matching: test_manual_unwind_finds_expected_frames)
test_manual_unwind_finds_expected_frames (test.test_c_stack_unwind.ManualStackUnwindTests.test_manual_unwind_finds_expected_frames) ... #00 0x8000000000000000 -> other
{"length": 1, "python_frames": 0, "jit_frames": 0, "other_frames": 1, "jit_backend": null, "unwinder": "manual_frame_pointer_unwind"}
  test_manual_unwind_finds_expected_frames (test.test_c_stack_unwind.ManualStackUnwindTests.test_manual_unwind_finds_expected_frames) (env={'PYTHON_JIT': '0'}) ... FAIL
======================================================================
FAIL: test_manual_unwind_finds_expected_frames (test.test_c_stack_unwind.ManualStackUnwindTests.test_manual_unwind_finds_expected_frames) (env={'PYTHON_JIT': '0'})
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python3.15-3.15.0_b2-build/Python-3.15.0b2/Lib/test/test_c_stack_unwind.py", line 285, in test_manual_unwind_finds_expected_frames
    self.assertGreaterEqual(
    ~~~~~~~~~~~~~~~~~~~~~~~^
        python_frames,
        ^^^^^^^^^^^^^^
        STACK_DEPTH,
        ^^^^^^^^^^^^
        f"expected to find Python frames on {self.machine} with env {env}",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
AssertionError: 0 not greater than or equal to 10 : expected to find Python frames on riscv64 with env {'PYTHON_JIT': '0'}
----------------------------------------------------------------------
Ran 1 test in 1.394s
FAILED (failures=1)
test test_c_stack_unwind failed
1 test failed again:
    test_c_stack_unwind
== Tests result: FAILURE then FAILURE ==

Most likely related to failing test_frame_pointer_unwind in Beta 1. See:
#150919

Full failing build information (environment, build logs, etc.):
https://riscv-koji.fedoraproject.org/koji/taskinfo?taskID=224014

CPython versions tested on:

3.15

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions