Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Multiple libomp tests failing after 4fe839ef3a51 on Linux #43832

Closed Quuxplusone closed 4 years ago

Quuxplusone commented 4 years ago
Bugzilla Link PR44862
Status RESOLVED WORKSFORME
Importance P enhancement
Reported by Luke (lukebenes@hotmail.com)
Reported on 2020-02-09 22:51:51 -0800
Last modified on 2020-02-14 06:54:36 -0800
Version trunk
Hardware PC Linux
CC htmldeveloper@gmail.com, jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
When building clang with
$ cmake -DLLVM_ENABLE_PROJECTS='clang;openmp' -DCMAKE_BUILD_TYPE=Release -G
"Unix Makefiles" ../llvm && make check-all -j4

on Linux x86, 90+ libomp tests failing tests are failing after
https://github.com/llvm/llvm-project/commit/4fe839ef3a51e0ea2e72ea2f8e209790489407a2
    [CMake] Rename EXCLUDE_FROM_ALL and make it an argument to add_lit_testsuite

********************
Failing Tests (90):
    Clang :: Driver/crash-report.c
    libomp :: affinity/format/api.c
    libomp :: affinity/format/api2.c
    libomp :: affinity/format/fields_values.c
    libomp :: affinity/format/nested.c
    libomp :: affinity/format/nested2.c
    libomp :: api/has_openmp.c
    libomp :: api/kmp_aligned_malloc.c
    libomp :: api/omp_alloc_def_fb.c
    libomp :: api/omp_alloc_hbw.c
    libomp :: api/omp_alloc_null_fb.c
    libomp :: api/omp_get_num_devices.c
    libomp :: api/omp_get_num_threads.c
    libomp :: api/omp_get_wtime.c
    libomp :: api/omp_in_parallel.c
    libomp :: env/kmp_set_dispatch_buf.c
    libomp :: env/omp_target_offload.c
    libomp :: env/omp_wait_policy.c
    libomp :: flush/omp_flush.c
    libomp :: lock/omp_init_lock.c
    libomp :: lock/omp_lock.c
    libomp :: misc_bugs/stack-propagate.c
    libomp :: misc_bugs/teams-no-par.c
    libomp :: ompt/cancel/cancel_parallel.c
    libomp :: ompt/cancel/cancel_taskgroup.c
    libomp :: ompt/loadtool/tool_available/tool_available.c
    libomp :: ompt/loadtool/tool_available/tool_available.c
    libomp :: ompt/loadtool/tool_available/tool_available.c
    libomp :: ompt/loadtool/tool_available_search/tool_available_search.c
    libomp :: ompt/loadtool/tool_not_available/tool_not_available.c
    libomp :: ompt/loadtool/tool_not_available/tool_not_available.c
    libomp :: ompt/misc/api_calls_from_other_thread.cpp
    libomp :: ompt/misc/finalize_tool.c
    libomp :: ompt/misc/interoperability.cpp
    libomp :: ompt/misc/threads_nested.c
    libomp :: ompt/misc/unset_callback.c
    libomp :: ompt/parallel/dynamic_enough_threads.c
    libomp :: ompt/parallel/dynamic_not_enough_threads.c
    libomp :: ompt/parallel/max_active_levels_serialized.c
    libomp :: ompt/parallel/nested.c
    libomp :: ompt/parallel/nested.c
    libomp :: ompt/parallel/nested_lwt.c
    libomp :: ompt/parallel/nested_serialized.c
    libomp :: ompt/parallel/no_thread_num_clause.c
    libomp :: ompt/parallel/no_thread_num_clause.c
    libomp :: ompt/parallel/parallel_if0.c
    libomp :: ompt/parallel/serialized.c
    libomp :: ompt/synchronization/barrier/explicit.c
    libomp :: ompt/synchronization/barrier/for_loop.c
    libomp :: ompt/synchronization/barrier/parallel_region.c
    libomp :: ompt/synchronization/barrier/single.c
    libomp :: ompt/synchronization/critical.c
    libomp :: ompt/synchronization/flush.c
    libomp :: ompt/synchronization/master.c
    libomp :: ompt/synchronization/nest_lock.c
    libomp :: ompt/synchronization/ordered.c
    libomp :: ompt/synchronization/reduction/empty_reduce.c
    libomp :: ompt/synchronization/reduction/empty_reduce.c
    libomp :: ompt/synchronization/reduction/tree_reduce.c
    libomp :: ompt/synchronization/reduction/tree_reduce.c
    libomp :: ompt/synchronization/taskgroup.c
    libomp :: ompt/synchronization/test_lock.c
    libomp :: ompt/synchronization/test_nest_lock_parallel.c
    libomp :: ompt/tasks/explicit_task.c
    libomp :: ompt/tasks/task_in_joinbarrier.c
    libomp :: ompt/tasks/task_memory.c
    libomp :: ompt/tasks/task_types.c
    libomp :: ompt/tasks/taskyield.c
    libomp :: ompt/teams/serial_teams.c
    libomp :: ompt/worksharing/for/auto_serialized.c
    libomp :: ompt/worksharing/for/auto_split.c
    libomp :: ompt/worksharing/for/dynamic.c
    libomp :: ompt/worksharing/for/dynamic_serialized.c
    libomp :: ompt/worksharing/for/dynamic_split.c
    libomp :: ompt/worksharing/for/guided_serialized.c
    libomp :: ompt/worksharing/for/guided_split.c
    libomp :: ompt/worksharing/for/runtime.c
    libomp :: ompt/worksharing/for/runtime_split.c
    libomp :: ompt/worksharing/for/runtime_split.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_private.c
    libomp :: tasking/bug_nested_proxy_task.c
    libomp :: tasking/bug_proxy_task_dep_waiting.c
    libomp :: tasking/kmp_detach_tasks_t1.c
    libomp :: tasking/kmp_detach_tasks_t2.c
    libomp :: tasking/omp_task.c

  Expected Passes    : 17157
  Expected Failures  : 22
  Unsupported Tests  : 162
  Unexpected Failures: 90

Full log here:
https://pastebin.com/LWhAYu4K
Quuxplusone commented 4 years ago
Jonas,
Can you please look into why your patch is causing libomp lit tests to fail
with:
Could not create process (*.c.tmp) due to [Errno 26] Text file busy
Quuxplusone commented 4 years ago

As of f7e2227832a6 this issue is fixed.