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 65775: Added a master API test for agent re-registration after master failover.
Date Sat, 24 Feb 2018 03:13:24 GMT

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



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

Reviews applied: `['65774', '65775']`

Failed command: `Start-MesosCITesting`

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

Relevant logs:

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

```
[ RUN      ] RmdirTest.SYMLINK_RemoveDirectoryWithSymbolicLinkTargetFile
[       OK ] RmdirTest.SYMLINK_RemoveDirectoryWithSymbolicLinkTargetFile (4 ms)
[ RUN      ] RmdirTest.RemoveDirectoryButPreserveRoot
[       OK ] RmdirTest.RemoveDirectoryButPreserveRoot (6 ms)
[----------] 11 tests from RmdirTest (51 ms total)

[----------] 1 test from SocketTests
[ RUN      ] SocketTests.InitSocket
[       OK ] SocketTests.InitSocket (1 ms)
[----------] 1 test from SocketTests (2 ms total)

[----------] 2 tests from StrerrorTest
[ RUN      ] StrerrorTest.ValidErrno
[       OK ] StrerrorTest.ValidErrno (0 ms)
[ RUN      ] StrerrorTest.InvalidErrno
[       OK ] StrerrorTest.InvalidErrno (0 ms)
[----------] 2 tests from StrerrorTest (2 ms total)

[----------] Global test environment tear-down
[==========] 273 tests from 46 test cases ran. (4207 ms total)
[  PASSED  ] 270 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] OsTest.SYMLINK_Realpath
[  FAILED  ] FsTest.CreateDirectoryAtMaxPath
[  FAILED  ] FsTest.CreateDirectoryLongerThanMaxPath

 3 FAILED TESTS
  YOU HAVE 7 DISABLED TESTS

```

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

```
'invalid.command' is not recognized as an internal or external command,
operable program or batch file.
Subcommand 'subcommand' is not available
Usage: command <subcommand> [OPTIONS]

Available subcommands:
    help
    subcommand2

Multiple subcommands have name 'subcommand'
```

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

```
[ RUN      ] SSLVerifyIPAdd/SSLTest.RequireCertificate/0
[       OK ] SSLVerifyIPAdd/SSLTest.RequireCertificate/0 (1050 ms)
[ RUN      ] SSLVerifyIPAdd/SSLTest.RequireCertificate/1
D:\DCOS\mesos\mesos\3rdparty\libprocess\src\tests\ssl_tests.cpp(446): error: (await_subprocess(client.get(),
0)).failure(): 
[++++++++++] Subprocess output.
[==========] Running 1 test from 1 test case.

[----------] Global test environment set-up.

[----------] 1 test from SSLClientTest

[ RUN      ] SSLClientTest.client

[       OK ] SSLClientTest.client (19 ms)

[----------] 1 test from SSLClientTest (19 ms total)



[----------] Global test environment tear-down

[==========] 1 test from 1 test case ran. (19 ms total)

[  PASSED  ] 1 test.

[++++++++++]

[  FAILED  ] SSLVerifyIPAdd/SSLTest.RequireCertificate/1, where GetParam() = "true" (1001
ms)
[----------] 4 tests from SSLVerifyIPAdd/SSLTest (2844 ms total)

[----------] Global test environment tear-down
[==========] 225 tests from 35 test cases ran. (35128 ms total)
[  PASSED  ] 224 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] SSLVerifyIPAdd/SSLTest.RequireCertificate/1, where GetParam() = "true"

 1 FAILED TEST
  YOU HAVE 19 DISABLED TESTS

```

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

```
I0224 02:38:18.807351  3920 process.cpp:929] Stopped the socket accept loop
I0224 02:38:18.837352  4664 process.cpp:929] Stopped the socket accept loop
I0224 02:38:19.246352  3920 openssl.cpp:514] Will not verify peer certificate!
NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
I0224 02:38:19.246352  3920 openssl.cpp:534] LIBPROCESS_SSL_REQUIRE_CERT implies peer certificate
verification.
LIBPROCESS_SSL_VERIFY_CERT set to true
I0224 02:38:19.246352  3920 openssl.cpp:561] Using CA file: C:\Windows\TEMP\u5LLQX\cert.pem
I0224 02:38:19.246352  3920 openssl.cpp:564] Using CA dir: C:\Windows\TEMP\u5LLQX
I0224 02:38:19.627352  3920 openssl.cpp:514] Will not verify peer certificate!
NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
I0224 02:38:19.627352  3920 openssl.cpp:526] Will use IP address verification in subject alternative
name certificate extension.
I0224 02:38:19.627352  3920 openssl.cpp:534] LIBPROCESS_SSL_REQUIRE_CERT implies peer certificate
verification.
LIBPROCESS_SSL_VERIFY_CERT set to true
I0224 02:38:19.627352  3920 openssl.cpp:561] Using CA file: C:\Windows\TEMP\96arb8\cert.pem
I0224 02:38:19.627352  3920 openssl.cpp:564] Using CA dir: C:\Windows\TEMP\96arb8
I0224 02:38:20.078384  3920 openssl.cpp:509] CA directory path unspecified! NOTE: Set CA directory
path with LIBPROCESS_SSL_CA_DIR=<dirpath>
I0224 02:38:20.078384  3920 openssl.cpp:514] Will not verify peer certificate!
NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
I0224 02:38:20.079385  3920 openssl.cpp:534] LIBPROCESS_SSL_REQUIRE_CERT implies peer certificate
verification.
LIBPROCESS_SSL_VERIFY_CERT set to true
I0224 02:38:20.079385  3920 openssl.cpp:561] Using CA file: C:\Windows\TEMP\MQFF00\cert.pem
I0224 02:38:20.878767  3920 openssl.cpp:509] CA directory path unspecified! NOTE: Set CA directory
path with LIBPROCESS_SSL_CA_DIR=<dirpath>
I0224 02:38:20.878767  3920 openssl.cpp:514] Will not verify peer certificate!
NOTE: Set LIBPROCESS_SSL_VERIFY_CERT=1 to enable peer certificate verification
I0224 02:38:20.878767  3920 openssl.cpp:526] Will use IP address verification in subject alternative
name certificate extension.
I0224 02:38:20.878767  3920 openssl.cpp:534] LIBPROCESS_SSL_REQUIRE_CERT implies peer certificate
verification.
LIBPROCESS_SSL_VERIFY_CERT set to true
I0224 02:38:20.879766  3920 openssl.cpp:561] Using CA file: C:\Windows\TEMP\quaeGq\cert.pem
I0224 02:38:21.750962  3224 process.cpp:929] Stopped the socket accept loop
```

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

```
[       OK ] Endpoint/SlaveEndpointTest.NoAuthorizer/2 (98 ms)
[----------] 9 tests from Endpoint/SlaveEndpointTest (923 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 (37 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 (2266 ms)
[----------] 1 test from IsolationFlag/CpuIsolatorTest (2287 ms total)

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

[----------] Global test environment tear-down
[==========] 914 tests from 90 test cases ran. (406416 ms total)
[  PASSED  ] 913 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] FilesTest.DebugTest

 1 FAILED TEST
  YOU HAVE 211 DISABLED TESTS

```

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

```
I0224 03:13:11.548334  3324 slave.cpp:3879] Shutting down framework 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-0000
I0224 03:13:11.548334  7764 master.cpp:10258] Updating the state of task 5b85a436-4b61-45bd-bf92-5ee1afb0eb43
of framework 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-0000 (latest state: TASK_KILLED, status
update state: TASK_KILLED)
I0224 03:13:11.548I0224 03:13:10.922324  9784 exec.cpp:162] Version: 1.6.0
I0224 03:13:10.945348   432 exec.cpp:236] Executor registered on agent 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-S0
I0224 03:13:10.949319  9580 executor.cpp:174] Received SUBSCRIBED event
I0224 03:13:10.953325  9580 executor.cpp:178] Subscribed executor on build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net
I0224 03:13:10.953325  9580 executor.cpp:174] Received LAUNCH event
I0224 03:13:10.958348  9580 executor.cpp:646] Starting task 5b85a436-4b61-45bd-bf92-5ee1afb0eb43
I0224 03:13:11.031357  9580 executor.cpp:481] Running 'D:\DCOS\mesos\src\mesos-containerizer.exe
launch <POSSIBLY-SENSITIVE-DATA>'
I0224 03:13:11.523336  9580 executor.cpp:659] Forked command at 8320
I0224 03:13:11.550336  2664 exec.cpp:445] Executor asked to shutdown
I0224 03:13:11.550336  9580 executor.cpp:174] Received SHUTDOWN event
I0224 03:13:11.550336  9580 executor.cpp:756] Shutting down
I0224 03:13:11.550336  9580 executor.cpp:866] Sending SIGTERM to process tree at pid 8334
 3324 slave.cpp:6586] Shutting down executor '5b85a436-4b61-45bd-bf92-5ee1afb0eb43' of framework
38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-0000 at executor(1)@10.3.1.5:57715
I0224 03:13:11.549335  3324 slave.cpp:922] Agent terminating
W0224 03:13:11.549335  3324 slave.cpp:3875] Ignoring shutdown framework 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-0000
because it is terminating
I0224 03:13:11.551336  7764 master.cpp:10357] Removing task 5b85a436-4b61-45bd-bf92-5ee1afb0eb43
with resources cpus(allocated: *):4; mem(allocated: *):2048; disk(allocated: *):1024; ports(allocated:
*):[31000-32000] of framework 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-0000 on agent 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-S0
at slave(398)@10.3.1.5:57694 (build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0224 03:13:11.552335  6996 containerizer.cpp:2338] Destroying container 3ad58bee-868e-4c06-a7c6-94e480122c97
in RUNNING state
I0224 03:13:11.552335  6996 containerizer.cpp:2952] Transitioning the state of container 3ad58bee-868e-4c06-a7c6-94e480122c97
from RUNNING to DESTROYING
I0224 03:13:11.553360  7764 master.cpp:1306] Agent 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-S0
at slave(398)@10.3.1.5:57694 (build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
disconnected
I0224 03:13:11.553360  7764 master.cpp:3276] Disconnecting agent 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-S0
at slave(398)@10.3.1.5:57694 (build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0224 03:13:11.553360  3080 hierarchical.cpp:344] Removed framework 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-0000
I0224 03:13:11.553360  7764 master.cpp:3295] Deactivating agent 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-S0
at slave(398)@10.3.1.5:57694 (build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0224 03:13:11.554360  6996 launcher.cpp:156] Asked to destroy container 3ad58bee-868e-4c06-a7c6-94e480122c97
I0224 03:13:11.554360  5636 hierarchical.cpp:766] Agent 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-S0
deactivated
I0224 03:13:11.609421  5636 containerizer.cpp:2791] Container 3ad58bee-868e-4c06-a7c6-94e480122c97
has exited
I0224 03:13:11.637953  2804 master.cpp:1149] Master terminating
I0224 03:13:11.640000  5636 hierarchical.cpp:609] Removed agent 38f5d387-85c3-40c7-bc0f-62c4fc2e12eb-S0
I0224 03:13:11.993986  4660 process.cpp:929] Stopped the socket accept loop
```

- Mesos Reviewbot Windows


On Feb. 23, 2018, 6:25 p.m., Chun-Hung Hsiao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65775/
> -----------------------------------------------------------
> 
> (Updated Feb. 23, 2018, 6:25 p.m.)
> 
> 
> Review request for mesos, Greg Mann, Jan Schlicht, Vinod Kone, and Jiang Yan Xu.
> 
> 
> Bugs: MESOS-8601
>     https://issues.apache.org/jira/browse/MESOS-8601
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This test verifies that subscribing to the 'api/v1' endpoint between a
> master failover and an agent re-registration won't cause the master to
> crash.
> 
> 
> Diffs
> -----
> 
>   src/tests/api_tests.cpp 31906eb4ede52c70fd538e4536c4f416eee5ca67 
> 
> 
> Diff: https://reviews.apache.org/r/65775/diff/3/
> 
> 
> Testing
> -------
> 
> sudo make check
> 
> This test would result in a check failure without r65774.
> 
> 
> Thanks,
> 
> Chun-Hung Hsiao
> 
>


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