mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mesos Reviewbot Windows <revi...@mesos.apache.org>
Subject Re: Review Request 66546: Prevent resubscription of resource providers with unknown IDs.
Date Thu, 12 Apr 2018 10:31:49 GMT

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



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

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

Failed command: `Start-MesosCITesting`

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

Relevant logs:

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

```
[----------] 9 tests from Endpoint/SlaveEndpointTest (1019 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 (36 ms)
[----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest (70 ms total)

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

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

[----------] Global test environment tear-down
[==========] 956 tests from 94 test cases ran. (465470 ms total)
[  PASSED  ] 954 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 214 DISABLED TESTS

```

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

```
I0412 10:31:33.275807 13936 exec.cpp:236] Executor registered on agent eb8ea3fc-64a0-4381-a846-aff8f1209e21-S0
I0412 10:31:33.279808  2824 executor.cpp:177] Received SUBSCRIBED event
I0412 10:31:33.283825  2824 executor.cpp:181] Subscribed executor on winbldsrv-02.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net
I0412 10:31:33.284823  2824 executor.cpp:177] Received LAUNCH event
I0412 10:31:33.289826  2824 executor.cpp:649] Starting task d5c93b38-11d8-4d5c-b312-b920d69adb89
I0412 10:31:33.368827  2824 executor.cpp:484] Running 'D:\DCOS\mesos\src\mesos-containerizer.exe
launch <POSSIBLY-SENSITIVE-DATA>'
I0412 10:31:33.397830  2824 executor.cpp:662] Forked command at 11000
I0412 10:31:33.424813  8340 exec.cpp:445] Executor asked to shutdown
I0412 10:31:33.425859  9500 executor.cpp:177] Received SHUTDOWN event
I0412 10:31:33.425859  9500 executor.cpp:759] Shutting down
I0412 10:31:33.425859  9500 executor.cpp:869] Sending SIGTERM to process tree at pid 833 11896
hierarchical.cpp:405] Deactivated framework eb8ea3fc-64a0-4381-a846-aff8f1209e21-0000
I0412 10:31:33.423830  7408 master.cpp:10453] Updating the state of task d5c93b38-11d8-4d5c-b312-b920d69adb89
of framework eb8ea3fc-64a0-4381-a846-aff8f1209e21-0000 (latest state: TASK_KILLED, status
update state: TASK_KILLED)
I0412 10:31:33.423830  8768 slave.cpp:3971] Shutting down framework eb8ea3fc-64a0-4381-a846-aff8f1209e21-0000
I0412 10:31:33.423830  8768 slave.cpp:6683] Shutting down executor 'd5c93b38-11d8-4d5c-b312-b920d69adb89'
of framework eb8ea3fc-64a0-4381-a846-aff8f1209e21-0000 at executor(1)@10.3.1.5:60514
I0412 10:31:33.424813  5652 slave.cpp:919] Agent terminating
W0412 10:31:33.424813  5652 slave.cpp:3967] Ignoring shutdown framework eb8ea3fc-64a0-4381-a846-aff8f1209e21-0000
because it is terminating
I0412 10:31:33.426811  7408 master.cpp:10552] Removing task d5c93b38-11d8-4d5c-b312-b920d69adb89
with resources cpus(allocated: *):4; mem(allocated: *):2048; disk(allocated: *):1024; ports(allocated:
*):[31000-32000] of framework eb8ea3fc-64a0-4381-a846-aff8f1209e21-0000 on agent eb8ea3fc-64a0-4381-a846-aff8f1209e21-S0
at slave(424)@10.3.1.5:60493 (winbldsrv-02.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0412 10:31:33.428810 12176 containerizer.cpp:2339] Destroying container bf59f546-8774-45aa-aa3b-8626ae6fca83
in RUNNING state
I0412 10:31:33.429811 12176 containerizer.cpp:2953] Transitioning the state of container bf59f546-8774-45aa-aa3b-8626ae6fca83
from RUNNING to DESTROYING
I0412 10:31:33.429811  7408 master.cpp:1296] Agent eb8ea3fc-64a0-4381-a846-aff8f1209e21-S0
at slave(424)@10.3.1.5:60493 (winbldsrv-02.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
disconnected
I0412 10:31:33.429811  7408 master.cpp:3287] Disconnecting agent eb8ea3fc-64a0-4381-a846-aff8f1209e21-S0
at slave(424)@10.3.1.5:60493 (winbldsrv-02.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0412 10:31:33.429811  7408 master.cpp:3306] Deactivating agent eb8ea3fc-64a0-4381-a846-aff8f1209e21-S0
at slave(424)@10.3.1.5:60493 (winbldsrv-02.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0412 10:31:33.429811 12176 launcher.cpp:156] Asked to destroy container bf59f546-8774-45aa-aa3b-8626ae6fca83
I0412 10:31:33.430805  5804 hierarchical.cpp:344] Removed framework eb8ea3fc-64a0-4381-a846-aff8f1209e21-0000
I0412 10:31:33.430805  5804 hierarchical.cpp:766] Agent eb8ea3fc-64a0-4381-a846-aff8f1209e21-S0
deactivated
I0412 10:31:33.534441  6184 containerizer.cpp:2792] Container bf59f546-8774-45aa-aa3b-8626ae6fca83
has exited
I0412 10:31:33.568434  7128 master.cpp:1138] Master terminating
I0412 10:31:33.571426  8768 hierarchical.cpp:609] Removed agent eb8ea3fc-64a0-4381-a846-aff8f1209e21-S0
I0412 10:31:33.977447 11924 process.cpp:929] Stopped the socket accept loop
```

- Mesos Reviewbot Windows


On April 12, 2018, 2:48 a.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/66546/
> -----------------------------------------------------------
> 
> (Updated April 12, 2018, 2:48 a.m.)
> 
> 
> Review request for mesos, Chun-Hung Hsiao and Jan Schlicht.
> 
> 
> Bugs: MESOS-7558
>     https://issues.apache.org/jira/browse/MESOS-7558
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This patch adds a check to the resource provider manager's subscribe
> functionality making sure that any the ID sent by a resubscribing
> resource provider corresponds to some previously known resource
> provider.
> 
> This not only serves as convenient validation of user-provided data,
> but also makes sure that the internal state of the resource provider
> manager remains consistent.
> 
> 
> Diffs
> -----
> 
>   src/resource_provider/manager.cpp 68e1866986bfb91bf8355099ee1f0a2a86aba39a 
>   src/tests/resource_provider_manager_tests.cpp c52541bf130ccf4795b989b53331176a64a097ea

> 
> 
> Diff: https://reviews.apache.org/r/66546/diff/3/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message