You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Benno Evers <be...@mesosphere.com> on 2018/04/24 14:40:02 UTC
Review Request 66776: Changed failure check for a call to
os::system().
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66776/
-----------------------------------------------------------
Review request for mesos and Alexander Rukletsov.
Repository: mesos
Description
-------
The previous check for `None()` was missing the case where the
program exited with a non-zero exit status.
Diffs
-----
3rdparty/libprocess/src/memory_profiler.cpp 5d6e9dc9b6d26c0efd5f2383d5ad36a136861591
Diff: https://reviews.apache.org/r/66776/diff/1/
Testing
-------
Thanks,
Benno Evers
Re: Review Request 66776: Changed failure check for a call to
os::system().
Posted by Mesos Reviewbot Windows <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66776/#review201929
-----------------------------------------------------------
FAIL: Some of the unit tests failed. Please check the relevant logs.
Reviews applied: `['66776']`
Failed command: `Start-MesosCITesting`
All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/66776
Relevant logs:
- [mesos-tests-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/66776/logs/mesos-tests-stdout.log):
```
[----------] 9 tests from Endpoint/SlaveEndpointTest (1143 ms total)
[----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest
[ RUN ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0
[ OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0 (45 ms)
[ RUN ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1
[ OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1 (50 ms)
[----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest (96 ms total)
[----------] 1 test from IsolationFlag/CpuIsolatorTest
[ RUN ] IsolationFlag/CpuIsolatorTest.ROOT_UserCpuUsage/0
[ OK ] IsolationFlag/CpuIsolatorTest.ROOT_UserCpuUsage/0 (810 ms)
[----------] 1 test from IsolationFlag/CpuIsolatorTest (841 ms total)
[----------] 1 test from IsolationFlag/MemoryIsolatorTest
[ RUN ] IsolationFlag/MemoryIsolatorTest.ROOT_MemUsage/0
[ OK ] IsolationFlag/MemoryIsolatorTest.ROOT_MemUsage/0 (836 ms)
[----------] 1 test from IsolationFlag/MemoryIsolatorTest (868 ms total)
[----------] Global test environment tear-down
[==========] 970 tests from 95 test cases ran. (476773 ms total)
[ PASSED ] 968 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] ContentType/ResourceProviderManagerHttpApiTest.ResubscribeResourceProvider/0, where GetParam() = application/x-protobuf
[ FAILED ] ContentType/ResourceProviderManagerHttpApiTest.ResubscribeResourceProvider/1, where GetParam() = application/json
2 FAILED TESTS
YOU HAVE 216 DISABLED TESTS
```
- [mesos-tests-stderr.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/66776/logs/mesos-tests-stderr.log):
```
I0425 15:24:41.184129 36152 master.cpp:10547] Updating the state of task f486ec98-21ed-429c-8738-3b14577bfba7 of framework 3b480c78-f472-45c6-bb1a-cb9b30956ce4-0000 (latest state: TASK_KILLED, status update state: TASK_KILLED)
I0425 15:24:41.184129 32308 slave.cpp:3931] Shutting down framework 3b480c78-f472-45c6-bb1a-cb9b30956ce4-0000
I0425 15:24:41.184129 32308 slave.cpp:6640] Shutting down executor 'f486ec98-21ed-429c-8738I0425 15:24:40.991132 35460 exec.cpp:162] Version: 1.6.0
I0425 15:24:41.020107 34428 exec.cpp:236] Executor registered on agent 3b480c78-f472-45c6-bb1a-cb9b30956ce4-S0
I0425 15:24:41.029116 21264 executor.cpp:177] Received SUBSCRIBED event
I0425 15:24:41.034132 21264 executor.cpp:181] Subscribed executor on winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net
I0425 15:24:41.034132 21264 executor.cpp:177] Received LAUNCH event
I0425 15:24:41.041133 21264 executor.cpp:649] Starting task f486ec98-21ed-429c-8738-3b14577bfba7
I0425 15:24:41.133137 21264 executor.cpp:484] Running 'D:\DCOS\mesos\src\mesos-containerizer.exe launch <POSSIBLY-SENSITIVE-DATA>'
I0425 15:24:41.147101 21264 executor.cpp:662] Forked command at 33852
I0425 15:24:41.186539 32244 exec.cpp:445] Executor asked to shutdown
I0425 15:24:41.187108 14340 executor.cpp:177] Received SHUTDOWN event
I0425 15:24:41.187108 14340 executor.cpp:759] Shutting down
I0425 15:24:41.187108 14340 executor.cpp:869] Sending SIGTERM to process tree at pid -3b14577bfba7' of framework 3b480c78-f472-45c6-bb1a-cb9b30956ce4-0000 at executor(1)@10.3.1.8:63516
I0425 15:24:41.185139 32308 slave.cpp:929] Agent terminating
W0425 15:24:41.185139 32308 slave.cpp:3927] Ignoring shutdown framework 3b480c78-f472-45c6-bb1a-cb9b30956ce4-0000 because it is terminating
I0425 15:24:41.186539 36152 master.cpp:10646] Removing task f486ec98-21ed-429c-8738-3b14577bfba7 with resources cpus(allocated: *):4; mem(allocated: *):2048; disk(allocated: *):1024; ports(allocated: *):[31000-32000] of framework 3b480c78-f472-45c6-bb1a-cb9b30956ce4-0000 on agent 3b480c78-f472-45c6-bb1a-cb9b30956ce4-S0 at slave(438)@10.3.1.8:63495 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0425 15:24:41.189121 36152 master.cpp:1296] Agent 3b480c78-f472-45c6-bb1a-cb9b30956ce4-S0 at slave(438)@10.3.1.8:63495 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net) disconnected
I0425 15:24:41.190122 36152 master.cpp:3296] Disconnecting agent 3b480c78-f472-45c6-bb1a-cb9b30956ce4-S0 at slave(438)@10.3.1.8:63495 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0425 15:24:41.191139 36152 master.cpp:3315] Deactivating agent 3b480c78-f472-45c6-bb1a-cb9b30956ce4-S0 at slave(438)@10.3.1.8:63495 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0425 15:24:41.191139 35352 containerizer.cpp:2378] Destroying container 1404f65a-2505-47d7-97b8-3a57e2aac7b7 in RUNNING state
I0425 15:24:41.191139 35352 containerizer.cpp:2992] Transitioning the state of container 1404f65a-2505-47d7-97b8-3a57e2aac7b7 from RUNNING to DESTROYING
I0425 15:24:41.191139 33440 hierarchical.cpp:344] Removed framework 3b480c78-f472-45c6-bb1a-cb9b30956ce4-0000
I0425 15:24:41.192118 33440 hierarchical.cpp:766] Agent 3b480c78-f472-45c6-bb1a-cb9b30956ce4-S0 deactivated
I0425 15:24:41.192118 35352 launcher.cpp:156] Asked to destroy container 1404f65a-2505-47d7-97b8-3a57e2aac7b7
I0425 15:24:41.266188 32140 containerizer.cpp:2831] Container 1404f65a-2505-47d7-97b8-3a57e2aac7b7 has exited
I0425 15:24:41.306151 32580 master.cpp:1138] Master terminating
I0425 15:24:41.309185 35960 hierarchical.cpp:609] Removed agent 3b480c78-f472-45c6-bb1a-cb9b30956ce4-S0
I0425 15:24:41.943207 9688 process.cpp:939] Stopped the socket accept loop
```
- Mesos Reviewbot Windows
On April 24, 2018, 2:40 p.m., Benno Evers wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66776/
> -----------------------------------------------------------
>
> (Updated April 24, 2018, 2:40 p.m.)
>
>
> Review request for mesos and Alexander Rukletsov.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> The previous check for `None()` was missing the case where the
> program exited with a non-zero exit status.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/src/memory_profiler.cpp 5d6e9dc9b6d26c0efd5f2383d5ad36a136861591
>
>
> Diff: https://reviews.apache.org/r/66776/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Benno Evers
>
>
Re: Review Request 66776: Changed failure check for a call to
os::system().
Posted by Mesos Reviewbot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66776/#review201949
-----------------------------------------------------------
Patch looks great!
Reviews applied: [66776]
Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose --disable-libtool-wrappers' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker-build.sh
- Mesos Reviewbot
On April 24, 2018, 2:40 p.m., Benno Evers wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66776/
> -----------------------------------------------------------
>
> (Updated April 24, 2018, 2:40 p.m.)
>
>
> Review request for mesos and Alexander Rukletsov.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> The previous check for `None()` was missing the case where the
> program exited with a non-zero exit status.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/src/memory_profiler.cpp 5d6e9dc9b6d26c0efd5f2383d5ad36a136861591
>
>
> Diff: https://reviews.apache.org/r/66776/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Benno Evers
>
>
Re: Review Request 66776: Changed failure check for a call to
os::system().
Posted by Benno Evers <be...@mesosphere.com>.
> On May 2, 2018, 12:49 p.m., Benjamin Bannier wrote:
> > LGTM, but could you please create a ticket for fixing the weird semantics of `os::system`?
Opened https://issues.apache.org/jira/browse/MESOS-8869
- Benno
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66776/#review202274
-----------------------------------------------------------
On April 24, 2018, 2:40 p.m., Benno Evers wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66776/
> -----------------------------------------------------------
>
> (Updated April 24, 2018, 2:40 p.m.)
>
>
> Review request for mesos and Alexander Rukletsov.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> The previous check for `None()` was missing the case where the
> program exited with a non-zero exit status.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/src/memory_profiler.cpp 5d6e9dc9b6d26c0efd5f2383d5ad36a136861591
>
>
> Diff: https://reviews.apache.org/r/66776/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Benno Evers
>
>
Re: Review Request 66776: Changed failure check for a call to
os::system().
Posted by Benjamin Bannier <be...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66776/#review202274
-----------------------------------------------------------
Ship it!
LGTM, but could you please create a ticket for fixing the weird semantics of `os::system`?
- Benjamin Bannier
On April 24, 2018, 4:40 p.m., Benno Evers wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66776/
> -----------------------------------------------------------
>
> (Updated April 24, 2018, 4:40 p.m.)
>
>
> Review request for mesos and Alexander Rukletsov.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> The previous check for `None()` was missing the case where the
> program exited with a non-zero exit status.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/src/memory_profiler.cpp 5d6e9dc9b6d26c0efd5f2383d5ad36a136861591
>
>
> Diff: https://reviews.apache.org/r/66776/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Benno Evers
>
>