[llvm-bugs] [Bug 50493] New: TEST 'libarcher :: races/lock-unrelated.c' FAILED

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 26 10:13:47 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50493

            Bug ID: 50493
           Summary: TEST 'libarcher :: races/lock-unrelated.c' FAILED
           Product: new-bugs
           Version: 12.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nnelson at infowest.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Obtained this error on Ubuntu 21.04 12.0.1 rc1 release run.

FAIL: libarcher :: races/lock-unrelated.c (82699 of 87931)
******************** TEST 'libarcher :: races/lock-unrelated.c' FAILED
********************
Script:
--
: 'RUN: at line 13';  
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/./bin/clang
-fopenmp -pthread -fno-experimental-isel -g -O1 -fsanitize=thread  -I
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests
-I
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/runtime/src
-L
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/lib
-Wl,-rpath,/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/lib
 
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c
-o
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp
-latomic && env
TSAN_OPTIONS='ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1'
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/deflake.bash
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp
2>&1 | tee
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp.log
|
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/./bin/FileCheck
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c
: 'RUN: at line 14';  
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/./bin/clang
-fopenmp -pthread -fno-experimental-isel -g -O1 -fsanitize=thread  -I
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests
-I
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/runtime/src
-L
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/lib
-Wl,-rpath,/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/lib
 
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c
-o
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp
-latomic && env ARCHER_OPTIONS=ignore_serial=1 env
TSAN_OPTIONS='ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1'
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/deflake.bash
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp
2>&1 | tee
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp.log
|
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/./bin/FileCheck
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 13"
note: command had no output on stdout or stderr
$
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/./bin/clang"
"-fopenmp" "-pthread" "-fno-experimental-isel" "-g" "-O1" "-fsanitize=thread"
"-I"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests"
"-I"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/runtime/src"
"-L"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/lib"
"-Wl,-rpath,/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/lib"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c"
"-o"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp"
"-latomic"
note: command had no output on stdout or stderr
$ "env"
"TSAN_OPTIONS=ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/deflake.bash"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp"
note: command had no output on stdout or stderr
$ "tee"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp.log"
note: command had no output on stdout or stderr
$
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/./bin/FileCheck"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c"
note: command had no output on stdout or stderr
$ ":" "RUN: at line 14"
note: command had no output on stdout or stderr
$
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/./bin/clang"
"-fopenmp" "-pthread" "-fno-experimental-isel" "-g" "-O1" "-fsanitize=thread"
"-I"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests"
"-I"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/runtime/src"
"-L"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/lib"
"-Wl,-rpath,/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/lib"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c"
"-o"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp"
"-latomic"
note: command had no output on stdout or stderr
$ "env" "ARCHER_OPTIONS=ignore_serial=1" "env"
"TSAN_OPTIONS=ignore_noninstrumented_modules=0:ignore_noninstrumented_modules=1"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/deflake.bash"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp"
note: command had no output on stdout or stderr
$ "tee"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/projects/openmp/tools/archer/tests/races/Output/lock-unrelated.c.tmp.log"
note: command had no output on stdout or stderr
$
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/Phase3/Release+Asserts/llvmCore-12.0.1-rc1.obj/./bin/FileCheck"
"/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c"
# command stderr:
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c:41:11:
error: CHECK: expected string not found in input
// CHECK: WARNING: ThreadSanitizer: data race
          ^
<stdin>:1:1: note: scanning from here
DONE
^

Input file: <stdin>
Check file:
/home/nnelson/Documents/llvm-project/llvm/utils/release/rc1/llvm-project/openmp/tools/archer/tests/races/lock-unrelated.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
          1: DONE
check:41     X~~~ error: no match found
>>>>>>

error: command failed with exit status: 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210526/f640d810/attachment.html>


More information about the llvm-bugs mailing list