You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Zhitao Li <zh...@gmail.com> on 2018/03/22 20:35:24 UTC

Review Request 66227: Added test for `GROW_VOLUME` and `SHRINK_VOLUME` operator API.

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

Review request for mesos, Chun-Hung Hsiao and Gaston Kleiman.


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


Repository: mesos


Description
-------

Added test for `GROW_VOLUME` and `SHRINK_VOLUME` operator API.


Diffs
-----

  src/tests/api_tests.cpp e81d6ed25984c14e4143a048848c96e44e4f16e4 


Diff: https://reviews.apache.org/r/66227/diff/1/


Testing
-------


Thanks,

Zhitao Li


Re: Review Request 66227: Added test for `GROW_VOLUME` and `SHRINK_VOLUME` operator API.

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



FAIL: Some of the unit tests failed. Please check the relevant logs.

Reviews applied: `['66049', '66050', '66052', '66051', '66218', '66219', '66220', '66227']`

Failed command: `Start-MesosCITesting`

All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/66227

Relevant logs:

- [mesos-tests-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/66227/logs/mesos-tests-stdout.log):

```
[----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest
[ RUN      ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0
[       OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0 (33 ms)
[ RUN      ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1
[       OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1 (37 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 (843 ms)
[----------] 1 test from IsolationFlag/CpuIsolatorTest (868 ms total)

[----------] 1 test from IsolationFlag/MemoryIsolatorTest
[ RUN      ] IsolationFlag/MemoryIsolatorTest.ROOT_MemUsage/0
[       OK ] IsolationFlag/MemoryIsolatorTest.ROOT_MemUsage/0 (838 ms)
[----------] 1 test from IsolationFlag/MemoryIsolatorTest (863 ms total)

[----------] Global test environment tear-down
[==========] 945 tests from 94 test cases ran. (477170 ms total)
[  PASSED  ] 941 tests.
[  FAILED  ] 4 tests, listed below:
[  FAILED  ] CommandExecutorCheckTest.CommandCheckTimeout
[  FAILED  ] DockerTest.ROOT_DOCKER_CheckPortResource
[  FAILED  ] ContentType/MasterAPITest.CreateGrowShrinkDestroyPersistentVolume/0, where GetParam() = application/x-protobuf
[  FAILED  ] ContentType/MasterAPITest.CreateGrowShrinkDestroyPersistentVolume/1, where GetParam() = application/json

 4 FAILED TESTS
  YOU HAVE 215 DISABLED TESTS

```

- [mesos-tests-stderr.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/66227/logs/mesos-tests-stderr.log):

```
I0322 21:35:02.414649  9372 master.cpp:10374] Updating the state of task 296bc2a1-7f6e-4677-9cec-7690bceI0322 21:35:02.193636  7516 exec.cpp:162] Version: 1.6.0
I0322 21:35:02.221637  1756 exec.cpp:236] Executor registered on agent d6b172e0-0429-4522-82a0-5251e7d56f4e-S0
I0322 21:35:02.225642  9304 executor.cpp:176] Received SUBSCRIBED event
I0322 21:35:02.231643  9304 executor.cpp:180] Subscribed executor on winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net
I0322 21:35:02.231643  9304 executor.cpp:176] Received LAUNCH event
I0322 21:35:02.237639  9304 executor.cpp:648] Starting task 296bc2a1-7f6e-4677-9cec-7690bced62bb
I0322 21:35:02.351645  9304 executor.cpp:483] Running 'D:\DCOS\mesos\src\mesos-containerizer.exe launch <POSSIBLY-SENSITIVE-DATA>'
I0322 21:35:02.386629  9304 executor.cpp:661] Forked command at 8256
I0322 21:35:02.418730  8360 exec.cpp:445] Executor asked to shutdown
I0322 21:35:02.419612 11932 executor.cpp:176] Received SHUTDOWN event
I0322 21:35:02.419612 11932 executor.cpp:758] Shutting down
I0322 21:35:02.419612 11932 executor.cpp:868] Sending SIGTERM to process tree at pid 8d62bb of framework d6b172e0-0429-4522-82a0-5251e7d56f4e-0000 (latest state: TASK_KILLED, status update state: TASK_KILLED)
I0322 21:35:02.414649  8372 slave.cpp:3873] Shutting down framework d6b172e0-0429-4522-82a0-5251e7d56f4e-0000
I0322 21:35:02.417623  8372 slave.cpp:6617] Shutting down executor '296bc2a1-7f6e-4677-9cec-7690bced62bb' of framework d6b172e0-0429-4522-82a0-5251e7d56f4e-0000 at executor(1)@10.3.1.8:55002
I0322 21:35:02.418730  8372 slave.cpp:919] Agent terminating
W0322 21:35:02.418730  8372 slave.cpp:3869] Ignoring shutdown framework d6b172e0-0429-4522-82a0-5251e7d56f4e-0000 because it is terminating
I0322 21:35:02.419612  9372 master.cpp:10473] Removing task 296bc2a1-7f6e-4677-9cec-7690bced62bb with resources cpus(allocated: *):4; mem(allocated: *):2048; disk(allocated: *):1024; ports(allocated: *):[31000-32000] of framework d6b172e0-0429-4522-82a0-5251e7d56f4e-0000 on agent d6b172e0-0429-4522-82a0-5251e7d56f4e-S0 at slave(414)@10.3.1.8:54981 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0322 21:35:02.421608  8372 containerizer.cpp:2338] Destroying container c2b834f9-9638-43af-83d9-04e634379977 in RUNNING state
I0322 21:35:02.422608  8372 containerizer.cpp:2952] Transitioning the state of container c2b834f9-9638-43af-83d9-04e634379977 from RUNNING to DESTROYING
I0322 21:35:02.423611  9372 master.cpp:1295] Agent d6b172e0-0429-4522-82a0-5251e7d56f4e-S0 at slave(414)@10.3.1.8:54981 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net) disconnected
I0322 21:35:02.423611  9372 master.cpp:3283] Disconnecting agent d6b172e0-0429-4522-82a0-5251e7d56f4e-S0 at slave(414)@10.3.1.8:54981 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0322 21:35:02.423611  8372 launcher.cpp:156] Asked to destroy container c2b834f9-9638-43af-83d9-04e634379977
I0322 21:35:02.423611  9372 master.cpp:3302] Deactivating agent d6b172e0-0429-4522-82a0-5251e7d56f4e-S0 at slave(414)@10.3.1.8:54981 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0322 21:35:02.423611  8556 hierarchical.cpp:344] Removed framework d6b172e0-0429-4522-82a0-5251e7d56f4e-0000
I0322 21:35:02.424624  8556 hierarchical.cpp:766] Agent d6b172e0-0429-4522-82a0-5251e7d56f4e-S0 deactivated
I0322 21:35:02.463649  4636 containerizer.cpp:2791] Container c2b834f9-9638-43af-83d9-04e634379977 has exited
I0322 21:35:02.495630  3944 master.cpp:1137] Master terminating
I0322 21:35:02.499625  5280 hierarchical.cpp:609] Removed agent d6b172e0-0429-4522-82a0-5251e7d56f4e-S0
I0322 21:35:02.950639  2272 process.cpp:929] Stopped the socket accept loop
```

- Mesos Reviewbot Windows


On March 22, 2018, 8:35 p.m., Zhitao Li wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66227/
> -----------------------------------------------------------
> 
> (Updated March 22, 2018, 8:35 p.m.)
> 
> 
> Review request for mesos, Chun-Hung Hsiao and Gaston Kleiman.
> 
> 
> Bugs: MESOS-4965
>     https://issues.apache.org/jira/browse/MESOS-4965
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added test for `GROW_VOLUME` and `SHRINK_VOLUME` operator API.
> 
> 
> Diffs
> -----
> 
>   src/tests/api_tests.cpp e81d6ed25984c14e4143a048848c96e44e4f16e4 
> 
> 
> Diff: https://reviews.apache.org/r/66227/diff/1/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Zhitao Li
> 
>