See <https://builds.apache.org/job/Mesos-Buildbot/BUILDTOOL=cmake,COMPILER=gcc,CONFIGURATION=--verbose%20--disable-libtool-wrappers%20--enable-libevent%20--enable-ssl,ENVIRONMENT=GLOG_v=1%20MESOS_VERBOSE=1,OS=centos%3A7,label_exp=(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)/4555/display/redirect?page=changes>
Changes: [gregorywmann] Updated master ACCEPT handler to disallow offer operation feedback. [gregorywmann] Made master acknowledge offer operation updates when 'id' isn't set. [gregorywmann] Added ACKNOWLEDGE event to the resource provider API. [gregorywmann] Added offer operation update acknowledgement to the agent. [gregorywmann] Added status update acknowledgement to resource provider manager. [gregorywmann] Added plumbing for master to reconcile offer operations with agent. ------------------------------------------ [...truncated 34.59 MB...] 3: I1207 21:07:07.988513 27043 slave.cpp:8652] Completing task d83d36a1-e712-4ccc-8a65-d58b68a1454e 3: I1207 21:07:07.990996 27034 hierarchical.cpp:1527] Performed allocation for 1 agents in 2.048407ms 3: I1207 21:07:07.991785 27029 master.cpp:8645] Sending 1 offers to framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944 3: I1207 21:07:07.992405 27028 sched.cpp:921] Scheduler::resourceOffers took 112078ns 3: I1207 21:07:07.994580 27032 master.cpp:10565] Removing offer 2d84fef6-ef34-43f9-b584-9b300d034a18-O2 3: I1207 21:07:07.994794 27032 master.cpp:4276] Processing ACCEPT call for offers: [ 2d84fef6-ef34-43f9-b584-9b300d034a18-O2 ] on agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 at slave(994)@172.17.0.2:39944 (e7d979baec22) for framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944 3: I1207 21:07:07.994962 27032 master.cpp:3722] Authorizing principal 'test-principal' to unreserve resources '[{"allocation_info":{"role":"role"},"name":"cpus","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":1.0},"type":"SCALAR"},{"allocation_info":{"role":"role"},"name":"mem","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":512.0},"type":"SCALAR"}]' 3: I1207 21:07:07.995781 27032 master.cpp:3722] Authorizing principal 'test-principal' to unreserve resources '[{"allocation_info":{"role":"role"},"name":"cpus","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":0.5},"type":"SCALAR"},{"allocation_info":{"role":"role"},"name":"mem","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":256.0},"type":"SCALAR"}]' 3: I1207 21:07:07.996520 27032 master.cpp:3596] Authorizing framework principal 'test-principal' to launch task 71d588d7-ac5f-4e01-afdf-367704f03430 3: W1207 21:07:07.997987 27040 master.cpp:2362] Dropping UNRESERVE offer operation from framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944: Not authorized to unreserve resources as 'test-principal' 3: W1207 21:07:07.998059 27040 master.cpp:2362] Dropping UNRESERVE offer operation from framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944: Not authorized to unreserve resources as 'test-principal' 3: W1207 21:07:07.999723 27040 validation.cpp:1388] Executor 'default' for task '71d588d7-ac5f-4e01-afdf-367704f03430' uses less CPUs (None) than the minimum required (0.01). Please update your executor, as this will be mandatory in future releases. 3: W1207 21:07:07.999758 27040 validation.cpp:1400] Executor 'default' for task '71d588d7-ac5f-4e01-afdf-367704f03430' uses less memory (None) than the minimum required (32MB). Please update your executor, as this will be mandatory in future releases. 3: I1207 21:07:08.000336 27040 master.cpp:11317] Adding task 71d588d7-ac5f-4e01-afdf-367704f03430 with resources cpus(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):1; mem(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):512 on agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 at slave(994)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.000655 27040 master.cpp:5024] Launching task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944 with resources [{"allocation_info":{"role":"role"},"name":"cpus","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":1.0},"type":"SCALAR"},{"allocation_info":{"role":"role"},"name":"mem","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":512.0},"type":"SCALAR"}] on agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 at slave(994)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.001422 27039 slave.cpp:1869] Got assigned task '71d588d7-ac5f-4e01-afdf-367704f03430' for framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.001880 27039 slave.cpp:2137] Authorizing task '71d588d7-ac5f-4e01-afdf-367704f03430' for framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.001950 27039 slave.cpp:7573] Authorizing framework principal 'test-principal' to launch task 71d588d7-ac5f-4e01-afdf-367704f03430 3: I1207 21:07:08.002840 27033 slave.cpp:2305] Launching task '71d588d7-ac5f-4e01-afdf-367704f03430' for framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.002815 27042 hierarchical.cpp:1202] Recovered cpus(allocated: role):0.5; mem(allocated: role):256; disk(allocated: role):367463; ports(allocated: role):[31000-32000]; cpus(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):0.5; mem(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):256 (total: cpus:0.5; mem:256; disk:367463; ports:[31000-32000]; cpus(reservations: [(DYNAMIC,role,test-principal)]):1.5; mem(reservations: [(DYNAMIC,role,test-principal)]):768, allocated: mem(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):512; cpus(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):1) on agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 from framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.003140 27033 slave.cpp:2554] Queued task '71d588d7-ac5f-4e01-afdf-367704f03430' for executor 'default' of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 at executor(222)@172.17.0.2:39944 3: I1207 21:07:08.003756 27043 slave.cpp:2735] Sending queued task '71d588d7-ac5f-4e01-afdf-367704f03430' to executor 'default' of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 at executor(222)@172.17.0.2:39944 3: I1207 21:07:08.004124 27034 exec.cpp:331] Executor asked to run task '71d588d7-ac5f-4e01-afdf-367704f03430' 3: I1207 21:07:08.004204 27034 exec.cpp:340] Executor::launchTask took 56717ns 3: I1207 21:07:08.004289 27034 exec.cpp:571] Executor sending status update TASK_FINISHED (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.004550 27029 slave.cpp:4684] Handling status update TASK_FINISHED (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 from executor(222)@172.17.0.2:39944 3: I1207 21:07:08.005506 27044 task_status_update_manager.cpp:328] Received task status update TASK_FINISHED (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.005543 27044 task_status_update_manager.cpp:507] Creating StatusUpdate stream for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.005966 27044 task_status_update_manager.cpp:383] Forwarding task status update TASK_FINISHED (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 to the agent 3: I1207 21:07:08.006152 27031 slave.cpp:5167] Forwarding the update TASK_FINISHED (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 to [email protected]:39944 3: I1207 21:07:08.006398 27031 slave.cpp:5060] Task status update manager successfully handled status update TASK_FINISHED (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.006461 27031 slave.cpp:5076] Sending acknowledgement for status update TASK_FINISHED (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 to executor(222)@172.17.0.2:39944 3: I1207 21:07:08.006536 27035 master.cpp:7738] Status update TASK_FINISHED (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 from agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 at slave(994)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.006599 27035 master.cpp:7794] Forwarding status update TASK_FINISHED (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.006665 27049 exec.cpp:388] Executor received status update acknowledgement d46b56ad-0cba-4ac4-9616-fd85f77c3573 for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.006806 27035 master.cpp:10041] Updating the state of task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (latest state: TASK_FINISHED, status update state: TASK_FINISHED) 3: I1207 21:07:08.007038 27050 sched.cpp:1029] Scheduler::statusUpdate took 62913ns 3: I1207 21:07:08.007838 27035 master.cpp:5839] Processing ACKNOWLEDGE call d46b56ad-0cba-4ac4-9616-fd85f77c3573 for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944 on agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 3: I1207 21:07:08.008042 27035 master.cpp:10147] Removing task 71d588d7-ac5f-4e01-afdf-367704f03430 with resources cpus(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):1; mem(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):512 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 on agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 at slave(994)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.008297 27032 hierarchical.cpp:1202] Recovered cpus(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):1; mem(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):512 (total: cpus:0.5; mem:256; disk:367463; ports:[31000-32000]; cpus(reservations: [(DYNAMIC,role,test-principal)]):1.5; mem(reservations: [(DYNAMIC,role,test-principal)]):768, allocated: {}) on agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 from framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.008839 27038 task_status_update_manager.cpp:401] Received task status update acknowledgement (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.009027 27038 task_status_update_manager.cpp:538] Cleaning up status update stream for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.009655 27040 slave.cpp:3968] Task status update manager successfully handled status update acknowledgement (UUID: d46b56ad-0cba-4ac4-9616-fd85f77c3573) for task 71d588d7-ac5f-4e01-afdf-367704f03430 of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.009732 27040 slave.cpp:8652] Completing task 71d588d7-ac5f-4e01-afdf-367704f03430 3: I1207 21:07:08.012838 27051 hierarchical.cpp:1527] Performed allocation for 1 agents in 2.527954ms 3: I1207 21:07:08.013742 27039 master.cpp:8645] Sending 1 offers to framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944 3: I1207 21:07:08.014510 27030 sched.cpp:921] Scheduler::resourceOffers took 142446ns 3: I1207 21:07:08.014839 18333 sched.cpp:2009] Asked to stop the driver 3: I1207 21:07:08.014950 27048 sched.cpp:1191] Stopping framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.015296 27045 master.cpp:9325] Processing TEARDOWN call for framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944 3: I1207 21:07:08.015347 27045 master.cpp:9337] Removing framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944 3: I1207 21:07:08.015373 27045 master.cpp:3330] Deactivating framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 (default) at [email protected]:39944 3: I1207 21:07:08.015558 27036 hierarchical.cpp:410] Deactivated framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.016486 18333 slave.cpp:907] Agent terminating 3: I1207 21:07:08.016573 18333 slave.cpp:3333] Asked to shut down framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 by @0.0.0.0:0 3: I1207 21:07:08.016615 18333 slave.cpp:3358] Shutting down framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.016681 18333 slave.cpp:6043] Shutting down executor 'default' of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 at executor(222)@172.17.0.2:39944 3: I1207 21:07:08.016748 27045 master.cpp:10565] Removing offer 2d84fef6-ef34-43f9-b584-9b300d034a18-O3 3: I1207 21:07:08.016891 27044 exec.cpp:435] Executor asked to shutdown 3: I1207 21:07:08.017010 27044 exec.cpp:450] Executor::shutdown took 73406ns 3: I1207 21:07:08.017119 27045 master.cpp:10176] Removing executor 'default' with resources [] of framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 on agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 at slave(994)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.018134 27045 master.cpp:1308] Agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 at slave(994)@172.17.0.2:39944 (e7d979baec22) disconnected 3: I1207 21:07:08.018172 27045 master.cpp:3367] Disconnecting agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 at slave(994)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.018260 27045 master.cpp:3386] Deactivating agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 at slave(994)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.018568 27034 hierarchical.cpp:1202] Recovered cpus(allocated: role):0.5; mem(allocated: role):256; disk(allocated: role):367463; ports(allocated: role):[31000-32000]; cpus(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):1.5; mem(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):768 (total: cpus:0.5; mem:256; disk:367463; ports:[31000-32000]; cpus(reservations: [(DYNAMIC,role,test-principal)]):1.5; mem(reservations: [(DYNAMIC,role,test-principal)]):768, allocated: {}) on agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 from framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.019280 27034 hierarchical.cpp:349] Removed framework 2d84fef6-ef34-43f9-b584-9b300d034a18-0000 3: I1207 21:07:08.019377 27034 hierarchical.cpp:767] Agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 deactivated 3: I1207 21:07:08.026788 18333 master.cpp:1150] Master terminating 3: I1207 21:07:08.028012 27029 hierarchical.cpp:610] Removed agent 2d84fef6-ef34-43f9-b584-9b300d034a18-S0 3: [ OK ] ResourceProviderCapability/ReservationTest.ACLMultipleOperations/0 (158 ms) 3: [ RUN ] ResourceProviderCapability/ReservationTest.ACLMultipleOperations/1 3: I1207 21:07:08.040707 18333 cluster.cpp:172] Creating default 'local' authorizer 3: I1207 21:07:08.045967 27044 master.cpp:454] Master 65e75d3e-e63f-4935-9f71-a05ab9d9a755 (e7d979baec22) started on 172.17.0.2:39944 3: I1207 21:07:08.046000 27044 master.cpp:456] Flags at startup: --acls="reserve_resources { 3: principals { 3: values: "test-principal" 3: } 3: roles { 3: type: ANY 3: } 3: } 3: unreserve_resources { 3: principals { 3: values: "test-principal" 3: } 3: reserver_principals { 3: type: NONE 3: } 3: } 3: " --agent_ping_timeout="15secs" --agent_reregister_timeout="10mins" --allocation_interval="5ms" --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="/tmp/Vg5zZt/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" --roles="role" --root_submissions="true" --user_sorter="drf" --version="false" --webui_dir="/usr/local/share/mesos/webui" --work_dir="/tmp/Vg5zZt/master" --zk_session_timeout="10secs" 3: I1207 21:07:08.046752 27044 master.cpp:505] Master only allowing authenticated frameworks to register 3: I1207 21:07:08.046762 27044 master.cpp:511] Master only allowing authenticated agents to register 3: I1207 21:07:08.046768 27044 master.cpp:517] Master only allowing authenticated HTTP frameworks to register 3: I1207 21:07:08.046775 27044 credentials.hpp:37] Loading credentials for authentication from '/tmp/Vg5zZt/credentials' 3: I1207 21:07:08.047258 27044 master.cpp:561] Using default 'crammd5' authenticator 3: I1207 21:07:08.047464 27044 http.cpp:1045] Creating default 'basic' HTTP authenticator for realm 'mesos-master-readonly' 3: I1207 21:07:08.047683 27044 http.cpp:1045] Creating default 'basic' HTTP authenticator for realm 'mesos-master-readwrite' 3: I1207 21:07:08.047847 27044 http.cpp:1045] Creating default 'basic' HTTP authenticator for realm 'mesos-master-scheduler' 3: I1207 21:07:08.048007 27044 master.cpp:640] Authorization enabled 3: W1207 21:07:08.048023 27044 master.cpp:703] The '--roles' flag is deprecated. This flag will be removed in the future. See the Mesos 0.27 upgrade notes for more information 3: I1207 21:07:08.048281 27038 whitelist_watcher.cpp:77] No whitelist given 3: I1207 21:07:08.048285 27039 hierarchical.cpp:175] Initialized hierarchical allocator process 3: I1207 21:07:08.052752 27045 master.cpp:2212] Elected as the leading master! 3: I1207 21:07:08.052801 27045 master.cpp:1692] Recovering from registrar 3: I1207 21:07:08.053071 27036 registrar.cpp:347] Recovering registrar 3: I1207 21:07:08.054350 27036 registrar.cpp:391] Successfully fetched the registry (0B) in 0ns 3: I1207 21:07:08.054563 27036 registrar.cpp:495] Applied 1 operations in 74472ns; attempting to update the registry 3: I1207 21:07:08.055732 27036 registrar.cpp:552] Successfully updated the registry in 0ns 3: I1207 21:07:08.055989 27036 registrar.cpp:424] Successfully recovered registrar 3: I1207 21:07:08.056721 27034 master.cpp:1805] Recovered 0 agents from the registry (135B); allowing 10mins for agents to re-register 3: I1207 21:07:08.056780 27047 hierarchical.cpp:213] Skipping recovery of hierarchical allocator: nothing to recover 3: W1207 21:07:08.063486 18333 process.cpp:2756] Attempted to spawn already running process [email protected]:39944 3: I1207 21:07:08.063810 18333 cluster.cpp:460] Creating default 'local' authorizer 3: I1207 21:07:08.066733 27030 slave.cpp:258] Mesos agent started on (995)@172.17.0.2:39944 3: I1207 21:07:08.067267 27045 hierarchical.cpp:1527] Performed allocation for 0 agents in 59617ns 3: I1207 21:07:08.066766 27030 slave.cpp:259] Flags at startup: --acls="" --agent_features="capabilities { 3: type: MULTI_ROLE 3: } 3: capabilities { 3: type: HIERARCHICAL_ROLE 3: } 3: capabilities { 3: type: RESERVATION_REFINEMENT 3: } 3: capabilities { 3: type: RESOURCE_PROVIDER 3: } 3: " --appc_simple_discovery_uri_prefix="http://" --appc_store_dir="/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_hxGxwz/store/appc" --authenticate_http_executors="true" --authenticate_http_readonly="true" --authenticate_http_readwrite="true" --authenticatee="crammd5" --authentication_backoff_factor="1secs" --authorizer="local" --cgroups_cpu_enable_pids_and_tids_count="false" --cgroups_enable_cfs="false" --cgroups_hierarchy="/sys/fs/cgroup" --cgroups_limit_swap="false" --cgroups_root="mesos" --container_disk_watch_interval="15secs" --containerizers="mesos" --credential="/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_hxGxwz/credential" --default_role="*" --disallow_sharing_agent_pid_namespace="false" --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="/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_hxGxwz/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="/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_hxGxwz/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="/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_hxGxwz/http_credentials" --http_heartbeat_interval="30secs" --initialize_driver_logging="true" --isolation="posix/cpu,posix/mem" --jwt_secret_key="/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_hxGxwz/jwt_secret_key" --launcher="posix" --launcher_dir="/mesos/build/src" --logbufsecs="0" --logging_level="INFO" --max_completed_executors_per_framework="150" --oversubscribed_resources_interval="15secs" --perf_duration="10secs" --perf_interval="1mins" --port="5051" --qos_correction_interval_min="0ns" --quiet="false" --reconfiguration_policy="equal" --recover="reconnect" --recovery_timeout="15mins" --registration_backoff_factor="10ms" --resources="cpus:2;mem:1024" --revocable_cpu_low_priority="true" --runtime_dir="/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_hxGxwz" --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --switch_user="true" --systemd_enable_support="true" --systemd_runtime_directory="/run/systemd/system" --version="false" --work_dir="/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_oRg3K1" --zk_session_timeout="10secs" 3: I1207 21:07:08.067607 27030 credentials.hpp:86] Loading credential for authentication from '/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_hxGxwz/credential' 3: I1207 21:07:08.067819 27030 slave.cpp:291] Agent using credential for: test-principal 3: I1207 21:07:08.067850 27030 credentials.hpp:37] Loading credentials for authentication from '/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_hxGxwz/http_credentials' 3: I1207 21:07:08.068250 27030 http.cpp:1045] Creating default 'basic' HTTP authenticator for realm 'mesos-agent-executor' 3: I1207 21:07:08.068444 27030 http.cpp:1066] Creating default 'jwt' HTTP authenticator for realm 'mesos-agent-executor' 3: I1207 21:07:08.068796 27030 http.cpp:1045] Creating default 'basic' HTTP authenticator for realm 'mesos-agent-readonly' 3: I1207 21:07:08.068967 27030 http.cpp:1066] Creating default 'jwt' HTTP authenticator for realm 'mesos-agent-readonly' 3: I1207 21:07:08.069284 27030 http.cpp:1045] Creating default 'basic' HTTP authenticator for realm 'mesos-agent-readwrite' 3: I1207 21:07:08.069454 27030 http.cpp:1066] Creating default 'jwt' HTTP authenticator for realm 'mesos-agent-readwrite' 3: I1207 21:07:08.071293 27030 slave.cpp:590] Agent resources: [{"name":"cpus","scalar":{"value":2.0},"type":"SCALAR"},{"name":"mem","scalar":{"value":1024.0},"type":"SCALAR"},{"name":"disk","scalar":{"value":367463.0},"type":"SCALAR"},{"name":"ports","ranges":{"range":[{"begin":31000,"end":32000}]},"type":"RANGES"}] 3: I1207 21:07:08.071616 27030 slave.cpp:598] Agent attributes: [ ] 3: I1207 21:07:08.071637 27030 slave.cpp:607] Agent hostname: e7d979baec22 3: I1207 21:07:08.071861 27035 task_status_update_manager.cpp:181] Pausing sending task status updates 3: I1207 21:07:08.074304 27028 state.cpp:66] Recovering state from '/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_oRg3K1/meta' 3: I1207 21:07:08.074795 27042 task_status_update_manager.cpp:207] Recovering task status update manager 3: I1207 21:07:08.075429 27043 slave.cpp:6679] Finished recovery 3: I1207 21:07:08.076570 27029 task_status_update_manager.cpp:181] Pausing sending task status updates 3: I1207 21:07:08.076601 27048 slave.cpp:1031] New master detected at [email protected]:39944 3: I1207 21:07:08.076680 27048 slave.cpp:1086] Detecting new master 3: I1207 21:07:08.076839 27048 slave.cpp:1113] Authenticating with master [email protected]:39944 3: I1207 21:07:08.076946 27048 slave.cpp:1122] Using default CRAM-MD5 authenticatee 3: I1207 21:07:08.077261 27047 authenticatee.cpp:121] Creating new client SASL connection 3: I1207 21:07:08.077651 27034 master.cpp:8815] Authenticating slave(995)@172.17.0.2:39944 3: I1207 21:07:08.077879 27032 authenticator.cpp:414] Starting authentication session for crammd5-authenticatee(1703)@172.17.0.2:39944 3: I1207 21:07:08.078199 27050 authenticator.cpp:98] Creating new server SASL connection 3: I1207 21:07:08.078514 27040 authenticatee.cpp:213] Received SASL authentication mechanisms: CRAM-MD5 3: I1207 21:07:08.078550 27040 authenticatee.cpp:239] Attempting to authenticate with mechanism 'CRAM-MD5' 3: I1207 21:07:08.078754 27046 authenticator.cpp:204] Received SASL authentication start 3: I1207 21:07:08.078827 27046 authenticator.cpp:326] Authentication requires more steps 3: I1207 21:07:08.078976 27046 authenticatee.cpp:259] Received SASL authentication step 3: I1207 21:07:08.079186 27037 authenticator.cpp:232] Received SASL authentication step 3: I1207 21:07:08.079222 27037 auxprop.cpp:109] Request to lookup properties for user: 'test-principal' realm: 'e7d979baec22' server FQDN: 'e7d979baec22' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 3: I1207 21:07:08.079236 27037 auxprop.cpp:181] Looking up auxiliary property '*userPassword' 3: I1207 21:07:08.079275 27037 auxprop.cpp:181] Looking up auxiliary property '*cmusaslsecretCRAM-MD5' 3: I1207 21:07:08.079294 27037 auxprop.cpp:109] Request to lookup properties for user: 'test-principal' realm: 'e7d979baec22' server FQDN: 'e7d979baec22' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 3: I1207 21:07:08.079303 27037 auxprop.cpp:131] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true 3: I1207 21:07:08.079308 27037 auxprop.cpp:131] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true 3: I1207 21:07:08.079324 27037 authenticator.cpp:318] Authentication success 3: I1207 21:07:08.079422 27038 authenticatee.cpp:299] Authentication success 3: I1207 21:07:08.079504 27039 master.cpp:8845] Successfully authenticated principal 'test-principal' at slave(995)@172.17.0.2:39944 3: I1207 21:07:08.079586 27038 authenticator.cpp:432] Authentication session cleanup for crammd5-authenticatee(1703)@172.17.0.2:39944 3: I1207 21:07:08.079776 27044 slave.cpp:1205] Successfully authenticated with master [email protected]:39944 3: I1207 21:07:08.080090 27044 slave.cpp:1748] Will retry registration in 6.46032ms if necessary 3: I1207 21:07:08.080401 27042 master.cpp:6082] Received register agent message from slave(995)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.080596 27042 master.cpp:3869] Authorizing agent with principal 'test-principal' 3: I1207 21:07:08.081382 27041 master.cpp:6158] Authorized registration of agent at slave(995)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.081524 27041 master.cpp:6251] Registering agent at slave(995)@172.17.0.2:39944 (e7d979baec22) with id 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 3: I1207 21:07:08.082214 27043 registrar.cpp:495] Applied 1 operations in 114874ns; attempting to update the registry 3: I1207 21:07:08.083012 27043 registrar.cpp:552] Successfully updated the registry in 0ns 3: I1207 21:07:08.083319 27048 master.cpp:6300] Admitted agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 at slave(995)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.084148 27048 master.cpp:6336] Registered agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 at slave(995)@172.17.0.2:39944 (e7d979baec22) with cpus:2; mem:1024; disk:367463; ports:[31000-32000] 3: I1207 21:07:08.084260 27034 slave.cpp:1251] Registered with master [email protected]:39944; given agent ID 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 3: I1207 21:07:08.084377 27040 task_status_update_manager.cpp:188] Resuming sending task status updates 3: I1207 21:07:08.084554 27032 hierarchical.cpp:577] Added agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 (e7d979baec22) with cpus:2; mem:1024; disk:367463; ports:[31000-32000] (allocated: {}) 3: I1207 21:07:08.084602 27034 slave.cpp:1271] Checkpointing SlaveInfo to '/tmp/ResourceProviderCapability_ReservationTest_ACLMultipleOperations_1_oRg3K1/meta/slaves/65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0/slave.info' 3: I1207 21:07:08.084893 27032 hierarchical.cpp:1527] Performed allocation for 1 agents in 149362ns 3: I1207 21:07:08.085057 27034 slave.cpp:1333] Forwarding total resources cpus:2; mem:1024; disk:367463; ports:[31000-32000] 3: I1207 21:07:08.085144 27034 slave.cpp:1350] Forwarding total oversubscribed resources {} 3: I1207 21:07:08.085780 27046 master.cpp:7217] Received update of agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 at slave(995)@172.17.0.2:39944 (e7d979baec22) with total resources cpus:2; mem:1024; disk:367463; ports:[31000-32000] 3: I1207 21:07:08.085855 27046 master.cpp:7230] Received update of agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 at slave(995)@172.17.0.2:39944 (e7d979baec22) with total oversubscribed resources {} 3: I1207 21:07:08.087121 27030 hierarchical.cpp:670] Agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 (e7d979baec22) updated with total resources cpus:2; mem:1024; disk:367463; ports:[31000-32000] 3: W1207 21:07:08.087685 18333 process.cpp:2756] Attempted to spawn already running process [email protected]:39944 3: I1207 21:07:08.089144 18333 sched.cpp:232] Version: 1.5.0 3: I1207 21:07:08.089845 27038 sched.cpp:336] New master detected at [email protected]:39944 3: I1207 21:07:08.089952 27038 sched.cpp:396] Authenticating with master [email protected]:39944 3: I1207 21:07:08.089968 27038 sched.cpp:403] Using default CRAM-MD5 authenticatee 3: I1207 21:07:08.090237 27044 authenticatee.cpp:121] Creating new client SASL connection 3: I1207 21:07:08.090529 27033 master.cpp:8815] Authenticating [email protected]:39944 3: I1207 21:07:08.090689 27041 authenticator.cpp:414] Starting authentication session for crammd5-authenticatee(1704)@172.17.0.2:39944 3: I1207 21:07:08.090996 27031 authenticator.cpp:98] Creating new server SASL connection 3: I1207 21:07:08.091398 27049 authenticatee.cpp:213] Received SASL authentication mechanisms: CRAM-MD5 3: I1207 21:07:08.091449 27049 authenticatee.cpp:239] Attempting to authenticate with mechanism 'CRAM-MD5' 3: I1207 21:07:08.091696 27029 authenticator.cpp:204] Received SASL authentication start 3: I1207 21:07:08.091784 27029 authenticator.cpp:326] Authentication requires more steps 3: I1207 21:07:08.091964 27036 authenticatee.cpp:259] Received SASL authentication step 3: I1207 21:07:08.092113 27043 authenticator.cpp:232] Received SASL authentication step 3: I1207 21:07:08.092146 27043 auxprop.cpp:109] Request to lookup properties for user: 'test-principal' realm: 'e7d979baec22' server FQDN: 'e7d979baec22' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 3: I1207 21:07:08.092159 27043 auxprop.cpp:181] Looking up auxiliary property '*userPassword' 3: I1207 21:07:08.092206 27043 auxprop.cpp:181] Looking up auxiliary property '*cmusaslsecretCRAM-MD5' 3: I1207 21:07:08.092229 27043 auxprop.cpp:109] Request to lookup properties for user: 'test-principal' realm: 'e7d979baec22' server FQDN: 'e7d979baec22' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 3: I1207 21:07:08.092242 27043 auxprop.cpp:131] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true 3: I1207 21:07:08.092250 27043 auxprop.cpp:131] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true 3: I1207 21:07:08.092265 27043 authenticator.cpp:318] Authentication success 3: I1207 21:07:08.092355 27047 authenticatee.cpp:299] Authentication success 3: I1207 21:07:08.092475 27048 master.cpp:8845] Successfully authenticated principal 'test-principal' at [email protected]:39944 3: I1207 21:07:08.092545 27040 authenticator.cpp:432] Authentication session cleanup for crammd5-authenticatee(1704)@172.17.0.2:39944 3: I1207 21:07:08.092702 27047 sched.cpp:502] Successfully authenticated with master [email protected]:39944 3: I1207 21:07:08.092725 27047 sched.cpp:824] Sending SUBSCRIBE call to [email protected]:39944 3: I1207 21:07:08.092875 27047 sched.cpp:857] Will retry registration in 1.572384182secs if necessary 3: I1207 21:07:08.093089 27030 master.cpp:2960] Received SUBSCRIBE call for framework 'default' at [email protected]:39944 3: I1207 21:07:08.093189 27030 master.cpp:2277] Authorizing framework principal 'test-principal' to receive offers for roles '{ role }' 3: I1207 21:07:08.094092 27028 master.cpp:3040] Subscribing framework default with checkpointing disabled and capabilities [ MULTI_ROLE, RESERVATION_REFINEMENT ] 3: I1207 21:07:08.094327 27028 master.cpp:9036] Adding framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 (default) at [email protected]:39944 with roles { } suppressed 3: I1207 21:07:08.094879 27045 sched.cpp:751] Framework registered with 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 3: I1207 21:07:08.094936 27045 sched.cpp:765] Scheduler::registered took 29184ns 3: I1207 21:07:08.095126 27051 hierarchical.cpp:297] Added framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 3: I1207 21:07:08.096552 27051 hierarchical.cpp:1527] Performed allocation for 1 agents in 1.269223ms 3: I1207 21:07:08.097059 27044 master.cpp:8645] Sending 1 offers to framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 (default) at [email protected]:39944 3: I1207 21:07:08.097607 27033 sched.cpp:921] Scheduler::resourceOffers took 97093ns 3: I1207 21:07:08.098181 27041 hierarchical.cpp:1527] Performed allocation for 1 agents in 168965ns 3: I1207 21:07:08.100180 27049 master.cpp:10565] Removing offer 65e75d3e-e63f-4935-9f71-a05ab9d9a755-O0 3: I1207 21:07:08.100342 27049 master.cpp:4276] Processing ACCEPT call for offers: [ 65e75d3e-e63f-4935-9f71-a05ab9d9a755-O0 ] on agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 at slave(995)@172.17.0.2:39944 (e7d979baec22) for framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 (default) at [email protected]:39944 3: I1207 21:07:08.100564 27049 master.cpp:3654] Authorizing principal 'test-principal' to reserve resources '[{"allocation_info":{"role":"role"},"name":"cpus","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":1.0},"type":"SCALAR"},{"allocation_info":{"role":"role"},"name":"mem","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":512.0},"type":"SCALAR"}]' 3: I1207 21:07:08.102665 27043 master.cpp:4609] Applying RESERVE operation for resources [{"allocation_info":{"role":"role"},"name":"cpus","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":1.0},"type":"SCALAR"},{"allocation_info":{"role":"role"},"name":"mem","reservations":[{"principal":"test-principal","role":"role","type":"DYNAMIC"}],"scalar":{"value":512.0},"type":"SCALAR"}] from framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 (default) at [email protected]:39944 to agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 at slave(995)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.103660 27043 master.cpp:10462] Sending offer operation '' (uuid: 5c37f5c7-a0e8-4ae2-9a3f-2d3243486db8) to agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 at slave(995)@172.17.0.2:39944 (e7d979baec22) 3: I1207 21:07:08.105119 27034 slave.cpp:3657] Updated checkpointed resources from {} to cpus(reservations: [(DYNAMIC,role,test-principal)]):1; mem(reservations: [(DYNAMIC,role,test-principal)]):512 3: I1207 21:07:08.105234 27034 slave.cpp:7241] Updating the state of offer operation '' (uuid: 5c37f5c7-a0e8-4ae2-9a3f-2d3243486db8) of framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 (latest state: OFFER_OPERATION_FINISHED, status update state: OFFER_OPERATION_FINISHED) 3: I1207 21:07:08.105499 27046 master.cpp:10249] Updating the state of offer operation '' (uuid: 5c37f5c7-a0e8-4ae2-9a3f-2d3243486db8) of framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 (latest state: OFFER_OPERATION_FINISHED, status update state: OFFER_OPERATION_FINISHED) 3: I1207 21:07:08.107062 27035 hierarchical.cpp:926] Updated allocation of framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 on agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 from cpus(allocated: role):2; mem(allocated: role):1024; disk(allocated: role):367463; ports(allocated: role):[31000-32000] to cpus(allocated: role):1; mem(allocated: role):512; disk(allocated: role):367463; ports(allocated: role):[31000-32000]; cpus(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):1; mem(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):512 3: I1207 21:07:08.108646 27035 hierarchical.cpp:1202] Recovered cpus(allocated: role):1; mem(allocated: role):512; disk(allocated: role):367463; ports(allocated: role):[31000-32000]; cpus(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):1; mem(allocated: role)(reservations: [(DYNAMIC,role,test-principal)]):512 (total: cpus:1; mem:512; disk:367463; ports:[31000-32000]; cpus(reservations: [(DYNAMIC,role,test-principal)]):1; mem(reservations: [(DYNAMIC,role,test-principal)]):512, allocated: {}) on agent 65e75d3e-e63f-4935-9f71-a05ab9d9a755-S0 from framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 3: I1207 21:07:08.110961 27040 hierarchical.cpp:1527] Performed allocation for 1 agents in 1.824298ms 3: I1207 21:07:08.111696 27047 master.cpp:8645] Sending 1 offers to framework 65e75d3e-e63f-4935-9f71-a05ab9d9a755-0000 (default) at [email protected]:39944 3: I1207 21:07:08.112202 27030 sched.cpp:921] Scheduler::resourceOffers took 92593ns 3: I1207 21:07:08.114657 27028 master.cpp:10565] Removing offer 65e75d3e-e63f-4935-9f71-a05ab9d9a755-O1 write /dev/stdout: resource temporarily unavailable + docker rmi mesos-1512676981-16407 Error response from daemon: conflict: unable to remove repository reference "mesos-1512676981-16407" (must force) - container e7d979baec22 is using its referenced image 7babe6eb3c6d Build step 'Execute shell' marked build as failure Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected] Not sending mail to unregistered user [email protected]
