[cfe-dev] [lldb-dev] [LLVMdev] [3.7 Release] RC1 has been tagged, Testing Phase I begins

Ben Pope benpope81 at gmail.com
Tue Jul 21 07:39:23 PDT 2015


On Tuesday, July 21, 2015 05:51 AM, Hans Wennborg wrote:
> I don't think the test failures are correlated to not getting a
> tarball. It's probably the "rpath problem" that Dimitry mentioned
> further up in the thread. Try using his patch for it

It still failed, I used test-release.sh r242767 which appears to have 
the rpath change.

> or disabling -o pipefail.

That sort of worked. Again, the paths in the install directory are 
./usr/local/ but in the tarball they seem as before.  Also, cxxabi.h is 
in ./include/c++/v1 which is nice, but no unwind.h, I haven't checked if 
that's a problem yet.

Failing Tests (9):
     MemorySanitizer :: Linux/tcgetattr.cc
     MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.getmntent
     MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.getmntent_r
     MemorySanitizer-Unit :: 
Msan-x86_64-with-call-Test/MemorySanitizer.getmntent
     MemorySanitizer-Unit :: 
Msan-x86_64-with-call-Test/MemorySanitizer.getmntent_r
     SanitizerCommon-asan :: Linux/getpass.cc
     SanitizerCommon-lsan :: Linux/getpass.cc
     SanitizerCommon-msan :: Linux/getpass.cc
     SanitizerCommon-tsan :: Linux/getpass.cc

   Expected Passes    : 24015
   Expected Failures  : 131
   Unsupported Tests  : 377
   Unexpected Failures: 9

Full output below.

lnt seems fine, I've uploaded this file:
clang+llvm-3.7.0-rc1-x86_64-linux-gnu-ubuntu-15.04.tar.xz

> And please see if you can dig out some more details about the failing
> tests and get bugs filed.

I don't really know what I'm looking for, if you need more info I'm 
happy to provide it.

Ben


-- Testing: 24532 tests, 8 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: MemorySanitizer :: Linux/tcgetattr.cc (23179 of 24532)
******************** TEST 'MemorySanitizer :: Linux/tcgetattr.cc' FAILED 
********************
Script:
--
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/./bin/clang 
--driver-mode=g++ -fsanitize=memory -mno-omit-leaf-frame-pointer 
-fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 
-gline-tables-only -O0 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/msan/Linux/tcgetattr.cc 
-o 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/msan/Linux/Output/tcgetattr.cc.tmp 
&& 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/msan/Linux/Output/tcgetattr.cc.tmp 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/msan/Linux
--
Exit Code: 134

Command Output (stderr):
--
tcgetattr.cc.tmp: 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/msan/Linux/tcgetattr.cc:12: 
int main(int, char **): Assertion `fd >= 0' failed.
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/msan/Linux/Output/tcgetattr.cc.script: 
line 1: 10298 Aborted                 (core dumped) 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/msan/Linux/Output/tcgetattr.cc.tmp 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/msan/Linux

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: MemorySanitizer-Unit :: 
Msan-x86_64-Test/MemorySanitizer.getmntent_r (23367 of 24532)
******************** TEST 'MemorySanitizer-Unit :: 
Msan-x86_64-Test/MemorySanitizer.getmntent_r' FAILED ********************
Note: Google Test filter = MemorySanitizer.getmntent_r
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from MemorySanitizer
[ RUN      ] MemorySanitizer.getmntent_r
/home/development/llvm/3.7.0/rc1/compiler-rt.src/lib/msan/tests/msan_test.cc:2133: 
Failure
Value of: mnt != NULL
   Actual: false
Expected: true
[  FAILED  ] MemorySanitizer.getmntent_r (5 ms)
[----------] 1 test from MemorySanitizer (5 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (6 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] MemorySanitizer.getmntent_r

  1 FAILED TEST
   YOU HAVE 4 DISABLED TESTS


********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: MemorySanitizer-Unit :: Msan-x86_64-Test/MemorySanitizer.getmntent 
(23368 of 24532)
******************** TEST 'MemorySanitizer-Unit :: 
Msan-x86_64-Test/MemorySanitizer.getmntent' FAILED ********************
Note: Google Test filter = MemorySanitizer.getmntent
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from MemorySanitizer
[ RUN      ] MemorySanitizer.getmntent
/home/development/llvm/3.7.0/rc1/compiler-rt.src/lib/msan/tests/msan_test.cc:2115: 
Failure
Value of: mnt != NULL
   Actual: false
Expected: true
[  FAILED  ] MemorySanitizer.getmntent (4 ms)
[----------] 1 test from MemorySanitizer (4 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (5 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] MemorySanitizer.getmntent

  1 FAILED TEST
   YOU HAVE 4 DISABLED TESTS


********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: MemorySanitizer-Unit :: 
Msan-x86_64-with-call-Test/MemorySanitizer.getmntent (23646 of 24532)
******************** TEST 'MemorySanitizer-Unit :: 
Msan-x86_64-with-call-Test/MemorySanitizer.getmntent' FAILED 
********************
Note: Google Test filter = MemorySanitizer.getmntent
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from MemorySanitizer
[ RUN      ] MemorySanitizer.getmntent
/home/development/llvm/3.7.0/rc1/compiler-rt.src/lib/msan/tests/msan_test.cc:2115: 
Failure
Value of: mnt != NULL
   Actual: false
Expected: true
[  FAILED  ] MemorySanitizer.getmntent (4 ms)
[----------] 1 test from MemorySanitizer (4 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (5 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] MemorySanitizer.getmntent

  1 FAILED TEST
   YOU HAVE 4 DISABLED TESTS


********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: MemorySanitizer-Unit :: 
Msan-x86_64-with-call-Test/MemorySanitizer.getmntent_r (23647 of 24532)
******************** TEST 'MemorySanitizer-Unit :: 
Msan-x86_64-with-call-Test/MemorySanitizer.getmntent_r' FAILED 
********************
Note: Google Test filter = MemorySanitizer.getmntent_r
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from MemorySanitizer
[ RUN      ] MemorySanitizer.getmntent_r
/home/development/llvm/3.7.0/rc1/compiler-rt.src/lib/msan/tests/msan_test.cc:2133: 
Failure
Value of: mnt != NULL
   Actual: false
Expected: true
[  FAILED  ] MemorySanitizer.getmntent_r (5 ms)
[----------] 1 test from MemorySanitizer (5 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (6 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] MemorySanitizer.getmntent_r

  1 FAILED TEST
   YOU HAVE 4 DISABLED TESTS


********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: SanitizerCommon-asan :: Linux/getpass.cc (23981 of 24532)
******************** TEST 'SanitizerCommon-asan :: Linux/getpass.cc' 
FAILED ********************
Script:
--
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/./bin/clang 
--driver-mode=g++ -gline-tables-only -fsanitize=address -m64 -O0 -g 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/sanitizer_common/TestCases/Linux/getpass.cc 
-lutil -o 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/asan-x86_64-Linux/Linux/Output/getpass.cc.tmp 
&& 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/asan-x86_64-Linux/Linux/Output/getpass.cc.tmp 
| FileCheck 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/sanitizer_common/TestCases/Linux/getpass.cc
--
Exit Code: 2

Command Output (stderr):
--
forkpty failed
FileCheck error: '-' is empty.

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: SanitizerCommon-lsan :: Linux/getpass.cc (24006 of 24532)
******************** TEST 'SanitizerCommon-lsan :: Linux/getpass.cc' 
FAILED ********************
Script:
--
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/./bin/clang 
--driver-mode=g++ -gline-tables-only -fsanitize=leak -m64 -O0 -g 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/sanitizer_common/TestCases/Linux/getpass.cc 
-lutil -o 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/getpass.cc.tmp 
&& 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/lsan-x86_64-Linux/Linux/Output/getpass.cc.tmp 
| FileCheck 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/sanitizer_common/TestCases/Linux/getpass.cc
--
Exit Code: 2

Command Output (stderr):
--
forkpty failed
FileCheck error: '-' is empty.

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: SanitizerCommon-msan :: Linux/getpass.cc (24031 of 24532)
******************** TEST 'SanitizerCommon-msan :: Linux/getpass.cc' 
FAILED ********************
Script:
--
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/./bin/clang 
--driver-mode=g++ -gline-tables-only -fsanitize=memory -m64 -O0 -g 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/sanitizer_common/TestCases/Linux/getpass.cc 
-lutil -o 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/msan-x86_64-Linux/Linux/Output/getpass.cc.tmp 
&& 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/msan-x86_64-Linux/Linux/Output/getpass.cc.tmp 
| FileCheck 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/sanitizer_common/TestCases/Linux/getpass.cc
--
Exit Code: 2

Command Output (stderr):
--
forkpty failed
FileCheck error: '-' is empty.

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: SanitizerCommon-tsan :: Linux/getpass.cc (24060 of 24532)
******************** TEST 'SanitizerCommon-tsan :: Linux/getpass.cc' 
FAILED ********************
Script:
--
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/./bin/clang 
--driver-mode=g++ -gline-tables-only -fsanitize=thread -m64 -O0 -g 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/sanitizer_common/TestCases/Linux/getpass.cc 
-lutil -o 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/tsan-x86_64-Linux/Linux/Output/getpass.cc.tmp 
&& 
/home/development/llvm/3.7.0/rc1/Phase3/Release/llvmCore-3.7.0-rc1.obj/projects/compiler-rt/test/sanitizer_common/tsan-x86_64-Linux/Linux/Output/getpass.cc.tmp 
| FileCheck 
/home/development/llvm/3.7.0/rc1/compiler-rt.src/test/sanitizer_common/TestCases/Linux/getpass.cc
--
Exit Code: 2

Command Output (stderr):
--
forkpty failed
FileCheck error: '-' is empty.

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..

6 warning(s) in tests.
Testing Time: 213.31s
********************





More information about the cfe-dev mailing list