-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/53508/#review155026
-----------------------------------------------------------
Master (5410c22) is red with this patch.
./build-support/jenkins/build.sh
[1m assert child_pid in ps.pids()[0m
[1m assert child_pid in
ps.children_of(parent_pid)[0m
[1m [0m
[1m with open(os.path.join(runner.sandbox,
runner.task_id, 'exit.txt'), 'w') as fp:[0m
[1m fp.write('go away!')[0m
[1m [0m
[1m while tm.task_state() is not
TaskState.SUCCESS:[0m
[1m time.sleep(0.1)[0m
[1m [0m
[1m state = tm.get_state()[0m
[1m assert state.processes['process'][0].state ==
ProcessState.SUCCESS[0m
[1m [0m
[1m ps.collect_all()[0m
[1m assert parent_pid not in ps.pids()[0m
[1m> assert child_pid not in ps.pids()[0m
[1m[31mE assert 30330 not in set([1, 2, 3, 5, 8, 9,
...])[0m
[1m[31mE + where set([1, 2, 3, 5, 8, 9, ...]) =
<bound method ProcessProvider_Procfs.pids of
<twitter.common.process.process_provider_procfs.ProcessProvider_Procfs object
at 0x7f5ff034b0d0>>()[0m
[1m[31mE + where <bound method
ProcessProvider_Procfs.pids of
<twitter.common.process.process_provider_procfs.ProcessProvider_Procfs object
at 0x7f5ff034b0d0>> =
<twitter.common.process.process_provider_procfs.ProcessProvider_Procfs object
at 0x7f5ff034b0d0>.pids[0m
src/test/python/apache/thermos/core/test_staged_kill.py:287: AssertionError
-------------- Captured stderr call --------------
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
WARNING:root:Could not read from checkpoint
/tmp/tmpieOWw6/checkpoints/1478304445676818-runner-base/runner
generated xml file:
/home/jenkins/jenkins-slave/workspace/AuroraBot/dist/test-results/415337499eb72578eab327a6487c1f5c9452b3d6.xml
[1m[31m 1 failed, 719 passed, 6 skipped, 1 warnings in
300.65 seconds [0m
FAILURE
00:10:52 05:26 [complete][31m
FAILURE[0m
I will refresh this build result if you post a review containing "@ReviewBot
retry"
- Aurora ReviewBot
On Nov. 4, 2016, 11:54 p.m., Zameer Manji wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/53508/
> -----------------------------------------------------------
>
> (Updated Nov. 4, 2016, 11:54 p.m.)
>
>
> Review request for Aurora, Joshua Cohen and Stephan Erb.
>
>
> Repository: aurora
>
>
> Description
> -------
>
> The hard dependency on `prctl` broke thermos unit tests both on Apache Jenkins
> and OS X. This adopts serb's suggestion https://reviews.apache.org/r/53418/
> and
> wraps the `prcl(2)` call in a try except block.
>
>
> Diffs
> -----
>
> RELEASE-NOTES.md 94224be892c84170177d7711402268cd40ee4f87
> src/main/python/apache/thermos/common/process_util.py
> c63b9aff2a9a453ca921308baa4d1d1762ae3a40
> src/main/python/apache/thermos/core/process.py
> 13f9ad5711edde3a0a0d47ba6db1c199434e6802
>
> Diff: https://reviews.apache.org/r/53508/diff/
>
>
> Testing
> -------
>
> ./pants test.pytest --junit-xml-dir="$PWD/dist/test-results"
> src/{main,test}/python:: -- -v
> src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
>
>
> Thanks,
>
> Zameer Manji
>
>