The unit testing of tensor_test failed.
Created by: luotao1
I run the unit testing for develop branch on my GPU server and did not change any code. The tensor_test failed.
[luotao@m1-idl-gpu2-bak24: build] $ make test ARGS='-R tensor_test -V'
Running tests...
UpdateCTestConfiguration from :/home/luotao/Paddle/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/home/luotao/Paddle/build/DartConfiguration.tcl
Test project /home/luotao/Paddle/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 88
Start 88: tensor_test
88: Test command: /home/luotao/Paddle/build/paddle/framework/tensor_test
88: Test timeout computed to be: 9.99988e+06
88: Running main() from gtest_main.cc
88: [==========] Running 6 tests from 1 test case.
88: [----------] Global test environment set-up.
88: [----------] 6 tests from Tensor
88: [ RUN ] Tensor.Dims
88: [ OK ] Tensor.Dims (0 ms)
88: [ RUN ] Tensor.DataAssert
88: unknown file: Failure
88: C++ exception with description "basic_string::_S_construct null not valid" thrown in the test body.
88: [ FAILED ] Tensor.DataAssert (0 ms)
88: [ RUN ] Tensor.MutableData
88: [ OK ] Tensor.MutableData (311 ms)
88: [ RUN ] Tensor.ShareDataWith
88: unknown file: Failure
88: C++ exception with description "basic_string::_S_construct null not valid" thrown in the test body.
88: [ FAILED ] Tensor.ShareDataWith (1 ms)
88: [ RUN ] Tensor.Slice
88: [ OK ] Tensor.Slice (0 ms)
88: [ RUN ] Tensor.CopyFrom
88: [ OK ] Tensor.CopyFrom (0 ms)
88: [----------] 6 tests from Tensor (312 ms total)
88:
88: [----------] Global test environment tear-down
88: [==========] 6 tests from 1 test case ran. (312 ms total)
88: [ PASSED ] 4 tests.
88: [ FAILED ] 2 tests, listed below:
88: [ FAILED ] Tensor.DataAssert
88: [ FAILED ] Tensor.ShareDataWith
88:
88: 2 FAILED TESTS
1/2 Test #88: tensor_test ......................***Failed 0.46 sec
Total Test time (real) = 0.48 sec
The following tests FAILED:
88 - tensor_test (Failed)
Errors while running CTest
make: *** [test] Error 8