----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/67195/#review203828 -----------------------------------------------------------
FAIL: Some of the unit tests failed. Please check the relevant logs. Reviews applied: `['67271', '67195']` Failed command: `Start-MesosCITesting` All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/67195 Relevant logs: - [mesos-tests-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/67195/logs/mesos-tests-stdout.log): ``` [ OK ] Endpoint/SlaveEndpointTest.NoAuthorizer/2 (105 ms) [----------] 9 tests from Endpoint/SlaveEndpointTest (1002 ms total) [----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest [ RUN ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0 [ OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0 (32 ms) [ RUN ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1 [ OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1 (38 ms) [----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest (73 ms total) [----------] 1 test from IsolationFlag/CpuIsolatorTest [ RUN ] IsolationFlag/CpuIsolatorTest.ROOT_UserCpuUsage/0 [ OK ] IsolationFlag/CpuIsolatorTest.ROOT_UserCpuUsage/0 (776 ms) [----------] 1 test from IsolationFlag/CpuIsolatorTest (800 ms total) [----------] 1 test from IsolationFlag/MemoryIsolatorTest [ RUN ] IsolationFlag/MemoryIsolatorTest.ROOT_MemUsage/0 [ OK ] IsolationFlag/MemoryIsolatorTest.ROOT_MemUsage/0 (736 ms) [----------] 1 test from IsolationFlag/MemoryIsolatorTest (760 ms total) [----------] Global test environment tear-down [==========] 980 tests from 95 test cases ran. (442527 ms total) [ PASSED ] 979 tests. [ FAILED ] 1 test, listed below: [ FAILED ] DockerContainerizerHealthCheckTest.ROOT_DOCKER_DockerHealthStatusChange 1 FAILED TEST YOU HAVE 220 DISABLED TESTS ``` - [mesos-tests-stderr.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/67195/logs/mesos-tests-stderr.log): ``` I0524 23:01:16.902797 22300 master.cpp:10843] Updating the state of task e71bb8dd-e521-401a-a53b-baca9459eee3 of framework cb9a7a95-8ddb-4828-9b88-c1e928650749-0000 (latest state: TASK_KILLED, status update state: TASK_KILLED) I0524 23:01:16.902797 21544 slave.cpp:3935] Shutting down framework cb9a7a95-8ddb-4828-9b88-c1e928650749-0000 I0524 23:01:16.903744 21544 slave.cpp:6656] ShI0524 23:01:16.740767 19640 exec.cpp:162] Version: 1.7.0 I0524 23:01:16.765769 19524 exec.cpp:236] Executor registered on agent cb9a7a95-8ddb-4828-9b88-c1e928650749-S0 I0524 23:01:16.769767 11824 executor.cpp:178] Received SUBSCRIBED event I0524 23:01:16.773767 11824 executor.cpp:182] Subscribed executor on windows-02.enofukwu14ruplxn0gs3yzmsgf.xx.internal.cloudapp.net I0524 23:01:16.774758 11824 executor.cpp:178] Received LAUNCH event I0524 23:01:16.778764 11824 executor.cpp:665] Starting task e71bb8dd-e521-401a-a53b-baca9459eee3 I0524 23:01:16.860759 11824 executor.cpp:485] Running 'D:\DCOS\mesos\src\mesos-containerizer.exe launch <POSSIBLY-SENSITIVE-DATA>' I0524 23:01:16.877769 11824 executor.cpp:678] Forked command at 20588 I0524 23:01:16.905735 20256 exec.cpp:445] Executor asked to shutdown I0524 23:01:16.905735 7304 executor.cpp:178] Received SHUTDOWN event I0524 23:01:16.906738 7304 executor.cpp:781] Shutting down I0524 23:01:16.906738 7304 executor.cpp:894] Sending SIGTERM to process tree at pid 20utting down executor 'e71bb8dd-e521-401a-a53b-baca9459eee3' of framework cb9a7a95-8ddb-4828-9b88-c1e928650749-0000 at executor(1)@192.10.1.6:51348 I0524 23:01:16.905735 21544 slave.cpp:929] Agent terminating I0524 23:01:16.905735 22300 master.cpp:10942] Removing task e71bb8dd-e521-401a-a53b-baca9459eee3 with resources cpus(allocated: *):4; mem(allocated: *):2048; disk(allocated: *):1024; ports(allocated: *):[31000-32000] of framework cb9a7a95-8ddb-4828-9b88-c1e928650749-0000 on agent cb9a7a95-8ddb-4828-9b88-c1e928650749-S0 at slave(447)@192.10.1.6:51327 (windows-02.enofukwu14ruplxn0gs3yzmsgf.xx.internal.cloudapp.net) W0524 23:01:16.905735 21544 slave.cpp:3931] Ignoring shutdown framework cb9a7a95-8ddb-4828-9b88-c1e928650749-0000 because it is terminating I0524 23:01:16.908730 21328 master.cpp:1293] Agent cb9a7a95-8ddb-4828-9b88-c1e928650749-S0 at slave(447)@192.10.1.6:51327 (windows-02.enofukwu14ruplxn0gs3yzmsgf.xx.internal.cloudapp.net) disconnected I0524 23:01:16.908730 21328 master.cpp:3303] Disconnecting agent cb9a7a95-8ddb-4828-9b88-c1e928650749-S0 at slave(447)@192.10.1.6:51327 (windows-02.enofukwu14ruplxn0gs3yzmsgf.xx.internal.cloudapp.net) I0524 23:01:16.908730 15436 hierarchical.cpp:344] Removed framework cb9a7a95-8ddb-4828-9b88-c1e928650749-0000 I0524 23:01:16.909746 21328 master.cpp:3322] Deactivating agent cb9a7a95-8ddb-4828-9b88-c1e928650749-S0 at slave(447)@192.10.1.6:51327 (windows-02.enofukwu14ruplxn0gs3yzmsgf.xx.internal.cloudapp.net) I0524 23:01:16.909746 9716 hierarchical.cpp:766] Agent cb9a7a95-8ddb-4828-9b88-c1e928650749-S0 deactivated I0524 23:01:16.910756 21544 containerizer.cpp:2401] Destroying container d1884ff0-6056-4fb6-be5d-fb23adb52cd7 in RUNNING state I0524 23:01:16.910756 21544 containerizer.cpp:3015] Transitioning the state of container d1884ff0-6056-4fb6-be5d-fb23adb52cd7 from RUNNING to DESTROYING I0524 23:01:16.911773 21544 launcher.cpp:156] Asked to destroy container d1884ff0-6056-4fb6-be5d-fb23adb52cd7 I0524 23:01:16.980468 22248 containerizer.cpp:2854] Container d1884ff0-6056-4fb6-be5d-fb23adb52cd7 has exited I0524 23:01:17.011484 23300 master.cpp:1135] Master terminating I0524 23:01:17.013468 21328 hierarchical.cpp:609] Removed agent cb9a7a95-8ddb-4828-9b88-c1e928650749-S0 I0524 23:01:17.430485 19056 process.cpp:940] Stopped the socket accept loop ``` - Mesos Reviewbot Windows On May 24, 2018, 9:56 p.m., Xudong Ni wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/67195/ > ----------------------------------------------------------- > > (Updated May 24, 2018, 9:56 p.m.) > > > Review request for mesos, James Peach and Jiang Yan Xu. > > > Bugs: MESOS-8340 > https://issues.apache.org/jira/browse/MESOS-8340 > > > Repository: mesos > > > Description > ------- > > To reduce deployment risk, a nonenforce mode is added for network > port isolator. When this flag is set as false(default is false), > even task uses ports not in the container resources, the container > will not raise any limitation. > > Added new test for this flag and updated the existing tests > > > Diffs > ----- > > docs/configuration/agent.md 962211a54177a54b3e38a93aad9af3c7a0f94ecb > docs/isolators/network-ports.md ea63968481ce52c46e0a98e242da49baf6962009 > src/slave/containerizer/mesos/isolators/network/ports.hpp > ba71087194a3ae74c7e40dffa9c108b02ffa10ad > src/slave/containerizer/mesos/isolators/network/ports.cpp > 1f84ed4fb2a30fd095e2faec1038de1fa19a15c5 > src/slave/flags.hpp a839591a2b66444ad97fced0620201dde656352d > src/slave/flags.cpp a319b5ea633c41fd8a252c5e1617ac52d1480ba5 > src/tests/containerizer/ports_isolator_tests.cpp > c5b9f926047792e7f9d1f0937fa5355b1dd77965 > > > Diff: https://reviews.apache.org/r/67195/diff/4/ > > > Testing > ------- > > New test added for the flag; Related unit tests passed. > > [ OK ] NetworkPortsIsolatorTest.ROOT_NC_AllocatedPorts (1906 ms) > [ OK ] NetworkPortsIsolatorTest.ROOT_NC_NoPortsResource (1788 ms) > [ OK ] NetworkPortsIsolatorTest.ROOT_NC_NoPortEnforement (17001 ms) > > > Thanks, > > Xudong Ni > >
