You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Benjamin Bannier <be...@mesosphere.io> on 2018/04/24 19:28:41 UTC

Review Request 66780: Removed redundant master flags in resource provider tests.

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

Review request for mesos and Chun-Hung Hsiao.


Repository: mesos


Description
-------

Removed redundant master flags in resource provider tests.


Diffs
-----

  src/tests/resource_provider_manager_tests.cpp c52541bf130ccf4795b989b53331176a64a097ea 


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


Testing
-------

`make check`


Thanks,

Benjamin Bannier


Re: Review Request 66780: Removed redundant master flags in resource provider tests.

Posted by Chun-Hung Hsiao <ch...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66780/#review201868
-----------------------------------------------------------


Ship it!




Ship It!

- Chun-Hung Hsiao


On April 24, 2018, 7:28 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66780/
> -----------------------------------------------------------
> 
> (Updated April 24, 2018, 7:28 p.m.)
> 
> 
> Review request for mesos and Chun-Hung Hsiao.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Removed redundant master flags in resource provider tests.
> 
> 
> Diffs
> -----
> 
>   src/tests/resource_provider_manager_tests.cpp c52541bf130ccf4795b989b53331176a64a097ea 
> 
> 
> Diff: https://reviews.apache.org/r/66780/diff/1/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Re: Review Request 66780: Removed redundant master flags in resource provider tests.

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



FAIL: Failed to apply the dependent review: 66545.

Failed command: `python.exe .\support\apply-reviews.py -n -r 66545`

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

Relevant logs:

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

```
error: patch failed: src/resource_provider/manager.cpp:58
error: src/resource_provider/manager.cpp: patch does not apply
error: patch failed: src/resource_provider/registrar.cpp:115
error: src/resource_provider/registrar.cpp: patch does not apply
error: patch failed: src/resource_provider/registry.proto:35
error: src/resource_provider/registry.proto: patch does not apply
error: patch failed: src/tests/resource_provider_manager_tests.cpp:843
error: src/tests/resource_provider_manager_tests.cpp: patch does not apply
```

- Mesos Reviewbot Windows


On April 24, 2018, 9:28 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66780/
> -----------------------------------------------------------
> 
> (Updated April 24, 2018, 9:28 p.m.)
> 
> 
> Review request for mesos and Chun-Hung Hsiao.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Removed redundant master flags in resource provider tests.
> 
> 
> Diffs
> -----
> 
>   src/tests/resource_provider_manager_tests.cpp c52541bf130ccf4795b989b53331176a64a097ea 
> 
> 
> Diff: https://reviews.apache.org/r/66780/diff/2/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Re: Review Request 66780: Removed redundant master flags in resource provider tests.

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



Patch looks great!

Reviews applied: [66779, 66308, 66309, 66526, 66310, 66311, 66544, 66545, 66546, 66780]

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, 12:28 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66780/
> -----------------------------------------------------------
> 
> (Updated April 24, 2018, 12:28 p.m.)
> 
> 
> Review request for mesos and Chun-Hung Hsiao.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Removed redundant master flags in resource provider tests.
> 
> 
> Diffs
> -----
> 
>   src/tests/resource_provider_manager_tests.cpp c52541bf130ccf4795b989b53331176a64a097ea 
> 
> 
> Diff: https://reviews.apache.org/r/66780/diff/2/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Re: Review Request 66780: Removed redundant master flags in resource provider tests.

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



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

Reviews applied: `['66779', '66308', '66309', '66526', '66310', '66311', '66544', '66545', '66546', '66780']`

Failed command: `Start-MesosCITesting`

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

Relevant logs:

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

```
[----------] 9 tests from Endpoint/SlaveEndpointTest (1094 ms total)

[----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest
[ RUN      ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0
[       OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0 (34 ms)
[ RUN      ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1
[       OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1 (41 ms)
[----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest (77 ms total)

[----------] 1 test from IsolationFlag/CpuIsolatorTest
[ RUN      ] IsolationFlag/CpuIsolatorTest.ROOT_UserCpuUsage/0
[       OK ] IsolationFlag/CpuIsolatorTest.ROOT_UserCpuUsage/0 (687 ms)
[----------] 1 test from IsolationFlag/CpuIsolatorTest (712 ms total)

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

[----------] Global test environment tear-down
[==========] 970 tests from 95 test cases ran. (470053 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/66780/logs/mesos-tests-stderr.log):

```
I0424 22:58:20.285034 31268 master.cpp:10547] Updating the state of task c5d902a5-5425-498a-b82e-2ca5206cc4cf of framework 82b744d2-01f6-4895-a9fe-a6f481526294-0000 (latest state: TASK_KILLED, status update state: TASK_KILLED)
I0424 22:58:20.285034 25444 slave.cpp:3931] Shutting down framework 82b744dI0424 22:58:20.078056 21520 exec.cpp:162] Version: 1.6.0
I0424 22:58:20.110018 31784 exec.cpp:236] Executor registered on agent 82b744d2-01f6-4895-a9fe-a6f481526294-S0
I0424 22:58:20.118024 30232 executor.cpp:177] Received SUBSCRIBED event
I0424 22:58:20.125043 30232 executor.cpp:181] Subscribed executor on winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net
I0424 22:58:20.125043 30232 executor.cpp:177] Received LAUNCH event
I0424 22:58:20.130059 30232 executor.cpp:649] Starting task c5d902a5-5425-498a-b82e-2ca5206cc4cf
I0424 22:58:20.233018 30232 executor.cpp:484] Running 'D:\DCOS\mesos\src\mesos-containerizer.exe launch <POSSIBLY-SENSITIVE-DATA>'
I0424 22:58:20.247037 30232 executor.cpp:662] Forked command at 27800
I0424 22:58:20.289044 33984 exec.cpp:445] Executor asked to shutdown
I0424 22:58:20.289044 18064 executor.cpp:177] Received SHUTDOWN event
I0424 22:58:20.290045 18064 executor.cpp:759] Shutting down
I0424 22:58:20.290045 18064 executor.cpp:869] Sending SIGTERM to process tree at pid 2-01f6-4895-a9fe-a6f481526294-0000
I0424 22:58:20.286080 25444 slave.cpp:6640] Shutting down executor 'c5d902a5-5425-498a-b82e-2ca5206cc4cf' of framework 82b744d2-01f6-4895-a9fe-a6f481526294-0000 at executor(1)@10.3.1.8:54796
I0424 22:58:20.287030 25444 slave.cpp:929] Agent terminating
W0424 22:58:20.287030 25444 slave.cpp:3927] Ignoring shutdown framework 82b744d2-01f6-4895-a9fe-a6f481526294-0000 because it is terminating
I0424 22:58:20.289044 31268 master.cpp:10646] Removing task c5d902a5-5425-498a-b82e-2ca5206cc4cf with resources cpus(allocated: *):4; mem(allocated: *):2048; disk(allocated: *):1024; ports(allocated: *):[31000-32000] of framework 82b744d2-01f6-4895-a9fe-a6f481526294-0000 on agent 82b744d2-01f6-4895-a9fe-a6f481526294-S0 at slave(438)@10.3.1.8:54775 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0424 22:58:20.291018 25444 containerizer.cpp:2378] Destroying container 09ad8698-3cac-4901-8d23-be789d30e9fb in RUNNING state
I0424 22:58:20.291018 25444 containerizer.cpp:2992] Transitioning the state of container 09ad8698-3cac-4901-8d23-be789d30e9fb from RUNNING to DESTROYING
I0424 22:58:20.292057 31268 master.cpp:1296] Agent 82b744d2-01f6-4895-a9fe-a6f481526294-S0 at slave(438)@10.3.1.8:54775 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net) disconnected
I0424 22:58:20.292057 31268 master.cpp:3296] Disconnecting agent 82b744d2-01f6-4895-a9fe-a6f481526294-S0 at slave(438)@10.3.1.8:54775 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0424 22:58:20.292057 31268 master.cpp:3315] Deactivating agent 82b744d2-01f6-4895-a9fe-a6f481526294-S0 at slave(438)@10.3.1.8:54775 (winbldsrv-01.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0424 22:58:20.292057 33676 hierarchical.cpp:344] Removed framework 82b744d2-01f6-4895-a9fe-a6f481526294-0000
I0424 22:58:20.293031 33676 hierarchical.cpp:766] Agent 82b744d2-01f6-4895-a9fe-a6f481526294-S0 deactivated
I0424 22:58:20.293031 25444 launcher.cpp:156] Asked to destroy container 09ad8698-3cac-4901-8d23-be789d30e9fb
I0424 22:58:20.372287 34564 containerizer.cpp:2831] Container 09ad8698-3cac-4901-8d23-be789d30e9fb has exited
I0424 22:58:20.407294 25432 master.cpp:1138] Master terminating
I0424 22:58:20.409281 25444 hierarchical.cpp:609] Removed agent 82b744d2-01f6-4895-a9fe-a6f481526294-S0
I0424 22:58:20.963311 32788 process.cpp:939] Stopped the socket accept loop
```

- Mesos Reviewbot Windows


On April 24, 2018, 12:28 p.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66780/
> -----------------------------------------------------------
> 
> (Updated April 24, 2018, 12:28 p.m.)
> 
> 
> Review request for mesos and Chun-Hung Hsiao.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Removed redundant master flags in resource provider tests.
> 
> 
> Diffs
> -----
> 
>   src/tests/resource_provider_manager_tests.cpp c52541bf130ccf4795b989b53331176a64a097ea 
> 
> 
> Diff: https://reviews.apache.org/r/66780/diff/1/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>