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 02:37:15 UTC
[jira] [Comment Edited] (MESOS-995) Extend Subprocess to support
environment variables, changing user and working directory
[ https://issues.apache.org/jira/browse/MESOS-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13958383#comment-13958383 ]
Bhuvan Arumugam edited comment on MESOS-995 at 4/3/14 12:35 AM:
----------------------------------------------------------------
It seem to break unit tests, osTest and ProcTest. Let me know if I should upload verbose log output, if it isn't obvious.
```
$ 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
```
was (Author: bhuvan):
It seem to break unit tests, osTest and ProcTest. Let me know if I should upload verbose log output, if it isn't obvious.
$ 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
> Extend Subprocess to support environment variables, changing user and working directory
> ---------------------------------------------------------------------------------------
>
> Key: MESOS-995
> URL: https://issues.apache.org/jira/browse/MESOS-995
> Project: Mesos
> Issue Type: Improvement
> Components: libprocess
> Reporter: Ian Downes
> Assignee: Dominic Hamon
> Priority: Minor
> Fix For: 0.19.0
>
>
> These are frequently needed so we should support them in Subprocess.
--
This message was sent by Atlassian JIRA
(v6.2#6252)