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 65202: Adopted the libprocess `DEFAULT_TEST_TIMEOUT`.
Date Tue, 23 Jan 2018 22:50:49 GMT

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



FAIL: Some Mesos tests failed.

Reviews applied: `['65201', '65298', '65202']`

Failed command: `D:\DCOS\mesos\src\mesos-tests.exe --verbose`

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

Relevant logs:

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

```
           Actual: never called - unsatisfied and active
[  FAILED  ] ExceptionTest.DisallowSchedulerActionsOnAbort (132 ms)
[ RUN      ] ExceptionTest.DisallowSchedulerCallbacksOnAbort
D:\DCOS\mesos\mesos\src\tests\exception_tests.cpp(163): error: Failed to wait 0ns for offers
D:\DCOS\mesos\mesos\src\tests\exception_tests.cpp(154): error: Actual function call count
doesn't match EXPECT_CALL(sched, resourceOffers(&driver, _))...
         Expected: to be called at least once
           Actual: never called - unsatisfied and active
D:\DCOS\mesos\mesos\src\tests\exception_tests.cpp(151): error: Actual function call count
doesn't match EXPECT_CALL(sched, registered(&driver, _, _))...
         Expected: to be called once
           Actual: never called - unsatisfied and active
D:\DCOS\mesos\mesos\3rdparty\libprocess\include\process/gmock.hpp(467): error: Actual function
call count doesn't match EXPECT_CALL(filter->mock, filter(testing::A<const MessageEvent&>()))...
    Expected args: message matcher (40-byte object <F0-B6 77-E7 C1-01 00-00 70-B6 EA-E6
C1-01 00-00 CC-CC CC-CC CC-CC CC-CC 29-00 00-00 00-00 00-00 2F-00 00-00 00-00 00-00>, 1-byte
object <CC>, 1-byte object <CC>)
         Expected: to be called once
           Actual: never called - unsatisfied and active
[  FAILED  ] ExceptionTest.DisallowSchedulerCallbacksOnAbort (136 ms)
[----------] 3 tests from ExceptionTest (421 ms total)

[----------] 4 tests from ExecutorHttpApiTest
[ RUN      ] ExecutorHttpApiTest.NoContentType
D:\DCOS\mesos\mesos\src\tests\executor_http_api_tests.cpp(138): error: Failed to wait 0ns
for __recover
[  FAILED  ] ExecutorHttpApiTest.NoContentType (126 ms)
[ RUN      ] ExecutorHttpApiTest.ValidJsonButInvalidProtobuf
D:\DCOS\mesos\mesos\src\tests\executor_http_api_tests.cpp(178): error: Failed to wait 0ns
for __recover
[  FAILED  ] ExecutorHttpApiTest.ValidJsonButInvalidProtobuf (124 ms)
[ RUN      ] ExecutorHttpApiTest.GetRequest
D:\DCOS\mesos\mesos\src\tests\executor_http_api_tests.cpp(346): error: Failed to wait 0ns
for __recover
[  FAILED  ] ExecutorHttpApiTest.GetRequest (130 ms)
[ RUN      ] ExecutorHttpApiTest.SubscribeBeforeContainerizerRecovery
D:\DCOS\mesos\mesos\src\tests\executor_http_api_tests.cpp(815): error: Failed to wait 0ns
for recover
```

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

```
I0123 22:50:26.938237  9524 provisioner.cpp:493] Provisioner recovery complete
I0123 22:50:26.939214  4860 slave.cpp:6824] Finished recovery
I0123 22:50:26.943222 11052 slave.cpp:931] Agent terminating
I0123 22:50:26.965209 14036 master.cpp:1149] Master terminating
I0123 22:50:26.993209 14036 cluster.cpp:172] Creating default 'local' authorizer
I0123 22:50:26.999250  9524 master.cpp:458] Master 7a507061-cea1-489b-8417-ea997bb4b13f (build-srv-03.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
started on 10.3.1.11:55300
I0123 22:50:26.999250  9524 master.cpp:460] 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\MPbWw1\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\MPbWw1\master" --zk_session_timeout="10secs"
I0123 22:50:27.001236  9524 master.cpp:509] Master only allowing authenticated frameworks
to register
I0123 22:50:27.001236  9524 master.cpp:515] Master only allowing authenticated agents to register
I0123 22:50:27.001236  9524 master.cpp:521] Master only allowing authenticated HTTP frameworks
to register
I0123 22:50:27.002220  9524 credentials.hpp:37] Loading credentials for authentication from
'C:\Users\mesos\AppData\Local\Temp\MPbWw1\credentials'
I0123 22:50:27.003239  9524 master.cpp:565] Using default 'crammd5' authenticator
I0123 22:50:27.003239  9524 http.cpp:1045] Creating default 'basic' HTTP authenticator for
realm 'mesos-master-readonly'
I0123 22:50:27.004238  9524 http.cpp:1045] Creating default 'basic' HTTP authenticator for
realm 'mesos-master-readwrite'
I0123 22:50:27.004238  9524 http.cpp:1045] Creating default 'basic' HTTP authenticator for
realm 'mesos-master-scheduler'
I0123 22:50:27.005237  9524 master.cpp:644] Authorization enabled
I0123 22:50:27.014211  9524 master.cpp:2133] Elected as the leading master!
I0123 22:50:27.014211  9524 master.cpp:1692] Recovering from registrar
I0123 22:50:27.015235 11052 registrar.cpp:391] Successfully fetched the registry (0B) in 1024us
I0123 22:50:27.015235 11052 registrar.cpp:495] Applied 1 operations in 0ns; attempting to
update the registry
I0123 22:50:27.016208 12220 registrar.cpp:552] Successfully updated the registry in 972800ns
I0123 22:50:27.016208 12220 registrar.cpp:424] Successfully recovered registrar
I0123 22:50:27.017232  9052 master.cpp:1806] Recovered 0 agents from the registry (237B);
allowing 10mins for agents to re-register
W0123 22:50:27.050209 14036 process.cpp:2764] Attempted to spawn already running process files@10.3.1.11:55300
I0123 22:50:27.051209 14036 cluster.cpp:460] Creating default 'local' authorizer
I0123 22:50:27.057209 12220 slave.cpp:262] Mesos agent started on (28)@10.3.1.11:55300
I0123 22:50:27.057209 12220 slave.cpp:263] Flags at startup: --acls="" --appc_simple_discovery_uri_prefix="http://"
--appc_store_dir="C:\Users\mesos\AppData\Local\Temp\QhwMtE\store\appc" --authenticate_http_executors="false"
--authenticate_http_readonly="true" --authenticate_http_readwrite="true" --authenticatee="crammd5"
--authentication_backoff_factor="1secs" --authorizer="local" --container_disk_watch_interval="15secs"
--containerizers="mesos" --credential="C:\Users\mesos\AppData\Local\Temp\QhwMtE\credential"
--default_role="*" --disk_watch_interval="1mins" --docker="docker" --docker_kill_orphans="true"
--docker_registry="https://registry-1.docker.io" --docker_remove_delay="6hrs" --docker_socket="//./pipe/docker_engine"
--docker_stop_timeout="0ns" --docker_store_dir="C:\Users\mesos\AppData\Local\Temp\QhwMtE\store\docker"
--docker_volume_checkpoint_dir="/var/run/mesos/isolators/docker/volume" --enforce_container_disk_quota="false"
--executor_registration_timeout="1mins" --executor_
 reregistration_timeout="2secs" --executor_shutdown_grace_period="5secs" --fetcher_cache_dir="C:\Users\mesos\AppData\Local\Temp\QhwMtE\fetch"
--fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" --gc_disk_headroom="0.1"
--hadoop_home="" --help="false" --hostname_lookup="true" --http_command_executor="false" --http_credentials="C:\Users\mesos\AppData\Local\Temp\QhwMtE\http_credentials"
--http_heartbeat_interval="30secs" --initialize_driver_logging="true" --isolation="windows/cpu,windows/mem"
--launcher="windows" --launcher_dir="D:\DCOS\mesos\src" --logbufsecs="0" --logging_level="INFO"
--max_completed_executors_per_framework="150" --oversubscribed_resources_interval="15secs"
--port="5051" --qos_correction_interval_min="0ns" --quiet="false" --reconfiguration_policy="equal"
--recover="reconnect" --recovery_timeout="15mins" --registration_backoff_factor="10ms" --resources="cpus:4;gpus:0;mem:2048;disk:1024;ports:[31000-32000]"
--runtime_dir="C:\Users\mesos\AppData\Local\Tem
 p\QhwMtE" --sandbox_directory="C:\mesos\sandbox" --strict="true" --version="false" --work_dir="C:\Users\mesos\AppData\Local\Temp\E0qi0V"
--zk_session_timeout="10secs"
I0123 22:50:27.059209 12220 credentials.hpp:86] Loading credential for authentication from
'C:\Users\mesos\AppData\Local\Temp\QhwMtE\credential'
I0123 22:50:27.060209 12220 slave.cpp:295] Agent using credential for: test-principal
I0123 22:50:27.060209 12220 credentials.hpp:37] L```

- Mesos Reviewbot Windows


On Jan. 23, 2018, 9:58 p.m., James Peach wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65202/
> -----------------------------------------------------------
> 
> (Updated Jan. 23, 2018, 9:58 p.m.)
> 
> 
> Review request for mesos, Benjamin Bannier and Gaston Kleiman.
> 
> 
> Bugs: MESOS-7016
>     https://issues.apache.org/jira/browse/MESOS-7016
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Rather than hard-coding a 15sec test timeout, use the libprocess
> `DEFAULT_TEST_TIMEOUT` variable so that this can be globally
> tuned. Added a test flag `--default_timeout` that can be used
> to set the `DEFAULT_TEST_TIMEOUT` on a test run.
> 
> 
> Diffs
> -----
> 
>   src/tests/agent_container_api_tests.cpp 618569277545205017320aaf1f3a70e540d35e30 
>   src/tests/containerizer/cgroups_isolator_tests.cpp 5412a7eccaa836a7f182772f1eb33b10298c96a1

>   src/tests/containerizer/xfs_quota_tests.cpp d761ea46fd4f12c6bed74090bf5ead7587f16811

>   src/tests/disk_quota_tests.cpp 4e25e32bf784ea818e18497fe3ebc9f94c5861ff 
>   src/tests/fetcher_cache_tests.cpp 7db7b7dcef27b1686ccae5a7408ff2811a3b9255 
>   src/tests/flags.hpp df4d4588f405ea884bb89021264e70218e054fae 
>   src/tests/flags.cpp 4542f3443830474edd97e8b695af0c61685e947c 
>   src/tests/gc_tests.cpp 0e34c017f2c629b527915218f517b88d8392aa4b 
>   src/tests/main.cpp f945ac9e8858998174b4c2785f6a5612bae66a41 
>   src/tests/master_contender_detector_tests.cpp 015d310b72a152829641d436f7cb558f72dfd77c

>   src/tests/registrar_tests.cpp cbb58c1cd72dc13ed16b5465452d17526255c763 
>   src/tests/slave_recovery_tests.cpp 6d8a57138903637d3cf9e5b19a466961d2c120d7 
>   src/tests/slave_tests.cpp 3a6546b07ac202c461b5c5e8bfcf1eb4f3fe6b4e 
> 
> 
> Diff: https://reviews.apache.org/r/65202/diff/2/
> 
> 
> Testing
> -------
> 
> make check (Fedora 27).
> 
> 
> Thanks,
> 
> James Peach
> 
>


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