Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678576 - >=sys-libs/libomp-6.0.1 fails tests on ppc64
Summary: >=sys-libs/libomp-6.0.1 fails tests on ppc64
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-02-22 13:49 UTC by ernsteiswuerfel
Modified: 2021-08-11 20:19 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (libomp-8.0.0_rc2:20190222-133531.log,356.57 KB, text/plain)
2019-02-22 13:49 UTC, ernsteiswuerfel
Details
emerge --info (file_678576.txt,6.55 KB, text/plain)
2019-02-22 13:50 UTC, ernsteiswuerfel
Details
build.log (10.0.0) (libomp-10.0.0:20200515-104728.log,361.10 KB, text/plain)
2020-05-15 11:07 UTC, ernsteiswuerfel
Details
emerge --info (file_678576.txt,6.28 KB, text/plain)
2020-05-15 11:08 UTC, ernsteiswuerfel
Details
build.log (11.0.1) (libomp-11.0.1:20210309-175226.log,370.74 KB, text/plain)
2021-03-09 18:52 UTC, ernsteiswuerfel
Details
emerge --info (file_678576.txt,5.75 KB, text/plain)
2021-03-09 18:52 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2019-02-22 13:49:53 UTC
Created attachment 566068 [details]
build.log

Failing Tests (111):
    libomp :: affinity/bug-nested.c
    libomp :: affinity/format/affinity_display.1.c
    libomp :: affinity/format/affinity_values.c
    libomp :: affinity/format/api.c
    libomp :: affinity/format/api2.c
    libomp :: affinity/format/fields_modifiers.c
    libomp :: affinity/format/fields_values.c
    libomp :: affinity/format/increase.c
    libomp :: affinity/format/nested.c
    libomp :: affinity/format/nested2.c
    libomp :: affinity/format/nested_mixed.c
    libomp :: affinity/format/nested_serial.c
    libomp :: affinity/format/proc_bind.c
    libomp :: affinity/format/simple.c
    libomp :: affinity/format/simple_env.c
    libomp :: api/kmp_aligned_malloc.c
    libomp :: api/kmp_set_defaults_lock_bug.c
    libomp :: api/omp_alloc.c
    libomp :: api/omp_get_num_threads.c
    libomp :: api/omp_in_parallel.c
    libomp :: atomic/omp_atomic.c
    libomp :: barrier/omp_barrier.c
    libomp :: critical/omp_critical.c
    libomp :: env/kmp_aff_disable_hwloc.c
    libomp :: env/kmp_set_dispatch_buf.c
    libomp :: env/omp_thread_limit.c
    libomp :: flush/omp_flush.c
    libomp :: lock/omp_init_lock.c
    libomp :: lock/omp_lock.c
    libomp :: lock/omp_nest_lock.c
    libomp :: lock/omp_test_lock.c
    libomp :: lock/omp_test_nest_lock.c
    libomp :: master/omp_master.c
    libomp :: master/omp_master_3.c
    libomp :: misc_bugs/cancellation_for_sections.c
    libomp :: misc_bugs/many-microtask-args.c
    libomp :: misc_bugs/omp_foreign_thread_team_reuse.c
    libomp :: misc_bugs/teams-no-par.c
    libomp :: misc_bugs/teams-reduction.c
    libomp :: ompt/misc/control_tool_no_ompt_support.c
    libomp :: parallel/omp_nested.c
    libomp :: parallel/omp_parallel_copyin.c
    libomp :: parallel/omp_parallel_default.c
    libomp :: parallel/omp_parallel_firstprivate.c
    libomp :: parallel/omp_parallel_if.c
    libomp :: parallel/omp_parallel_num_threads.c
    libomp :: parallel/omp_parallel_private.c
    libomp :: parallel/omp_parallel_reduction.c
    libomp :: parallel/omp_parallel_shared.c
    libomp :: tasking/bug_36720.c
    libomp :: tasking/bug_nested_proxy_task.c
    libomp :: tasking/bug_proxy_task_dep_waiting.c
    libomp :: tasking/kmp_task_reduction_nest.cpp
    libomp :: tasking/kmp_taskloop.c
    libomp :: tasking/nested_parallel_tasking.c
    libomp :: tasking/nested_task_creation.c
    libomp :: tasking/omp50_task_depend_mtx.c
    libomp :: tasking/omp50_task_depend_mtx2.c
    libomp :: tasking/omp_task.c
    libomp :: tasking/omp_task_final.c
    libomp :: tasking/omp_task_firstprivate.c
    libomp :: tasking/omp_task_if.c
    libomp :: tasking/omp_task_imp_firstprivate.c
    libomp :: tasking/omp_task_private.c
    libomp :: tasking/omp_task_shared.c
    libomp :: tasking/omp_taskloop_grainsize.c
    libomp :: tasking/omp_taskloop_num_tasks.c
    libomp :: tasking/omp_taskwait.c
    libomp :: tasking/omp_taskyield.c
    libomp :: threadprivate/omp_threadprivate.c
    libomp :: threadprivate/omp_threadprivate_for.c
    libomp :: worksharing/for/bug_set_schedule_0.c
    libomp :: worksharing/for/kmp_doacross_check.c
    libomp :: worksharing/for/kmp_sch_simd_guided.c
    libomp :: worksharing/for/kmp_sch_simd_runtime_api.c
    libomp :: worksharing/for/kmp_sch_simd_runtime_guided.c
    libomp :: worksharing/for/kmp_sch_simd_runtime_static.c
    libomp :: worksharing/for/kmp_set_dispatch_buf.c
    libomp :: worksharing/for/omp_doacross.c
    libomp :: worksharing/for/omp_for_collapse.c
    libomp :: worksharing/for/omp_for_firstprivate.c
    libomp :: worksharing/for/omp_for_lastprivate.c
    libomp :: worksharing/for/omp_for_nowait.c
    libomp :: worksharing/for/omp_for_ordered.c
    libomp :: worksharing/for/omp_for_private.c
    libomp :: worksharing/for/omp_for_reduction.c
    libomp :: worksharing/for/omp_for_schedule_auto.c
    libomp :: worksharing/for/omp_for_schedule_dynamic.c
    libomp :: worksharing/for/omp_for_schedule_guided.c
    libomp :: worksharing/for/omp_for_schedule_runtime.c
    libomp :: worksharing/for/omp_for_schedule_static.c
    libomp :: worksharing/for/omp_for_schedule_static_3.c
    libomp :: worksharing/for/omp_parallel_for_firstprivate.c
    libomp :: worksharing/for/omp_parallel_for_if.c
    libomp :: worksharing/for/omp_parallel_for_lastprivate.c
    libomp :: worksharing/for/omp_parallel_for_ordered.c
    libomp :: worksharing/for/omp_parallel_for_private.c
    libomp :: worksharing/for/omp_parallel_for_reduction.c
    libomp :: worksharing/sections/omp_parallel_sections_firstprivate.c
    libomp :: worksharing/sections/omp_parallel_sections_lastprivate.c
    libomp :: worksharing/sections/omp_parallel_sections_private.c
    libomp :: worksharing/sections/omp_parallel_sections_reduction.c
    libomp :: worksharing/sections/omp_section_firstprivate.c
    libomp :: worksharing/sections/omp_section_lastprivate.c
    libomp :: worksharing/sections/omp_section_private.c
    libomp :: worksharing/sections/omp_sections_nowait.c
    libomp :: worksharing/sections/omp_sections_reduction.c
    libomp :: worksharing/single/omp_single.c
    libomp :: worksharing/single/omp_single_copyprivate.c
    libomp :: worksharing/single/omp_single_nowait.c
    libomp :: worksharing/single/omp_single_private.c

  Expected Passes    : 7
  Expected Failures  : 1
  Unsupported Tests  : 71
  Unexpected Failures: 111
FAILED: runtime/test/CMakeFiles/check-libomp 
cd /var/tmp/portage/sys-libs/libomp-8.0.0_rc2/work/openmp-8.0.0rc2.src-abi_ppc_64.ppc64/runtime/test && /var/tmp/portage/sys-libs/libomp-8.0.0_rc2/temp/python2.7/bin/python /usr/bin/lit -vv -j 34 /var/tmp/portage/sys-libs/libomp-8.0.0_rc2/work/openmp-8.0.0rc2.src-abi_ppc_64.ppc64/runtime/test
ninja: build stopped: subcommand failed.
 * ERROR: sys-libs/libomp-8.0.0_rc2::gentoo failed (test phase):
 *   ninja -v -j34 -l32 check-libomp failed
Comment 1 ernsteiswuerfel archtester 2019-02-22 13:50:35 UTC
Created attachment 566070 [details]
emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-02-22 16:34:26 UTC
Apparently it doesn't work at all.  Could you try 7.0.1 for comparison?
Comment 3 ernsteiswuerfel archtester 2019-02-22 18:37:29 UTC
(In reply to Michał Górny from comment #2)
> Apparently it doesn't work at all.  Could you try 7.0.1 for comparison?
I already did.

libomp-7.0.1: bug #671904
libomp-6.0.1: bug #667888
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-02-22 18:59:27 UTC
Ok, so it's nothing new.  Do you see any usefulness for libomp on ppc64 right now?  Maybe we should just drop the keywords.
Comment 5 ernsteiswuerfel archtester 2019-02-22 19:22:13 UTC
(In reply to Michał Górny from comment #4)
> Ok, so it's nothing new.  Do you see any usefulness for libomp on ppc64
> right now?  Maybe we should just drop the keywords.
I do use clang on ppc64, but not libomp. Just wanted to run the whole testsuite.

But I am the wrong person to ask. Better talk to someone from the PowerPC team before dropping it. ;)
Comment 6 ernsteiswuerfel archtester 2020-05-15 11:06:54 UTC
Same for 10.0.0.

[...]
  Expected Passes    : 8
  Expected Failures  : 1
  Unsupported Tests  : 80
  Unexpected Failures: 127
FAILED: runtime/test/CMakeFiles/check-libomp 
cd /var/tmp/portage/sys-libs/libomp-10.0.0/work/openmp-.ppc64/runtime/test && /var/tmp/portage/sys-libs/libomp-10.0.0/temp/python3.6/bin/python /usr/bin/lit -vv -j 24 /var/tmp/portage/sys-libs/libomp-10.0.0/work/openmp-.ppc64/runtime/test
ninja: build stopped: subcommand failed.
 * ERROR: sys-libs/libomp-10.0.0::gentoo failed (test phase):
 *   ninja -v -j24 -l24 check-libomp failed
Comment 7 ernsteiswuerfel archtester 2020-05-15 11:07:33 UTC
Created attachment 639314 [details]
build.log (10.0.0)
Comment 8 ernsteiswuerfel archtester 2020-05-15 11:08:11 UTC
Created attachment 639316 [details]
emerge --info
Comment 9 Georgy Yakovlev archtester gentoo-dev 2020-10-11 05:57:57 UTC
10.0.1 does not look bad on ppc64le at least. that's with USE=hwloc

I'll try on big-endian soon-ish, we can mask it on BE profile if it's that broken there.

Testing Time: 51.83s
********************
Failing Tests (1):
    libomp :: env/kmp_aff_disable_hwloc.c

  Expected Passes    : 134
  Expected Failures  : 1
  Unsupported Tests  : 80
  Unexpected Failures: 1
Comment 10 Georgy Yakovlev archtester gentoo-dev 2020-10-11 06:00:27 UTC
and no failures without hwloc.
Comment 11 Georgy Yakovlev archtester gentoo-dev 2020-10-11 06:51:24 UTC
ran tests on big-endian qemu, looks completely broken =)
I'll give it a shot on real HW and proceed with masks if it's the same.
Comment 12 ernsteiswuerfel archtester 2021-03-09 18:52:04 UTC
Created attachment 690312 [details]
build.log (11.0.1)

Same on 11.0.1.

[...]
Testing Time: 52.45s
  Unsupported:  91
  Passed     :   9
  Failed     : 126
FAILED: runtime/test/CMakeFiles/check-libomp 
cd /var/tmp/portage/sys-libs/libomp-11.0.1/work/libomp-11.0.1_build-.ppc64/runtime/test && /var/tmp/portage/sys-libs/libomp-11.0.1/temp/python3.9/bin/python /usr/bin/lit -vv -j 16 /var/tmp/portage/sys-libs/libomp-11.0.1/work/libomp-11.0.1_build-.ppc64/runtime/test
ninja: build stopped: subcommand failed.
 * ERROR: sys-libs/libomp-11.0.1::gentoo failed (test phase):
Comment 13 ernsteiswuerfel archtester 2021-03-09 18:52:32 UTC
Created attachment 690315 [details]
emerge --info
Comment 14 ernsteiswuerfel archtester 2021-08-11 20:19:08 UTC
The mass failing of tests on ppc64 seems over now with libomp-12.0.1. Only 8 tests failing with 12.0.1.

I'll obsolete this bug and open a new one as this is probably a different issue.