You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Bernd Mathiske <be...@mesosphere.io> on 2015/10/12 18:25:13 UTC

Re: Review Request 37813: Added additional diagnostic output when a fetcher cache test fails.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37813/
-----------------------------------------------------------

(Updated Oct. 12, 2015, 9:25 a.m.)


Review request for mesos, Benjamin Hindman, Ben Mahler, Joseph Wu, and Till Toenshoff.


Changes
-------

Followed Joseph's suggestions.


Bugs: MESOS-3235
    https://issues.apache.org/jira/browse/MESOS-3235


Repository: mesos


Description
-------

Dumps all involved task/executor sandbox contents in test tear down
only if a failure occurred.


Diffs (updated)
-----

  src/tests/fetcher_cache_tests.cpp 7e194dc6e2b2d8b857e61d1a18d696545a86ce9f 

Diff: https://reviews.apache.org/r/37813/diff/


Testing
-------

make check on OSX, where the bug showed up.


Thanks,

Bernd Mathiske


Re: Review Request 37813: Added additional diagnostic output when a fetcher cache test fails.

Posted by Till Toenshoff <to...@me.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37813/#review102435
-----------------------------------------------------------

Ship it!



src/tests/fetcher_cache_tests.cpp (line 567)
<https://reviews.apache.org/r/37813/#comment160088>

    To prevent further confusion, wouldn't it make sense to call this `sandboxPath` here and everywhere else instead - like you did before?


- Till Toenshoff


On Oct. 12, 2015, 4:25 p.m., Bernd Mathiske wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37813/
> -----------------------------------------------------------
> 
> (Updated Oct. 12, 2015, 4:25 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Ben Mahler, Joseph Wu, and Till Toenshoff.
> 
> 
> Bugs: MESOS-3235
>     https://issues.apache.org/jira/browse/MESOS-3235
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Dumps all involved task/executor sandbox contents in test tear down
> only if a failure occurred.
> 
> 
> Diffs
> -----
> 
>   src/tests/fetcher_cache_tests.cpp 7e194dc6e2b2d8b857e61d1a18d696545a86ce9f 
> 
> Diff: https://reviews.apache.org/r/37813/diff/
> 
> 
> Testing
> -------
> 
> make check on OSX, where the bug showed up.
> 
> 
> Thanks,
> 
> Bernd Mathiske
> 
>


Re: Review Request 37813: Added additional diagnostic output when a fetcher cache test fails.

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37813/#review102480
-----------------------------------------------------------


Patch looks great!

Reviews applied: [37813]

All tests passed.

- Mesos ReviewBot


On Oct. 13, 2015, 4:27 p.m., Bernd Mathiske wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37813/
> -----------------------------------------------------------
> 
> (Updated Oct. 13, 2015, 4:27 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Ben Mahler, Joseph Wu, and Till Toenshoff.
> 
> 
> Bugs: MESOS-3235
>     https://issues.apache.org/jira/browse/MESOS-3235
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Dumps all involved task/executor sandbox contents in test tear down
> only if a failure occurred.
> 
> 
> Diffs
> -----
> 
>   src/tests/fetcher_cache_tests.cpp 7e194dc6e2b2d8b857e61d1a18d696545a86ce9f 
> 
> Diff: https://reviews.apache.org/r/37813/diff/
> 
> 
> Testing
> -------
> 
> make check on OSX, where the bug showed up.
> 
> 
> Thanks,
> 
> Bernd Mathiske
> 
>


Re: Review Request 37813: Added additional diagnostic output when a fetcher cache test fails.

Posted by Bernd Mathiske <be...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37813/
-----------------------------------------------------------

(Updated Oct. 13, 2015, 9:27 a.m.)


Review request for mesos, Benjamin Hindman, Ben Mahler, Joseph Wu, and Till Toenshoff.


Changes
-------

Now using HasFatalFailure() thanks to a tip from @bmahler, which simplifies the code a lot. Also addressed Till's issue.


Bugs: MESOS-3235
    https://issues.apache.org/jira/browse/MESOS-3235


Repository: mesos


Description
-------

Dumps all involved task/executor sandbox contents in test tear down
only if a failure occurred.


Diffs (updated)
-----

  src/tests/fetcher_cache_tests.cpp 7e194dc6e2b2d8b857e61d1a18d696545a86ce9f 

Diff: https://reviews.apache.org/r/37813/diff/


Testing
-------

make check on OSX, where the bug showed up.


Thanks,

Bernd Mathiske


Re: Review Request 37813: Added additional diagnostic output when a fetcher cache test fails.

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37813/#review102278
-----------------------------------------------------------


Patch looks great!

Reviews applied: [37813]

All tests passed.

- Mesos ReviewBot


On Oct. 12, 2015, 4:25 p.m., Bernd Mathiske wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37813/
> -----------------------------------------------------------
> 
> (Updated Oct. 12, 2015, 4:25 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Ben Mahler, Joseph Wu, and Till Toenshoff.
> 
> 
> Bugs: MESOS-3235
>     https://issues.apache.org/jira/browse/MESOS-3235
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Dumps all involved task/executor sandbox contents in test tear down
> only if a failure occurred.
> 
> 
> Diffs
> -----
> 
>   src/tests/fetcher_cache_tests.cpp 7e194dc6e2b2d8b857e61d1a18d696545a86ce9f 
> 
> Diff: https://reviews.apache.org/r/37813/diff/
> 
> 
> Testing
> -------
> 
> make check on OSX, where the bug showed up.
> 
> 
> Thanks,
> 
> Bernd Mathiske
> 
>