Benno Evers created MESOS-9272:
----------------------------------

             Summary: SlaveTest.DefaultExecutorCommandInfo is flaky
                 Key: MESOS-9272
                 URL: https://issues.apache.org/jira/browse/MESOS-9272
             Project: Mesos
          Issue Type: Bug
            Reporter: Benno Evers


Observed in an internal CI run (4499):
{noformat}
../../src/tests/cluster.cpp:697
Value of: containers->empty()
  Actual: false
Expected: true
Failed to destroy containers: { 743f1b4c-8ce0-4fd4-b952-a7bbc9788775 }
{noformat}

Full log:
{noformat}
[ RUN      ] SlaveTest.DefaultExecutorCommandInfo
I0927 01:48:44.246218 11015 cluster.cpp:173] Creating default 'local' authorizer
I0927 01:48:44.247200 11037 master.cpp:413] Master 
56a99d2f-f8c8-4d21-a8f7-df452833cce0 (ip-172-16-10-254.ec2.internal) started on 
172.16.10.254:33398
I0927 01:48:44.247223 11037 master.cpp:416] 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/7SQ2cR/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" --memory_profiling="false" 
--min_allocatable_resources="cpus:0.01|mem:32" --port="5050" --quiet="false" 
--recovery_agent_removal_limit="100%" --registry="in_memory" 
--registry_fetch_timeout="1mins" --registry_gc_interval="15mins" 
--registry_max_agent_age="2weeks" --registry_max_agent_count="102400" 
--registry_store_timeout="100secs" --registry_strict="false" 
--require_agent_domain="false" --role_sorter="drf" --root_submissions="true" 
--version="false" --webui_dir="/usr/local/share/mesos/webui" 
--work_dir="/tmp/7SQ2cR/master" --zk_session_timeout="10secs"
I0927 01:48:44.247354 11037 master.cpp:465] Master only allowing authenticated 
frameworks to register
I0927 01:48:44.247364 11037 master.cpp:471] Master only allowing authenticated 
agents to register
I0927 01:48:44.247370 11037 master.cpp:477] Master only allowing authenticated 
HTTP frameworks to register
I0927 01:48:44.247375 11037 credentials.hpp:37] Loading credentials for 
authentication from '/tmp/7SQ2cR/credentials'
I0927 01:48:44.247453 11037 master.cpp:521] Using default 'crammd5' 
authenticator
I0927 01:48:44.247488 11037 http.cpp:1037] Creating default 'basic' HTTP 
authenticator for realm 'mesos-master-readonly'
I0927 01:48:44.247519 11037 http.cpp:1037] Creating default 'basic' HTTP 
authenticator for realm 'mesos-master-readwrite'
I0927 01:48:44.247541 11037 http.cpp:1037] Creating default 'basic' HTTP 
authenticator for realm 'mesos-master-scheduler'
I0927 01:48:44.247668 11037 master.cpp:602] Authorization enabled
I0927 01:48:44.247741 11036 hierarchical.cpp:182] Initialized hierarchical 
allocator process
I0927 01:48:44.247782 11036 whitelist_watcher.cpp:77] No whitelist given
I0927 01:48:44.248339 11036 master.cpp:2083] Elected as the leading master!
I0927 01:48:44.248358 11036 master.cpp:1638] Recovering from registrar
I0927 01:48:44.248430 11036 registrar.cpp:339] Recovering registrar
I0927 01:48:44.248623 11037 registrar.cpp:383] Successfully fetched the 
registry (0B) in 168960ns
I0927 01:48:44.248658 11037 registrar.cpp:487] Applied 1 operations in 6362ns; 
attempting to update the registry
I0927 01:48:44.248767 11037 registrar.cpp:544] Successfully updated the 
registry in 94208ns
I0927 01:48:44.248795 11037 registrar.cpp:416] Successfully recovered registrar
I0927 01:48:44.248880 11036 hierarchical.cpp:220] Skipping recovery of 
hierarchical allocator: nothing to recover
I0927 01:48:44.248901 11037 master.cpp:1752] Recovered 0 agents from the 
registry (176B); allowing 10mins for agents to reregister
W0927 01:48:44.250870 11015 process.cpp:2810] Attempted to spawn already 
running process files@172.16.10.254:33398
I0927 01:48:44.251050 11015 cluster.cpp:485] Creating default 'local' authorizer
I0927 01:48:44.251428 11035 slave.cpp:267] Mesos agent started on 
(662)@172.16.10.254:33398
I0927 01:48:44.251672 11015 scheduler.cpp:189] Version: 1.8.0
I0927 01:48:44.251443 11035 slave.cpp:268] Flags at startup: --acls="" 
--appc_simple_discovery_uri_prefix="http://"; 
--appc_store_dir="/tmp/SlaveTest_DefaultExecutorCommandInfo_DsiR0M/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/SlaveTest_DefaultExecutorCommandInfo_DsiR0M/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/SlaveTest_DefaultExecutorCommandInfo_DsiR0M/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/SlaveTest_DefaultExecutorCommandInfo_DsiR0M/fetch" 
--fetcher_cache_size="2GB" --fetcher_stall_timeout="1mins" --frameworks_home="" 
--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/SlaveTest_DefaultExecutorCommandInfo_DsiR0M/http_credentials"
 --http_heartbeat_interval="30secs" --initialize_driver_logging="true" 
--isolation="posix/cpu,posix/mem" 
--jwt_secret_key="/tmp/SlaveTest_DefaultExecutorCommandInfo_DsiR0M/jwt_secret_key"
 --launcher="linux" 
--launcher_dir="/home/centos/workspace/mesos/Mesos_CI-build/FLAG/SSL/label/mesos-ec2-centos-6/mesos/build/src"
 --logbufsecs="0" --logging_level="INFO" 
--max_completed_executors_per_framework="150" --memory_profiling="false" 
--network_cni_metrics="true" --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/SlaveTest_DefaultExecutorCommandInfo_DsiR0M" 
--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/SlaveTest_DefaultExecutorCommandInfo_lSQW6j" 
--zk_session_timeout="10secs"
I0927 01:48:44.252012 11035 credentials.hpp:86] Loading credential for 
authentication from 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_DsiR0M/credential'
I0927 01:48:44.252074 11035 slave.cpp:300] Agent using credential for: 
test-principal
I0927 01:48:44.252085 11035 credentials.hpp:37] Loading credentials for 
authentication from 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_DsiR0M/http_credentials'
I0927 01:48:44.252172 11035 http.cpp:1037] Creating default 'basic' HTTP 
authenticator for realm 'mesos-agent-executor'
I0927 01:48:44.252204 11035 http.cpp:1058] Creating default 'jwt' HTTP 
authenticator for realm 'mesos-agent-executor'
I0927 01:48:44.252240 11035 http.cpp:1037] Creating default 'basic' HTTP 
authenticator for realm 'mesos-agent-readonly'
I0927 01:48:44.252262 11035 http.cpp:1058] Creating default 'jwt' HTTP 
authenticator for realm 'mesos-agent-readonly'
I0927 01:48:44.252321 11035 http.cpp:1037] Creating default 'basic' HTTP 
authenticator for realm 'mesos-agent-readwrite'
I0927 01:48:44.252363 11035 http.cpp:1058] Creating default 'jwt' HTTP 
authenticator for realm 'mesos-agent-readwrite'
I0927 01:48:44.252454 11035 disk_profile_adaptor.cpp:80] Creating default disk 
profile adaptor module
I0927 01:48:44.252899 11036 scheduler.cpp:355] Using default 'basic' HTTP 
authenticatee
I0927 01:48:44.253064 11036 scheduler.cpp:538] New master detected at 
master@172.16.10.254:33398
I0927 01:48:44.253090 11036 scheduler.cpp:547] Waiting for 0ns before 
initiating a re-(connection) attempt with the master
I0927 01:48:44.253206 11035 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"}]
I0927 01:48:44.253258 11035 slave.cpp:623] Agent attributes: [  ]
I0927 01:48:44.253266 11035 slave.cpp:632] Agent hostname: 
ip-172-16-10-254.ec2.internal
I0927 01:48:44.253403 11039 task_status_update_manager.cpp:181] Pausing sending 
task status updates
I0927 01:48:44.253818 11036 scheduler.cpp:429] Connected with the master at 
http://172.16.10.254:33398/master/api/v1/scheduler
I0927 01:48:44.254000 11036 state.cpp:66] Recovering state from 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/meta'
I0927 01:48:44.256597 11042 scheduler.cpp:248] Sending SUBSCRIBE call to 
http://172.16.10.254:33398/master/api/v1/scheduler
I0927 01:48:44.260589 11035 slave.cpp:6909] Finished recovering checkpointed 
state from '/tmp/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/meta', beginning 
agent recovery
I0927 01:48:44.260627 11035 task_status_update_manager.cpp:207] Recovering task 
status update manager
I0927 01:48:44.261106 11035 process.cpp:3569] Handling HTTP event for process 
'master' with path: '/master/api/v1/scheduler'
I0927 01:48:44.261306 11039 composing.cpp:339] Finished recovering all 
containerizers
I0927 01:48:44.261348 11042 slave.cpp:7138] Recovering executors
I0927 01:48:44.261373 11042 slave.cpp:7291] Finished recovery
I0927 01:48:44.261636 11041 http.cpp:1177] HTTP POST for 
/master/api/v1/scheduler from 172.16.10.254:60490
I0927 01:48:44.261760 11042 slave.cpp:1254] New master detected at 
master@172.16.10.254:33398
I0927 01:48:44.261828 11039 task_status_update_manager.cpp:181] Pausing sending 
task status updates
I0927 01:48:44.261915 11041 master.cpp:2502] Received subscription request for 
HTTP framework 'default'
I0927 01:48:44.261919 11042 slave.cpp:1319] Detecting new master
I0927 01:48:44.262044 11041 master.cpp:2155] Authorizing framework principal 
'test-principal' to receive offers for roles '{ * }'
I0927 01:48:44.262322 11041 master.cpp:2637] Subscribing framework 'default' 
with checkpointing disabled and capabilities [ MULTI_ROLE, 
RESERVATION_REFINEMENT ]
I0927 01:48:44.262748 11041 master.cpp:9883] Adding framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default) with roles {  } suppressed
I0927 01:48:44.262882 11039 hierarchical.cpp:306] Added framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.262924 11039 hierarchical.cpp:1568] Performed allocation for 0 
agents in 7704ns
I0927 01:48:44.263430 11039 scheduler.cpp:845] Enqueuing event SUBSCRIBED 
received from http://172.16.10.254:33398/master/api/v1/scheduler
I0927 01:48:44.263602 11039 scheduler.cpp:845] Enqueuing event HEARTBEAT 
received from http://172.16.10.254:33398/master/api/v1/scheduler
I0927 01:48:44.267603 11038 slave.cpp:1346] Authenticating with master 
master@172.16.10.254:33398
I0927 01:48:44.267630 11038 slave.cpp:1355] Using default CRAM-MD5 authenticatee
I0927 01:48:44.267691 11038 authenticatee.cpp:121] Creating new client SASL 
connection
I0927 01:48:44.267751 11038 master.cpp:9653] Authenticating 
slave(662)@172.16.10.254:33398
I0927 01:48:44.267783 11039 authenticator.cpp:414] Starting authentication 
session for crammd5-authenticatee(1280)@172.16.10.254:33398
I0927 01:48:44.267833 11039 authenticator.cpp:98] Creating new server SASL 
connection
I0927 01:48:44.267885 11039 authenticatee.cpp:213] Received SASL authentication 
mechanisms: CRAM-MD5
I0927 01:48:44.267899 11039 authenticatee.cpp:239] Attempting to authenticate 
with mechanism 'CRAM-MD5'
I0927 01:48:44.267927 11039 authenticator.cpp:204] Received SASL authentication 
start
I0927 01:48:44.267964 11039 authenticator.cpp:326] Authentication requires more 
steps
I0927 01:48:44.267994 11039 authenticatee.cpp:259] Received SASL authentication 
step
I0927 01:48:44.268033 11039 authenticator.cpp:232] Received SASL authentication 
step
I0927 01:48:44.268046 11039 auxprop.cpp:109] Request to lookup properties for 
user: 'test-principal' realm: 'ip-172-16-10-254' server FQDN: 
'ip-172-16-10-254' SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
I0927 01:48:44.268055 11039 auxprop.cpp:181] Looking up auxiliary property 
'*userPassword'
I0927 01:48:44.268065 11039 auxprop.cpp:181] Looking up auxiliary property 
'*cmusaslsecretCRAM-MD5'
I0927 01:48:44.268075 11039 auxprop.cpp:109] Request to lookup properties for 
user: 'test-principal' realm: 'ip-172-16-10-254' server FQDN: 
'ip-172-16-10-254' SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
I0927 01:48:44.268082 11039 auxprop.cpp:131] Skipping auxiliary property 
'*userPassword' since SASL_AUXPROP_AUTHZID == true
I0927 01:48:44.268090 11039 auxprop.cpp:131] Skipping auxiliary property 
'*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
I0927 01:48:44.268101 11039 authenticator.cpp:318] Authentication success
I0927 01:48:44.268137 11039 authenticatee.cpp:299] Authentication success
I0927 01:48:44.268193 11039 slave.cpp:1446] Successfully authenticated with 
master master@172.16.10.254:33398
I0927 01:48:44.268223 11037 authenticator.cpp:432] Authentication session 
cleanup for crammd5-authenticatee(1280)@172.16.10.254:33398
I0927 01:48:44.268275 11039 slave.cpp:1877] Will retry registration in 
8.919207ms if necessary
I0927 01:48:44.268348 11038 master.cpp:6566] Queuing up registration request 
from slave(662)@172.16.10.254:33398 because authentication is still in progress
I0927 01:48:44.268379 11038 master.cpp:9685] Successfully authenticated 
principal 'test-principal' at slave(662)@172.16.10.254:33398
I0927 01:48:44.268402 11038 master.cpp:6605] Received register agent message 
from slave(662)@172.16.10.254:33398 (ip-172-16-10-254.ec2.internal)
I0927 01:48:44.268462 11038 master.cpp:3964] Authorizing agent providing 
resources 'cpus:2; mem:1024; disk:1024; ports:[31000-32000]' with principal 
'test-principal'
I0927 01:48:44.268607 11038 master.cpp:6672] Authorized registration of agent 
at slave(662)@172.16.10.254:33398 (ip-172-16-10-254.ec2.internal)
I0927 01:48:44.268638 11038 master.cpp:6787] Registering agent at 
slave(662)@172.16.10.254:33398 (ip-172-16-10-254.ec2.internal) with id 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0
I0927 01:48:44.268743 11038 registrar.cpp:487] Applied 1 operations in 34908ns; 
attempting to update the registry
I0927 01:48:44.268872 11037 registrar.cpp:544] Successfully updated the 
registry in 110080ns
I0927 01:48:44.268931 11039 master.cpp:6835] Admitted agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal)
I0927 01:48:44.269044 11039 master.cpp:6880] Registered agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal) with cpus:2; mem:1024; disk:1024; 
ports:[31000-32000]
I0927 01:48:44.269142 11039 hierarchical.cpp:605] Added agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 (ip-172-16-10-254.ec2.internal) with 
cpus:2; mem:1024; disk:1024; ports:[31000-32000] (allocated: {})
I0927 01:48:44.269294 11039 hierarchical.cpp:1568] Performed allocation for 1 
agents in 106242ns
I0927 01:48:44.269330 11039 slave.cpp:1479] Registered with master 
master@172.16.10.254:33398; given agent ID 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0
I0927 01:48:44.269520 11039 slave.cpp:1499] Checkpointing SlaveInfo to 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/meta/slaves/56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0/slave.info'
I0927 01:48:44.269824 11039 slave.cpp:1548] Forwarding agent update 
{"operations":{},"resource_version_uuid":{"value":"PA83dNONQJaqDfeYleHZYg=="},"slave_id":{"value":"56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0"},"update_oversubscribed_resources":false}
I0927 01:48:44.269837 11037 master.cpp:9468] Sending offers [ 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-O0 ] to framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default)
I0927 01:48:44.269887 11039 task_status_update_manager.cpp:188] Resuming 
sending task status updates
I0927 01:48:44.270006 11037 master.cpp:7939] Ignoring update on agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal) as it reports no changes
I0927 01:48:44.270368 11040 scheduler.cpp:845] Enqueuing event OFFERS received 
from http://172.16.10.254:33398/master/api/v1/scheduler
I0927 01:48:44.270866 11040 scheduler.cpp:248] Sending ACCEPT call to 
http://172.16.10.254:33398/master/api/v1/scheduler
I0927 01:48:44.271272 11035 process.cpp:3569] Handling HTTP event for process 
'master' with path: '/master/api/v1/scheduler'
I0927 01:48:44.271606 11037 http.cpp:1177] HTTP POST for 
/master/api/v1/scheduler from 172.16.10.254:60488
I0927 01:48:44.271756 11037 master.cpp:11462] Removing offer 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-O0
I0927 01:48:44.271862 11037 master.cpp:4467] Processing ACCEPT call for offers: 
[ 56a99d2f-f8c8-4d21-a8f7-df452833cce0-O0 ] on agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal) for framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default)
I0927 01:48:44.271901 11037 master.cpp:3541] Authorizing framework principal 
'test-principal' to launch task 4c457a37-5826-4cea-9b8a-63b1fae89c8b
I0927 01:48:44.272507 11042 master.cpp:12209] Adding task 
4c457a37-5826-4cea-9b8a-63b1fae89c8b with resources cpus(allocated: *):0.1; 
mem(allocated: *):32; disk(allocated: *):32 on agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal)
I0927 01:48:44.272590 11042 master.cpp:5663] Launching task group { 
4c457a37-5826-4cea-9b8a-63b1fae89c8b } of framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default) with resources 
cpus(allocated: *):0.1; mem(allocated: *):32; disk(allocated: *):32 on agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal) on  new executor
I0927 01:48:44.272745 11042 hierarchical.cpp:1240] Recovered cpus(allocated: 
*):1.8; mem(allocated: *):960; disk(allocated: *):960; ports(allocated: 
*):[31000-32000] (total: cpus:2; mem:1024; disk:1024; ports:[31000-32000], 
allocated: cpus(allocated: *):0.2; mem(allocated: *):64; disk(allocated: *):64) 
on agent 56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 from framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.272771 11037 slave.cpp:2014] Got assigned task group containing 
tasks [ 4c457a37-5826-4cea-9b8a-63b1fae89c8b ] for framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.272775 11042 hierarchical.cpp:1286] Framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 filtered agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 for 5secs
I0927 01:48:44.273275 11037 slave.cpp:2388] Authorizing task group containing 
tasks [ 4c457a37-5826-4cea-9b8a-63b1fae89c8b ] for framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.273309 11037 slave.cpp:8466] Authorizing framework principal 
'test-principal' to launch task 4c457a37-5826-4cea-9b8a-63b1fae89c8b
I0927 01:48:44.273910 11038 slave.cpp:2831] Launching task group containing 
tasks [ 4c457a37-5826-4cea-9b8a-63b1fae89c8b ] for framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.273965 11038 paths.cpp:752] Creating sandbox 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/slaves/56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0/frameworks/56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000/executors/default/runs/743f1b4c-8ce0-4fd4-b952-a7bbc9788775'
 for user 'root'
I0927 01:48:44.274397 11038 slave.cpp:8994] Launching executor 'default' of 
framework 56a99d2f-f8c8-4d21-a8f7-df452833cce0-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/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/slaves/56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0/frameworks/56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000/executors/default/runs/743f1b4c-8ce0-4fd4-b952-a7bbc9788775'
I0927 01:48:44.274672 11038 slave.cpp:3028] Queued task group containing tasks 
[ 4c457a37-5826-4cea-9b8a-63b1fae89c8b ] for executor 'default' of framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.274848 11038 slave.cpp:3509] Launching container 
743f1b4c-8ce0-4fd4-b952-a7bbc9788775 for executor 'default' of framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.275076 11042 slave.cpp:988] Successfully attached 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/slaves/56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0/frameworks/56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000/executors/default/runs/743f1b4c-8ce0-4fd4-b952-a7bbc9788775'
 to virtual path 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/slaves/56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0/frameworks/56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000/executors/default/runs/latest'
I0927 01:48:44.275131 11042 slave.cpp:988] Successfully attached 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/slaves/56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0/frameworks/56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000/executors/default/runs/743f1b4c-8ce0-4fd4-b952-a7bbc9788775'
 to virtual path 
'/frameworks/56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000/executors/default/runs/latest'
I0927 01:48:44.275147 11042 slave.cpp:988] Successfully attached 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/slaves/56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0/frameworks/56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000/executors/default/runs/743f1b4c-8ce0-4fd4-b952-a7bbc9788775'
 to virtual path 
'/tmp/SlaveTest_DefaultExecutorCommandInfo_lSQW6j/slaves/56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0/frameworks/56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000/executors/default/runs/743f1b4c-8ce0-4fd4-b952-a7bbc9788775'
I0927 01:48:44.275804 11042 master.cpp:1366] Framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default) disconnected
I0927 01:48:44.275820 11042 master.cpp:3230] Deactivating framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default)
I0927 01:48:44.275832 11042 master.cpp:3207] Disconnecting framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default)
I0927 01:48:44.275840 11042 master.cpp:1381] Giving framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default) 0ns to failover
I0927 01:48:44.275877 11042 hierarchical.cpp:420] Deactivated framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.275914 11042 master.cpp:9261] Framework failover timeout, 
removing framework 56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default)
I0927 01:48:44.275923 11042 master.cpp:10197] Removing framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (default)
I0927 01:48:44.275950 11042 master.cpp:10932] Updating the state of task 
4c457a37-5826-4cea-9b8a-63b1fae89c8b of framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 (latest state: TASK_KILLED, status 
update state: TASK_KILLED)
I0927 01:48:44.276005 11042 master.cpp:11030] Removing task 
4c457a37-5826-4cea-9b8a-63b1fae89c8b with resources cpus(allocated: *):0.1; 
mem(allocated: *):32; disk(allocated: *):32 of framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 on agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal)
I0927 01:48:44.276058 11042 master.cpp:11061] Removing executor 'default' 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"}]
 of framework 56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 on agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal)
I0927 01:48:44.276212 11042 slave.cpp:3896] Asked to shut down framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 by master@172.16.10.254:33398
I0927 01:48:44.276227 11042 slave.cpp:3921] Shutting down framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.276257 11042 slave.cpp:6640] Shutting down executor 'default' of 
framework 56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
W0927 01:48:44.276266 11042 slave.hpp:959] Unable to send event to executor 
'default' of framework 56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000: unknown 
connection type
I0927 01:48:44.276331 11035 hierarchical.cpp:1240] Recovered cpus(allocated: 
*):0.1; mem(allocated: *):32; disk(allocated: *):32 (total: cpus:2; mem:1024; 
disk:1024; ports:[31000-32000], allocated: cpus(allocated: *):0.1; 
mem(allocated: *):32; disk(allocated: *):32) on agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 from framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.276384 11035 hierarchical.cpp:1240] Recovered cpus(allocated: 
*):0.1; mem(allocated: *):32; disk(allocated: *):32 (total: cpus:2; mem:1024; 
disk:1024; ports:[31000-32000], allocated: {}) on agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 from framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.276435 11035 hierarchical.cpp:359] Removed framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000
I0927 01:48:44.281227 11036 slave.cpp:909] Agent terminating
I0927 01:48:44.281245 11036 slave.cpp:3896] Asked to shut down framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 by @0.0.0.0:0
W0927 01:48:44.281257 11036 slave.cpp:3917] Ignoring shutdown framework 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-0000 because it is terminating
I0927 01:48:44.281635 11036 master.cpp:1251] Agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal) disconnected
I0927 01:48:44.281652 11036 master.cpp:3267] Disconnecting agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal)
I0927 01:48:44.281666 11036 master.cpp:3286] Deactivating agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 at slave(662)@172.16.10.254:33398 
(ip-172-16-10-254.ec2.internal)
I0927 01:48:44.281707 11036 hierarchical.cpp:803] Agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0 deactivated
../../src/tests/cluster.cpp:697: Failure
Value of: containers->empty()
  Actual: false
Expected: true
Failed to destroy containers: { 743f1b4c-8ce0-4fd4-b952-a7bbc9788775 }
I0927 01:48:44.283464 11015 master.cpp:1093] Master terminating
I0927 01:48:44.283710 11040 hierarchical.cpp:645] Removed agent 
56a99d2f-f8c8-4d21-a8f7-df452833cce0-S0
[  FAILED  ] SlaveTest.DefaultExecutorCommandInfo (40 ms)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to