----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65571/#review199265 -----------------------------------------------------------
FAIL: Some of the unit tests failed. Please check the relevant logs. Reviews applied: `['65571']` Failed command: `Start-MesosCITesting` All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/65571 Relevant logs: - [libprocess-tests-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/65571/logs/libprocess-tests-stdout.log): ``` [ RUN ] TimeTest.Output [ OK ] TimeTest.Output (1 ms) [----------] 4 tests from TimeTest (4 ms total) [----------] 3 tests from TimeSeriesTest [ RUN ] TimeSeriesTest.Set [ OK ] TimeSeriesTest.Set (1 ms) [ RUN ] TimeSeriesTest.Sparsify [ OK ] TimeSeriesTest.Sparsify (1 ms) [ RUN ] TimeSeriesTest.Truncate [ OK ] TimeSeriesTest.Truncate (1 ms) [----------] 3 tests from TimeSeriesTest (5 ms total) [----------] 3 tests from JWTTest [ RUN ] JWTTest.Parse [ OK ] JWTTest.Parse (8 ms) [ RUN ] JWTTest.Create [ OK ] JWTTest.Create (1 ms) [ RUN ] JWTTest.Stringify [ OK ] JWTTest.Stringify (1 ms) [----------] 3 tests from JWTTest (12 ms total) [----------] 1 test from SSL [ RUN ] SSL.Disabled [ OK ] SSL.Disabled (11 ms) [----------] 1 test from SSL (13 ms total) [----------] 17 tests from SSLTest [ RUN ] SSLTest.SSLSocket ``` - [libprocess-tests-stderr.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/65571/logs/libprocess-tests-stderr.log): ``` ABORT: (D:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/ssl/gtest.hpp:171): Could not generate certificate: Failed to set common name: X509_NAME_add_entry_by_txt ``` - [mesos-tests-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/65571/logs/mesos-tests-stdout.log): ``` [ OK ] ContentType/SchedulerTest.Revive/1 (243 ms) [ RUN ] ContentType/SchedulerTest.Suppress/0 [ OK ] ContentType/SchedulerTest.Suppress/0 (234 ms) [ RUN ] ContentType/SchedulerTest.Suppress/1 [ OK ] ContentType/SchedulerTest.Suppress/1 (236 ms) [ RUN ] ContentType/SchedulerTest.NoOffersWithAllRolesSuppressed/0 [ OK ] ContentType/SchedulerTest.NoOffersWithAllRolesSuppressed/0 (244 ms) [ RUN ] ContentType/SchedulerTest.NoOffersWithAllRolesSuppressed/1 [ OK ] ContentType/SchedulerTest.NoOffersWithAllRolesSuppressed/1 (253 ms) [ RUN ] ContentType/SchedulerTest.NoOffersOnReregistrationWithAllRolesSuppressed/0 [ OK ] ContentType/SchedulerTest.NoOffersOnReregistrationWithAllRolesSuppressed/0 (289 ms) [ RUN ] ContentType/SchedulerTest.NoOffersOnReregistrationWithAllRolesSuppressed/1 [ OK ] ContentType/SchedulerTest.NoOffersOnReregistrationWithAllRolesSuppressed/1 (313 ms) [ RUN ] ContentType/SchedulerTest.Message/0 [ OK ] ContentType/SchedulerTest.Message/0 (297 ms) [ RUN ] ContentType/SchedulerTest.Message/1 [ OK ] ContentType/SchedulerTest.Message/1 (310 ms) [ RUN ] ContentType/SchedulerTest.Request/0 [ OK ] ContentType/SchedulerTest.Request/0 (120 ms) [ RUN ] ContentType/SchedulerTest.Request/1 [ OK ] ContentType/SchedulerTest.Request/1 (110 ms) [ RUN ] ContentType/SchedulerTest.SchedulerReconnect/0 [ OK ] ContentType/SchedulerTest.SchedulerReconnect/0 (79 ms) [ RUN ] ContentType/SchedulerTest.SchedulerReconnect/1 [ OK ] ContentType/SchedulerTest.SchedulerReconnect/1 (79 ms) [----------] 32 tests from ContentType/SchedulerTest (14897 ms total) [----------] 4 tests from ContentTypeAndSSLConfig/SchedulerSSLTest [ RUN ] ContentTypeAndSSLConfig/SchedulerSSLTest.RunTaskAndTeardown/0 ``` - [mesos-tests-stderr.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/65571/logs/mesos-tests-stderr.log): ``` I0315 15:21:18.015377 8872 master.cpp:2119] Elected as the leading master! I0315 15:21:18.015377 8872 master.cpp:1678] Recovering from registrar I0315 15:21:18.016376 792 registrar.cpp:391] Successfully fetched the registry (0B) in 1.000192ms I0315 15:21:18.016376 792 registrar.cpp:495] Applied 1 operations in 0ns; attempting to update the registry I0315 15:21:18.017376 792 registrar.cpp:552] Successfully updated the registry in 999936ns I0315 15:21:18.017376 792 registrar.cpp:424] Successfully recovered registrar I0315 15:21:18.018376 7604 master.cpp:1792] Recovered 0 agents from the registry (239B); allowing 10mins for agents to reregister I0315 15:21:18.025377 2528 scheduler.cpp:188] Version: 1.6.0 I0315 15:21:18.025377 8912 scheduler.cpp:311] Using default 'basic' HTTP authenticatee I0315 15:21:18.026376 7444 scheduler.cpp:494] New master detected at [email protected]:58231 I0315 15:21:18.033375 8964 scheduler.cpp:468] Re-detecting master I0315 15:21:18.035372 8964 scheduler.cpp:494] New master detected at [email protected]:58231 I0315 15:21:18.041378 5744 scheduler.cpp:472] Lost leading master I0315 15:21:18.045377 8872 master.cpp:1136] Master terminating I0315 15:21:18.067378 2528 cluster.cpp:172] Creating default 'local' authorizer I0315 15:21:18.074378 5744 master.cpp:463] Master ba6a29f9-a5c5-44be-b8b9-5be6a6d00f0c (win-bld-srv-02.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net) started on 10.3.1.9:58231 I0315 15:21:18.074378 5744 master.cpp:465] Flags at startup: --acls="" --agent_ping_timeout="15secs" --agent_reregister_timeout="10mins" --allocation_interval="1secs" --allocator="HierarchicalDRF" --authenticate_agents="true" --authenticate_frameworks="true" --authenticate_http_frameworks="true" --authenticate_http_readonly="true" --authenticate_http_readwrite="true" --authenticators="crammd5" --authorizers="local" --credentials="C:\Users\mesos\AppData\Local\Temp\hG4cKE\credentials" --filter_gpu_resources="true" --framework_sorter="drf" --help="false" --hostname_lookup="true" --http_authenticators="basic" --http_framework_authenticators="basic" --initialize_driver_logging="true" --log_auto_initialize="true" --logbufsecs="0" --logging_level="INFO" --max_agent_ping_timeouts="5" --max_completed_frameworks="50" --max_completed_tasks_per_framework="1000" --max_unreachable_tasks_per_framework="1000" --port="5050" --quiet="false" --recovery_agent_removal_limit="100%" --registry="in_memory" --registry_fetch_timeout="1mins" --registry_gc_interval="15mins" --registry_max_agent_age="2weeks" --registry_max_agent_count="102400" --registry_store_timeout="100secs" --registry_strict="false" --require_agent_domain="false" --root_submissions="true" --user_sorter="drf" --version="false" --webui_dir="/webui" --work_dir="C:\Users\mesos\AppData\Local\Temp\hG4cKE\master" --zk_session_timeout="10secs" I0315 15:21:18.076377 5744 master.cpp:514] Master only allowing authenticated frameworks to register I0315 15:21:18.076377 5744 master.cpp:520] Master only allowing authenticated agents to register I0315 15:21:18.077378 5744 master.cpp:526] Master only allowing authenticated HTTP frameworks to register I0315 15:21:18.077378 5744 credentials.hpp:37] Loading credentials for authentication from 'C:\Users\mesos\AppData\Local\Temp\hG4cKE\credentials' I0315 15:21:18.078377 5744 master.cpp:570] Using default 'crammd5' authenticator I0315 15:21:18.079378 5744 http.cpp:959] Creating default 'basic' HTTP authenticator for realm 'mesos-master-readonly' I0315 15:21:18.079378 5744 http.cpp:959] Creating default 'basic' HTTP authenticator for realm 'mesos-master-readwrite' I0315 15:21:18.079378 5744 http.cpp:959] Creating default 'basic' HTTP authenticator for realm 'mesos-master-scheduler' I0315 15:21:18.080550 5744 master.cpp:649] Authorization enabled I0315 15:21:18.089375 8912 master.cpp:2119] Elected as the leading master! I0315 15:21:18.089375 8912 master.cpp:1678] Recovering from registrar I0315 15:21:18.090382 9196 registrar.cpp:391] SuccessABORT: (D:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/ssl/gtest.hpp:171): Could not generate certificate: Failed to set common name: X509_NAME_add_entry_by_txt ``` - Mesos Reviewbot Windows On March 15, 2018, 2:19 p.m., Benno Evers wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/65571/ > ----------------------------------------------------------- > > (Updated March 15, 2018, 2:19 p.m.) > > > Review request for mesos, Andrei Budnik and Alexander Rukletsov. > > > Bugs: MESOS-8550 > https://issues.apache.org/jira/browse/MESOS-8550 > > > Repository: mesos > > > Description > ------- > > The function `MasterDetector::detect()` returns a value of type > `Future<Option<MasterInfo>>`, which, according to its documentation, > can be `None` if an election occured and no master is elected. > > However, the code in `Master::detected()` was only handling the > cases of a failed future or a valid `MasterInfo` object. > > *NOTE*: This commit does not add a corresponding unit test, since > that would require starting a non-leading master. For the > ZooKeeperMasterDetector, this is blocked by MESOS-2976, and an API > change to make this possible with the StandaloneMasterDetector > would add a lot of complexity to the `cluster::Master::start()` > function for a feature that is unlikely to be re-used in any other > test. > > > Diffs > ----- > > src/master/master.cpp f0affa09dcf41b6a800e18105ad047bcffdfd3ec > > > Diff: https://reviews.apache.org/r/65571/diff/4/ > > > Testing > ------- > > `./mesos-tests` (See also last paragraph in description) > > > Thanks, > > Benno Evers > >
