You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Andrew Schwartzmeyer <an...@schwartzmeyer.com> on 2017/04/03 21:21:55 UTC
Review Request 58161: Fixed HealthyTaskNonShell test on Windows.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58161/
-----------------------------------------------------------
Review request for mesos, Jeff Coffler, John Kordich, Joseph Wu, Li Li, and Michael Park.
Repository: mesos
Description
-------
Instead of using `TRUE_COMMAND`, we needed to use `add_arguments` for
each argument to avoid smashing the set of arguments into one string.
That is, we cannot execute `"cmd /c exit 0"`, we have to execute `"cmd"`
with arguments `"cmd", "/c", "exit 0"`.
Diffs
-----
src/tests/health_check_tests.cpp 211f8b8578e811d3f2a229387cc0ce8327ae8cb6
Diff: https://reviews.apache.org/r/58161/diff/1/
Testing
-------
(Pending results. Should all be fixed!)
Thanks,
Andrew Schwartzmeyer
Re: Review Request 58161: Fixed HealthyTaskNonShell test on Windows.
Posted by Joseph Wu <jo...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58161/#review171061
-----------------------------------------------------------
Ship it!
Ship It!
- Joseph Wu
On April 3, 2017, 4:35 p.m., Andrew Schwartzmeyer wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58161/
> -----------------------------------------------------------
>
> (Updated April 3, 2017, 4:35 p.m.)
>
>
> Review request for mesos, Jeff Coffler, John Kordich, Joseph Wu, Li Li, and Michael Park.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Instead of using `TRUE_COMMAND`, we needed to use `add_arguments` for
> each argument to avoid smashing the set of arguments into one string.
> That is, we cannot execute `"cmd /c exit 0"`, we have to execute `"cmd"`
> with arguments `"cmd", "/c", "exit 0"`.
>
>
> Diffs
> -----
>
> src/tests/health_check_tests.cpp 211f8b8578e811d3f2a229387cc0ce8327ae8cb6
>
>
> Diff: https://reviews.apache.org/r/58161/diff/1/
>
>
> Testing
> -------
>
> ## make check
>
> `make check` on CentOS passed (excepting `LdcacheTest.Parse` which also fails on `master` so it's machine issue, not caused by these changes).
>
> ## mesos-tests
>
> ```
> [----------] Global test environment tear-down
> [==========] 559 tests from 58 test cases ran. (4051620 ms total)
> [ PASSED ] 556 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] CommandExecutorCheckTest.CommandCheckTimeout
> [ FAILED ] CombinedAuthenticatorTest.MultipleAuthenticators
> [ FAILED ] CopyFetcherPluginTest.FetchExistingFile
>
> ...
>
> [ OK ] CommandExecutorCheckTest.CommandCheckTimeout (15730 ms)
> ```
>
> Re-ran `CommandCheckTimeout`, failure was a fluke. `MultipleAuthenticators` and `FetchExistingFile` are known issues.
>
> ## libprocess-tests
>
> ```
> [----------] Global test environment tear-down
> [==========] 116 tests from 26 test cases ran. (11408 ms total)
> [ PASSED ] 116 tests.
> ```
>
> ## stout-tests
>
> ```
> [----------] Global test environment tear-down
> [==========] 230 tests from 39 test cases ran. (4712 ms total)
> [ PASSED ] 228 tests.
> [ FAILED ] 2 tests, listed below:
> [ FAILED ] Base64Test.EncodeURLSafe
> [ FAILED ] Base64Test.DecodeURLSafe
> ```
>
> Known failure.
>
>
> Thanks,
>
> Andrew Schwartzmeyer
>
>
Re: Review Request 58161: Fixed HealthyTaskNonShell test on Windows.
Posted by Joseph Wu <jo...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58161/#review171067
-----------------------------------------------------------
Ship it!
Ship It!
- Joseph Wu
On April 3, 2017, 4:35 p.m., Andrew Schwartzmeyer wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58161/
> -----------------------------------------------------------
>
> (Updated April 3, 2017, 4:35 p.m.)
>
>
> Review request for mesos, Jeff Coffler, John Kordich, Joseph Wu, Li Li, and Michael Park.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Instead of using `TRUE_COMMAND`, we needed to use `add_arguments` for
> each argument to avoid smashing the set of arguments into one string.
> That is, we cannot execute `"cmd /c exit 0"`, we have to execute `"cmd"`
> with arguments `"cmd", "/c", "exit 0"`.
>
>
> Diffs
> -----
>
> src/tests/health_check_tests.cpp 211f8b8578e811d3f2a229387cc0ce8327ae8cb6
>
>
> Diff: https://reviews.apache.org/r/58161/diff/1/
>
>
> Testing
> -------
>
> ## make check
>
> `make check` on CentOS passed (excepting `LdcacheTest.Parse` which also fails on `master` so it's machine issue, not caused by these changes).
>
> ## mesos-tests
>
> ```
> [----------] Global test environment tear-down
> [==========] 559 tests from 58 test cases ran. (4051620 ms total)
> [ PASSED ] 556 tests.
> [ FAILED ] 3 tests, listed below:
> [ FAILED ] CommandExecutorCheckTest.CommandCheckTimeout
> [ FAILED ] CombinedAuthenticatorTest.MultipleAuthenticators
> [ FAILED ] CopyFetcherPluginTest.FetchExistingFile
>
> ...
>
> [ OK ] CommandExecutorCheckTest.CommandCheckTimeout (15730 ms)
> ```
>
> Re-ran `CommandCheckTimeout`, failure was a fluke. `MultipleAuthenticators` and `FetchExistingFile` are known issues.
>
> ## libprocess-tests
>
> ```
> [----------] Global test environment tear-down
> [==========] 116 tests from 26 test cases ran. (11408 ms total)
> [ PASSED ] 116 tests.
> ```
>
> ## stout-tests
>
> ```
> [----------] Global test environment tear-down
> [==========] 230 tests from 39 test cases ran. (4712 ms total)
> [ PASSED ] 228 tests.
> [ FAILED ] 2 tests, listed below:
> [ FAILED ] Base64Test.EncodeURLSafe
> [ FAILED ] Base64Test.DecodeURLSafe
> ```
>
> Known failure.
>
>
> Thanks,
>
> Andrew Schwartzmeyer
>
>
Re: Review Request 58161: Fixed HealthyTaskNonShell test on Windows.
Posted by Andrew Schwartzmeyer <an...@schwartzmeyer.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58161/
-----------------------------------------------------------
(Updated April 3, 2017, 11:35 p.m.)
Review request for mesos, Jeff Coffler, John Kordich, Joseph Wu, Li Li, and Michael Park.
Changes
-------
Add test results.
Repository: mesos
Description
-------
Instead of using `TRUE_COMMAND`, we needed to use `add_arguments` for
each argument to avoid smashing the set of arguments into one string.
That is, we cannot execute `"cmd /c exit 0"`, we have to execute `"cmd"`
with arguments `"cmd", "/c", "exit 0"`.
Diffs
-----
src/tests/health_check_tests.cpp 211f8b8578e811d3f2a229387cc0ce8327ae8cb6
Diff: https://reviews.apache.org/r/58161/diff/1/
Testing (updated)
-------
## make check
`make check` on CentOS passed (excepting `LdcacheTest.Parse` which also fails on `master` so it's machine issue, not caused by these changes).
## mesos-tests
```
[----------] Global test environment tear-down
[==========] 559 tests from 58 test cases ran. (4051620 ms total)
[ PASSED ] 556 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] CommandExecutorCheckTest.CommandCheckTimeout
[ FAILED ] CombinedAuthenticatorTest.MultipleAuthenticators
[ FAILED ] CopyFetcherPluginTest.FetchExistingFile
...
[ OK ] CommandExecutorCheckTest.CommandCheckTimeout (15730 ms)
```
Re-ran `CommandCheckTimeout`, failure was a fluke. `MultipleAuthenticators` and `FetchExistingFile` are known issues.
## libprocess-tests
```
[----------] Global test environment tear-down
[==========] 116 tests from 26 test cases ran. (11408 ms total)
[ PASSED ] 116 tests.
```
## stout-tests
```
[----------] Global test environment tear-down
[==========] 230 tests from 39 test cases ran. (4712 ms total)
[ PASSED ] 228 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] Base64Test.EncodeURLSafe
[ FAILED ] Base64Test.DecodeURLSafe
```
Known failure.
Thanks,
Andrew Schwartzmeyer
Re: Review Request 58161: Fixed HealthyTaskNonShell test on Windows.
Posted by Mesos Reviewbot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58161/#review170944
-----------------------------------------------------------
Patch looks great!
Reviews applied: [56364, 56367, 57973, 57974, 57975, 57976, 58125, 58126, 58127, 58128, 58160, 58161]
Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker-build.sh
- Mesos Reviewbot
On April 3, 2017, 9:21 p.m., Andrew Schwartzmeyer wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58161/
> -----------------------------------------------------------
>
> (Updated April 3, 2017, 9:21 p.m.)
>
>
> Review request for mesos, Jeff Coffler, John Kordich, Joseph Wu, Li Li, and Michael Park.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Instead of using `TRUE_COMMAND`, we needed to use `add_arguments` for
> each argument to avoid smashing the set of arguments into one string.
> That is, we cannot execute `"cmd /c exit 0"`, we have to execute `"cmd"`
> with arguments `"cmd", "/c", "exit 0"`.
>
>
> Diffs
> -----
>
> src/tests/health_check_tests.cpp 211f8b8578e811d3f2a229387cc0ce8327ae8cb6
>
>
> Diff: https://reviews.apache.org/r/58161/diff/1/
>
>
> Testing
> -------
>
> (Pending results. Should all be fixed!)
>
>
> Thanks,
>
> Andrew Schwartzmeyer
>
>