You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Bhuvan Arumugam (JIRA)" <ji...@apache.org> on 2014/04/03 22:39:16 UTC

[jira] [Created] (MESOS-1191) OsTest and ProcTest unit tests flaky

Bhuvan Arumugam created MESOS-1191:
--------------------------------------

             Summary: OsTest and ProcTest unit tests flaky
                 Key: MESOS-1191
                 URL: https://issues.apache.org/jira/browse/MESOS-1191
             Project: Mesos
          Issue Type: Bug
          Components: build
    Affects Versions: 0.19.0
            Reporter: Bhuvan Arumugam
            Priority: Minor


It doesn't happen all the time.

{code}
$ make check -j3
.
.
[ RUN      ] ProcTest.MultipleThreads
../../../../3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp:181: Failure
Value of: (procThreads).get()
  Actual: { 10050, 10053 }
Expected: childThreads
Which is: { 0 }
[  FAILED  ] ProcTest.MultipleThreads (2 ms)
.
.
[ RUN      ] OsTest.children
../../../../3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp:361: Failure
Value of: children.get().size()
  Actual: 1
Expected: 0u
Which is: 0
../../../../3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp:379: Failure
Value of: children.get().size()
  Actual: 2
Expected: 1u
Which is: 1
[  FAILED  ] OsTest.children (31 ms)
[ RUN      ] OsTest.process
[       OK ] OsTest.process (0 ms)
[ RUN      ] OsTest.processes
[       OK ] OsTest.processes (11 ms)
[ RUN      ] OsTest.killtree
[       OK ] OsTest.killtree (64 ms)
[ RUN      ] OsTest.pstree
../../../../3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp:604: Failure
Value of: tree.get().children.size()
  Actual: 1
Expected: 0u
Which is: 0
-+- 10048 ./stout-tests 
 \--- 10050 ()
[  FAILED  ] OsTest.pstree (21 ms)
.
.
[----------] Global test environment tear-down
[==========] 118 tests from 24 test cases ran. (480 ms total)
[  PASSED  ] 115 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] ProcTest.MultipleThreads
[  FAILED  ] OsTest.children
[  FAILED  ] OsTest.pstree
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)