Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2052613

Summary: llvm-integration-testsuite failures [ppc64le, s390x]
Product: Red Hat Enterprise Linux 9 Reporter: Jesus Checa <jchecahi>
Component: llvmAssignee: serge_sans_paille <sguelton>
Status: CLOSED NOTABUG QA Contact: Jesus Checa <jchecahi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: mprchlik, sguelton, sipoyare, tstellar
Target Milestone: rcKeywords: Bugfix, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2055194 (view as bug list) Environment:
Last Closed: 2022-08-08 16: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 Jesus Checa 2022-02-09 16:37:24 UTC
Description of problem:
Upstream llvm-integration-testsuite show up some failures in ppc64le and s390x

Version-Release number of selected component (if applicable):
python-lit-13.0.1-1.el9
llvm-toolset-13.0.1-1.el9
llvm-13.0.1-1.el9
lldb-13.0.1-1.el9
compiler-rt-13.0.1-1.el9
clang-13.0.1-1.el9

ppc64le only:
lld-13.0.1-1.el9
libomp-13.0.1-1.el9

How reproducible:
100%

Steps to Reproduce:
1. git clone https://github.com/opencollab/llvm-toolchain-integration-test-suite
2. cd llvm-toolchain-integration-test-suite
3. mkdir _build && cd _build
4. cmake .. -GNinja -DENABLE_LIBCXX=OFF
5. ninja check

Actual results:

##### ppc64le #####

FAIL: LLVM regression suite :: lto_and_cfi.c (16 of 41)
******************** TEST 'LLVM regression suite :: lto_and_cfi.c' FAILED ********************
Script:
--
: 'RUN: at line 2';   /usr/bin/clang -flto -fsanitize=cfi -fvisibility=hidden /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/lto_and_cfi.c -o /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/lto_and_cfi.c.tmp
--
Exit Code: 1

Command Output (stderr):
--
clang-13: error: no such file or directory: '/usr/lib64/clang/13.0.1/share/cfi_ignorelist.txt'

--

********************
FAIL: LLVM regression suite :: basic_lldb.c (19 of 41)
******************** TEST 'LLVM regression suite :: basic_lldb.c' FAILED ********************
Script:
--
: 'RUN: at line 1';   /usr/bin/clang -g -o /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_lldb.c.tmp /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/basic_lldb.c
: 'RUN: at line 2';   /usr/bin/lldb -s /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/basic_lldb.in /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_lldb.c.tmp | grep "main at basic_lldb.c:"
--
Exit Code: 1

Command Output (stderr):
--
error: invalid thread

--

********************
FAIL: LLVM regression suite :: basic_lldb2.cpp (24 of 41)
******************** TEST 'LLVM regression suite :: basic_lldb2.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1';   /usr/bin/clang++ -g -o /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_lldb2.cpp.tmp /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/basic_lldb2.cpp
: 'RUN: at line 2';   /usr/bin/lldb -s /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/basic_lldb2.in /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_lldb2.cpp.tmp | grep "stop reason = step over"
--
Exit Code: 1

Command Output (stderr):
--
error: invalid thread

--

********************

##### s390x #####

FAIL: LLVM regression suite :: basic_openmp.c (7 of 41)
******************** TEST 'LLVM regression suite :: basic_openmp.c' FAILED ********************
Script:
--
: 'RUN: at line 3';   /usr/bin/clang -fopenmp /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/tests/basic_openmp.c -o /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_openmp.c.tmp
: 'RUN: at line 4';   /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_openmp.c.tmp | grep "Num Threads: 1"
--
Exit Code: 1

Command Output (stderr):
--
/var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/tests/basic_openmp.c:7:10: fatal error: 'omp.h' file not found
#include <omp.h>
         ^~~~~~~
1 error generated.

--

********************

FAIL: LLVM regression suite :: lto_and_cfi.c (21 of 41)
******************** TEST 'LLVM regression suite :: lto_and_cfi.c' FAILED ********************
Script:
--
: 'RUN: at line 2';   /usr/bin/clang -flto -fsanitize=cfi -fvisibility=hidden /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/tests/lto_and_cfi.c -o /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/_build/tests/Output/lto_and_cfi.c.tmp
--
Exit Code: 1

Command Output (stderr):
--
clang-13: error: no such file or directory: '/usr/lib64/clang/13.0.1/share/cfi_ignorelist.txt'

--

********************

Expected results:
No test failures.

Additional info:

Comment 3 Jesus Checa 2022-02-14 11:34:31 UTC
basic_lldb.c and basic_lldb2.c test failures in ppc64le are very likely related to bug 2052982.

Comment 5 serge_sans_paille 2022-02-23 16:27:52 UTC
The errors related to cfi_ignorelist.txt can be ignored: this setup is not supported upstream. I'll propose a patch to the integration-test-suite to disable these checks

Comment 6 serge_sans_paille 2022-02-23 18:50:33 UTC
@jchecahi can you do an extra run with that https://github.com/opencollab/llvm-toolchain-integration-test-suite/pull/79 patch applied on the test suite?

Comment 7 Jesus Checa 2022-02-24 10:44:21 UTC
@sguelton lto_and_cfi case is now XFAIL in both ppc64le and s390x so the patch is indeed good. aarch64 and x86_64 are still full green:

s390x:
XFAIL: LLVM regression suite :: lto_and_cfi.c (22 of 43)
ppc64le:
XFAIL: LLVM regression suite :: lto_and_cfi.c (16 of 43)

Comment 8 serge_sans_paille 2022-04-06 09:59:30 UTC
basic_openmp.c should be handled by https://github.com/opencollab/llvm-toolchain-integration-test-suite/pull/81

Comment 9 serge_sans_paille 2022-05-10 13:57:48 UTC
the lfo_cfi issue has been handled by https://github.com/opencollab/llvm-toolchain-integration-test-suite/pull/83
the lldb issue should be fixed once https://github.com/opencollab/llvm-toolchain-integration-test-suite/pull/86 is in