Bug 2048440 - CrashRecoveryTest.DumpStackCleanup test fails on aarch64
Summary: CrashRecoveryTest.DumpStackCleanup test fails on aarch64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 36
Hardware: aarch64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Nikita Popov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-31 09:19 UTC by Nikita Popov
Modified: 2023-01-02 12:19 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-01-02 12:19:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nikita Popov 2022-01-31 09:19:47 UTC
In my last two builds of llvm-13.0.1~rc3-1.fc36 on aarch64 the unit test CrashRecoveryTest.DumpStackCleanup failed. The relevant part of the build log is:


+ LD_LIBRARY_PATH=/builddir/build/BUILDROOT/llvm-13.0.1~rc3-1.fc36.aarch64//usr/lib64
+ /usr/bin/ninja check-all -C redhat-linux-build
ninja: Entering directory `redhat-linux-build'
[1/2] Preparing lit tests
[1/2] Running all regression tests
-- Testing: 44832 tests, 5 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: LLVM-Unit :: Support/./SupportTests/CrashRecoveryTest.DumpStackCleanup (43426 of 44832)
******************** TEST 'LLVM-Unit :: Support/./SupportTests/CrashRecoveryTest.DumpStackCleanup' FAILED ********************
Script:
--
/builddir/build/BUILD/llvm-13.0.1rc3.src/redhat-linux-build/unittests/Support/./SupportTests --gtest_filter=CrashRecoveryTest.DumpStackCleanup
--
Note: Google Test filter = CrashRecoveryTest.DumpStackCleanup
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CrashRecoveryTest
[ RUN      ] CrashRecoveryTest.DumpStackCleanup
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
********************
Failed Tests (1):
  LLVM-Unit :: Support/./SupportTests/CrashRecoveryTest.DumpStackCleanup
Testing Time: 1185.08s
  Unsupported      :  1745
  Passed           : 42937
  Expectedly Failed:   149
  Failed           :     1
FAILED: CMakeFiles/check-all /builddir/build/BUILD/llvm-13.0.1rc3.src/redhat-linux-build/CMakeFiles/check-all


Based on the output, it looks like the test hangs. Unfortunately, I was not able to reproduce this issue in a mockbuild environment, both when running this test many times sequentially, and when running it under high parallelism.

For now, I'm going to disable the test.

Comment 1 Ben Cotton 2022-02-08 20:24:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 2 Nikita Popov 2023-01-02 12:19:38 UTC
Seems to work fine now, workaround removed in https://src.fedoraproject.org/rpms/llvm/c/1862c052da7fb471b0b9dd8b884941a1d2a1589b.


Note You need to log in before you can comment on or make changes to this bug.