See <https://builds.apache.org/job/Mesos-Windows/990/changes>

Changes:

[josephwu] Stout: Added helper for determining a runtime directory.

[josephwu] Used `os::var()` for the default value in agent `--runtime_dir`.

[josephwu] Windows: Implemented `os::user()'.

[josephwu] Windows: Added trivially passable tests to build.

------------------------------------------
[...truncated 18093 lines...]
Time Elapsed 00:31:02.21

<https://builds.apache.org/job/Mesos-Windows/ws/build>if> 0 NEQ 0 exit /b 0 

<https://builds.apache.org/job/Mesos-Windows/ws/build>REM> Run mesos tests. 

<https://builds.apache.org/job/Mesos-Windows/ws/build>"src/mesos-tests.exe"> 
--verbose 
Source directory: 
<https://builds.apache.org/job/Mesos-Windows/ws/build\jenkinsjenkins-slaveworkspaceMesos-Windows>
Build directory: 
<https://builds.apache.org/job/Mesos-Windows/ws/build\jenkinsjenkins-slaveworkspaceMesos-Windowsuild>
WARNING: Logging before InitGoogleLogging() is written to STDERR
W1215 19:15:51.033942  4224 fcntl.hpp:30] `os::cloexec` has been called, but is 
a no-op on Windows
-------------------------------------------------------------
We cannot run any aufs tests because:
aufs tests not supported on non-Linux systems
-------------------------------------------------------------
'which' is not recognized as an internal or external command,
operable program or batch file.
-------------------------------------------------------------
No 'curl' command found so no 'curl' tests will be run
-------------------------------------------------------------
-------------------------------------------------------------
We cannot run any Docker tests because:
Docker tests not supported on non-Linux systems
-------------------------------------------------------------
Access denied. Option -c requires administrative privileges.
-------------------------------------------------------------
We cannot run any INTERNET tests because no internet access
-------------------------------------------------------------
'which' is not recognized as an internal or external command,
operable program or batch file.
-------------------------------------------------------------
No 'logrotate' command found so no 'logrotate' tests
will be run
-------------------------------------------------------------
'which' is not recognized as an internal or external command,
operable program or batch file.
-------------------------------------------------------------
No 'nc' command found so no tests depending on 'nc' will run
-------------------------------------------------------------
-----------------------------------------------------------
Cannot enable net_cls cgroup subsystem associated test cases
since this platform does not support cgroups.
-----------------------------------------------------------
'which' is not recognized as an internal or external command,
operable program or batch file.
-------------------------------------------------------------
No 'nvidia-smi' command found so no Nvidia GPU tests will run
-------------------------------------------------------------
-------------------------------------------------------------
We cannot run any overlayfs tests because:
overlayfs tests not supported on non-Linux systems
-------------------------------------------------------------
-------------------------------------------------------------
Tests using 'perf' cannot be run on non-Linux systems
-------------------------------------------------------------
'which' is not recognized as an internal or external command,
operable program or batch file.
-------------------------------------------------------------
No 'unzip' command found so no 'unzip' tests will be run
-------------------------------------------------------------
-------------------------------------------------------------
We cannot run any xfs tests because:
xfs tests not supported on non-Linux systems
-------------------------------------------------------------
Note: Google Test filter = 
*-FsTest.Symlink:FsTest.Rm:RmdirTest.RemoveDirectoryWithSymbolicLinkTargetDirectory:RmdirTest.RemoveDirectoryWithSymbolicLinkTargetFile:Resources_Filter_BENCHMARK_Test.Filters:ResourcesScalarArithmeticOperators/Resources_Scalar_Arithmetic_BENCHMARK_Test.Arithmetic/0:ResourcesScalarArithmeticOperators/Resources_Scalar_Arithmetic_BENCHMARK_Test.Arithmetic/1:ResourcesScalarArithmeticOperators/Resources_Scalar_Arithmetic_BENCHMARK_Test.Arithmetic/2:ResourcesScalarArithmeticOperators/Resources_Scalar_Arithmetic_BENCHMARK_Test.Arithmetic/3:ResourcesContains/Resources_Contains_BENCHMARK_Test.Contains/0:ResourcesContains/Resources_Contains_BENCHMARK_Test.Contains/1:ResourcesContains/Resources_Contains_BENCHMARK_Test.Contains/2:ResourcesContains/Resources_Contains_BENCHMARK_Test.Contains/3:ResourcesContains/Resources_Contains_BENCHMARK_Test.Contains/4:ResourcesContains/Resources_Contains_BENCHMARK_Test.Contains/5:ResourcesContains/Resources_Contains_BENCHMARK_Test.Contains/6:ResourcesContains/Resources_Contains_BENCHMARK_Test.Contains/7:ResourcesContains/Resources_Contains_BENCHMARK_Test.Contains/8:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/0:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/1:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/2:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/3:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/4:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/5:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/6:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/7:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/8:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/9:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/10:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/11:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/12:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/13:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/14:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/15:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/16:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/17:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/18:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/19:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/20:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/21:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/22:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/23:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/24:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/25:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/26:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/27:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/28:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/29:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/30:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/31:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/32:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/33:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/34:AgentAndClientCount/Sorter_BENCHMARK_Test.FullSort/35
[==========] Running 237 tests from 30 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from AttributesTest
[ RUN      ] AttributesTest.Parsing
[       OK ] AttributesTest.Parsing (3 ms)
[ RUN      ] AttributesTest.Equality
[       OK ] AttributesTest.Equality (2 ms)
[----------] 2 tests from AttributesTest (5 ms total)

[----------] 3 tests from ExceptionTest
[ RUN      ] ExceptionTest.DeactivateFrameworkOnAbort
I1215 19:16:05.182936  4224 cluster.cpp:160] Creating default 'local' authorizer
I1215 19:16:05.212934  5076 master.cpp:380] Master 
8bd738ac-57d3-42d6-a61b-b49a093f98c5 (jenkins-win2012.apache.org) started on 
10.20.2.147:59363
I1215 19:16:05.212934  5076 master.cpp:382] Flags at startup: --acls="" 
--agent_ping_timeout="15secs" --agent_reregister_timeout="10mins" 
--allocation_interval="1secs" --allocator="HierarchicalDRF" 
--authenticate_agents="false" --authenticate_frameworks="false" 
--authenticate_http_frameworks="true" --authenticate_http_readonly="true" 
--authenticate_http_readwrite="true" --authenticators="crammd5" 
--authorizers="local" 
--credentials="C:\Users\jenkins\AppData\Local\Temp\1\JVZooP\credentials" 
--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" 
--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" 
--root_submissions="true" --user_sorter="drf" --version="false" 
--webui_dir="/webui" 
--work_dir="C:\Users\jenkins\AppData\Local\Temp\1\JVZooP\master" 
--zk_session_timeout="10secs"
I1215 19:16:05.242934  5076 master.cpp:459] Master only allowing authenticated 
HTTP frameworks to register
I1215 19:16:05.242934  5076 credentials.hpp:37] Loading credentials for 
authentication from 'C:\Users\jenkins\AppData\Local\Temp\1\JVZooP\credentials'
I1215 19:16:05.247943  5076 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-master-readonly'
I1215 19:16:05.249944  5076 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-master-readwrite'
I1215 19:16:05.250936  5076 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-master-scheduler'
I1215 19:16:05.251937  5076 master.cpp:584] Authorization enabled
I1215 19:16:05.370934  5076 master.cpp:2046] Elected as the leading master!
I1215 19:16:05.371932  5076 master.cpp:1568] Recovering from registrar
I1215 19:16:05.381943  5480 registrar.cpp:362] Successfully fetched the 
registry (0B) in 8.998144ms
I1215 19:16:05.382938  5480 registrar.cpp:461] Applied 1 operations in 0ns; 
attempting to update the registry
I1215 19:16:05.387943  5480 registrar.cpp:506] Successfully updated the 
registry in 5.005056ms
I1215 19:16:05.389941  5480 registrar.cpp:392] Successfully recovered registrar
I1215 19:16:05.392952  5076 master.cpp:1684] Recovered 0 agents from the 
registry (162B); allowing 10mins for agents to re-register
I1215 19:16:05.432941  4224 containerizer.cpp:220] Using isolation: 
windows/cpu,filesystem/windows
I1215 19:16:05.460932  1080 slave.cpp:209] Mesos agent started on 
(1)@10.20.2.147:59363
I1215 19:16:05.460932  1080 slave.cpp:210] Flags at startup: 
--appc_simple_discovery_uri_prefix="http://"; 
--appc_store_dir="C:\Users\jenkins\AppData\Local\Temp\1\mesos\store\appc" 
--authenticate_http_readonly="true" --authenticate_http_readwrite="true" 
--authenticatee="crammd5" --authentication_backoff_factor="1secs" 
--authorizer="local" --container_disk_watch_interval="15secs" 
--containerizers="mesos" --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="/var/run/docker.sock" --docker_stop_timeout="0ns" 
--docker_store_dir="C:\Users\jenkins\AppData\Local\Temp\1\mesos\store\docker" 
--docker_volume_checkpoint_dir="/var/run/mesos/isolators/docker/volume" 
--enforce_container_disk_quota="false" --executor_registration_timeout="1mins" 
--executor_shutdown_grace_period="5secs" 
--fetcher_cache_dir="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DeactivateFrameworkOnAbort_Fao7SP\fetch"
 --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" 
--gc_disk_headroom="0.1" --hadoop_home="" --help="false" 
--hostname_lookup="true" --http_authenticators="basic" 
--http_command_executor="false" 
--http_credentials="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DeactivateFrameworkOnAbort_Fao7SP\http_credentials"
 --http_heartbeat_interval="30secs" --image_provisioner_backend="copy" 
--initialize_driver_logging="true" --isolation="windows/cpu" 
--launcher="windows" 
--launcher_dir="<https://builds.apache.org/job/Mesos-Windows/ws/build\jenkinsjenkins-slaveworkspaceMesos-Windowsuild\src">
 --logbufsecs="0" --logging_level="INFO" 
--max_completed_executors_per_framework="150" 
--oversubscribed_resources_interval="15secs" 
--qos_correction_interval_min="0ns" --quiet="false" --recover="reconnect" 
--recovery_timeout="15mins" --registration_backoff_factor="10ms" 
--resources="cpus:2;gpus:0;mem:1024;disk:1024;ports:[31000-32000]" 
--runtime_dir="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DeactivateFrameworkOnAbort_Fao7SP"
 --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --version="false" 
--work_dir="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DeactivateFrameworkOnAbort_u3Cmyc"
I1215 19:16:05.466936  1080 credentials.hpp:37] Loading credentials for 
authentication from 
'C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DeactivateFrameworkOnAbort_Fao7SP\http_credentials'
I1215 19:16:05.470975  1080 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-agent-readonly'
I1215 19:16:05.471956  1080 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-agent-readwrite'
I1215 19:16:05.477952  1080 slave.cpp:539] Agent resources: cpus(*):2; 
mem(*):1024; disk(*):1024; ports(*):[31000-32000]
I1215 19:16:05.478940  1080 slave.cpp:547] Agent attributes: [  ]
I1215 19:16:05.478940  1080 slave.cpp:552] Agent hostname: 
jenkins-win2012.apache.org
I1215 19:16:05.482936  4224 sched.cpp:232] Version: 1.2.0
I1215 19:16:05.486974  7304 sched.cpp:336] New master detected at 
[email protected]:59363
I1215 19:16:05.487975  7304 sched.cpp:360] Authentication is not available on 
this platform. Attempting to register without authentication
I1215 19:16:05.488956  5260 master.cpp:2634] Received SUBSCRIBE call for 
framework 'default' at 
[email protected]:59363
I1215 19:16:05.491941  5260 master.cpp:2082] Authorizing framework principal 
'test-principal' to receive offers for role '*'
I1215 19:16:05.497944  5076 master.cpp:2710] Subscribing framework default with 
checkpointing disabled and capabilities [  ]
I1215 19:16:05.499936  1336 state.cpp:57] Recovering state from 
'C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DeactivateFrameworkOnAbort_u3Cmyc\meta'
I1215 19:16:05.500936  1080 status_update_manager.cpp:203] Recovering status 
update manager
I1215 19:16:05.502979  1336 containerizer.cpp:594] Recovering containerizer
I1215 19:16:05.506934  7304 sched.cpp:749] Framework registered with 
8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000
I1215 19:16:05.506934  5076 master.cpp:2634] Received SUBSCRIBE call for 
framework 'default' at 
[email protected]:59363
I1215 19:16:05.507937  5076 master.cpp:2082] Authorizing framework principal 
'test-principal' to receive offers for role '*'
I1215 19:16:05.509949  5076 master.cpp:2710] Subscribing framework default with 
checkpointing disabled and capabilities [  ]
I1215 19:16:05.509949  5076 master.cpp:2720] Framework 
8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000 (default) at 
[email protected]:59363 already 
subscribed, resending acknowledgement
I1215 19:16:05.510938  1080 hierarchical.cpp:276] Added framework 
8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000
I1215 19:16:05.514940  4224 sched.cpp:2042] Asked to abort the driver
I1215 19:16:05.515935  7304 sched.cpp:1223] Aborting framework 
8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000
I1215 19:16:05.519942  7304 master.cpp:2943] Deactivating framework 
8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000 (default) at scheduler-8a8[       OK 
] ExceptionTest.DeactivateFrameworkOnAbort (527 ms)
[ RUN      ] ExceptionTest.DisallowSchedulerActionsOnAbort
[email protected]:59363
I1215 19:16:05.520941  4224 sched.cpp:2008] Asked to stop the driver
I1215 19:16:05.520941  1336 hierarchical.cpp:391] Deactivated framework 
8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000
I1215 19:16:05.521935  1336 sched.cpp:1193] Stopping framework 
8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000
I1215 19:16:05.522930  5480 master.cpp:7288] Processing TEARDOWN call for 
framework 8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000 (default) at 
[email protected]:59363
I1215 19:16:05.522930  5480 master.cpp:7300] Removing framework 
8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000 (default) at 
[email protected]:59363
I1215 19:16:05.527951  1728 hierarchical.cpp:342] Removed framework 
8bd738ac-57d3-42d6-a61b-b49a093f98c5-0000
I1215 19:16:05.528939  7304 provisioner.cpp:253] Provisioner recovery complete
I1215 19:16:05.531944  1528 slave.cpp:5408] Finished recovery
I1215 19:16:05.535962  7304 status_update_manager.cpp:177] Pausing sending 
status updates
I1215 19:16:05.535962  1528 slave.cpp:924] New master detected at 
[email protected]:59363
I1215 19:16:05.537005  1528 slave.cpp:945] No credentials provided. Attempting 
to register without authentication
I1215 19:16:05.537005  1528 slave.cpp:956] Detecting new master
I1215 19:16:05.537971  1528 slave.cpp:796] Agent terminating
I1215 19:16:05.563972  5480 master.cpp:1097] Master terminating
I1215 19:16:05.612943  4224 cluster.cpp:160] Creating default 'local' authorizer
I1215 19:16:05.638947  1528 master.cpp:380] Master 
2b5764c0-c6b9-49ad-8092-f119b36a7f7c (jenkins-win2012.apache.org) started on 
10.20.2.147:59363
I1215 19:16:05.639942  1528 master.cpp:382] Flags at startup: --acls="" 
--agent_ping_timeout="15secs" --agent_reregister_timeout="10mins" 
--allocation_interval="1secs" --allocator="HierarchicalDRF" 
--authenticate_agents="false" --authenticate_frameworks="false" 
--authenticate_http_frameworks="true" --authenticate_http_readonly="true" 
--authenticate_http_readwrite="true" --authenticators="crammd5" 
--authorizers="local" 
--credentials="C:\Users\jenkins\AppData\Local\Temp\1\6veFjc\credentials" 
--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" 
--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" 
--root_submissions="true" --user_sorter="drf" --version="false" 
--webui_dir="/webui" 
--work_dir="C:\Users\jenkins\AppData\Local\Temp\1\6veFjc\master" 
--zk_session_timeout="10secs"
I1215 19:16:05.647956  1528 master.cpp:459] Master only allowing authenticated 
HTTP frameworks to register
I1215 19:16:05.648949  1528 credentials.hpp:37] Loading credentials for 
authentication from 'C:\Users\jenkins\AppData\Local\Temp\1\6veFjc\credentials'
I1215 19:16:05.653957  1528 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-master-readonly'
I1215 19:16:05.654944  1528 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-master-readwrite'
I1215 19:16:05.655936  1528 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-master-scheduler'
I1215 19:16:05.655936  1528 master.cpp:584] Authorization enabled
I1215 19:16:05.710938  1528 master.cpp:2046] Elected as the leading master!
I1215 19:16:05.711974  1528 master.cpp:1568] Recovering from registrar
I1215 19:16:05.721920  5480 registrar.cpp:362] Successfully fetched the 
registry (0B) in 9.945088ms
I1215 19:16:05.722954  5480 registrar.cpp:461] Applied 1 operations in 0ns; 
attempting to update the registry
I1215 19:16:05.727946  1528 registrar.cpp:506] Successfully updated the 
registry in 4.993024ms
I1215 19:16:05.728936  1528 registrar.cpp:392] Successfully recovered registrar
I1215 19:16:05.731941  5076 master.cpp:1684] Recovered 0 agents from the 
registry (162B); allowing 10mins for agents to re-register
I1215 19:16:05.782955  4224 containerizer.cpp:220] Using isolation: 
windows/cpu,filesystem/windows
I1215 19:16:05.808945  1080 slave.cpp:209] Mesos agent started on 
(2)@10.20.2.147:59363
I1215 19:16:05.809945  1080 slave.cpp:210] Flags at startup: 
--appc_simple_discovery_uri_prefix="http://"; 
--appc_store_dir="C:\Users\jenkins\AppData\Local\Temp\1\mesos\store\appc" 
--authenticate_http_readonly="true" --authenticate_http_readwrite="true" 
--authenticatee="crammd5" --authentication_backoff_factor="1secs" 
--authorizer="local" --container_disk_watch_interval="15secs" 
--containerizers="mesos" --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="/var/run/docker.sock" --docker_stop_timeout="0ns" 
--docker_store_dir="C:\Users\jenkins\AppData\Local\Temp\1\mesos\store\docker" 
--docker_volume_checkpoint_dir="/var/run/mesos/isolators/docker/volume" 
--enforce_container_disk_quota="false" --executor_registration_timeout="1mins" 
--executor_shutdown_grace_period="5secs" 
--fetcher_cache_dir="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerActionsOnAbort_vp29MG\fetch"
 --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" 
--gc_disk_headroom="0.1" --hadoop_home="" --help="false" 
--hostname_lookup="true" --http_authenticators="basic" 
--http_command_executor="false" 
--http_credentials="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerActionsOnAbort_vp29MG\http_credentials"
 --http_heartbeat_interval="30secs" --image_provisioner_backend="copy" 
--initialize_driver_logging="true" --isolation="windows/cpu" 
--launcher="windows" 
--launcher_dir="<https://builds.apache.org/job/Mesos-Windows/ws/build\jenkinsjenkins-slaveworkspaceMesos-Windowsuild\src">
 --logbufsecs="0" --logging_level="INFO" 
--max_completed_executors_per_framework="150" 
--oversubscribed_resources_interval="15secs" 
--qos_correction_interval_min="0ns" --quiet="false" --recover="reconnect" 
--recovery_timeout="15mins" --registration_backoff_factor="10ms" 
--resources="cpus:2;gpus:0;mem:1024;disk:1024;ports:[31000-32000]" 
--runtime_dir="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerActionsOnAbort_vp29MG"
 --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --version="false" 
--work_dir="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerActionsOnAbort_PEEktj"
I1215 19:16:05.821956  1080 credentials.hpp:37] Loading credentials for 
authentication from 
'C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerActionsOnAbort_vp29MG\http_credentials'
I1215 19:16:05.824934  1080 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-agent-readonly'
I1215 19:16:05.827955  1080 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-agent-readwrite'
I1215 19:16:05.834929  1080 slave.cpp:539] Agent resources: cpus(*):2; 
mem(*):1024; disk(*):1024; ports(*):[31000-32000]
I1215 19:16:05.836961  1080 slave.cpp:547] Agent attributes: [  ]
I1215 19:16:05.836961  1080 slave.cpp:552] Agent hostname: 
jenkins-win2012.apache.org
I1215 19:16:05.843996  4224 sched.cpp:232] Version: 1.2.0
I1215 19:16:05.848121  1728 sched.cpp:336] New master detected at 
[email protected]:59363
I1215 19:16:05.849944  1728 sched.cpp:360] Authentication is not available on 
this platform. Attempting to register without authentication
I1215 19:16:05.850972  5480 master.cpp:2634] Received SUBSCRIBE call for 
framework 'default' at 
[email protected]:59363
I1215 19:16:05.850972  5480 master.cpp:2082] Authorizing framework principal 
'test-principal' to receive offers for role '*'
I1215 19:16:05.852969  5076 master.cpp:2710] Subscribing framework default with 
checkpointing disabled and capabilities [  ][       OK ] 
ExceptionTest.DisallowSchedulerActionsOnAbort (344 ms)
[ RUN      ] ExceptionTest.DisallowSchedulerCallbacksOnAbort

I1215 19:16:05.855940  5480 hierarchical.cpp:276] Added framework 
2b5764c0-c6b9-49ad-8092-f119b36a7f7c-0000
I1215 19:16:05.858088  5260 sched.cpp:749] Framework registered with 
2b5764c0-c6b9-49ad-8092-f119b36a7f7c-0000
I1215 19:16:05.860054  4224 sched.cpp:2042] Asked to abort the driver
I1215 19:16:05.860971  1528 sched.cpp:1223] Aborting framework 
2b5764c0-c6b9-49ad-8092-f119b36a7f7c-0000
I1215 19:16:05.860971  4224 sched.cpp:2008] Asked to stop the driver
I1215 19:16:05.861948  1528 sched.cpp:1193] Stopping framework 
2b5764c0-c6b9-49ad-8092-f119b36a7f7c-0000
I1215 19:16:05.861948  1336 master.cpp:2943] Deactivating framework 
2b5764c0-c6b9-49ad-8092-f119b36a7f7c-0000 (default) at 
[email protected]:59363
I1215 19:16:05.862936  5480 hierarchical.cpp:391] Deactivated framework 
2b5764c0-c6b9-49ad-8092-f119b36a7f7c-0000
I1215 19:16:05.864936  1336 state.cpp:57] Recovering state from 
'C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerActionsOnAbort_PEEktj\meta'
I1215 19:16:05.864936  5260 master.cpp:7288] Processing TEARDOWN call for 
framework 2b5764c0-c6b9-49ad-8092-f119b36a7f7c-0000 (default) at 
[email protected]:59363
I1215 19:16:05.865934  5260 master.cpp:7300] Removing framework 
2b5764c0-c6b9-49ad-8092-f119b36a7f7c-0000 (default) at 
[email protected]:59363
I1215 19:16:05.866935  1080 status_update_manager.cpp:203] Recovering status 
update manager
I1215 19:16:05.867946  5076 containerizer.cpp:594] Recovering containerizer
I1215 19:16:05.869946  5480 hierarchical.cpp:342] Removed framework 
2b5764c0-c6b9-49ad-8092-f119b36a7f7c-0000
I1215 19:16:05.878932  1336 slave.cpp:796] Agent terminating
I1215 19:16:05.878932  1728 provisioner.cpp:253] Provisioner recovery complete
I1215 19:16:05.912987  1528 master.cpp:1097] Master terminating
I1215 19:16:05.953938  4224 cluster.cpp:160] Creating default 'local' authorizer
I1215 19:16:05.974926  1728 master.cpp:380] Master 
e946e849-d0e3-4ec1-8181-a512c8e76a25 (jenkins-win2012.apache.org) started on 
10.20.2.147:59363
I1215 19:16:05.974926  1728 master.cpp:382] Flags at startup: --acls="" 
--agent_ping_timeout="15secs" --agent_reregister_timeout="10mins" 
--allocation_interval="1secs" --allocator="HierarchicalDRF" 
--authenticate_agents="false" --authenticate_frameworks="false" 
--authenticate_http_frameworks="true" --authenticate_http_readonly="true" 
--authenticate_http_readwrite="true" --authenticators="crammd5" 
--authorizers="local" 
--credentials="C:\Users\jenkins\AppData\Local\Temp\1\Jugq8p\credentials" 
--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" 
--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" 
--root_submissions="true" --user_sorter="drf" --version="false" 
--webui_dir="/webui" 
--work_dir="C:\Users\jenkins\AppData\Local\Temp\1\Jugq8p\master" 
--zk_session_timeout="10secs"
I1215 19:16:05.979960  1728 master.cpp:459] Master only allowing authenticated 
HTTP frameworks to register
I1215 19:16:05.981052  1728 credentials.hpp:37] Loading credentials for 
authentication from 'C:\Users\jenkins\AppData\Local\Temp\1\Jugq8p\credentials'
I1215 19:16:05.984944  1728 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-master-readonly'
I1215 19:16:05.987922  1728 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-master-readwrite'
I1215 19:16:05.988929  1728 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-master-scheduler'
I1215 19:16:05.989949  1728 master.cpp:584] Authorization enabled
I1215 19:16:06.018936  5480 master.cpp:2046] Elected as the leading master!
I1215 19:16:06.018936  5480 master.cpp:1568] Recovering from registrar
I1215 19:16:06.022378  1728 registrar.cpp:362] Successfully fetched the 
registry (0B) in 3.44192ms
I1215 19:16:06.023056  1728 registrar.cpp:461] Applied 1 operations in 0ns; 
attempting to update the registry
I1215 19:16:06.034937  1080 registrar.cpp:506] Successfully updated the 
registry in 11.881216ms
I1215 19:16:06.034937  1080 registrar.cpp:392] Successfully recovered registrar
I1215 19:16:06.039932  1528 master.cpp:1684] Recovered 0 agents from the 
registry (162B); allowing 10mins for agents to re-register
I1215 19:16:06.078974  4224 containerizer.cpp:220] Using isolation: 
windows/cpu,filesystem/windows
I1215 19:16:06.102931  5076 slave.cpp:209] Mesos agent started on 
(3)@10.20.2.147:59363
I1215 19:16:06.102931  5076 slave.cpp:210] Flags at startup: 
--appc_simple_discovery_uri_prefix="http://"; 
--appc_store_dir="C:\Users\jenkins\AppData\Local\Temp\1\mesos\store\appc" 
--authenticate_http_readonly="true" --authenticate_http_readwrite="true" 
--authenticatee="crammd5" --authentication_backoff_factor="1secs" 
--authorizer="local" --container_disk_watch_interval="15secs" 
--containerizers="mesos" --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="/var/run/docker.sock" --docker_stop_timeout="0ns" 
--docker_store_dir="C:\Users\jenkins\AppData\Local\Temp\1\mesos\store\docker" 
--docker_volume_checkpoint_dir="/var/run/mesos/isolators/docker/volume" 
--enforce_container_disk_quota="false" --executor_registration_timeout="1mins" 
--executor_shutdown_grace_period="5secs" 
--fetcher_cache_dir="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerCallbacksOnAbort_xbAUZG\fetch"
 --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" 
--gc_disk_headroom="0.1" --hadoop_home="" --help="false" 
--hostname_lookup="true" --http_authenticators="basic" 
--http_command_executor="false" 
--http_credentials="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerCallbacksOnAbort_xbAUZG\http_credentials"
 --http_heartbeat_interval="30secs" --image_provisioner_backend="copy" 
--initialize_driver_logging="true" --isolation="windows/cpu" 
--launcher="windows" 
--launcher_dir="<https://builds.apache.org/job/Mesos-Windows/ws/build\jenkinsjenkins-slaveworkspaceMesos-Windowsuild\src">
 --logbufsecs="0" --logging_level="INFO" 
--max_completed_executors_per_framework="150" 
--oversubscribed_resources_interval="15secs" 
--qos_correction_interval_min="0ns" --quiet="false" --recover="reconnect" 
--recovery_timeout="15mins" --registration_backoff_factor="10ms" 
--resources="cpus:2;gpus:0;mem:1024;disk:1024;ports:[31000-32000]" 
--runtime_dir="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerCallbacksOnAbort_xbAUZG"
 --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --version="false" 
--work_dir="C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerCallbacksOnAbort_EP3S6q"
I1215 19:16:06.109948  5076 credentials.hpp:37] Loading credentials for 
authentication from 
'C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerCallbacksOnAbort_xbAUZG\http_credentials'
I1215 19:16:06.112939  5076 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-agent-readonly'
I1215 19:16:06.112939  5076 http.cpp:922] Using default 'basic' HTTP 
authenticator for realm 'mesos-agent-readwrite'
I1215 19:16:06.119961  5076 slave.cpp:539] Agent resources: cpus(*):2; 
mem(*):1024; disk(*):1024; ports(*):[31000-32000]
I1215 19:16:06.120934  5076 slave.cpp:547] Agent attributes: [  ]
I1215 19:16:06.120934  5076 slave.cpp:552] Agent hostname: 
jenkins-win2012.apache.org
I1215 19:16:06.122946  4224 sched.cpp:232] Version: 1.2.0
I1215 19:16:06.124948  5260 sched.cpp:336] New master detected at 
[email protected]:59363
I1215 19:16:06.125949  5260 sched.cpp:360] Authentication is not available on 
this platform. Attemp*** Check failure stack trace: ***
ting to register without authentication
I1215 19:16:06.127969  1528 master.cpp:2634] Received SUBSCRIBE call for 
framework 'default' at 
[email protected]:59363
I1215 19:16:06.128950  1528 master.cpp:2082] Authorizing framework principal 
'test-principal' to receive offers for role '*'
I1215 19:16:06.130964  1528 master.cpp:2710] Subscribing framework default with 
checkpointing disabled and capabilities [  ]
I1215 19:16:06.133963  1528 sched.cpp:749] Framework registered with 
e946e849-d0e3-4ec1-8181-a512c8e76a25-0000
I1215 19:16:06.134940  1728 hierarchical.cpp:276] Added framework 
e946e849-d0e3-4ec1-8181-a512c8e76a25-0000
I1215 19:16:06.134940  1528 state.cpp:57] Recovering state from 
'C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerCallbacksOnAbort_EP3S6q\meta'
I1215 19:16:06.135947  1728 status_update_manager.cpp:203] Recovering status 
update manager
I1215 19:16:06.136958  1728 containerizer.cpp:594] Recovering containerizer
I1215 19:16:06.146956  7304 provisioner.cpp:253] Provisioner recovery complete
I1215 19:16:06.148934  1336 slave.cpp:5408] Finished recovery
I1215 19:16:06.152937  1728 status_update_manager.cpp:177] Pausing sending 
status updates
I1215 19:16:06.153940  5480 slave.cpp:924] New master detected at 
[email protected]:59363
I1215 19:16:06.153940  5480 slave.cpp:945] No credentials provided. Attempting 
to register without authentication
I1215 19:16:06.153940  5480 slave.cpp:956] Detecting new master
I1215 19:16:06.176941  7304 master.cpp:5162] Registering agent at 
slave(3)@10.20.2.147:59363 (jenkins-win2012.apache.org) with id 
e946e849-d0e3-4ec1-8181-a512c8e76a25-S0
I1215 19:16:06.178977  1336 registrar.cpp:461] Applied 1 operations in 0ns; 
attempting to update the registry
I1215 19:16:06.187938  1528 master.cpp:5150] Ignoring register agent message 
from slave(3)@10.20.2.147:59363 (jenkins-win2012.apache.org) as admission is 
already in progress
I1215 19:16:06.190937  1528 registrar.cpp:506] Successfully updated the 
registry in 10.955008ms
I1215 19:16:06.196951  7304 master.cpp:5233] Registered agent 
e946e849-d0e3-4ec1-8181-a512c8e76a25-S0 at slave(3)@10.20.2.147:59363 
(jenkins-win2012.apache.org) with cpus(*):2; mem(*):1024; disk(*):1024; 
ports(*):[31000-32000]
I1215 19:16:06.196951  1080 slave.cpp:1124] Registered with master 
[email protected]:59363; given agent ID e946e849-d0e3-4ec1-8181-a512c8e76a25-S0
I1215 19:16:06.199942  1336 status_update_manager.cpp:184] Resuming sending 
status updates
I1215 19:16:06.200943  5480 hierarchical.cpp:490] Added agent 
e946e849-d0e3-4ec1-8181-a512c8e76a25-S0 (jenkins-win2012.apache.org) with 
cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (allocated: {})
I1215 19:16:06.211931  5260 master.cpp:6578] Sending 1 offers to framework 
e946e849-d0e3-4ec1-8181-a512c8e76a25-0000 (default) at 
[email protected]:59363
I1215 19:16:06.216936  4224 sched.cpp:2042] Asked to abort the driver
I1215 19:16:06.216936  1528 sched.cpp:1223] Aborting framework 
e946e849-d0e3-4ec1-8181-a512c8e76a25-0000
I1215 19:16:06.217936  1336 master.cpp:2943] Deactivating framework 
e946e849-d0e3-4ec1-8181-a512c8e76a25-0000 (default) at 
[email protected]:59363
I1215 19:16:06.218940  5260 hierarchical.cpp:391] Deactivated framework 
e946e849-d0e3-4ec1-8181-a512c8e76a25-0000
I1215 19:16:06.223968  4224 sched.cpp:2008] Asked to stop the driver
I1215 19:16:06.223968  1528 sched.cpp:1193] Stopping framework 
e946e849-d0e3-4ec1-8181-a512c8e76a25-0000
F1215 19:16:06.225955  1080 paths.cpp:573] CHECK_SOME(symlink): 
'internal::windows::create_symbolic_link': 'CreateSymbolicLink' call failed: A 
required privilege is not held by the client.

 Failed to symlink directory 
'C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerCallbacksOnAbort_EP3S6q\meta\slaves\e946e849-d0e3-4ec1-8181-a512c8e76a25-S0'
 to 
'C:\Users\jenkins\AppData\Local\Temp\1\ExceptionTest_DisallowSchedulerCallbacksOnAbort_EP3S6q\meta\slaves\latest'
I1215 19:16:06.228025  1336 master.c
<https://builds.apache.org/job/Mesos-Windows/ws/build>if> -2147483645 NEQ 0 
exit /b -2147483645 
Build step 'Execute Windows batch command' marked build as failure

Reply via email to