Issue 117773
Summary [openmp] Test `libarcher :: races/taskwait-depend.c` fails intermittently
Labels new issue
Assignees
Reporter tuliom
    From time to time, we see failures from `libarcher :: races/taskwait-depend.c`. We've already reproduced these failures on both aarch64 and s390x.

```
******************** TEST 'libarcher :: races/taskwait-depend.c' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 14
/builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/./bin/clang -fopenmp  -gdwarf-4 -O1 -fsanitize=thread  -I /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests -I /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src -L /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/races/taskwait-depend.c -o /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp -latomic && env TSAN_OPTIONS='ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1' /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/deflake.bash /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp 2>&1 | tee /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp.log | /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/./bin/FileCheck /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/races/taskwait-depend.c
# executed command: /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/./bin/clang -fopenmp -gdwarf-4 -O1 -fsanitize=thread -I /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests -I /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src -L /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/races/taskwait-depend.c -o /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp -latomic
# executed command: env TSAN_OPTIONS=ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1 /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/deflake.bash /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp
# executed command: tee /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp.log
# executed command: /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/./bin/FileCheck /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/races/taskwait-depend.c
# RUN: at line 15
/builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/./bin/clang -fopenmp  -gdwarf-4 -O1 -fsanitize=thread  -I /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests -I /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src -L /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/races/taskwait-depend.c -o /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp -latomic && env ARCHER_OPTIONS="ignore_serial=1 report_data_leak=1" env TSAN_OPTIONS='ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1' /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/deflake.bash /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp 2>&1 | tee /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp.log | /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/./bin/FileCheck /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/races/taskwait-depend.c
# executed command: /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/./bin/clang -fopenmp -gdwarf-4 -O1 -fsanitize=thread -I /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests -I /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src -L /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/runtime/src /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/races/taskwait-depend.c -o /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp -latomic
# executed command: env 'ARCHER_OPTIONS=ignore_serial=1 report_data_leak=1' env TSAN_OPTIONS=ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1 /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/deflake.bash /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: tee /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/runtimes/runtimes-bins/openmp/tools/archer/tests/races/Output/taskwait-depend.c.tmp.log
# executed command: /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/./bin/FileCheck /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/races/taskwait-depend.c
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/llvm/redhat-linux-build/./bin/FileCheck /builddir/build/BUILD/llvm-project-ba623e10b4064c410a1b79280ec7fb963463eb29/openmp/tools/archer/tests/races/taskwait-depend.c
# `-----------------------------
# error: command failed with exit status: 2

--

********************
```

A full log of the builds are available at:
- s390x: https://download.copr.fedorainfracloud.org/results/@fedora-llvm-team/llvm-snapshots-big-merge-20241115/fedora-40-s390x/08264238-llvm/builder-live.log.gz
- aarch64: https://download.copr.fedorainfracloud.org/results/@fedora-llvm-team/llvm-snapshots-big-merge-20241120/rhel-8-aarch64/08283233-llvm/builder-live.log.gz
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to