Project

General

Profile

Bug #18380 ยป ctest -V -R unittest_lfnindex.txt

siry tang, 01/01/2017 01:17 PM

 
UpdateCTestConfiguration from :/root/ceph/build/DartConfiguration.tcl
UpdateCTestConfiguration from :/root/ceph/build/DartConfiguration.tcl
Test project /root/ceph/build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
test 131
Start 131: unittest_lfnindex

131: Test command: /root/ceph/build/bin/unittest_lfnindex
131: Test timeout computed to be: 3600
131: 2017-01-01 11:36:17.044604 7f889ec41f00 -1 did not load config file, using default settings.
131: [==========] Running 5 tests from 4 test cases.
131: [----------] Global test environment set-up.
131: [----------] 1 test from TestHASH_INDEX_TAG
131: [ RUN ] TestHASH_INDEX_TAG.generate_and_parse_name
131: [ OK ] TestHASH_INDEX_TAG.generate_and_parse_name (0 ms)
131: [----------] 1 test from TestHASH_INDEX_TAG (0 ms total)
131:
131: [----------] 1 test from TestHASH_INDEX_TAG_2
131: [ RUN ] TestHASH_INDEX_TAG_2.generate_and_parse_name
131: [ OK ] TestHASH_INDEX_TAG_2.generate_and_parse_name (0 ms)
131: [----------] 1 test from TestHASH_INDEX_TAG_2 (0 ms total)
131:
131: [----------] 1 test from TestHOBJECT_WITH_POOL
131: [ RUN ] TestHOBJECT_WITH_POOL.generate_and_parse_name
131: [ OK ] TestHOBJECT_WITH_POOL.generate_and_parse_name (0 ms)
131: [----------] 1 test from TestHOBJECT_WITH_POOL (0 ms total)
131:
131: [----------] 2 tests from TestLFNIndex
131: [ RUN ] TestLFNIndex.remove_object
131: /root/ceph/src/test/os/TestLFNIndex.cc:236: Failure
131: Expected: 0
131: To be equal to: get_mangled_name(path, hoid, &mangled_name, &exists)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:237: Failure
131: Expected: 0
131: To be equal to: exists
131: Which is: 1896166168
131: /root/ceph/src/test/os/TestLFNIndex.cc:238: Failure
131: Expected: (std::string::npos) != (mangled_name.find("0_long")), actual: 18446744073709551615 vs 18446744073709551615
131: /root/ceph/src/test/os/TestLFNIndex.cc:240: Failure
131: Expected: 0
131: To be equal to: ::close(::creat(pathname.c_str(), 0600))
131: Which is: -1
131: /root/ceph/src/test/os/TestLFNIndex.cc:243: Failure
131: Expected: 0
131: To be equal to: remove_object(path, hoid)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:244: Failure
131: Expected: -1
131: To be equal to: ::access(pathname.c_str(), 0)
131: Which is: 0
131: /root/ceph/src/test/os/TestLFNIndex.cc:245: Failure
131: Expected: 2
131: To be equal to: (*__errno_location ())
131: Which is: 36
131: /root/ceph/src/test/os/TestLFNIndex.cc:260: Failure
131: Expected: 0
131: To be equal to: get_mangled_name(path, hoid, &mangled_name, &exists)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:261: Failure
131: Expected: 0
131: To be equal to: exists
131: Which is: -1631297016
131: /root/ceph/src/test/os/TestLFNIndex.cc:262: Failure
131: Expected: (std::string::npos) != (mangled_name.find("0_long")), actual: 18446744073709551615 vs 18446744073709551615
131: /root/ceph/src/test/os/TestLFNIndex.cc:264: Failure
131: Expected: 0
131: To be equal to: ::close(::creat(pathname.c_str(), 0600))
131: Which is: -1
131: /root/ceph/src/test/os/TestLFNIndex.cc:280: Failure
131: Expected: 0
131: To be equal to: get_mangled_name(path, hoid, &mangled_name_1, &exists)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:281: Failure
131: Expected: (std::string::npos) != (mangled_name_1.find("1_long")), actual: 18446744073709551615 vs 18446744073709551615
131: /root/ceph/src/test/os/TestLFNIndex.cc:282: Failure
131: Expected: 0
131: To be equal to: exists
131: Which is: 666
131: /root/ceph/src/test/os/TestLFNIndex.cc:284: Failure
131: Expected: 0
131: To be equal to: ::close(::creat(pathname_1.c_str(), 0600))
131: Which is: -1
131: /root/ceph/src/test/os/TestLFNIndex.cc:290: Failure
131: Expected: 0
131: To be equal to: remove_object(path, hoid)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:292: Failure
131: Expected: -1
131: To be equal to: ::access(pathname_1.c_str(), 0)
131: Which is: 0
131: /root/ceph/src/test/os/TestLFNIndex.cc:293: Failure
131: Expected: 2
131: To be equal to: (*__errno_location ())
131: Which is: 36
131: /root/ceph/src/test/os/TestLFNIndex.cc:294: Failure
131: Expected: 0
131: To be equal to: ::unlink(pathname.c_str())
131: Which is: -1
131: /root/ceph/src/test/os/TestLFNIndex.cc:309: Failure
131: Expected: 0
131: To be equal to: get_mangled_name(path, hoid, &mangled_name, &exists)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:311: Failure
131: Expected: (std::string::npos) != (mangled_name.find("0_long")), actual: 18446744073709551615 vs 18446744073709551615
131: /root/ceph/src/test/os/TestLFNIndex.cc:313: Failure
131: Expected: 0
131: To be equal to: ::close(::creat(pathname.c_str(), 0600))
131: Which is: -1
131: unknown file: Failure
131: C++ exception with description "basic_string::replace" thrown in the test body.
131: [ FAILED ] TestLFNIndex.remove_object (5 ms)
131: [ RUN ] TestLFNIndex.get_mangled_name
131: /root/ceph/src/test/os/TestLFNIndex.cc:380: Failure
131: Expected: 0
131: To be equal to: get_mangled_name(path, hoid, &mangled_name, &exists)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:381: Failure
131: Expected: (std::string::npos) != (mangled_name.find("0_long")), actual: 18446744073709551615 vs 18446744073709551615
131: /root/ceph/src/test/os/TestLFNIndex.cc:382: Failure
131: Expected: 0
131: To be equal to: exists
131: Which is: 666
131: /root/ceph/src/test/os/TestLFNIndex.cc:392: Failure
131: Expected: 0
131: To be equal to: ::close(::creat(pathname.c_str(), 0600))
131: Which is: -1
131: /root/ceph/src/test/os/TestLFNIndex.cc:393: Failure
131: Expected: 0
131: To be equal to: get_mangled_name(path, hoid, &mangled_name, &exists)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:394: Failure
131: Expected: (std::string::npos) != (mangled_name.find("0_long")), actual: 18446744073709551615 vs 18446744073709551615
131: /root/ceph/src/test/os/TestLFNIndex.cc:395: Failure
131: Expected: 0
131: To be equal to: exists
131: Which is: 666
131: /root/ceph/src/test/os/TestLFNIndex.cc:396: Failure
131: Expected: -1
131: To be equal to: ::access(pathname.c_str(), 0)
131: Which is: 0
131: /root/ceph/src/test/os/TestLFNIndex.cc:397: Failure
131: Expected: 2
131: To be equal to: (*__errno_location ())
131: Which is: 36
131: /root/ceph/src/test/os/TestLFNIndex.cc:406: Failure
131: Expected: 0
131: To be equal to: ::close(::creat(pathname.c_str(), 0600))
131: Which is: -1
131: /root/ceph/src/test/os/TestLFNIndex.cc:413: Failure
131: Expected: 0
131: To be equal to: ::unlink(pathname.c_str())
131: Which is: -1
131: /root/ceph/src/test/os/TestLFNIndex.cc:421: Failure
131: Expected: 0
131: To be equal to: ::close(::creat(pathname.c_str(), 0600))
131: Which is: -1
131: /root/ceph/src/test/os/TestLFNIndex.cc:423: Failure
131: Expected: 0
131: To be equal to: get_mangled_name(path, hoid, &mangled_name, &exists)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:424: Failure
131: Expected: (std::string::npos) != (mangled_name.find("0_long")), actual: 18446744073709551615 vs 18446744073709551615
131: /root/ceph/src/test/os/TestLFNIndex.cc:425: Failure
131: Expected: 1
131: To be equal to: exists
131: Which is: 666
131: /root/ceph/src/test/os/TestLFNIndex.cc:444: Failure
131: Expected: 0
131: To be equal to: get_mangled_name(path, hoid, &mangled_name_same_prefix, &exists)
131: Which is: -36
131: /root/ceph/src/test/os/TestLFNIndex.cc:445: Failure
131: Expected: (std::string::npos) != (mangled_name_same_prefix.find("1_long")), actual: 18446744073709551615 vs 18446744073709551615
131: /root/ceph/src/test/os/TestLFNIndex.cc:446: Failure
131: Expected: 0
131: To be equal to: exists
131: Which is: 666
131: /root/ceph/src/test/os/TestLFNIndex.cc:448: Failure
131: Expected: 0
131: To be equal to: ::unlink(pathname.c_str())
131: Which is: -1
131: [ FAILED ] TestLFNIndex.get_mangled_name (4 ms)
131: [----------] 2 tests from TestLFNIndex (9 ms total)
131:
131: [----------] Global test environment tear-down
131: [==========] 5 tests from 4 test cases ran. (9 ms total)
131: [ PASSED ] 3 tests.
131: [ FAILED ] 2 tests, listed below:
131: [ FAILED ] TestLFNIndex.remove_object
131: [ FAILED ] TestLFNIndex.get_mangled_name
131:
131: 2 FAILED TESTS
1/1 Test #131: unittest_lfnindex ................***Failed 0.03 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 0.05 sec

The following tests FAILED:
131 - unittest_lfnindex (Failed)
    (1-1/1)