Bug 2048440

Summary: CrashRecoveryTest.DumpStackCleanup test fails on aarch64
Product: [Fedora] Fedora Reporter: Nikita Popov <npopov>
Component: llvmAssignee: Nikita Popov <npopov>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: dmalcolm, jakub, jistone, kkleine, scottt.tw, sean, sguelton, siddharth.kde, tstellar
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-02 12:19:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.