Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 638162

Summary: sys-libs/libomp-4.0.1: test failure: worksharing/for/kmp_doacross_check.c
Product: Gentoo Linux Reporter: Thomas Deutschmann <whissi>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: CONFIRMED ---    
Severity: normal CC: llvm, mgorny
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: x86   
OS: Linux   
See Also: https://bugs.llvm.org/show_bug.cgi?id=35445
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Thomas Deutschmann gentoo-dev Security 2017-11-19 19:18:12 UTC
Created attachment 504980 [details]
build.log

>>> Source compiled.                                                                                            [86/541]
>>> Test phase: sys-libs/libomp-4.0.1
 * abi_x86_32.x86: running multilib-minimal_abi_src_test
>>> Working in BUILD_DIR: "/var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86"
ninja -v -j5 -l7.95 check-libomp
[0/1] cd /var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/test && /var/tmp/portage/sy
s-libs/libomp-4.0.1/temp/python2.7/bin/python /usr/bin/lit -sv --show-unsupported --show-xfail /var/tmp/portage/sys-libs
/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/test
-- Testing: 99 tests, 4 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60
FAIL: libomp :: worksharing/for/kmp_doacross_check.c (62 of 99)
******************** TEST 'libomp :: worksharing/for/kmp_doacross_check.c' FAILED ********************
Script:
--
/usr/lib/llvm/4/bin/i686-pc-linux-gnu-clang -fopenmp -I /var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.0.1.src/run
time/test -I /var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/src -L /var/tmp/portage
/sys-libs/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/src  /var/tmp/portage/sys-libs/libomp-4.0.1/work/ope
nmp-4.0.1.src/runtime/test/worksharing/for/kmp_doacross_check.c -o /var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.
0.1.src-abi_x86_32.x86/runtime/test/worksharing/for/Output/kmp_doacross_check.c.tmp -lm -latomic && /var/tmp/portage/sys
-libs/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/test/worksharing/for/Output/kmp_doacross_check.c.tmp
--
Exit Code: -6

Command Output (stdout):
--
$ "/usr/lib/llvm/4/bin/i686-pc-linux-gnu-clang" "-fopenmp" "-I" "/var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.0.
1.src/runtime/test" "-I" "/var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/src" "-L"
"/var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/src" "/var/tmp/portage/sys-libs/lib
omp-4.0.1/work/openmp-4.0.1.src/runtime/test/worksharing/for/kmp_doacross_check.c" "-o" "/var/tmp/portage/sys-libs/libom
p-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/test/worksharing/for/Output/kmp_doacross_check.c.tmp" "-lm" "-latom
ic"
$ "/var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/test/worksharing/for/Output/kmp_d
oacross_check.c.tmp"
# command stderr:
Assertion failure at kmp_csupport.cpp(3151): (kmp_int64)sh_buf->doacross_flags > 1.
Assertion failure at kmp_csupport.cpp(3151): (kmp_int64)sh_buf->doacross_flags > 1.

error: command failed with exit status: -6

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 143.53s
********************
Failing Tests (1):
    libomp :: worksharing/for/kmp_doacross_check.c

********************
Unsupported Tests (15):
    libomp :: ompt/parallel/nested.c
    libomp :: ompt/parallel/nested_lwt.c
    libomp :: ompt/parallel/nested_serialized.c
    libomp :: ompt/parallel/normal.c
    libomp :: ompt/parallel/serialized.c
    libomp :: ompt/worksharing/for/auto.c
    libomp :: ompt/worksharing/for/auto_serialized.c
    libomp :: ompt/worksharing/for/dynamic.c
    libomp :: ompt/worksharing/for/dynamic_serialized.c
    libomp :: ompt/worksharing/for/guided.c
    libomp :: ompt/worksharing/for/guided_serialized.c
    libomp :: ompt/worksharing/for/runtime.c
    libomp :: ompt/worksharing/for/runtime_serialized.c
    libomp :: ompt/worksharing/for/static.c
    libomp :: ompt/worksharing/for/static_serialized.c

********************
Expected Failing Tests (1):
    libomp :: worksharing/for/omp_for_bigbounds.c

  Expected Passes    : 82
  Expected Failures  : 1
  Unsupported Tests  : 15
  Unexpected Failures: 1
FAILED: runtime/test/CMakeFiles/check-libomp
cd /var/tmp/portage/sys-libs/libomp-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/test && /var/tmp/portage/sys-libs
/libomp-4.0.1/temp/python2.7/bin/python /usr/bin/lit -sv --show-unsupported --show-xfail /var/tmp/portage/sys-libs/libom
p-4.0.1/work/openmp-4.0.1.src-abi_x86_32.x86/runtime/test
ninja: build stopped: subcommand failed.
 * ERROR: sys-libs/libomp-4.0.1::gentoo failed (test phase):
 *   ninja -v -j5 -l7.95 check-libomp failed
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-19 19:29:52 UTC
Yes, we know. It will most likely be fixed in 6.0.0.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-28 13:01:36 UTC
Requested backport for 5.0.1.