<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJztW1tv27gS_jXKCyFDEnWxHvzgxM6e4LRJkXjRPU8GJVG2GloUSCpO--vPkJIcX3JzHSPZ3QSEqwvJGX4z5DccsQnPfg4mc4rSWghaKvRtThJRpERxgSpB7QUVM4oUlUoiIijKScGKcoYSmpJaUsRzxIqEiHRORVutrdLb6CvjVKKSKyTnfIkUSCSpqglbdWjaWt4Z-lFLBRWIMrVGNClIiZK6YJmpS7MeuqpoadpABcZnKIfHSNA7SphEy3mRznc1tpyR5Qyb37lSlbTw0PLOoZi-bwtFeylfwD1jdwu7EvwHTRXcAgoGBBuGmN7KroG-iEI37Fse7ruEBv1-ZJPUD2w_polNHJzYKQ0T6ua4HwaRRmpTLihc0KXsaXk9LmbwaOS6fRxEra6h0xZzez68-AJt1-DWPcEDQVKqtUlFoQBtZteloIwoQCpFltePXS0bu5HlxW3P3u8XNBnfTKDbaC89oD7SAxiP0CHCG_VvQEKltFRza9vtqEAHkHP956W-Av8Bs1PkYnhm4VOE4OX5HRHawkWybnebzMD11w275QLmOfzb09dFqcfICPifnXPwxEWF7ErNBSUZPCm5Te8rKooF9AkgFJIyZEPdKxfeSlICOL-ohUdtC2Rf_L5ijXi4UJwz_b6xiH5g_P-QvrtBt0_kujhRlwoGCFdSpMj-crgUaIfs7wwWAFtURM3h4k36PMDqL4CrYXhu5tn8ONi_qM1VrapaPaFWT2l3hRu-KPTqEEJBtLxDk5vh5fTq2-Ti6vIGvBMmTTEruaDTksNaK5WotUPTbLrgWc1AEB45MM9erOTqqX9EG2Q0Z-SW9hIi5x8WcM_CYwDaRVZ0BtREP6qiPc2mWsc3XCrPgZzPNHW-10x8lh38T3b4ZIdPdniJHYbXZ_8ZX2_wg9cu_RK8mTC90kMIXnGhphlRZMoouW2Wf--TXz755R_PL90uZHxfKHTGM6ppxl3fdZ7xxYKUGWpQ0jszqTKu8Yp39zKeDxU8s1f09NUjux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lKOv7aa0K1npt38G7wUhCHRx-BiOfZbds-7C7L8uZZAM6RvbgX--LO8N30Ut_Gsh9_57IDe0YGh-cDXhLU25rZ5IBo6vL8atlbfcQPOG9zRdzgMVFSyJ0tCY_jGu2KaPxdllLMa1yDF2mtzmhi5aFmiOqv4RKRVQtd76FHn4ItD0U28ibmPMs-qzr-sdUtN9Z2RcbMZ7e2iWIotn-7fZpUBFBGKPMlsWiYvQVLXTWwM5opedYmf58bQv9MxO8rvZSb9V0SQrVAvLqZkv-TFVdpa051dpM85rlBWOrzOjmkejm90oYf4O1HZHyJ6pMrotUFStotvKFvY58m1u9T1oPnHw3gjgHR_0kTkM_tROcO7Yf-8QmaZDZYeIHGPu0T7Fzkg1wFuOYnJAaFBODrxRYR8ikFie1YINNZWagfJ2sabKrUCFlbTAMsB9GJ_NBHGRpnBPficIA92OKU4rzqB8Q6iRpHscnjCSUyYEVnFqet_qEbwWjk8PFFwPP8TzH9fquH4SB2wtxHDo48lISJ2EeJpbvUICPrY62n4iB6TKpZxJesgKm68NLAhwxKylttf0BgtUv2qqrCsXo4MFTHv5TQnMevzvff2KUHBgN_w9F_zUn>53467</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
libarcher pre-merge checks failing
</td>
</tr>
<tr>
<th>Labels</th>
<td>
openmp
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
jprotze
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Meinersbur
</td>
</tr>
</table>
<pre>
The current Phabricator pre-merge tests are failing because of libarcher tests failing. Phabricator does not show the actual failing tests, just that the Debian build failed. Opening the log file reveals which tests are failing
https://buildkite.com/llvm-project/premerge-checks/builds/76168#81ae5887-ac45-49eb-a03b-ce6be1f38657 of https://reviews.llvm.org/D118357
```
FAIL: libarcher :: races/critical-unrelated.c (91 of 317)
******************** TEST 'libarcher :: races/critical-unrelated.c' FAILED ********************
Script:
--
: 'RUN: at line 13'; /var/lib/buildkite-agent/builds/llvm-project/build/./bin/clang -fopenmp -pthread -fno-experimental-isel -g -O1 -fsanitize=thread -I /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests -I /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/runtime/src -L /var/lib/buildkite-agent/builds/llvm-project/build/lib -Wl,-rpath,/var/lib/buildkite-agent/builds/llvm-project/build/lib /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/critical-unrelated.c -o /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/critical-unrelated.c.tmp -latomic && env TSAN_OPTIONS='ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1' /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/deflake.bash /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/critical-unrelated.c.tmp 2>&1 | tee /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/critical-unrelated.c.tmp.log | /var/lib/buildkite-agent/builds/llvm-project/build/./bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/critical-unrelated.c
: 'RUN: at line 14'; /var/lib/buildkite-agent/builds/llvm-project/build/./bin/clang -fopenmp -pthread -fno-experimental-isel -g -O1 -fsanitize=thread -I /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests -I /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/runtime/src -L /var/lib/buildkite-agent/builds/llvm-project/build/lib -Wl,-rpath,/var/lib/buildkite-agent/builds/llvm-project/build/lib /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/critical-unrelated.c -o /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/critical-unrelated.c.tmp -latomic && env ARCHER_OPTIONS="ignore_serial=1 report_data_leak=1" env TSAN_OPTIONS='ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1' /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/deflake.bash /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/critical-unrelated.c.tmp 2>&1 | tee /var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/critical-unrelated.c.tmp.log | /var/lib/buildkite-agent/builds/llvm-project/build/./bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/critical-unrelated.c
--
Exit Code: 1
Command Output (stdout):
--
$ ":" "RUN: at line 13"
$ "/var/lib/buildkite-agent/builds/llvm-project/build/./bin/clang" "-fopenmp" "-pthread" "-fno-experimental-isel" "-g" "-O1" "-fsanitize=thread" "-I" "/var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests" "-I" "/var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/runtime/src" "-L" "/var/lib/buildkite-agent/builds/llvm-project/build/lib" "-Wl,-rpath,/var/lib/buildkite-agent/builds/llvm-project/build/lib" "/var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/critical-unrelated.c" "-o" "/var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/critical-unrelated.c.tmp" "-latomic"
$ "env" "TSAN_OPTIONS=ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1" "/var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/deflake.bash" "/var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/critical-unrelated.c.tmp"
$ "tee" "/var/lib/buildkite-agent/builds/llvm-project/build/projects/openmp/tools/archer/tests/races/Output/critical-unrelated.c.tmp.log"
$ "/var/lib/buildkite-agent/builds/llvm-project/build/./bin/FileCheck" "/var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/critical-unrelated.c"
# command stderr:
/var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/critical-unrelated.c:37:16: error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: #0 {{.*}}critical-unrelated.c:29
^
<stdin>:4:17: note: scanning from here
Write of size 4 at 0x7ffe13e37c94 by thread T3:
^
<stdin>:22:29: note: possible intended match here
SUMMARY: ThreadSanitizer: data race critical-unrelated.c:? in .omp_outlined.
^
Input file: <stdin>
Check file: /var/lib/buildkite-agent/builds/llvm-project/openmp/tools/archer/tests/races/critical-unrelated.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: /usr/bin/addr2line: DWARF error: invalid or unhandled FORM value: 0x25
2: ==================
3: WARNING: ThreadSanitizer: data race (pid=2868172)
4: Write of size 4 at 0x7ffe13e37c94 by thread T3:
next:37'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
5: #0 .omp_outlined. critical-unrelated.c:? (critical-unrelated.c.tmp+0x4ceaf1)
next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: #1 __kmp_invoke_microtask ??:? (libomp.so+0xde772) (BuildId: 9b2d0c31f22855b5)
next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7: #2 main ??:? (critical-unrelated.c.tmp+0x4cea68)
next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8:
next:37'0 ~
9: Previous write of size 4 at 0x7ffe13e37c94 by main thread:
next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
17:
next:37'0 ~
18: Thread T3 (tid=2868646, running) created by main thread at:
next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19: #0 pthread_create /var/lib/buildkite-agent/builds/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1017 (critical-unrelated.c.tmp+0x45070d)
next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20: #1 __kmp_create_worker /var/lib/buildkite-agent/builds/llvm-project/openmp/runtime/src/z_Linux_util.cpp:803 (libomp.so+0xbe036) (BuildId: 9b2d0c31f22855b5)
next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21:
next:37'0 ~
22: SUMMARY: ThreadSanitizer: data race critical-unrelated.c:? in .omp_outlined.
next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:37'1 ? possible intended match
23: ==================
next:37'0 ~~~~~~~~~~~~~~~~~~~
24: DONE
next:37'0 ~~~~~
25: ThreadSanitizer: reported 1 warnings
next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>
error: command failed with exit status: 1
********************
Failed Tests (9):
libarcher :: races/critical-unrelated.c
libarcher :: races/lock-nested-unrelated.c
libarcher :: races/lock-unrelated.c
libarcher :: races/parallel-simple.c
libarcher :: races/task-dependency.c
libarcher :: races/task-taskgroup-unrelated.c
libarcher :: races/task-taskwait-nested.c
libarcher :: races/task-two.c
libarcher :: task/task_late_fulfill.c
```
Or without any patch applied:
https://buildkite.com/llvm-project/llvm-main/builds/4176#78b9c64c-b3f0-494a-ac5d-6b45334e8e30
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm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