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

2014-04-03 Thread Bhuvan Arumugam (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959186#comment-13959186
 ] 

Bhuvan Arumugam commented on MESOS-1191:


It also happen with review-bot https://reviews.apache.org/r/19259/, at times.

> 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
>  Labels: test-fail
>
> 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)


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

2014-04-03 Thread Ian Downes (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959251#comment-13959251
 ] 

Ian Downes commented on MESOS-1191:
---

Flaky ProcTest.MultipleThreads is also being tracked in MESOS-1152 and a bug 
fix is being revised. The fix is not related to the failures in OsTest though.

> OsTest and ProcTest unit tests flaky
> 
>
> Key: MESOS-1191
> URL: https://issues.apache.org/jira/browse/MESOS-1191
> Project: Mesos
>  Issue Type: Bug
>  Components: test
>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)