[ 
https://issues.apache.org/jira/browse/MESOS-9927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16958873#comment-16958873
 ] 

Andrei Sekretenko commented on MESOS-9927:
------------------------------------------

Observed again in internal CI:
{noformat}
[ RUN      ] ExecutorAuthorizationTest.FailedSubscribe
I1023 19:39:57.680723 27708 cluster.cpp:177] Creating default 'local' authorizer
I1023 19:39:57.682515 27709 master.cpp:440] Master 
9b7759ac-083a-4c55-9424-3e12f3771fed (ip-172-16-10-13.ec2.internal) started on 
172.16.10.13:48949
I1023 19:39:57.682536 27709 master.cpp:443] Flags at startup: --acls="" 
--agent_ping_timeout="15secs" --agent_reregister_timeout="10mins" 
--allocation_interval="1secs" --allocator="hierarchical" 
--authenticate_agents="true" --authenticate_frameworks="true" 
--authenticate_http_frameworks="true" --authenticate_http_readonly="true" 
--authenticate_http_readwrite="true" --authentication_v0_timeout="15secs" 
--authenticators="crammd5" --authorizers="local" 
--credentials="/tmp/kqeoJZ/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_operator_event_stream_subscribers="1000" 
--max_unreachable_tasks_per_framework="1000" --memory_profiling="false" 
--min_allocatable_resources="cpus:0.01|mem:32" --port="5050" 
--publish_per_framework_metrics="true" --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" --role_sorter="drf" --root_submissions="true" 
--version="false" --webui_dir="/usr/local/share/mesos/webui" 
--work_dir="/tmp/kqeoJZ/master" --zk_session_timeout="10secs"
I1023 19:39:57.682749 27709 master.cpp:492] Master only allowing authenticated 
frameworks to register
I1023 19:39:57.682838 27709 master.cpp:498] Master only allowing authenticated 
agents to register
I1023 19:39:57.682931 27709 master.cpp:504] Master only allowing authenticated 
HTTP frameworks to register
I1023 19:39:57.683030 27709 credentials.hpp:37] Loading credentials for 
authentication from '/tmp/kqeoJZ/credentials'
I1023 19:39:57.683301 27709 master.cpp:548] Using default 'crammd5' 
authenticator
I1023 19:39:57.683426 27709 http.cpp:975] Creating default 'basic' HTTP 
authenticator for realm 'mesos-master-readonly'
I1023 19:39:57.683589 27709 http.cpp:975] Creating default 'basic' HTTP 
authenticator for realm 'mesos-master-readwrite'
I1023 19:39:57.683797 27709 http.cpp:975] Creating default 'basic' HTTP 
authenticator for realm 'mesos-master-scheduler'
I1023 19:39:57.683928 27709 master.cpp:629] Authorization enabled
I1023 19:39:57.684166 27716 hierarchical.cpp:567] Initialized hierarchical 
allocator process
I1023 19:39:57.684310 27715 whitelist_watcher.cpp:77] No whitelist given
I1023 19:39:57.684937 27712 master.cpp:2169] Elected as the leading master!
I1023 19:39:57.684953 27712 master.cpp:1665] Recovering from registrar
I1023 19:39:57.684993 27712 registrar.cpp:339] Recovering registrar
I1023 19:39:57.685125 27712 registrar.cpp:383] Successfully fetched the 
registry (0B) in 120064ns
I1023 19:39:57.685156 27712 registrar.cpp:487] Applied 1 operations in 8034ns; 
attempting to update the registry
I1023 19:39:57.685353 27712 registrar.cpp:544] Successfully updated the 
registry in 180992ns
I1023 19:39:57.685382 27712 registrar.cpp:416] Successfully recovered registrar
I1023 19:39:57.685451 27712 master.cpp:1818] Recovered 0 agents from the 
registry (180B); allowing 10mins for agents to reregister
I1023 19:39:57.685493 27711 hierarchical.cpp:606] Skipping recovery of 
hierarchical allocator: nothing to recover
W1023 19:39:57.687832 27708 process.cpp:2877] Attempted to spawn already 
running process [email protected]:48949
I1023 19:39:57.688598 27713 slave.cpp:267] Mesos agent started on 
(556)@172.16.10.13:48949
I1023 19:39:57.688613 27713 slave.cpp:268] Flags at startup: 
--acls="permissive: true
" --appc_simple_discovery_uri_prefix="http://"; 
--appc_store_dir="/tmp/kqeoJZ/lOEhWB/store/appc" 
--authenticate_http_executors="true" --authenticate_http_readonly="true" 
--authenticate_http_readwrite="true" --authenticatee="crammd5" 
--authentication_backoff_factor="1secs" --authentication_timeout_max="1mins" 
--authentication_timeout_min="5secs" --authorizer="local" 
--cgroups_cpu_enable_pids_and_tids_count="false" 
--cgroups_destroy_timeout="1mins" --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/kqeoJZ/lOEhWB/credential" 
--default_role="*" --disallow_sharing_agent_ipc_namespace="false" 
--disallow_sharing_agent_pid_namespace="false" --disk_watch_interval="1mins" 
--docker="docker" --docker_ignore_runtime="false" --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/kqeoJZ/lOEhWB/store/docker" 
--docker_volume_checkpoint_dir="/var/run/mesos/isolators/docker/volume" 
--docker_volume_chown="false" --enforce_container_disk_quota="false" 
--executor_registration_timeout="1mins" 
--executor_reregistration_timeout="2secs" 
--executor_shutdown_grace_period="5secs" 
--fetcher_cache_dir="/tmp/kqeoJZ/lOEhWB/fetch" --fetcher_cache_size="2GB" 
--fetcher_stall_timeout="1mins" 
--frameworks_home="/tmp/kqeoJZ/lOEhWB/frameworks" --gc_delay="1weeks" 
--gc_disk_headroom="0.1" --gc_non_executor_container_sandboxes="false" 
--help="false" --hostname_lookup="true" --http_command_executor="false" 
--http_credentials="/tmp/kqeoJZ/lOEhWB/http_credentials" 
--http_heartbeat_interval="30secs" --initialize_driver_logging="true" 
--isolation="posix/cpu,posix/mem" 
--jwt_secret_key="/tmp/kqeoJZ/lOEhWB/jwt_secret_key" --launcher="linux" 
--launcher_dir="/home/ubuntu/workspace/mesos/Mesos_CI-build/FLAG/SSL/label/mesos-ec2-ubuntu-14.04/mesos/build/src"
 --logbufsecs="0" --logging_level="INFO" 
--max_completed_executors_per_framework="150" --memory_profiling="false" 
--network_cni_metrics="true" --network_cni_root_dir_persist="false" 
--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;gpus:0;mem:1024;disk:1024;ports:[31000-32000]" 
--revocable_cpu_low_priority="true" 
--runtime_dir="/tmp/ExecutorAuthorizationTest_FailedSubscribe_BemEcp" 
--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/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc" 
--zk_session_timeout="10secs"
I1023 19:39:57.688788 27713 credentials.hpp:86] Loading credential for 
authentication from '/tmp/kqeoJZ/lOEhWB/credential'
I1023 19:39:57.688828 27713 slave.cpp:300] Agent using credential for: 
test-principal
I1023 19:39:57.688835 27713 credentials.hpp:37] Loading credentials for 
authentication from '/tmp/kqeoJZ/lOEhWB/http_credentials'
I1023 19:39:57.688881 27713 http.cpp:975] Creating default 'basic' HTTP 
authenticator for realm 'mesos-agent-executor'
I1023 19:39:57.688910 27713 http.cpp:996] Creating default 'jwt' HTTP 
authenticator for realm 'mesos-agent-executor'
I1023 19:39:57.688956 27713 http.cpp:975] Creating default 'basic' HTTP 
authenticator for realm 'mesos-agent-readonly'
I1023 19:39:57.688975 27713 http.cpp:996] Creating default 'jwt' HTTP 
authenticator for realm 'mesos-agent-readonly'
I1023 19:39:57.689013 27713 http.cpp:975] Creating default 'basic' HTTP 
authenticator for realm 'mesos-agent-readwrite'
I1023 19:39:57.689031 27713 http.cpp:996] Creating default 'jwt' HTTP 
authenticator for realm 'mesos-agent-readwrite'
I1023 19:39:57.689111 27713 disk_profile_adaptor.cpp:78] Creating default disk 
profile adaptor module
I1023 19:39:57.689656 27713 slave.cpp:615] Agent resources: 
[{"name":"cpus","scalar":{"value":2.0},"type":"SCALAR"},{"name":"mem","scalar":{"value":1024.0},"type":"SCALAR"},{"name":"disk","scalar":{"value":1024.0},"type":"SCALAR"},{"name":"ports","ranges":{"range":[{"begin":31000,"end":32000}]},"type":"RANGES"}]
I1023 19:39:57.689714 27713 slave.cpp:623] Agent attributes: [  ]
I1023 19:39:57.689721 27713 slave.cpp:632] Agent hostname: 
ip-172-16-10-13.ec2.internal
I1023 19:39:57.689833 27711 task_status_update_manager.cpp:181] Pausing sending 
task status updates
I1023 19:39:57.689854 27711 status_update_manager_process.hpp:379] Pausing 
operation status update manager
I1023 19:39:57.690220 27714 state.cpp:67] Recovering state from 
'/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/meta'
I1023 19:39:57.690279 27714 slave.cpp:7492] Finished recovering checkpointed 
state from '/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/meta', 
beginning agent recovery
I1023 19:39:57.690335 27714 task_status_update_manager.cpp:207] Recovering task 
status update manager
I1023 19:39:57.690528 27708 scheduler.cpp:189] Version: 1.10.0
I1023 19:39:57.690559 27713 composing.cpp:339] Finished recovering all 
containerizers
I1023 19:39:57.690796 27712 slave.cpp:7974] Recovering executors
I1023 19:39:57.690827 27712 slave.cpp:8127] Finished recovery
I1023 19:39:57.691208 27709 task_status_update_manager.cpp:181] Pausing sending 
task status updates
I1023 19:39:57.691239 27714 slave.cpp:1351] New master detected at 
[email protected]:48949
I1023 19:39:57.691336 27710 status_update_manager_process.hpp:379] Pausing 
operation status update manager
I1023 19:39:57.691501 27714 slave.cpp:1416] Detecting new master
I1023 19:39:57.691781 27711 scheduler.cpp:342] Using default 'basic' HTTP 
authenticatee
I1023 19:39:57.691870 27711 scheduler.cpp:525] New master detected at 
[email protected]:48949
I1023 19:39:57.691882 27711 scheduler.cpp:534] Waiting for 0ns before 
initiating a re-(connection) attempt with the master
I1023 19:39:57.692335 27714 scheduler.cpp:416] Connected with the master at 
http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:39:57.692842 27711 scheduler.cpp:246] Adding authentication headers to 
SUBSCRIBE call to http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:39:57.692942 27714 scheduler.cpp:600] Sending SUBSCRIBE call to 
http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:39:57.693195 27713 process.cpp:3671] Handling HTTP event for process 
'master' with path: '/master/api/v1/scheduler'
I1023 19:39:57.693485 27714 http.cpp:1115] HTTP POST for 
/master/api/v1/scheduler from 172.16.10.13:52084
I1023 19:39:57.693548 27714 master.cpp:2669] Received subscription request for 
HTTP framework 'default'
I1023 19:39:57.693564 27714 master.cpp:2241] Authorizing framework principal 
'test-principal' to receive offers for roles '{ * }'
I1023 19:39:57.693701 27713 master.cpp:2741] Subscribing framework 'default' 
with checkpointing disabled and capabilities [ MULTI_ROLE, 
RESERVATION_REFINEMENT ]
I1023 19:39:57.693941 27713 master.cpp:10824] Adding framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default) with roles {  } suppressed
I1023 19:39:57.694489 27716 scheduler.cpp:847] Enqueuing event SUBSCRIBED 
received from http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:39:57.694692 27712 scheduler.cpp:847] Enqueuing event HEARTBEAT 
received from http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:39:57.694895 27713 hierarchical.cpp:700] Added framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:39:57.694941 27713 hierarchical.cpp:1843] Performed allocation for 0 
agents in 12682ns
I1023 19:39:57.695860 27712 slave.cpp:1443] Authenticating with master 
[email protected]:48949
I1023 19:39:57.695885 27712 slave.cpp:1452] Using default CRAM-MD5 authenticatee
I1023 19:39:57.695957 27712 authenticatee.cpp:121] Creating new client SASL 
connection
I1023 19:39:57.696346 27712 master.cpp:10594] Authenticating 
slave(556)@172.16.10.13:48949
I1023 19:39:57.696395 27711 authenticator.cpp:414] Starting authentication 
session for crammd5-authenticatee(1130)@172.16.10.13:48949
I1023 19:39:57.696455 27709 authenticator.cpp:98] Creating new server SASL 
connection
I1023 19:39:57.696820 27710 authenticatee.cpp:213] Received SASL authentication 
mechanisms: CRAM-MD5
I1023 19:39:57.696837 27710 authenticatee.cpp:239] Attempting to authenticate 
with mechanism 'CRAM-MD5'
I1023 19:39:57.696866 27710 authenticator.cpp:204] Received SASL authentication 
start
I1023 19:39:57.696892 27710 authenticator.cpp:326] Authentication requires more 
steps
I1023 19:39:57.696920 27710 authenticatee.cpp:259] Received SASL authentication 
step
I1023 19:39:57.696955 27710 authenticator.cpp:232] Received SASL authentication 
step
I1023 19:39:57.696967 27710 auxprop.cpp:109] Request to lookup properties for 
user: 'test-principal' realm: 'ip-172-16-10-13.ec2.internal' server FQDN: 
'ip-172-16-10-13.ec2.internal' SASL_AUXPROP_VERIFY_AGAINST_HASH: false 
SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
I1023 19:39:57.696972 27710 auxprop.cpp:181] Looking up auxiliary property 
'*userPassword'
I1023 19:39:57.696979 27710 auxprop.cpp:181] Looking up auxiliary property 
'*cmusaslsecretCRAM-MD5'
I1023 19:39:57.696985 27710 auxprop.cpp:109] Request to lookup properties for 
user: 'test-principal' realm: 'ip-172-16-10-13.ec2.internal' server FQDN: 
'ip-172-16-10-13.ec2.internal' SASL_AUXPROP_VERIFY_AGAINST_HASH: false 
SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
I1023 19:39:57.696988 27710 auxprop.cpp:131] Skipping auxiliary property 
'*userPassword' since SASL_AUXPROP_AUTHZID == true
I1023 19:39:57.696991 27710 auxprop.cpp:131] Skipping auxiliary property 
'*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
I1023 19:39:57.697000 27710 authenticator.cpp:318] Authentication success
I1023 19:39:57.697036 27713 authenticatee.cpp:299] Authentication success
I1023 19:39:57.697041 27710 master.cpp:10626] Successfully authenticated 
principal 'test-principal' at slave(556)@172.16.10.13:48949
I1023 19:39:57.697058 27710 authenticator.cpp:432] Authentication session 
cleanup for crammd5-authenticatee(1130)@172.16.10.13:48949
I1023 19:39:57.697099 27713 slave.cpp:1543] Successfully authenticated with 
master [email protected]:48949
I1023 19:39:57.697281 27713 slave.cpp:1993] Will retry registration in 
14.675313ms if necessary
I1023 19:39:57.697319 27711 master.cpp:7083] Received register agent message 
from slave(556)@172.16.10.13:48949 (ip-172-16-10-13.ec2.internal)
I1023 19:39:57.697377 27711 master.cpp:4189] Authorizing agent providing 
resources 'cpus:2; mem:1024; disk:1024; ports:[31000-32000]' with principal 
'test-principal'
I1023 19:39:57.697485 27712 master.cpp:7150] Authorized registration of agent 
at slave(556)@172.16.10.13:48949 (ip-172-16-10-13.ec2.internal)
I1023 19:39:57.697516 27712 master.cpp:7262] Registering agent at 
slave(556)@172.16.10.13:48949 (ip-172-16-10-13.ec2.internal) with id 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0
I1023 19:39:57.697746 27712 registrar.cpp:487] Applied 1 operations in 38906ns; 
attempting to update the registry
I1023 19:39:57.697873 27712 registrar.cpp:544] Successfully updated the 
registry in 110080ns
I1023 19:39:57.697923 27712 master.cpp:7310] Admitted agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal)
I1023 19:39:57.698033 27712 master.cpp:7355] Registered agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal) with cpus:2; mem:1024; disk:1024; 
ports:[31000-32000]
I1023 19:39:57.698118 27712 hierarchical.cpp:955] Added agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 (ip-172-16-10-13.ec2.internal) with 
cpus:2; mem:1024; disk:1024; ports:[31000-32000] (offered or allocated: {})
I1023 19:39:57.698248 27712 hierarchical.cpp:1843] Performed allocation for 1 
agents in 90428ns
I1023 19:39:57.698280 27712 slave.cpp:1576] Registered with master 
[email protected]:48949; given agent ID 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0
I1023 19:39:57.698424 27712 slave.cpp:1611] Checkpointing SlaveInfo to 
'/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/meta/slaves/9b7759ac-083a-4c55-9424-3e12f3771fed-S0/slave.info'
I1023 19:39:57.698693 27712 slave.cpp:1663] Forwarding agent update 
{"operations":{},"resource_providers":{},"resource_version_uuid":{"value":"KllZ/jpqQf2eZgXCKZ6zIQ=="},"slave_id":{"value":"9b7759ac-083a-4c55-9424-3e12f3771fed-S0"},"update_oversubscribed_resources":false}
I1023 19:39:57.698837 27712 master.cpp:10409] Sending offers [ 
9b7759ac-083a-4c55-9424-3e12f3771fed-O0 ] to framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default)
I1023 19:39:57.699025 27712 master.cpp:8474] Ignoring update on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal) as it reports no changes
I1023 19:39:57.699054 27712 task_status_update_manager.cpp:188] Resuming 
sending task status updates
I1023 19:39:57.699074 27712 status_update_manager_process.hpp:385] Resuming 
operation status update manager
I1023 19:39:57.699751 27714 scheduler.cpp:847] Enqueuing event OFFERS received 
from http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:39:57.700364 27711 scheduler.cpp:246] Adding authentication headers to 
ACCEPT call to http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:39:57.700477 27711 scheduler.cpp:600] Sending ACCEPT call to 
http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:39:57.700875 27716 process.cpp:3671] Handling HTTP event for process 
'master' with path: '/master/api/v1/scheduler'
I1023 19:39:57.701141 27710 http.cpp:1115] HTTP POST for 
/master/api/v1/scheduler from 172.16.10.13:52083
I1023 19:39:57.701336 27710 master.cpp:4719] Processing ACCEPT call for offers: 
[ 9b7759ac-083a-4c55-9424-3e12f3771fed-O0 ] on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal) for framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default)
I1023 19:39:57.701381 27710 master.cpp:3743] Authorizing framework principal 
'test-principal' to launch task 8399ca9c-a4a3-4487-b46c-439b4db653d8
I1023 19:39:57.701679 27715 master.cpp:12706] Removing offer 
9b7759ac-083a-4c55-9424-3e12f3771fed-O0
I1023 19:39:57.702071 27715 master.cpp:4261] Adding executor 'default' with 
resources cpus(allocated: *):0.1; mem(allocated: *):32; disk(allocated: *):32 
of framework 9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default) on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal)
I1023 19:39:57.702119 27715 master.cpp:4287] Adding task 
8399ca9c-a4a3-4487-b46c-439b4db653d8 with resources cpus(allocated: *):0.1; 
mem(allocated: *):32; disk(allocated: *):32 of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default) on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal)
I1023 19:39:57.702155 27715 master.cpp:5938] Launching task group { 
8399ca9c-a4a3-4487-b46c-439b4db653d8 } of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default) with resources 
cpus(allocated: *):0.1; mem(allocated: *):32; disk(allocated: *):32 on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal) on  new executor
I1023 19:39:57.702253 27715 hierarchical.cpp:1767] Allocation paused
I1023 19:39:57.702299 27715 hierarchical.cpp:1566] Recovered ports(allocated: 
*):[31000-32000]; cpus(allocated: *):1.8; mem(allocated: *):960; 
disk(allocated: *):960 (total: cpus:2; mem:1024; disk:1024; 
ports:[31000-32000], offered or allocated: disk(allocated: *):64; 
cpus(allocated: *):0.2; mem(allocated: *):64) on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 from framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:39:57.702352 27711 slave.cpp:2130] Got assigned task group containing 
tasks [ 8399ca9c-a4a3-4487-b46c-439b4db653d8 ] for framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:39:57.702383 27715 hierarchical.cpp:1615] Framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 filtered agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 for 5secs
I1023 19:39:57.702472 27715 hierarchical.cpp:1777] Allocation resumed
I1023 19:39:57.702983 27711 slave.cpp:2504] Authorizing task group containing 
tasks [ 8399ca9c-a4a3-4487-b46c-439b4db653d8 ] for framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:39:57.703012 27711 slave.cpp:9466] Authorizing framework principal 
'test-principal' to launch task 8399ca9c-a4a3-4487-b46c-439b4db653d8
I1023 19:39:57.703590 27711 slave.cpp:2977] Launching task group containing 
tasks [ 8399ca9c-a4a3-4487-b46c-439b4db653d8 ] for framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:39:57.703644 27711 paths.cpp:817] Creating sandbox 
'/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/slaves/9b7759ac-083a-4c55-9424-3e12f3771fed-S0/frameworks/9b7759ac-083a-4c55-9424-3e12f3771fed-0000/executors/default/runs/0d8dda7c-c49b-4698-8d40-0b035a06e91f'
 for user 'root'
I1023 19:39:57.704188 27711 slave.cpp:10004] Launching executor 'default' of 
framework 9b7759ac-083a-4c55-9424-3e12f3771fed-0000 with resources 
[{"allocation_info":{"role":"*"},"name":"cpus","scalar":{"value":0.1},"type":"SCALAR"},{"allocation_info":{"role":"*"},"name":"mem","scalar":{"value":32.0},"type":"SCALAR"},{"allocation_info":{"role":"*"},"name":"disk","scalar":{"value":32.0},"type":"SCALAR"}]
 in work directory 
'/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/slaves/9b7759ac-083a-4c55-9424-3e12f3771fed-S0/frameworks/9b7759ac-083a-4c55-9424-3e12f3771fed-0000/executors/default/runs/0d8dda7c-c49b-4698-8d40-0b035a06e91f'
I1023 19:39:57.704715 27711 slave.cpp:3209] Queued task group containing tasks 
[ 8399ca9c-a4a3-4487-b46c-439b4db653d8 ] for executor 'default' of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:39:57.705054 27711 slave.cpp:1084] Successfully attached 
'/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/slaves/9b7759ac-083a-4c55-9424-3e12f3771fed-S0/frameworks/9b7759ac-083a-4c55-9424-3e12f3771fed-0000/executors/default/runs/0d8dda7c-c49b-4698-8d40-0b035a06e91f'
 to virtual path 
'/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/slaves/9b7759ac-083a-4c55-9424-3e12f3771fed-S0/frameworks/9b7759ac-083a-4c55-9424-3e12f3771fed-0000/executors/default/runs/latest'
I1023 19:39:57.705080 27711 slave.cpp:1084] Successfully attached 
'/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/slaves/9b7759ac-083a-4c55-9424-3e12f3771fed-S0/frameworks/9b7759ac-083a-4c55-9424-3e12f3771fed-0000/executors/default/runs/0d8dda7c-c49b-4698-8d40-0b035a06e91f'
 to virtual path 
'/frameworks/9b7759ac-083a-4c55-9424-3e12f3771fed-0000/executors/default/runs/latest'
I1023 19:39:57.705091 27711 slave.cpp:1084] Successfully attached 
'/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/slaves/9b7759ac-083a-4c55-9424-3e12f3771fed-S0/frameworks/9b7759ac-083a-4c55-9424-3e12f3771fed-0000/executors/default/runs/0d8dda7c-c49b-4698-8d40-0b035a06e91f'
 to virtual path 
'/tmp/ExecutorAuthorizationTest_FailedSubscribe_Hkb1sc/slaves/9b7759ac-083a-4c55-9424-3e12f3771fed-S0/frameworks/9b7759ac-083a-4c55-9424-3e12f3771fed-0000/executors/default/runs/0d8dda7c-c49b-4698-8d40-0b035a06e91f'
I1023 19:39:57.705307 27711 slave.cpp:3657] Launching container 
0d8dda7c-c49b-4698-8d40-0b035a06e91f for executor 'default' of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:39:57.705667 27715 executor.cpp:206] Version: 1.10.0
W1023 19:39:57.705690 27715 process.cpp:2877] Attempted to spawn already 
running process [email protected]:48949
I1023 19:39:57.706632 27713 executor.cpp:432] Connected with the agent
I1023 19:39:57.707033 27713 executor.cpp:328] Sending SUBSCRIBE call to 
http://172.16.10.13:48949/slave(556)/api/v1/executor
I1023 19:39:57.707331 27714 process.cpp:3671] Handling HTTP event for process 
'slave(556)' with path: '/slave(556)/api/v1/executor'
I1023 19:39:57.707948 27716 http.cpp:1115] HTTP POST for 
/slave(556)/api/v1/executor from 172.16.10.13:52085
I1023 19:39:57.708395 27716 executor.cpp:745] Enqueuing locally injected event 
ERROR

GMOCK WARNING:
Uninteresting mock function call - returning directly.
    Function call: error(0x7f7a74077710, @0x7f7a6804f930 32-byte object <90-9F 
E9-9E 7A-7F 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 30-16 05-68 
7A-7F 00-00>)
NOTE: You can safely ignore the above warning unless this call should not 
happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't 
mean to enforce the call.  See 
https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#knowing-when-to-expect
 for details.
I1023 19:39:58.685386 27709 hierarchical.cpp:2651] Filtered offer with 
ports:[31000-32000]; cpus:1.8; mem:960; disk:960 on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 for role * of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:39:58.685446 27709 hierarchical.cpp:1843] Performed allocation for 1 
agents in 123497ns
I1023 19:39:59.685952 27712 hierarchical.cpp:2651] Filtered offer with 
ports:[31000-32000]; cpus:1.8; mem:960; disk:960 on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 for role * of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:39:59.686010 27712 hierarchical.cpp:1843] Performed allocation for 1 
agents in 120025ns
I1023 19:40:00.686305 27711 hierarchical.cpp:2651] Filtered offer with 
ports:[31000-32000]; cpus:1.8; mem:960; disk:960 on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 for role * of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:40:00.686367 27711 hierarchical.cpp:1843] Performed allocation for 1 
agents in 130029ns
I1023 19:40:01.687525 27716 hierarchical.cpp:2651] Filtered offer with 
ports:[31000-32000]; cpus:1.8; mem:960; disk:960 on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 for role * of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:40:01.687582 27716 hierarchical.cpp:1843] Performed allocation for 1 
agents in 131013ns
I1023 19:40:02.688197 27710 hierarchical.cpp:2651] Filtered offer with 
ports:[31000-32000]; cpus:1.8; mem:960; disk:960 on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 for role * of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:40:02.688256 27710 hierarchical.cpp:1843] Performed allocation for 1 
agents in 128374ns
I1023 19:40:03.689016 27713 hierarchical.cpp:1843] Performed allocation for 1 
agents in 143353ns
I1023 19:40:03.689144 27711 master.cpp:10409] Sending offers [ 
9b7759ac-083a-4c55-9424-3e12f3771fed-O1 ] to framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default)
I1023 19:40:03.689760 27712 scheduler.cpp:847] Enqueuing event OFFERS received 
from http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:40:04.690066 27716 hierarchical.cpp:1843] Performed allocation for 1 
agents in 30101ns
I1023 19:40:05.690554 27713 hierarchical.cpp:1843] Performed allocation for 1 
agents in 30735ns
I1023 19:40:06.691905 27709 hierarchical.cpp:1843] Performed allocation for 1 
agents in 29632ns
I1023 19:40:07.693148 27715 hierarchical.cpp:1843] Performed allocation for 1 
agents in 29386ns
I1023 19:40:08.694437 27712 hierarchical.cpp:1843] Performed allocation for 1 
agents in 29329ns
I1023 19:40:09.694876 27710 hierarchical.cpp:1843] Performed allocation for 1 
agents in 35128ns
I1023 19:40:10.696260 27712 hierarchical.cpp:1843] Performed allocation for 1 
agents in 35461ns
I1023 19:40:11.698019 27714 hierarchical.cpp:1843] Performed allocation for 1 
agents in 43707ns
I1023 19:40:12.695274 27716 scheduler.cpp:847] Enqueuing event HEARTBEAT 
received from http://172.16.10.13:48949/master/api/v1/scheduler
I1023 19:40:12.699297 27716 hierarchical.cpp:1843] Performed allocation for 1 
agents in 33746ns
../../src/tests/slave_authorization_tests.cpp:922: Failure
Failed to wait 15secs for error
I1023 19:40:12.713846 27708 slave.cpp:924] Agent terminating
I1023 19:40:12.713878 27708 slave.cpp:4062] Asked to shut down framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 by @0.0.0.0:0
I1023 19:40:12.713892 27708 slave.cpp:4087] Shutting down framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:40:12.713904 27708 slave.cpp:7223] Shutting down executor 'default' of 
framework 9b7759ac-083a-4c55-9424-3e12f3771fed-0000
W1023 19:40:12.713913 27708 slave.hpp:1007] Unable to send event to executor 
'default' of framework 9b7759ac-083a-4c55-9424-3e12f3771fed-0000: unknown 
connection type
I1023 19:40:12.714428 27715 master.cpp:1296] Agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal) disconnected
I1023 19:40:12.714452 27715 master.cpp:3391] Disconnecting agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal)
I1023 19:40:12.714465 27715 master.cpp:3410] Deactivating agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal)
I1023 19:40:12.714733 27715 master.cpp:12706] Removing offer 
9b7759ac-083a-4c55-9424-3e12f3771fed-O1
I1023 19:40:12.714771 27715 master.cpp:1320] Removing framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default) from disconnected agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal) because the framework is not checkpointing
I1023 19:40:12.714907 27715 master.cpp:11410] Removing framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default) from agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal)
I1023 19:40:12.715057 27715 master.cpp:12023] Updating the state of task 
8399ca9c-a4a3-4487-b46c-439b4db653d8 of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (latest state: TASK_LOST, status 
update state: TASK_LOST)
I1023 19:40:12.715250 27715 master.cpp:12123] Removing task 
8399ca9c-a4a3-4487-b46c-439b4db653d8 with resources cpus(allocated: *):0.1; 
mem(allocated: *):32; disk(allocated: *):32 of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal)
I1023 19:40:12.715433 27715 master.cpp:9008] Sending status update TASK_LOST 
for task 8399ca9c-a4a3-4487-b46c-439b4db653d8 of framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 'Agent ip-172-16-10-13.ec2.internal 
disconnected'
I1023 19:40:12.715620 27715 master.cpp:12163] Removing executor 'default' with 
resources cpus(allocated: *):0.1; mem(allocated: *):32; disk(allocated: *):32 
of framework 9b7759ac-083a-4c55-9424-3e12f3771fed-0000 on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 at slave(556)@172.16.10.13:48949 
(ip-172-16-10-13.ec2.internal)
I1023 19:40:12.715808 27714 hierarchical.cpp:1146] Agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 deactivated
I1023 19:40:12.715924 27714 hierarchical.cpp:1566] Recovered ports(allocated: 
*):[31000-32000]; cpus(allocated: *):1.8; mem(allocated: *):960; 
disk(allocated: *):960 (total: cpus:2; mem:1024; disk:1024; 
ports:[31000-32000], offered or allocated: disk(allocated: *):64; 
cpus(allocated: *):0.2; mem(allocated: *):64) on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 from framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:40:12.716207 27714 hierarchical.cpp:1566] Recovered cpus(allocated: 
*):0.1; mem(allocated: *):32; disk(allocated: *):32 (total: cpus:2; mem:1024; 
disk:1024; ports:[31000-32000], offered or allocated: disk(allocated: *):32; 
cpus(allocated: *):0.1; mem(allocated: *):32) on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 from framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:40:12.716400 27714 hierarchical.cpp:1566] Recovered cpus(allocated: 
*):0.1; mem(allocated: *):32; disk(allocated: *):32 (total: cpus:2; mem:1024; 
disk:1024; ports:[31000-32000], offered or allocated: {}) on agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0 from framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:40:12.716682 27714 poll_socket.cpp:214] Socket error while sending: 
Broken pipe
W1023 19:40:12.716720 27714 process.cpp:1837] Failed to send on socket 30 to 
peer 'unknown': Broken pipe
I1023 19:40:12.717139 27715 master.cpp:1411] Framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default) disconnected
I1023 19:40:12.717159 27715 master.cpp:3356] Deactivating framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default)
I1023 19:40:12.717171 27715 master.cpp:3333] Disconnecting framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default)
I1023 19:40:12.717180 27715 master.cpp:1426] Giving framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default) 0ns to failover
I1023 19:40:12.717507 27715 hierarchical.cpp:813] Deactivated framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:40:12.721876 27710 master.cpp:10195] Framework failover timeout, 
removing framework 9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default)
I1023 19:40:12.722215 27710 master.cpp:11197] Removing framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000 (default)
I1023 19:40:12.722589 27710 hierarchical.cpp:1767] Allocation paused
I1023 19:40:12.722961 27710 hierarchical.cpp:757] Removed framework 
9b7759ac-083a-4c55-9424-3e12f3771fed-0000
I1023 19:40:12.723299 27710 hierarchical.cpp:1777] Allocation resumed
../../src/tests/slave_authorization_tests.cpp:919: Failure
Actual function call count doesn't match EXPECT_CALL(*executor, error(_, _))...
         Expected: to be called once
           Actual: never called - unsatisfied and active
I1023 19:40:12.725045 27708 master.cpp:1137] Master terminating
I1023 19:40:12.725347 27714 hierarchical.cpp:1122] Removed all filters for 
agent 9b7759ac-083a-4c55-9424-3e12f3771fed-S0
I1023 19:40:12.727027 27714 hierarchical.cpp:998] Removed agent 
9b7759ac-083a-4c55-9424-3e12f3771fed-S0
[  FAILED  ] ExecutorAuthorizationTest.FailedSubscribe (15047 ms)
{noformat}

> ExecutorAuthorizationTest.FailedSubscribe is flaky
> --------------------------------------------------
>
>                 Key: MESOS-9927
>                 URL: https://issues.apache.org/jira/browse/MESOS-9927
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Andrei Sekretenko
>            Priority: Major
>              Labels: containerization, flaky
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to