Bug 2052613 - llvm-integration-testsuite failures [ppc64le, s390x]
Summary: llvm-integration-testsuite failures [ppc64le, s390x]
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: llvm
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: serge_sans_paille
QA Contact: Jesus Checa
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-09 16:37 UTC by Jesus Checa
Modified: 2022-08-08 16:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2055194 (view as bug list)
Environment:
Last Closed: 2022-08-08 16:19:38 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-111719 0 None None None 2022-02-09 16:41:41 UTC

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


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