http://llvm.org/bugs/show_bug.cgi?id=19705
Bug ID: 19705
Summary: TestCases/Linux/coverage-module-unloaded.cc fails on
the bots
Product: compiler-rt
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
It flakily fails on
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-ubuntu-13.04 (e.g.
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-ubuntu-13.04/builds/16182
) and consistently fails on
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-centos-6.5
Output from the flaky fail:
******************** TEST 'AddressSanitizer32 ::
TestCases/Linux/coverage-module-unloaded.cc' FAILED ********************
Script:
--
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/./bin/clang
--driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32 -mllvm
-asan-coverage=1 -DSHARED
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
-shared -o
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/projects/compiler-rt/test/asan/32bitConfig/TestCases/Linux/Output/libcoverage_module_unloaded_test_1.so
-fPIC
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/./bin/clang
--driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32 -mllvm
-asan-coverage=1 -DSHARED
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
-shared -o
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/projects/compiler-rt/test/asan/32bitConfig/TestCases/Linux/Output/libcoverage_module_unloaded_test_2.so
-fPIC
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/./bin/clang
--driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m32 -mllvm
-asan-coverage=1
-DSO_DIR=\"/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/projects/compiler-rt/test/asan/32bitConfig/TestCases/Linux/Output\"
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
-o
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/projects/compiler-rt/test/asan/32bitConfig/TestCases/Linux/Output/coverage-module-unloaded.cc.tmp
-Wl,-R,\$ORIGIN
-L/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/projects/compiler-rt/test/asan/32bitConfig/TestCases/Linux/Output
-lcoverage_test
export ASAN_OPTIONS=coverage=1:verbosity=1
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/projects/compiler-rt/test/asan/32bitConfig/TestCases/Linux/Output/coverage-module-unloaded.cc.tmp
2>&1 | FileCheck
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/projects/compiler-rt/test/asan/32bitConfig/TestCases/Linux/Output/coverage-module-unloaded.cc.tmp
foo 2>&1 | FileCheck
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
--
Exit Code: 1
Command Output (stderr):
--
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-ubuntu-13.04/llvm.obj/projects/compiler-rt/test/asan/32bitConfig/TestCases/Linux/Output/libcoverage_test.so:
file not recognized: File truncated
clang-3.5: error: linker command failed with exit code 1 (use -v to see
invocation)
--
********************
Output from the consistent fail:
FAIL: AddressSanitizer64 :: TestCases/Linux/coverage-module-unloaded.cc (292 of
19061)
******************** TEST 'AddressSanitizer64 ::
TestCases/Linux/coverage-module-unloaded.cc' FAILED ********************
Script:
--
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/./bin/clang
--driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64 -mllvm
-asan-coverage=1 -DSHARED
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
-shared -o
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/projects/compiler-rt/test/asan/64bitConfig/TestCases/Linux/Output/libcoverage_module_unloaded_test_1.so
-fPIC
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/./bin/clang
--driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64 -mllvm
-asan-coverage=1 -DSHARED
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
-shared -o
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/projects/compiler-rt/test/asan/64bitConfig/TestCases/Linux/Output/libcoverage_module_unloaded_test_2.so
-fPIC
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/./bin/clang
--driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g -m64 -mllvm
-asan-coverage=1
-DSO_DIR=\"/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/projects/compiler-rt/test/asan/64bitConfig/TestCases/Linux/Output\"
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
-o
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/projects/compiler-rt/test/asan/64bitConfig/TestCases/Linux/Output/coverage-module-unloaded.cc.tmp
-Wl,-R,\$ORIGIN
-L/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/projects/compiler-rt/test/asan/64bitConfig/TestCases/Linux/Output
-lcoverage_test
export ASAN_OPTIONS=coverage=1:verbosity=1
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/projects/compiler-rt/test/asan/64bitConfig/TestCases/Linux/Output/coverage-module-unloaded.cc.tmp
2>&1 | FileCheck
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.obj/projects/compiler-rt/test/asan/64bitConfig/TestCases/Linux/Output/coverage-module-unloaded.cc.tmp
foo 2>&1 | FileCheck
/home/llvmbb/llvm-build-dir/llvm-clang-lld-x86_64-centos-6.5/llvm.src/projects/compiler-rt/test/asan/TestCases/Linux/coverage-module-unloaded.cc
--
Exit Code: 1
Command Output (stderr):
--
/opt/centos/devtoolset-1.1/root/usr/bin/ld: cannot find -lcoverage_test
clang-3.5: error: linker command failed with exit code 1 (use -v to see
invocation)
--
********************
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs