-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40922/#review108989
-----------------------------------------------------------
Master (676ee5b) is red with this patch.
./build-support/jenkins/build.sh
src.test.python.apache.aurora.tools.thermos_observer_entry_point
..... SUCCESS[0m[32m
src.test.python.apache.thermos.cli.common
..... SUCCESS[0m[32m
src.test.python.apache.thermos.cli.main
..... SUCCESS[0m[32m
src.test.python.apache.thermos.cli.commands.commands
..... SUCCESS[0m[32m
src.test.python.apache.thermos.common.test_pathspec
..... SUCCESS[0m[32m
src.test.python.apache.thermos.core.test_process
..... FAILURE[0m[32m
src.test.python.apache.thermos.core.test_runner_integration
..... SUCCESS[0m[32m
src.test.python.apache.thermos.monitoring.test_disk
..... SUCCESS[0m[32mPASSED[0m
src/test/python/apache/thermos/core/test_process.py::test_tee_class
[32mPASSED[0m
src/test/python/apache/thermos/core/test_process.py::test_process_tee
[32mPASSED[0m
==================== FAILURES ====================
______________ test_simple_process _______________
[1m def test_simple_process():[0m
[1m with temporary_dir() as td:[0m
[1m taskpath = make_taskpath(td)[0m
[1m sandbox = setup_sandbox(td, taskpath)[0m
[1m [0m
[1m p = TestProcess('process', 'echo hello world',
0, taskpath, sandbox)[0m
[1m p.start()[0m
[1m rc =
wait_for_rc(taskpath.getpath('process_checkpoint'))[0m
[1m [0m
[1m assert rc == 0[0m
[1m stdout =
taskpath.with_filename('stdout').getpath('process_logdir')[0m
[1m assert os.path.exists(stdout)[0m
[1m with open(stdout, 'r') as fp:[0m
[1m> assert fp.read() == 'hello world\n'[0m
[1m[31mE assert '' == 'hello world\n'[0m
[1m[31mE + hello world[0m
src/test/python/apache/thermos/core/test_process.py:94:
AssertionError
generated xml file:
/home/jenkins/jenkins-slave/workspace/AuroraBot/dist/test-results/src.test.python.apache.thermos.core.test_process.xml
[1m[31m= 1 failed, 7 passed, 1 warnings in 1.90 seconds
=[0m
FAILURE
15:35:10 04:33 [complete][31m
FAILURE[0m
I will refresh this build result if you post a review containing "@ReviewBot
retry"
- Aurora ReviewBot
On Dec. 4, 2015, 2:54 p.m., Martin Hrabovcin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40922/
> -----------------------------------------------------------
>
> (Updated Dec. 4, 2015, 2:54 p.m.)
>
>
> Review request for Aurora.
>
>
> Repository: aurora
>
>
> Description
> -------
>
> AURORA-1548 | (Thermos) Add ability to forward process output to stdout
>
>
> Diffs
> -----
>
> src/main/python/apache/aurora/executor/bin/thermos_executor_main.py 0d02dc1
> src/main/python/apache/aurora/executor/thermos_task_runner.py 14e8b4b
> src/main/python/apache/thermos/core/process.py fe95cb3
> src/main/python/apache/thermos/core/runner.py f949f27
> src/main/python/apache/thermos/runner/thermos_runner.py bd8cf7f
> src/test/python/apache/thermos/core/test_process.py 5e6ad2f
>
> Diff: https://reviews.apache.org/r/40922/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Martin Hrabovcin
>
>