mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Mahler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-4409) MasterTest.MaxCompletedFrameworksFlag is flaky
Date Sun, 17 Jan 2016 00:49:39 GMT

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

Benjamin Mahler commented on MESOS-4409:
----------------------------------------

[~klueska] and I looked into this yesterday. In the failing case, we see that SchedulerProcess::stop was never invoked, after digging into this, it turns out that in the following sequence

{code}
  schedDriver->stop();
  schedDriver->join();
  delete schedDriver;
{code}

the dispatch to {{SchedulerProcess::stop}} may be dropped. It turns out that {{join()}} does not ensure that the process is terminated in all cases: it immediately returns when in {{DRIVER_STOPPED}}, even though the process may not have terminated yet. The destructor will then terminate the scheduler process (with inject=true by default); the termination event can jump in front of the enqueued dispatch event for {{SchedulerProcess::stop}} if it still remains unprocessed. We'll look into adjusting {{join()}} to always ensure that the process is terminated before returning.

> MasterTest.MaxCompletedFrameworksFlag is flaky
> ----------------------------------------------
>
>                 Key: MESOS-4409
>                 URL: https://issues.apache.org/jira/browse/MESOS-4409
>             Project: Mesos
>          Issue Type: Bug
>          Components: master, tests
>    Affects Versions: 0.26.0
>         Environment: On Jenkins CI: gcc,--verbose,ubuntu:14.04,docker
>            Reporter: Greg Mann
>            Assignee: Kevin Klues
>              Labels: flaky-test, mesosphere, tests
>
> Saw this failure on Jenkins CI:
> {noformat: title=Failed Run}
> [ RUN      ] MasterTest.MaxCompletedFrameworksFlag
> I0115 21:24:50.344116 31507 leveldb.cpp:174] Opened db in 2.062201ms
> I0115 21:24:50.344874 31507 leveldb.cpp:181] Compacted db in 716863ns
> I0115 21:24:50.344923 31507 leveldb.cpp:196] Created db iterator in 19087ns
> I0115 21:24:50.344949 31507 leveldb.cpp:202] Seeked to beginning of db in 1897ns
> I0115 21:24:50.344965 31507 leveldb.cpp:271] Iterated through 0 keys in the db in 298ns
> I0115 21:24:50.345012 31507 replica.cpp:779] Replica recovered with log positions 0 -> 0 with 1 holes and 0 unlearned
> I0115 21:24:50.345432 31536 recover.cpp:447] Starting replica recovery
> I0115 21:24:50.345657 31536 recover.cpp:473] Replica is in EMPTY status
> I0115 21:24:50.346535 31539 replica.cpp:673] Replica in EMPTY status received a broadcasted recover request from (6089)@172.17.0.4:52665
> I0115 21:24:50.347028 31540 recover.cpp:193] Received a recover response from a replica in EMPTY status
> I0115 21:24:50.347554 31526 recover.cpp:564] Updating replica status to STARTING
> I0115 21:24:50.348175 31540 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 433937ns
> I0115 21:24:50.348215 31526 master.cpp:374] Master bf6ba047-245f-4e65-986c-1880cef81248 (4e6fbf10d387) started on 172.17.0.4:52665
> I0115 21:24:50.349417 31540 replica.cpp:320] Persisted replica status to STARTING
> I0115 21:24:50.349630 31536 recover.cpp:473] Replica is in STARTING status
> I0115 21:24:50.349421 31526 master.cpp:376] Flags at startup: --acls="" --allocation_interval="1secs" --allocator="HierarchicalDRF" --authenticate="true" --authenticate_http="true" --authenticate_slaves="true" --authenticators="crammd5" --authorizers="local" --credentials="/tmp/2wURTY/credentials" --framework_sorter="drf" --help="false" --hostname_lookup="true" --http_authenticators="basic" --initialize_driver_logging="true" --log_auto_initialize="true" --logbufsecs="0" --logging_level="INFO" --max_completed_frameworks="0" --max_completed_tasks_per_framework="1000" --max_slave_ping_timeouts="5" --quiet="false" --recovery_slave_removal_limit="100%" --registry="replicated_log" --registry_fetch_timeout="1mins" --registry_store_timeout="25secs" --registry_strict="true" --root_submissions="true" --slave_ping_timeout="15secs" --slave_reregister_timeout="10mins" --user_sorter="drf" --version="false" --webui_dir="/mesos/mesos-0.27.0/_inst/share/mesos/webui" --work_dir="/tmp/2wURTY/master" --zk_session_timeout="10secs"
> I0115 21:24:50.349720 31526 master.cpp:421] Master only allowing authenticated frameworks to register
> I0115 21:24:50.349737 31526 master.cpp:426] Master only allowing authenticated slaves to register
> I0115 21:24:50.349750 31526 credentials.hpp:35] Loading credentials for authentication from '/tmp/2wURTY/credentials'
> I0115 21:24:50.350005 31526 master.cpp:466] Using default 'crammd5' authenticator
> I0115 21:24:50.350132 31526 master.cpp:535] Using default 'basic' HTTP authenticator
> I0115 21:24:50.350256 31526 master.cpp:569] Authorization enabled
> I0115 21:24:50.350546 31529 hierarchical.cpp:147] Initialized hierarchical allocator process
> I0115 21:24:50.350626 31536 whitelist_watcher.cpp:77] No whitelist given
> I0115 21:24:50.350559 31538 replica.cpp:673] Replica in STARTING status received a broadcasted recover request from (6090)@172.17.0.4:52665
> I0115 21:24:50.351049 31534 recover.cpp:193] Received a recover response from a replica in STARTING status
> I0115 21:24:50.351704 31537 recover.cpp:564] Updating replica status to VOTING
> I0115 21:24:50.352221 31532 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 322228ns
> I0115 21:24:50.352246 31532 replica.cpp:320] Persisted replica status to VOTING
> I0115 21:24:50.352371 31541 recover.cpp:578] Successfully joined the Paxos group
> I0115 21:24:50.352620 31541 recover.cpp:462] Recover process terminated
> I0115 21:24:50.353121 31528 master.cpp:1710] The newly elected leader is master@172.17.0.4:52665 with id bf6ba047-245f-4e65-986c-1880cef81248
> I0115 21:24:50.353152 31528 master.cpp:1723] Elected as the leading master!
> I0115 21:24:50.353173 31528 master.cpp:1468] Recovering from registrar
> I0115 21:24:50.353307 31527 registrar.cpp:307] Recovering registrar
> I0115 21:24:50.354140 31532 log.cpp:659] Attempting to start the writer
> I0115 21:24:50.355285 31533 replica.cpp:493] Replica received implicit promise request from (6092)@172.17.0.4:52665 with proposal 1
> I0115 21:24:50.355602 31533 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 287571ns
> I0115 21:24:50.355624 31533 replica.cpp:342] Persisted promised to 1
> I0115 21:24:50.356180 31529 coordinator.cpp:238] Coordinator attempting to fill missing positions
> I0115 21:24:50.357229 31534 replica.cpp:388] Replica received explicit promise request from (6093)@172.17.0.4:52665 for position 0 with proposal 2
> I0115 21:24:50.357585 31534 leveldb.cpp:341] Persisting action (8 bytes) to leveldb took 315117ns
> I0115 21:24:50.357609 31534 replica.cpp:712] Persisted action at 0
> I0115 21:24:50.358548 31539 replica.cpp:537] Replica received write request for position 0 from (6094)@172.17.0.4:52665
> I0115 21:24:50.358669 31539 leveldb.cpp:436] Reading position from leveldb took 27690ns
> I0115 21:24:50.359011 31539 leveldb.cpp:341] Persisting action (14 bytes) to leveldb took 284908ns
> I0115 21:24:50.359035 31539 replica.cpp:712] Persisted action at 0
> I0115 21:24:50.359598 31528 replica.cpp:691] Replica received learned notice for position 0 from @0.0.0.0:0
> I0115 21:24:50.360041 31528 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 280673ns
> I0115 21:24:50.360077 31528 replica.cpp:712] Persisted action at 0
> I0115 21:24:50.360105 31528 replica.cpp:697] Replica learned NOP action at position 0
> I0115 21:24:50.360677 31530 log.cpp:675] Writer started with ending position 0
> I0115 21:24:50.361670 31538 leveldb.cpp:436] Reading position from leveldb took 22320ns
> I0115 21:24:50.362578 31538 registrar.cpp:340] Successfully fetched the registry (0B) in 9.231104ms
> I0115 21:24:50.362691 31538 registrar.cpp:439] Applied 1 operations in 33642ns; attempting to update the 'registry'
> I0115 21:24:50.363369 31534 log.cpp:683] Attempting to append 170 bytes to the log
> I0115 21:24:50.363525 31539 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 1
> I0115 21:24:50.364259 31539 replica.cpp:537] Replica received write request for position 1 from (6095)@172.17.0.4:52665
> I0115 21:24:50.364629 31539 leveldb.cpp:341] Persisting action (189 bytes) to leveldb took 338021ns
> I0115 21:24:50.364653 31539 replica.cpp:712] Persisted action at 1
> I0115 21:24:50.365277 31537 replica.cpp:691] Replica received learned notice for position 1 from @0.0.0.0:0
> I0115 21:24:50.365600 31537 leveldb.cpp:341] Persisting action (191 bytes) to leveldb took 292631ns
> I0115 21:24:50.365627 31537 replica.cpp:712] Persisted action at 1
> I0115 21:24:50.365650 31537 replica.cpp:697] Replica learned APPEND action at position 1
> I0115 21:24:50.366526 31529 registrar.cpp:484] Successfully updated the 'registry' in 3.780864ms
> I0115 21:24:50.366664 31529 registrar.cpp:370] Successfully recovered registrar
> I0115 21:24:50.366803 31533 log.cpp:702] Attempting to truncate the log to 1
> I0115 21:24:50.367010 31534 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 2
> I0115 21:24:50.367450 31530 hierarchical.cpp:165] Skipping recovery of hierarchical allocator: nothing to recover
> I0115 21:24:50.367632 31539 master.cpp:1520] Recovered 0 slaves from the Registry (131B) ; allowing 10mins for slaves to re-register
> I0115 21:24:50.367905 31527 replica.cpp:537] Replica received write request for position 2 from (6096)@172.17.0.4:52665
> I0115 21:24:50.368221 31527 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 277782ns
> I0115 21:24:50.368242 31527 replica.cpp:712] Persisted action at 2
> I0115 21:24:50.368863 31527 replica.cpp:691] Replica received learned notice for position 2 from @0.0.0.0:0
> I0115 21:24:50.369180 31527 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 286751ns
> I0115 21:24:50.369227 31527 leveldb.cpp:399] Deleting ~1 keys from leveldb took 23761ns
> I0115 21:24:50.369251 31527 replica.cpp:712] Persisted action at 2
> I0115 21:24:50.369268 31527 replica.cpp:697] Replica learned TRUNCATE action at position 2
> I0115 21:24:50.380362 31507 containerizer.cpp:140] Using isolation: posix/cpu,posix/mem,filesystem/posix
> W0115 21:24:50.380955 31507 backend.cpp:48] Failed to create 'bind' backend: BindBackend requires root privileges
> I0115 21:24:50.383384 31540 slave.cpp:191] Slave started on 179)@172.17.0.4:52665
> I0115 21:24:50.383417 31540 slave.cpp:192] Flags at startup: --appc_store_dir="/tmp/mesos/store/appc" --authenticatee="crammd5" --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/MasterTest_MaxCompletedFrameworksFlag_LW3xM9/credential" --default_role="*" --disk_watch_interval="1mins" --docker="docker" --docker_auth_server="https://auth.docker.io" --docker_kill_orphans="true" --docker_puller_timeout="60" --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/mesos/store/docker" --enforce_container_disk_quota="false" --executor_registration_timeout="1mins" --executor_shutdown_grace_period="5secs" --fetcher_cache_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_LW3xM9/fetch" --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" --gc_disk_headroom="0.1" --hadoop_home="" --help="false" --hostname_lookup="true" --image_provisioner_backend="copy" --initialize_driver_logging="true" --isolation="posix/cpu,posix/mem" --launcher_dir="/mesos/mesos-0.27.0/_build/src" --logbufsecs="0" --logging_level="INFO" --oversubscribed_resources_interval="15secs" --perf_duration="10secs" --perf_interval="1mins" --qos_correction_interval_min="0ns" --quiet="false" --recover="reconnect" --recovery_timeout="15mins" --registration_backoff_factor="10ms" --resources="cpus:2;mem:1024;disk:1024;ports:[31000-32000]" --revocable_cpu_low_priority="true" --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --switch_user="true" --systemd_runtime_directory="/run/systemd/system" --version="false" --work_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_LW3xM9"
> I0115 21:24:50.383783 31540 credentials.hpp:83] Loading credential for authentication from '/tmp/MasterTest_MaxCompletedFrameworksFlag_LW3xM9/credential'
> I0115 21:24:50.383944 31540 slave.cpp:322] Slave using credential for: test-principal
> I0115 21:24:50.384098 31540 resources.cpp:482] Parsing resources as JSON failed: cpus:2;mem:1024;disk:1024;ports:[31000-32000]
> Trying semicolon-delimited string format instead
> I0115 21:24:50.384475 31540 slave.cpp:392] Slave resources: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 21:24:50.384555 31540 slave.cpp:400] Slave attributes: [  ]
> I0115 21:24:50.384567 31540 slave.cpp:405] Slave hostname: 4e6fbf10d387
> I0115 21:24:50.385574 31536 state.cpp:58] Recovering state from '/tmp/MasterTest_MaxCompletedFrameworksFlag_LW3xM9/meta'
> I0115 21:24:50.385599 31507 sched.cpp:164] Version: 0.27.0
> I0115 21:24:50.386801 31536 status_update_manager.cpp:200] Recovering status update manager
> I0115 21:24:50.387008 31529 sched.cpp:268] New master detected at master@172.17.0.4:52665
> I0115 21:24:50.387040 31536 containerizer.cpp:386] Recovering containerizer
> I0115 21:24:50.387125 31529 sched.cpp:324] Authenticating with master master@172.17.0.4:52665
> I0115 21:24:50.387145 31529 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 21:24:50.387645 31539 authenticatee.cpp:121] Creating new client SASL connection
> I0115 21:24:50.387882 31536 master.cpp:5521] Authenticating scheduler-769559c2-2720-4b69-b5d7-bd9b8cbfe724@172.17.0.4:52665
> I0115 21:24:50.387997 31541 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(418)@172.17.0.4:52665
> I0115 21:24:50.388212 31533 authenticator.cpp:98] Creating new server SASL connection
> I0115 21:24:50.388444 31534 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 21:24:50.388481 31534 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 21:24:50.388574 31534 authenticator.cpp:203] Received SASL authentication start
> I0115 21:24:50.388635 31534 authenticator.cpp:325] Authentication requires more steps
> I0115 21:24:50.388684 31531 provisioner.cpp:245] Provisioner recovery complete
> I0115 21:24:50.388734 31534 authenticatee.cpp:258] Received SASL authentication step
> I0115 21:24:50.389030 31533 slave.cpp:4424] Finished recovery
> I0115 21:24:50.389489 31532 authenticator.cpp:231] Received SASL authentication step
> I0115 21:24:50.389499 31533 slave.cpp:4596] Querying resource estimator for oversubscribable resources
> I0115 21:24:50.389519 31532 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 21:24:50.389529 31532 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 21:24:50.389565 31532 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 21:24:50.389585 31532 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 21:24:50.389592 31532 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.389597 31532 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.389611 31532 authenticator.cpp:317] Authentication success
> I0115 21:24:50.389681 31537 authenticatee.cpp:298] Authentication success
> I0115 21:24:50.389813 31540 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-769559c2-2720-4b69-b5d7-bd9b8cbfe724@172.17.0.4:52665
> I0115 21:24:50.389847 31526 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(418)@172.17.0.4:52665
> I0115 21:24:50.390035 31539 sched.cpp:413] Successfully authenticated with master master@172.17.0.4:52665
> I0115 21:24:50.390059 31539 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.4:52665
> I0115 21:24:50.390141 31539 sched.cpp:755] Will retry registration in 1.88913061secs if necessary
> I0115 21:24:50.390153 31533 slave.cpp:724] New master detected at master@172.17.0.4:52665
> I0115 21:24:50.390224 31537 status_update_manager.cpp:174] Pausing sending status updates
> I0115 21:24:50.390254 31532 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-769559c2-2720-4b69-b5d7-bd9b8cbfe724@172.17.0.4:52665
> I0115 21:24:50.390305 31533 slave.cpp:787] Authenticating with master master@172.17.0.4:52665
> I0115 21:24:50.390341 31532 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 21:24:50.390480 31533 slave.cpp:792] Using default CRAM-MD5 authenticatee
> I0115 21:24:50.391505 31533 slave.cpp:760] Detecting new master
> I0115 21:24:50.391538 31541 authenticatee.cpp:121] Creating new client SASL connection
> I0115 21:24:50.391604 31539 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 21:24:50.391634 31533 slave.cpp:4610] Received oversubscribable resources  from the resource estimator
> I0115 21:24:50.391985 31528 hierarchical.cpp:259] Added framework bf6ba047-245f-4e65-986c-1880cef81248-0000
> I0115 21:24:50.392050 31528 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.392092 31528 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 21:24:50.392107 31531 sched.cpp:649] Framework registered with bf6ba047-245f-4e65-986c-1880cef81248-0000
> I0115 21:24:50.392124 31528 hierarchical.cpp:1079] Performed allocation for 0 slaves in 114393ns
> I0115 21:24:50.392137 31539 master.cpp:5521] Authenticating slave(179)@172.17.0.4:52665
> I0115 21:24:50.392184 31531 sched.cpp:663] Scheduler::registered took 50817ns
> I0115 21:24:50.392218 31540 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(419)@172.17.0.4:52665
> I0115 21:24:50.392449 31507 sched.cpp:1851] Asked to stop the driver
> I0115 21:24:50.392616 31534 authenticator.cpp:98] Creating new server SASL connection
> I0115 21:24:50.392640 31540 sched.cpp:1089] Stopping framework 'bf6ba047-245f-4e65-986c-1880cef81248-0000'
> I0115 21:24:50.392865 31527 master.cpp:5921] Processing TEARDOWN call for framework bf6ba047-245f-4e65-986c-1880cef81248-0000 (default) at scheduler-769559c2-2720-4b69-b5d7-bd9b8cbfe724@172.17.0.4:52665
> I0115 21:24:50.392902 31527 master.cpp:5933] Removing framework bf6ba047-245f-4e65-986c-1880cef81248-0000 (default) at scheduler-769559c2-2720-4b69-b5d7-bd9b8cbfe724@172.17.0.4:52665
> I0115 21:24:50.392935 31531 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 21:24:50.392976 31531 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 21:24:50.393277 31539 hierarchical.cpp:369] Deactivated framework bf6ba047-245f-4e65-986c-1880cef81248-0000
> I0115 21:24:50.393311 31534 authenticator.cpp:203] Received SASL authentication start
> I0115 21:24:50.393543 31534 authenticator.cpp:325] Authentication requires more steps
> I0115 21:24:50.393622 31538 hierarchical.cpp:320] Removed framework bf6ba047-245f-4e65-986c-1880cef81248-0000
> I0115 21:24:50.393787 31538 authenticatee.cpp:258] Received SASL authentication step
> I0115 21:24:50.393990 31539 authenticator.cpp:231] Received SASL authentication step
> I0115 21:24:50.394024 31539 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 21:24:50.394038 31539 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 21:24:50.394076 31539 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 21:24:50.394105 31539 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 21:24:50.394119 31539 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.394129 31539 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.394145 31539 authenticator.cpp:317] Authentication success
> I0115 21:24:50.394242 31536 authenticatee.cpp:298] Authentication success
> I0115 21:24:50.394295 31529 master.cpp:5551] Successfully authenticated principal 'test-principal' at slave(179)@172.17.0.4:52665
> I0115 21:24:50.394353 31539 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(419)@172.17.0.4:52665
> I0115 21:24:50.394626 31536 slave.cpp:855] Successfully authenticated with master master@172.17.0.4:52665
> I0115 21:24:50.394682 31507 sched.cpp:164] Version: 0.27.0
> I0115 21:24:50.394873 31536 slave.cpp:1249] Will retry registration in 13.811028ms if necessary
> I0115 21:24:50.395035 31528 master.cpp:4235] Registering slave at slave(179)@172.17.0.4:52665 (4e6fbf10d387) with id bf6ba047-245f-4e65-986c-1880cef81248-S0
> I0115 21:24:50.395550 31538 sched.cpp:268] New master detected at master@172.17.0.4:52665
> I0115 21:24:50.395658 31538 sched.cpp:324] Authenticating with master master@172.17.0.4:52665
> I0115 21:24:50.395684 31538 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 21:24:50.395666 31541 registrar.cpp:439] Applied 1 operations in 110346ns; attempting to update the 'registry'
> I0115 21:24:50.395959 31540 authenticatee.cpp:121] Creating new client SASL connection
> I0115 21:24:50.396792 31533 log.cpp:683] Attempting to append 339 bytes to the log
> I0115 21:24:50.396855 31538 master.cpp:5521] Authenticating scheduler-a70dc528-b607-4e65-9390-be785f9ed3f1@172.17.0.4:52665
> I0115 21:24:50.396996 31540 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(420)@172.17.0.4:52665
> I0115 21:24:50.397105 31536 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 3
> I0115 21:24:50.397248 31540 authenticator.cpp:98] Creating new server SASL connection
> I0115 21:24:50.397541 31526 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 21:24:50.397640 31526 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 21:24:50.397871 31526 authenticator.cpp:203] Received SASL authentication start
> I0115 21:24:50.397922 31526 authenticator.cpp:325] Authentication requires more steps
> I0115 21:24:50.398056 31532 replica.cpp:537] Replica received write request for position 3 from (6110)@172.17.0.4:52665
> I0115 21:24:50.398088 31526 authenticatee.cpp:258] Received SASL authentication step
> I0115 21:24:50.398201 31536 authenticator.cpp:231] Received SASL authentication step
> I0115 21:24:50.398228 31536 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 21:24:50.398237 31536 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 21:24:50.398277 31536 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 21:24:50.398308 31536 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 21:24:50.398304 31532 leveldb.cpp:341] Persisting action (358 bytes) to leveldb took 206361ns
> I0115 21:24:50.398329 31536 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.398342 31536 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.398342 31532 replica.cpp:712] Persisted action at 3
> I0115 21:24:50.398368 31536 authenticator.cpp:317] Authentication success
> I0115 21:24:50.398480 31532 authenticatee.cpp:298] Authentication success
> I0115 21:24:50.398583 31536 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(420)@172.17.0.4:52665
> I0115 21:24:50.398666 31535 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-a70dc528-b607-4e65-9390-be785f9ed3f1@172.17.0.4:52665
> I0115 21:24:50.399082 31529 sched.cpp:413] Successfully authenticated with master master@172.17.0.4:52665
> I0115 21:24:50.399107 31529 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.4:52665
> I0115 21:24:50.399204 31529 sched.cpp:755] Will retry registration in 857.529667ms if necessary
> I0115 21:24:50.399314 31536 replica.cpp:691] Replica received learned notice for position 3 from @0.0.0.0:0
> I0115 21:24:50.399431 31529 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-a70dc528-b607-4e65-9390-be785f9ed3f1@172.17.0.4:52665
> I0115 21:24:50.399489 31529 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 21:24:50.399808 31532 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 21:24:50.399844 31536 leveldb.cpp:341] Persisting action (360 bytes) to leveldb took 498891ns
> I0115 21:24:50.399868 31536 replica.cpp:712] Persisted action at 3
> I0115 21:24:50.399885 31536 replica.cpp:697] Replica learned APPEND action at position 3
> I0115 21:24:50.400311 31533 hierarchical.cpp:259] Added framework bf6ba047-245f-4e65-986c-1880cef81248-0001
> I0115 21:24:50.400454 31533 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.400485 31532 sched.cpp:649] Framework registered with bf6ba047-245f-4e65-986c-1880cef81248-0001
> I0115 21:24:50.400492 31533 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 21:24:50.400522 31533 hierarchical.cpp:1079] Performed allocation for 0 slaves in 107405ns
> I0115 21:24:50.400563 31532 sched.cpp:663] Scheduler::registered took 55451ns
> I0115 21:24:50.400943 31507 sched.cpp:1851] Asked to stop the driver
> I0115 21:24:50.401514 31537 registrar.cpp:484] Successfully updated the 'registry' in 5.48608ms
> I0115 21:24:50.401751 31530 log.cpp:702] Attempting to truncate the log to 3
> I0115 21:24:50.402120 31537 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 4
> I0115 21:24:50.402757 31527 master.cpp:1211] Framework bf6ba047-245f-4e65-986c-1880cef81248-0001 (default) at scheduler-a70dc528-b607-4e65-9390-be785f9ed3f1@172.17.0.4:52665 disconnected
> I0115 21:24:50.402793 31527 master.cpp:2574] Disconnecting framework bf6ba047-245f-4e65-986c-1880cef81248-0001 (default) at scheduler-a70dc528-b607-4e65-9390-be785f9ed3f1@172.17.0.4:52665
> I0115 21:24:50.402832 31527 master.cpp:2598] Deactivating framework bf6ba047-245f-4e65-986c-1880cef81248-0001 (default) at scheduler-a70dc528-b607-4e65-9390-be785f9ed3f1@172.17.0.4:52665
> I0115 21:24:50.402916 31527 master.cpp:1235] Giving framework bf6ba047-245f-4e65-986c-1880cef81248-0001 (default) at scheduler-a70dc528-b607-4e65-9390-be785f9ed3f1@172.17.0.4:52665 0ns to failover
> I0115 21:24:50.403187 31540 hierarchical.cpp:369] Deactivated framework bf6ba047-245f-4e65-986c-1880cef81248-0001
> I0115 21:24:50.403672 31535 replica.cpp:537] Replica received write request for position 4 from (6111)@172.17.0.4:52665
> I0115 21:24:50.404130 31538 slave.cpp:3366] Received ping from slave-observer(179)@172.17.0.4:52665
> I0115 21:24:50.404294 31535 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 585027ns
> I0115 21:24:50.404326 31535 replica.cpp:712] Persisted action at 4
> I0115 21:24:50.404701 31529 slave.cpp:899] Registered with master master@172.17.0.4:52665; given slave ID bf6ba047-245f-4e65-986c-1880cef81248-S0
> I0115 21:24:50.404803 31529 fetcher.cpp:81] Clearing fetcher cache
> I0115 21:24:50.404929 31539 hierarchical.cpp:465] Added slave bf6ba047-245f-4e65-986c-1880cef81248-S0 (4e6fbf10d387) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (allocated: )
> I0115 21:24:50.405060 31535 status_update_manager.cpp:181] Resuming sending status updates
> I0115 21:24:50.405189 31539 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.405380 31529 slave.cpp:922] Checkpointing SlaveInfo to '/tmp/MasterTest_MaxCompletedFrameworksFlag_LW3xM9/meta/slaves/bf6ba047-245f-4e65-986c-1880cef81248-S0/slave.info'
> I0115 21:24:50.404651 31527 master.cpp:4303] Registered slave bf6ba047-245f-4e65-986c-1880cef81248-S0 at slave(179)@172.17.0.4:52665 (4e6fbf10d387) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 21:24:50.405262 31537 replica.cpp:691] Replica received learned notice for position 4 from @0.0.0.0:0
> I0115 21:24:50.405483 31527 master.cpp:5202] Framework failover timeout, removing framework bf6ba047-245f-4e65-986c-1880cef81248-0001 (default) at scheduler-a70dc528-b607-4e65-9390-be785f9ed3f1@172.17.0.4:52665
> I0115 21:24:50.405544 31539 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 21:24:50.405653 31527 master.cpp:5933] Removing framework bf6ba047-245f-4e65-986c-1880cef81248-0001 (default) at scheduler-a70dc528-b607-4e65-9390-be785f9ed3f1@172.17.0.4:52665
> I0115 21:24:50.405707 31539 hierarchical.cpp:1101] Performed allocation for slave bf6ba047-245f-4e65-986c-1880cef81248-S0 in 734362ns
> I0115 21:24:50.405851 31529 slave.cpp:958] Forwarding total oversubscribed resources 
> I0115 21:24:50.405922 31537 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 490775ns
> I0115 21:24:50.405946 31529 slave.cpp:2007] Asked to shut down framework bf6ba047-245f-4e65-986c-1880cef81248-0001 by master@172.17.0.4:52665
> W0115 21:24:50.405972 31529 slave.cpp:2022] Cannot shut down unknown framework bf6ba047-245f-4e65-986c-1880cef81248-0001
> I0115 21:24:50.405984 31527 process.cpp:3141] Handling HTTP event for process 'master' with path: '/master/state'
> I0115 21:24:50.405992 31537 leveldb.cpp:399] Deleting ~2 keys from leveldb took 42432ns
> I0115 21:24:50.406016 31537 replica.cpp:712] Persisted action at 4
> I0115 21:24:50.406045 31537 replica.cpp:697] Replica learned TRUNCATE action at position 4
> I0115 21:24:50.406191 31529 hierarchical.cpp:320] Removed framework bf6ba047-245f-4e65-986c-1880cef81248-0001
> I0115 21:24:50.406347 31527 master.cpp:4644] Received update of slave bf6ba047-245f-4e65-986c-1880cef81248-S0 at slave(179)@172.17.0.4:52665 (4e6fbf10d387) with total oversubscribed resources 
> I0115 21:24:50.406702 31527 http.cpp:504] HTTP GET for /master/state from 172.17.0.4:47472
> I0115 21:24:50.407114 31529 hierarchical.cpp:521] Slave bf6ba047-245f-4e65-986c-1880cef81248-S0 (4e6fbf10d387) updated with oversubscribed resources  (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: )
> I0115 21:24:50.407284 31529 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.407315 31529 hierarchical.cpp:1101] Performed allocation for slave bf6ba047-245f-4e65-986c-1880cef81248-S0 in 159566ns
> I0115 21:24:50.410732 31539 slave.cpp:596] Slave terminating
> I0115 21:24:50.410933 31536 master.cpp:1172] Slave bf6ba047-245f-4e65-986c-1880cef81248-S0 at slave(179)@172.17.0.4:52665 (4e6fbf10d387) disconnected
> I0115 21:24:50.411023 31536 master.cpp:2633] Disconnecting slave bf6ba047-245f-4e65-986c-1880cef81248-S0 at slave(179)@172.17.0.4:52665 (4e6fbf10d387)
> I0115 21:24:50.411209 31536 master.cpp:2652] Deactivating slave bf6ba047-245f-4e65-986c-1880cef81248-S0 at slave(179)@172.17.0.4:52665 (4e6fbf10d387)
> I0115 21:24:50.411339 31531 hierarchical.cpp:550] Slave bf6ba047-245f-4e65-986c-1880cef81248-S0 deactivated
> I0115 21:24:50.413700 31535 master.cpp:1025] Master terminating
> I0115 21:24:50.414139 31536 hierarchical.cpp:496] Removed slave bf6ba047-245f-4e65-986c-1880cef81248-S0
> I0115 21:24:50.420747 31507 leveldb.cpp:174] Opened db in 2.230194ms
> I0115 21:24:50.422813 31507 leveldb.cpp:181] Compacted db in 2.036772ms
> I0115 21:24:50.422859 31507 leveldb.cpp:196] Created db iterator in 18158ns
> I0115 21:24:50.422894 31507 leveldb.cpp:202] Seeked to beginning of db in 18700ns
> I0115 21:24:50.423063 31507 leveldb.cpp:271] Iterated through 3 keys in the db in 125314ns
> I0115 21:24:50.423123 31507 replica.cpp:779] Replica recovered with log positions 3 -> 4 with 0 holes and 0 unlearned
> I0115 21:24:50.423527 31527 recover.cpp:447] Starting replica recovery
> I0115 21:24:50.423898 31531 recover.cpp:473] Replica is in VOTING status
> I0115 21:24:50.424299 31531 recover.cpp:462] Recover process terminated
> I0115 21:24:50.425678 31527 master.cpp:374] Master 2cfeb24a-de29-4273-8472-64f4f78e7791 (4e6fbf10d387) started on 172.17.0.4:52665
> I0115 21:24:50.425698 31527 master.cpp:376] Flags at startup: --acls="" --allocation_interval="1secs" --allocator="HierarchicalDRF" --authenticate="true" --authenticate_http="true" --authenticate_slaves="true" --authenticators="crammd5" --authorizers="local" --credentials="/tmp/2wURTY/credentials" --framework_sorter="drf" --help="false" --hostname_lookup="true" --http_authenticators="basic" --initialize_driver_logging="true" --log_auto_initialize="true" --logbufsecs="0" --logging_level="INFO" --max_completed_frameworks="1" --max_completed_tasks_per_framework="1000" --max_slave_ping_timeouts="5" --quiet="false" --recovery_slave_removal_limit="100%" --registry="replicated_log" --registry_fetch_timeout="1mins" --registry_store_timeout="25secs" --registry_strict="true" --root_submissions="true" --slave_ping_timeout="15secs" --slave_reregister_timeout="10mins" --user_sorter="drf" --version="false" --webui_dir="/mesos/mesos-0.27.0/_inst/share/mesos/webui" --work_dir="/tmp/2wURTY/master" --zk_session_timeout="10secs"
> I0115 21:24:50.425966 31527 master.cpp:421] Master only allowing authenticated frameworks to register
> I0115 21:24:50.425976 31527 master.cpp:426] Master only allowing authenticated slaves to register
> I0115 21:24:50.425982 31527 credentials.hpp:35] Loading credentials for authentication from '/tmp/2wURTY/credentials'
> I0115 21:24:50.426218 31527 master.cpp:466] Using default 'crammd5' authenticator
> I0115 21:24:50.426334 31527 master.cpp:535] Using default 'basic' HTTP authenticator
> I0115 21:24:50.426484 31527 master.cpp:569] Authorization enabled
> I0115 21:24:50.426738 31536 hierarchical.cpp:147] Initialized hierarchical allocator process
> I0115 21:24:50.426743 31534 whitelist_watcher.cpp:77] No whitelist given
> I0115 21:24:50.428192 31532 master.cpp:1710] The newly elected leader is master@172.17.0.4:52665 with id 2cfeb24a-de29-4273-8472-64f4f78e7791
> I0115 21:24:50.428226 31532 master.cpp:1723] Elected as the leading master!
> I0115 21:24:50.428247 31532 master.cpp:1468] Recovering from registrar
> I0115 21:24:50.428396 31538 registrar.cpp:307] Recovering registrar
> I0115 21:24:50.428988 31541 log.cpp:659] Attempting to start the writer
> I0115 21:24:50.430251 31532 replica.cpp:493] Replica received implicit promise request from (6118)@172.17.0.4:52665 with proposal 2
> I0115 21:24:50.431041 31532 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 751431ns
> I0115 21:24:50.431072 31532 replica.cpp:342] Persisted promised to 2
> I0115 21:24:50.431737 31538 coordinator.cpp:238] Coordinator attempting to fill missing positions
> I0115 21:24:50.432107 31531 log.cpp:675] Writer started with ending position 4
> I0115 21:24:50.433365 31535 leveldb.cpp:436] Reading position from leveldb took 68973ns
> I0115 21:24:50.433504 31535 leveldb.cpp:436] Reading position from leveldb took 50259ns
> I0115 21:24:50.435158 31539 registrar.cpp:340] Successfully fetched the registry (300B) in 6.672896ms
> I0115 21:24:50.435484 31539 registrar.cpp:439] Applied 1 operations in 64836ns; attempting to update the 'registry'
> I0115 21:24:50.436451 31540 log.cpp:683] Attempting to append 339 bytes to the log
> I0115 21:24:50.436666 31529 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 5
> I0115 21:24:50.437423 31527 replica.cpp:537] Replica received write request for position 5 from (6119)@172.17.0.4:52665
> I0115 21:24:50.437846 31527 leveldb.cpp:341] Persisting action (358 bytes) to leveldb took 385190ns
> I0115 21:24:50.437873 31527 replica.cpp:712] Persisted action at 5
> I0115 21:24:50.438668 31540 replica.cpp:691] Replica received learned notice for position 5 from @0.0.0.0:0
> I0115 21:24:50.439071 31540 leveldb.cpp:341] Persisting action (360 bytes) to leveldb took 347656ns
> I0115 21:24:50.439100 31540 replica.cpp:712] Persisted action at 5
> I0115 21:24:50.439124 31540 replica.cpp:697] Replica learned APPEND action at position 5
> I0115 21:24:50.440376 31536 registrar.cpp:484] Successfully updated the 'registry' in 4.820736ms
> I0115 21:24:50.440587 31536 registrar.cpp:370] Successfully recovered registrar
> I0115 21:24:50.440613 31532 log.cpp:702] Attempting to truncate the log to 5
> I0115 21:24:50.440734 31535 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 6
> I0115 21:24:50.441460 31536 replica.cpp:537] Replica received write request for position 6 from (6120)@172.17.0.4:52665
> I0115 21:24:50.441517 31530 master.cpp:1520] Recovered 1 slaves from the Registry (300B) ; allowing 10mins for slaves to re-register
> I0115 21:24:50.441542 31539 hierarchical.cpp:165] Skipping recovery of hierarchical allocator: nothing to recover
> I0115 21:24:50.442030 31536 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 534862ns
> I0115 21:24:50.442054 31536 replica.cpp:712] Persisted action at 6
> I0115 21:24:50.442625 31529 replica.cpp:691] Replica received learned notice for position 6 from @0.0.0.0:0
> I0115 21:24:50.442999 31529 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 344836ns
> I0115 21:24:50.443058 31529 leveldb.cpp:399] Deleting ~2 keys from leveldb took 32653ns
> I0115 21:24:50.443085 31529 replica.cpp:712] Persisted action at 6
> I0115 21:24:50.443105 31529 replica.cpp:697] Replica learned TRUNCATE action at position 6
> I0115 21:24:50.454164 31507 containerizer.cpp:140] Using isolation: posix/cpu,posix/mem,filesystem/posix
> W0115 21:24:50.454710 31507 backend.cpp:48] Failed to create 'bind' backend: BindBackend requires root privileges
> I0115 21:24:50.456871 31528 slave.cpp:191] Slave started on 180)@172.17.0.4:52665
> I0115 21:24:50.456892 31528 slave.cpp:192] Flags at startup: --appc_store_dir="/tmp/mesos/store/appc" --authenticatee="crammd5" --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/MasterTest_MaxCompletedFrameworksFlag_WgeCIG/credential" --default_role="*" --disk_watch_interval="1mins" --docker="docker" --docker_auth_server="https://auth.docker.io" --docker_kill_orphans="true" --docker_puller_timeout="60" --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/mesos/store/docker" --enforce_container_disk_quota="false" --executor_registration_timeout="1mins" --executor_shutdown_grace_period="5secs" --fetcher_cache_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_WgeCIG/fetch" --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" --gc_disk_headroom="0.1" --hadoop_home="" --help="false" --hostname_lookup="true" --image_provisioner_backend="copy" --initialize_driver_logging="true" --isolation="posix/cpu,posix/mem" --launcher_dir="/mesos/mesos-0.27.0/_build/src" --logbufsecs="0" --logging_level="INFO" --oversubscribed_resources_interval="15secs" --perf_duration="10secs" --perf_interval="1mins" --qos_correction_interval_min="0ns" --quiet="false" --recover="reconnect" --recovery_timeout="15mins" --registration_backoff_factor="10ms" --resources="cpus:2;mem:1024;disk:1024;ports:[31000-32000]" --revocable_cpu_low_priority="true" --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --switch_user="true" --systemd_runtime_directory="/run/systemd/system" --version="false" --work_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_WgeCIG"
> I0115 21:24:50.457330 31528 credentials.hpp:83] Loading credential for authentication from '/tmp/MasterTest_MaxCompletedFrameworksFlag_WgeCIG/credential'
> I0115 21:24:50.457607 31528 slave.cpp:322] Slave using credential for: test-principal
> I0115 21:24:50.457794 31528 resources.cpp:482] Parsing resources as JSON failed: cpus:2;mem:1024;disk:1024;ports:[31000-32000]
> Trying semicolon-delimited string format instead
> I0115 21:24:50.458158 31528 slave.cpp:392] Slave resources: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 21:24:50.458225 31528 slave.cpp:400] Slave attributes: [  ]
> I0115 21:24:50.458240 31528 slave.cpp:405] Slave hostname: 4e6fbf10d387
> I0115 21:24:50.458886 31507 sched.cpp:164] Version: 0.27.0
> I0115 21:24:50.459022 31529 state.cpp:58] Recovering state from '/tmp/MasterTest_MaxCompletedFrameworksFlag_WgeCIG/meta'
> I0115 21:24:50.459444 31530 sched.cpp:268] New master detected at master@172.17.0.4:52665
> I0115 21:24:50.459512 31530 sched.cpp:324] Authenticating with master master@172.17.0.4:52665
> I0115 21:24:50.459533 31530 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 21:24:50.459533 31528 status_update_manager.cpp:200] Recovering status update manager
> I0115 21:24:50.459799 31533 containerizer.cpp:386] Recovering containerizer
> I0115 21:24:50.459832 31527 authenticatee.cpp:121] Creating new client SASL connection
> I0115 21:24:50.460209 31537 master.cpp:5521] Authenticating scheduler-9cb202b9-b536-4072-9e2e-34b0389f31ff@172.17.0.4:52665
> I0115 21:24:50.460443 31535 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(421)@172.17.0.4:52665
> I0115 21:24:50.460783 31534 authenticator.cpp:98] Creating new server SASL connection
> I0115 21:24:50.460959 31531 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 21:24:50.460988 31531 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 21:24:50.461109 31526 authenticator.cpp:203] Received SASL authentication start
> I0115 21:24:50.461182 31526 authenticator.cpp:325] Authentication requires more steps
> I0115 21:24:50.461277 31537 provisioner.cpp:245] Provisioner recovery complete
> I0115 21:24:50.461292 31531 authenticatee.cpp:258] Received SASL authentication step
> I0115 21:24:50.461422 31531 authenticator.cpp:231] Received SASL authentication step
> I0115 21:24:50.461455 31531 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 21:24:50.461473 31531 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 21:24:50.461531 31531 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 21:24:50.461611 31536 slave.cpp:4424] Finished recovery
> I0115 21:24:50.461697 31531 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 21:24:50.461837 31531 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.461853 31531 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.461886 31531 authenticator.cpp:317] Authentication success
> I0115 21:24:50.461982 31526 authenticatee.cpp:298] Authentication success
> I0115 21:24:50.462038 31535 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-9cb202b9-b536-4072-9e2e-34b0389f31ff@172.17.0.4:52665
> I0115 21:24:50.462127 31526 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(421)@172.17.0.4:52665
> I0115 21:24:50.462287 31530 sched.cpp:413] Successfully authenticated with master master@172.17.0.4:52665
> I0115 21:24:50.462297 31536 slave.cpp:4596] Querying resource estimator for oversubscribable resources
> I0115 21:24:50.462312 31530 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.4:52665
> I0115 21:24:50.462409 31530 sched.cpp:755] Will retry registration in 668.85591ms if necessary
> I0115 21:24:50.462507 31536 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-9cb202b9-b536-4072-9e2e-34b0389f31ff@172.17.0.4:52665
> I0115 21:24:50.462569 31536 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 21:24:50.462579 31533 status_update_manager.cpp:174] Pausing sending status updates
> I0115 21:24:50.462576 31530 slave.cpp:724] New master detected at master@172.17.0.4:52665
> I0115 21:24:50.462672 31530 slave.cpp:787] Authenticating with master master@172.17.0.4:52665
> I0115 21:24:50.462698 31530 slave.cpp:792] Using default CRAM-MD5 authenticatee
> I0115 21:24:50.462867 31530 slave.cpp:760] Detecting new master
> I0115 21:24:50.462888 31526 authenticatee.cpp:121] Creating new client SASL connection
> I0115 21:24:50.462893 31529 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 21:24:50.462998 31530 slave.cpp:4610] Received oversubscribable resources  from the resource estimator
> I0115 21:24:50.463253 31526 hierarchical.cpp:259] Added framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0000
> I0115 21:24:50.463321 31526 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.463361 31526 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 21:24:50.463366 31529 master.cpp:5521] Authenticating slave(180)@172.17.0.4:52665
> I0115 21:24:50.463390 31526 hierarchical.cpp:1079] Performed allocation for 0 slaves in 113860ns
> I0115 21:24:50.463520 31535 sched.cpp:649] Framework registered with 2cfeb24a-de29-4273-8472-64f4f78e7791-0000
> I0115 21:24:50.463604 31535 sched.cpp:663] Scheduler::registered took 59389ns
> I0115 21:24:50.463671 31535 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(422)@172.17.0.4:52665
> I0115 21:24:50.463855 31507 sched.cpp:1851] Asked to stop the driver
> I0115 21:24:50.463966 31529 authenticator.cpp:98] Creating new server SASL connection
> I0115 21:24:50.464064 31535 master.cpp:1211] Framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0000 (default) at scheduler-9cb202b9-b536-4072-9e2e-34b0389f31ff@172.17.0.4:52665 disconnected
> I0115 21:24:50.464344 31535 master.cpp:2574] Disconnecting framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0000 (default) at scheduler-9cb202b9-b536-4072-9e2e-34b0389f31ff@172.17.0.4:52665
> I0115 21:24:50.464375 31527 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 21:24:50.464387 31535 master.cpp:2598] Deactivating framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0000 (default) at scheduler-9cb202b9-b536-4072-9e2e-34b0389f31ff@172.17.0.4:52665
> I0115 21:24:50.464469 31535 master.cpp:1235] Giving framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0000 (default) at scheduler-9cb202b9-b536-4072-9e2e-34b0389f31ff@172.17.0.4:52665 0ns to failover
> I0115 21:24:50.464526 31539 hierarchical.cpp:369] Deactivated framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0000
> I0115 21:24:50.464570 31527 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 21:24:50.464664 31536 authenticator.cpp:203] Received SASL authentication start
> I0115 21:24:50.464707 31536 authenticator.cpp:325] Authentication requires more steps
> I0115 21:24:50.464784 31536 authenticatee.cpp:258] Received SASL authentication step
> I0115 21:24:50.464889 31536 authenticator.cpp:231] Received SASL authentication step
> I0115 21:24:50.464922 31536 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 21:24:50.464938 31536 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 21:24:50.464972 31536 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 21:24:50.465009 31536 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 21:24:50.465025 31536 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.465036 31536 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.465057 31536 authenticator.cpp:317] Authentication success
> I0115 21:24:50.465129 31535 authenticatee.cpp:298] Authentication success
> I0115 21:24:50.465240 31536 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(422)@172.17.0.4:52665
> I0115 21:24:50.465210 31535 master.cpp:5551] Successfully authenticated principal 'test-principal' at slave(180)@172.17.0.4:52665
> I0115 21:24:50.465458 31529 slave.cpp:855] Successfully authenticated with master master@172.17.0.4:52665
> I0115 21:24:50.465574 31529 slave.cpp:1249] Will retry registration in 2.684263ms if necessary
> I0115 21:24:50.465746 31532 master.cpp:4235] Registering slave at slave(180)@172.17.0.4:52665 (4e6fbf10d387) with id 2cfeb24a-de29-4273-8472-64f4f78e7791-S0
> I0115 21:24:50.465826 31507 sched.cpp:164] Version: 0.27.0
> I0115 21:24:50.465975 31532 master.cpp:5202] Framework failover timeout, removing framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0000 (default) at scheduler-9cb202b9-b536-4072-9e2e-34b0389f31ff@172.17.0.4:52665
> I0115 21:24:50.466001 31532 master.cpp:5933] Removing framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0000 (default) at scheduler-9cb202b9-b536-4072-9e2e-34b0389f31ff@172.17.0.4:52665
> I0115 21:24:50.466331 31531 hierarchical.cpp:320] Removed framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0000
> I0115 21:24:50.466341 31536 registrar.cpp:439] Applied 1 operations in 156722ns; attempting to update the 'registry'
> I0115 21:24:50.466579 31533 sched.cpp:268] New master detected at master@172.17.0.4:52665
> I0115 21:24:50.466650 31533 sched.cpp:324] Authenticating with master master@172.17.0.4:52665
> I0115 21:24:50.466672 31533 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 21:24:50.467121 31536 authenticatee.cpp:121] Creating new client SASL connection
> I0115 21:24:50.467293 31539 log.cpp:683] Attempting to append 505 bytes to the log
> I0115 21:24:50.467396 31533 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 7
> I0115 21:24:50.467604 31534 master.cpp:5521] Authenticating scheduler-54fe8c14-9384-43d8-a8bc-298d2214b7c5@172.17.0.4:52665
> I0115 21:24:50.467728 31541 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(423)@172.17.0.4:52665
> I0115 21:24:50.467910 31539 authenticator.cpp:98] Creating new server SASL connection
> I0115 21:24:50.468093 31527 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 21:24:50.468135 31532 replica.cpp:537] Replica received write request for position 7 from (6134)@172.17.0.4:52665
> I0115 21:24:50.468194 31527 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 21:24:50.468297 31527 authenticator.cpp:203] Received SASL authentication start
> I0115 21:24:50.468348 31527 authenticator.cpp:325] Authentication requires more steps
> I0115 21:24:50.468444 31527 authenticatee.cpp:258] Received SASL authentication step
> I0115 21:24:50.468498 31532 leveldb.cpp:341] Persisting action (524 bytes) to leveldb took 283472ns
> I0115 21:24:50.468531 31527 authenticator.cpp:231] Received SASL authentication step
> I0115 21:24:50.468638 31532 replica.cpp:712] Persisted action at 7
> I0115 21:24:50.468650 31527 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 21:24:50.468669 31527 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 21:24:50.468709 31527 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 21:24:50.468750 31527 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 21:24:50.468766 31527 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.468780 31527 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.468799 31527 authenticator.cpp:317] Authentication success
> I0115 21:24:50.469004 31526 authenticatee.cpp:298] Authentication success
> I0115 21:24:50.469205 31526 slave.cpp:1249] Will retry registration in 15.360877ms if necessary
> I0115 21:24:50.469321 31528 master.cpp:4223] Ignoring register slave message from slave(180)@172.17.0.4:52665 (4e6fbf10d387) as admission is already in progress
> I0115 21:24:50.469534 31529 sched.cpp:413] Successfully authenticated with master master@172.17.0.4:52665
> I0115 21:24:50.469558 31529 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.4:52665
> I0115 21:24:50.469591 31540 replica.cpp:691] Replica received learned notice for position 7 from @0.0.0.0:0
> I0115 21:24:50.469589 31531 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-54fe8c14-9384-43d8-a8bc-298d2214b7c5@172.17.0.4:52665
> I0115 21:24:50.469638 31527 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(423)@172.17.0.4:52665
> I0115 21:24:50.469655 31529 sched.cpp:755] Will retry registration in 1.193750527secs if necessary
> I0115 21:24:50.469772 31531 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-54fe8c14-9384-43d8-a8bc-298d2214b7c5@172.17.0.4:52665
> I0115 21:24:50.469823 31531 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 21:24:50.470083 31537 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 21:24:50.470216 31540 leveldb.cpp:341] Persisting action (526 bytes) to leveldb took 598843ns
> I0115 21:24:50.470243 31540 replica.cpp:712] Persisted action at 7
> I0115 21:24:50.470263 31540 replica.cpp:697] Replica learned APPEND action at position 7
> I0115 21:24:50.470456 31534 hierarchical.cpp:259] Added framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0001
> I0115 21:24:50.470510 31534 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.470543 31534 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 21:24:50.470551 31533 sched.cpp:649] Framework registered with 2cfeb24a-de29-4273-8472-64f4f78e7791-0001
> I0115 21:24:50.470566 31534 hierarchical.cpp:1079] Performed allocation for 0 slaves in 83797ns
> I0115 21:24:50.470630 31533 sched.cpp:663] Scheduler::registered took 52598ns
> I0115 21:24:50.470973 31507 sched.cpp:1851] Asked to stop the driver
> I0115 21:24:50.471055 31540 sched.cpp:1089] Stopping framework '2cfeb24a-de29-4273-8472-64f4f78e7791-0001'
> I0115 21:24:50.471323 31531 master.cpp:5921] Processing TEARDOWN call for framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0001 (default) at scheduler-54fe8c14-9384-43d8-a8bc-298d2214b7c5@172.17.0.4:52665
> I0115 21:24:50.471354 31531 master.cpp:5933] Removing framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0001 (default) at scheduler-54fe8c14-9384-43d8-a8bc-298d2214b7c5@172.17.0.4:52665
> I0115 21:24:50.472339 31529 hierarchical.cpp:369] Deactivated framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0001
> I0115 21:24:50.472676 31532 hierarchical.cpp:320] Removed framework 2cfeb24a-de29-4273-8472-64f4f78e7791-0001
> I0115 21:24:50.472966 31529 registrar.cpp:484] Successfully updated the 'registry' in 6.570752ms
> I0115 21:24:50.473238 31538 process.cpp:3141] Handling HTTP event for process 'master' with path: '/master/state'
> I0115 21:24:50.473491 31534 log.cpp:702] Attempting to truncate the log to 7
> I0115 21:24:50.473615 31539 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 8
> I0115 21:24:50.473997 31540 slave.cpp:3366] Received ping from slave-observer(180)@172.17.0.4:52665
> I0115 21:24:50.474072 31538 master.cpp:4303] Registered slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 at slave(180)@172.17.0.4:52665 (4e6fbf10d387) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 21:24:50.474164 31540 slave.cpp:899] Registered with master master@172.17.0.4:52665; given slave ID 2cfeb24a-de29-4273-8472-64f4f78e7791-S0
> I0115 21:24:50.474184 31540 fetcher.cpp:81] Clearing fetcher cache
> I0115 21:24:50.474198 31538 http.cpp:504] HTTP GET for /master/state from 172.17.0.4:47473
> I0115 21:24:50.474310 31535 status_update_manager.cpp:181] Resuming sending status updates
> I0115 21:24:50.474421 31528 replica.cpp:537] Replica received write request for position 8 from (6137)@172.17.0.4:52665
> I0115 21:24:50.474534 31540 slave.cpp:922] Checkpointing SlaveInfo to '/tmp/MasterTest_MaxCompletedFrameworksFlag_WgeCIG/meta/slaves/2cfeb24a-de29-4273-8472-64f4f78e7791-S0/slave.info'
> I0115 21:24:50.474570 31529 hierarchical.cpp:465] Added slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 (4e6fbf10d387) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (allocated: )
> I0115 21:24:50.474717 31529 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.474745 31529 hierarchical.cpp:1101] Performed allocation for slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 in 141468ns
> I0115 21:24:50.474872 31540 slave.cpp:958] Forwarding total oversubscribed resources 
> I0115 21:24:50.475477 31528 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 951483ns
> I0115 21:24:50.475502 31528 replica.cpp:712] Persisted action at 8
> I0115 21:24:50.475865 31538 master.cpp:4644] Received update of slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 at slave(180)@172.17.0.4:52665 (4e6fbf10d387) with total oversubscribed resources 
> I0115 21:24:50.476471 31534 replica.cpp:691] Replica received learned notice for position 8 from @0.0.0.0:0
> I0115 21:24:50.476759 31538 hierarchical.cpp:521] Slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 (4e6fbf10d387) updated with oversubscribed resources  (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: )
> I0115 21:24:50.476892 31534 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 388146ns
> I0115 21:24:50.476959 31538 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.476963 31534 leveldb.cpp:399] Deleting ~2 keys from leveldb took 41808ns
> I0115 21:24:50.476990 31534 replica.cpp:712] Persisted action at 8
> I0115 21:24:50.476990 31538 hierarchical.cpp:1101] Performed allocation for slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 in 175272ns
> I0115 21:24:50.477027 31534 replica.cpp:697] Replica learned TRUNCATE action at position 8
> I0115 21:24:50.478739 31532 slave.cpp:596] Slave terminating
> I0115 21:24:50.478989 31539 master.cpp:1172] Slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 at slave(180)@172.17.0.4:52665 (4e6fbf10d387) disconnected
> I0115 21:24:50.479022 31539 master.cpp:2633] Disconnecting slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 at slave(180)@172.17.0.4:52665 (4e6fbf10d387)
> I0115 21:24:50.479084 31539 master.cpp:2652] Deactivating slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 at slave(180)@172.17.0.4:52665 (4e6fbf10d387)
> I0115 21:24:50.479187 31532 hierarchical.cpp:550] Slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0 deactivated
> I0115 21:24:50.481765 31527 master.cpp:1025] Master terminating
> I0115 21:24:50.482199 31529 hierarchical.cpp:496] Removed slave 2cfeb24a-de29-4273-8472-64f4f78e7791-S0
> I0115 21:24:50.489852 31507 leveldb.cpp:174] Opened db in 2.548909ms
> I0115 21:24:50.491683 31507 leveldb.cpp:181] Compacted db in 1.800076ms
> I0115 21:24:50.491726 31507 leveldb.cpp:196] Created db iterator in 16674ns
> I0115 21:24:50.491755 31507 leveldb.cpp:202] Seeked to beginning of db in 13794ns
> I0115 21:24:50.491847 31507 leveldb.cpp:271] Iterated through 3 keys in the db in 78970ns
> I0115 21:24:50.491914 31507 replica.cpp:779] Replica recovered with log positions 7 -> 8 with 0 holes and 0 unlearned
> I0115 21:24:50.492436 31528 recover.cpp:447] Starting replica recovery
> I0115 21:24:50.492836 31528 recover.cpp:473] Replica is in VOTING status
> I0115 21:24:50.492997 31528 recover.cpp:462] Recover process terminated
> I0115 21:24:50.494947 31534 master.cpp:374] Master c692ca0d-1942-40c3-b7c7-7eede15c301a (4e6fbf10d387) started on 172.17.0.4:52665
> I0115 21:24:50.494973 31534 master.cpp:376] Flags at startup: --acls="" --allocation_interval="1secs" --allocator="HierarchicalDRF" --authenticate="true" --authenticate_http="true" --authenticate_slaves="true" --authenticators="crammd5" --authorizers="local" --credentials="/tmp/2wURTY/credentials" --framework_sorter="drf" --help="false" --hostname_lookup="true" --http_authenticators="basic" --initialize_driver_logging="true" --log_auto_initialize="true" --logbufsecs="0" --logging_level="INFO" --max_completed_frameworks="2" --max_completed_tasks_per_framework="1000" --max_slave_ping_timeouts="5" --quiet="false" --recovery_slave_removal_limit="100%" --registry="replicated_log" --registry_fetch_timeout="1mins" --registry_store_timeout="25secs" --registry_strict="true" --root_submissions="true" --slave_ping_timeout="15secs" --slave_reregister_timeout="10mins" --user_sorter="drf" --version="false" --webui_dir="/mesos/mesos-0.27.0/_inst/share/mesos/webui" --work_dir="/tmp/2wURTY/master" --zk_session_timeout="10secs"
> I0115 21:24:50.495375 31534 master.cpp:421] Master only allowing authenticated frameworks to register
> I0115 21:24:50.495391 31534 master.cpp:426] Master only allowing authenticated slaves to register
> I0115 21:24:50.495463 31534 credentials.hpp:35] Loading credentials for authentication from '/tmp/2wURTY/credentials'
> I0115 21:24:50.495899 31534 master.cpp:466] Using default 'crammd5' authenticator
> I0115 21:24:50.496062 31534 master.cpp:535] Using default 'basic' HTTP authenticator
> I0115 21:24:50.496302 31534 master.cpp:569] Authorization enabled
> I0115 21:24:50.496510 31537 hierarchical.cpp:147] Initialized hierarchical allocator process
> I0115 21:24:50.496516 31528 whitelist_watcher.cpp:77] No whitelist given
> I0115 21:24:50.498438 31534 master.cpp:1710] The newly elected leader is master@172.17.0.4:52665 with id c692ca0d-1942-40c3-b7c7-7eede15c301a
> I0115 21:24:50.498494 31534 master.cpp:1723] Elected as the leading master!
> I0115 21:24:50.498522 31534 master.cpp:1468] Recovering from registrar
> I0115 21:24:50.498927 31541 registrar.cpp:307] Recovering registrar
> I0115 21:24:50.499435 31531 log.cpp:659] Attempting to start the writer
> I0115 21:24:50.500466 31535 replica.cpp:493] Replica received implicit promise request from (6142)@172.17.0.4:52665 with proposal 3
> I0115 21:24:50.500929 31535 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 431024ns
> I0115 21:24:50.500952 31535 replica.cpp:342] Persisted promised to 3
> I0115 21:24:50.501435 31536 coordinator.cpp:238] Coordinator attempting to fill missing positions
> I0115 21:24:50.501727 31538 log.cpp:675] Writer started with ending position 8
> I0115 21:24:50.502692 31538 leveldb.cpp:436] Reading position from leveldb took 46663ns
> I0115 21:24:50.502779 31538 leveldb.cpp:436] Reading position from leveldb took 32544ns
> I0115 21:24:50.504348 31526 registrar.cpp:340] Successfully fetched the registry (466B) in 5.300224ms
> I0115 21:24:50.504598 31526 registrar.cpp:439] Applied 1 operations in 77866ns; attempting to update the 'registry'
> I0115 21:24:50.505383 31532 log.cpp:683] Attempting to append 505 bytes to the log
> I0115 21:24:50.505545 31527 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 9
> I0115 21:24:50.506217 31540 replica.cpp:537] Replica received write request for position 9 from (6143)@172.17.0.4:52665
> I0115 21:24:50.506575 31540 leveldb.cpp:341] Persisting action (524 bytes) to leveldb took 320628ns
> I0115 21:24:50.506600 31540 replica.cpp:712] Persisted action at 9
> I0115 21:24:50.507153 31527 replica.cpp:691] Replica received learned notice for position 9 from @0.0.0.0:0
> I0115 21:24:50.507509 31527 leveldb.cpp:341] Persisting action (526 bytes) to leveldb took 326792ns
> I0115 21:24:50.507536 31527 replica.cpp:712] Persisted action at 9
> I0115 21:24:50.507561 31527 replica.cpp:697] Replica learned APPEND action at position 9
> I0115 21:24:50.509042 31527 registrar.cpp:484] Successfully updated the 'registry' in 4.371968ms
> I0115 21:24:50.509234 31528 log.cpp:702] Attempting to truncate the log to 9
> I0115 21:24:50.509294 31527 registrar.cpp:370] Successfully recovered registrar
> I0115 21:24:50.509380 31539 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 10
> I0115 21:24:50.510097 31534 replica.cpp:537] Replica received write request for position 10 from (6144)@172.17.0.4:52665
> I0115 21:24:50.510502 31533 master.cpp:1520] Recovered 2 slaves from the Registry (466B) ; allowing 10mins for slaves to re-register
> I0115 21:24:50.510536 31526 hierarchical.cpp:165] Skipping recovery of hierarchical allocator: nothing to recover
> I0115 21:24:50.510613 31534 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 478371ns
> I0115 21:24:50.510642 31534 replica.cpp:712] Persisted action at 10
> I0115 21:24:50.511201 31534 replica.cpp:691] Replica received learned notice for position 10 from @0.0.0.0:0
> I0115 21:24:50.511526 31534 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 295320ns
> I0115 21:24:50.511595 31534 leveldb.cpp:399] Deleting ~2 keys from leveldb took 43042ns
> I0115 21:24:50.511618 31534 replica.cpp:712] Persisted action at 10
> I0115 21:24:50.511656 31534 replica.cpp:697] Replica learned TRUNCATE action at position 10
> I0115 21:24:50.523950 31507 containerizer.cpp:140] Using isolation: posix/cpu,posix/mem,filesystem/posix
> W0115 21:24:50.524636 31507 backend.cpp:48] Failed to create 'bind' backend: BindBackend requires root privileges
> I0115 21:24:50.528375 31537 slave.cpp:191] Slave started on 181)@172.17.0.4:52665
> I0115 21:24:50.528496 31537 slave.cpp:192] Flags at startup: --appc_store_dir="/tmp/mesos/store/appc" --authenticatee="crammd5" --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/MasterTest_MaxCompletedFrameworksFlag_TiAZce/credential" --default_role="*" --disk_watch_interval="1mins" --docker="docker" --docker_auth_server="https://auth.docker.io" --docker_kill_orphans="true" --docker_puller_timeout="60" --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/mesos/store/docker" --enforce_container_disk_quota="false" --executor_registration_timeout="1mins" --executor_shutdown_grace_period="5secs" --fetcher_cache_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_TiAZce/fetch" --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" --gc_disk_headroom="0.1" --hadoop_home="" --help="false" --hostname_lookup="true" --image_provisioner_backend="copy" --initialize_driver_logging="true" --isolation="posix/cpu,posix/mem" --launcher_dir="/mesos/mesos-0.27.0/_build/src" --logbufsecs="0" --logging_level="INFO" --oversubscribed_resources_interval="15secs" --perf_duration="10secs" --perf_interval="1mins" --qos_correction_interval_min="0ns" --quiet="false" --recover="reconnect" --recovery_timeout="15mins" --registration_backoff_factor="10ms" --resources="cpus:2;mem:1024;disk:1024;ports:[31000-32000]" --revocable_cpu_low_priority="true" --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --switch_user="true" --systemd_runtime_directory="/run/systemd/system" --version="false" --work_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_TiAZce"
> I0115 21:24:50.529209 31537 credentials.hpp:83] Loading credential for authentication from '/tmp/MasterTest_MaxCompletedFrameworksFlag_TiAZce/credential'
> I0115 21:24:50.529536 31537 slave.cpp:322] Slave using credential for: test-principal
> I0115 21:24:50.529855 31537 resources.cpp:482] Parsing resources as JSON failed: cpus:2;mem:1024;disk:1024;ports:[31000-32000]
> Trying semicolon-delimited string format instead
> I0115 21:24:50.530510 31537 slave.cpp:392] Slave resources: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 21:24:50.530669 31537 slave.cpp:400] Slave attributes: [  ]
> I0115 21:24:50.530782 31537 slave.cpp:405] Slave hostname: 4e6fbf10d387
> I0115 21:24:50.530922 31507 sched.cpp:164] Version: 0.27.0
> I0115 21:24:50.531680 31533 sched.cpp:268] New master detected at master@172.17.0.4:52665
> I0115 21:24:50.531977 31533 sched.cpp:324] Authenticating with master master@172.17.0.4:52665
> I0115 21:24:50.531998 31533 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 21:24:50.532127 31526 state.cpp:58] Recovering state from '/tmp/MasterTest_MaxCompletedFrameworksFlag_TiAZce/meta'
> I0115 21:24:50.532227 31537 authenticatee.cpp:121] Creating new client SASL connection
> I0115 21:24:50.532560 31532 status_update_manager.cpp:200] Recovering status update manager
> I0115 21:24:50.532640 31526 master.cpp:5521] Authenticating scheduler-0fcf9012-9796-4dff-8d30-9aac0547d736@172.17.0.4:52665
> I0115 21:24:50.532759 31532 containerizer.cpp:386] Recovering containerizer
> I0115 21:24:50.532979 31526 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(424)@172.17.0.4:52665
> I0115 21:24:50.533330 31526 authenticator.cpp:98] Creating new server SASL connection
> I0115 21:24:50.533994 31528 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 21:24:50.534039 31528 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 21:24:50.534436 31539 authenticator.cpp:203] Received SASL authentication start
> I0115 21:24:50.534500 31539 authenticator.cpp:325] Authentication requires more steps
> I0115 21:24:50.534584 31539 authenticatee.cpp:258] Received SASL authentication step
> I0115 21:24:50.534670 31539 authenticator.cpp:231] Received SASL authentication step
> I0115 21:24:50.534700 31539 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 21:24:50.534713 31539 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 21:24:50.534750 31539 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 21:24:50.534773 31539 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 21:24:50.534785 31539 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.534793 31539 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.534809 31539 authenticator.cpp:317] Authentication success
> I0115 21:24:50.534919 31541 authenticatee.cpp:298] Authentication success
> I0115 21:24:50.534932 31536 provisioner.cpp:245] Provisioner recovery complete
> I0115 21:24:50.534970 31537 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-0fcf9012-9796-4dff-8d30-9aac0547d736@172.17.0.4:52665
> I0115 21:24:50.535362 31529 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(424)@172.17.0.4:52665
> I0115 21:24:50.535529 31541 sched.cpp:413] Successfully authenticated with master master@172.17.0.4:52665
> I0115 21:24:50.535554 31541 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.4:52665
> I0115 21:24:50.535667 31541 sched.cpp:755] Will retry registration in 57.962946ms if necessary
> I0115 21:24:50.535667 31533 slave.cpp:4424] Finished recovery
> I0115 21:24:50.535864 31541 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-0fcf9012-9796-4dff-8d30-9aac0547d736@172.17.0.4:52665
> I0115 21:24:50.535928 31541 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 21:24:50.536207 31533 slave.cpp:4596] Querying resource estimator for oversubscribable resources
> I0115 21:24:50.536221 31541 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 21:24:50.536574 31533 slave.cpp:724] New master detected at master@172.17.0.4:52665
> I0115 21:24:50.536586 31538 status_update_manager.cpp:174] Pausing sending status updates
> I0115 21:24:50.536775 31533 slave.cpp:787] Authenticating with master master@172.17.0.4:52665
> I0115 21:24:50.536799 31533 slave.cpp:792] Using default CRAM-MD5 authenticatee
> I0115 21:24:50.537003 31533 slave.cpp:760] Detecting new master
> I0115 21:24:50.537127 31533 slave.cpp:4610] Received oversubscribable resources  from the resource estimator
> I0115 21:24:50.537194 31526 authenticatee.cpp:121] Creating new client SASL connection
> I0115 21:24:50.537655 31540 hierarchical.cpp:259] Added framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0000
> I0115 21:24:50.537713 31540 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.537742 31540 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 21:24:50.537763 31540 hierarchical.cpp:1079] Performed allocation for 0 slaves in 84331ns
> I0115 21:24:50.537756 31541 master.cpp:5521] Authenticating slave(181)@172.17.0.4:52665
> I0115 21:24:50.537900 31528 sched.cpp:649] Framework registered with c692ca0d-1942-40c3-b7c7-7eede15c301a-0000
> I0115 21:24:50.538144 31528 sched.cpp:663] Scheduler::registered took 201867ns
> I0115 21:24:50.537886 31539 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(425)@172.17.0.4:52665
> I0115 21:24:50.538542 31540 authenticator.cpp:98] Creating new server SASL connection
> I0115 21:24:50.538594 31507 sched.cpp:1851] Asked to stop the driver
> I0115 21:24:50.538723 31527 sched.cpp:1089] Stopping framework 'c692ca0d-1942-40c3-b7c7-7eede15c301a-0000'
> I0115 21:24:50.538761 31541 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 21:24:50.538787 31541 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 21:24:50.538934 31541 authenticator.cpp:203] Received SASL authentication start
> I0115 21:24:50.538995 31541 authenticator.cpp:325] Authentication requires more steps
> I0115 21:24:50.539106 31533 master.cpp:5921] Processing TEARDOWN call for framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0000 (default) at scheduler-0fcf9012-9796-4dff-8d30-9aac0547d736@172.17.0.4:52665
> I0115 21:24:50.539189 31537 authenticatee.cpp:258] Received SASL authentication step
> I0115 21:24:50.539284 31533 master.cpp:5933] Removing framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0000 (default) at scheduler-0fcf9012-9796-4dff-8d30-9aac0547d736@172.17.0.4:52665
> I0115 21:24:50.539530 31537 hierarchical.cpp:369] Deactivated framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0000
> I0115 21:24:50.539551 31530 authenticator.cpp:231] Received SASL authentication step
> I0115 21:24:50.539580 31530 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 21:24:50.539592 31530 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 21:24:50.539621 31530 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 21:24:50.539644 31530 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 21:24:50.539655 31530 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.539664 31530 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.539680 31530 authenticator.cpp:317] Authentication success
> I0115 21:24:50.539814 31530 authenticatee.cpp:298] Authentication success
> I0115 21:24:50.539901 31531 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(425)@172.17.0.4:52665
> I0115 21:24:50.539966 31533 master.cpp:5551] Successfully authenticated principal 'test-principal' at slave(181)@172.17.0.4:52665
> I0115 21:24:50.540165 31531 hierarchical.cpp:320] Removed framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0000
> I0115 21:24:50.540483 31530 slave.cpp:855] Successfully authenticated with master master@172.17.0.4:52665
> I0115 21:24:50.540606 31530 slave.cpp:1249] Will retry registration in 160421ns if necessary
> I0115 21:24:50.540819 31538 master.cpp:4235] Registering slave at slave(181)@172.17.0.4:52665 (4e6fbf10d387) with id c692ca0d-1942-40c3-b7c7-7eede15c301a-S0
> I0115 21:24:50.541365 31535 registrar.cpp:439] Applied 1 operations in 92849ns; attempting to update the 'registry'
> I0115 21:24:50.542291 31535 slave.cpp:1249] Will retry registration in 9.446155ms if necessary
> I0115 21:24:50.542424 31535 log.cpp:683] Attempting to append 671 bytes to the log
> I0115 21:24:50.542562 31527 master.cpp:4223] Ignoring register slave message from slave(181)@172.17.0.4:52665 (4e6fbf10d387) as admission is already in progress
> I0115 21:24:50.542613 31535 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 11
> I0115 21:24:50.543368 31540 replica.cpp:537] Replica received write request for position 11 from (6158)@172.17.0.4:52665
> I0115 21:24:50.543472 31507 sched.cpp:164] Version: 0.27.0
> I0115 21:24:50.543937 31540 leveldb.cpp:341] Persisting action (690 bytes) to leveldb took 443903ns
> I0115 21:24:50.543974 31540 replica.cpp:712] Persisted action at 11
> I0115 21:24:50.544502 31532 sched.cpp:268] New master detected at master@172.17.0.4:52665
> I0115 21:24:50.544642 31532 sched.cpp:324] Authenticating with master master@172.17.0.4:52665
> I0115 21:24:50.544663 31532 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 21:24:50.544906 31531 replica.cpp:691] Replica received learned notice for position 11 from @0.0.0.0:0
> I0115 21:24:50.545123 31530 authenticatee.cpp:121] Creating new client SASL connection
> I0115 21:24:50.545377 31531 leveldb.cpp:341] Persisting action (692 bytes) to leveldb took 439333ns
> I0115 21:24:50.545418 31531 replica.cpp:712] Persisted action at 11
> I0115 21:24:50.545445 31531 replica.cpp:697] Replica learned APPEND action at position 11
> I0115 21:24:50.545593 31535 master.cpp:5521] Authenticating scheduler-2d9bc518-fdc5-4dfa-989b-2ad94fba0e4b@172.17.0.4:52665
> I0115 21:24:50.545809 31529 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(426)@172.17.0.4:52665
> I0115 21:24:50.546036 31532 authenticator.cpp:98] Creating new server SASL connection
> I0115 21:24:50.546748 31532 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 21:24:50.546958 31532 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 21:24:50.547176 31532 authenticator.cpp:203] Received SASL authentication start
> I0115 21:24:50.547238 31532 authenticator.cpp:325] Authentication requires more steps
> I0115 21:24:50.547322 31532 authenticatee.cpp:258] Received SASL authentication step
> I0115 21:24:50.547577 31532 authenticator.cpp:231] Received SASL authentication step
> I0115 21:24:50.547608 31532 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 21:24:50.547624 31532 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 21:24:50.547668 31532 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 21:24:50.547693 31532 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '4e6fbf10d387' server FQDN: '4e6fbf10d387' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 21:24:50.547704 31532 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.547713 31532 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 21:24:50.547729 31532 authenticator.cpp:317] Authentication success
> I0115 21:24:50.547865 31529 authenticatee.cpp:298] Authentication success
> I0115 21:24:50.548017 31529 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-2d9bc518-fdc5-4dfa-989b-2ad94fba0e4b@172.17.0.4:52665
> I0115 21:24:50.548152 31529 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(426)@172.17.0.4:52665
> I0115 21:24:50.548521 31532 sched.cpp:413] Successfully authenticated with master master@172.17.0.4:52665
> I0115 21:24:50.548734 31532 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.4:52665
> I0115 21:24:50.548815 31526 registrar.cpp:484] Successfully updated the 'registry' in 7.357696ms
> I0115 21:24:50.549026 31532 sched.cpp:755] Will retry registration in 510.878524ms if necessary
> I0115 21:24:50.549149 31528 log.cpp:702] Attempting to truncate the log to 11
> I0115 21:24:50.549211 31530 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-2d9bc518-fdc5-4dfa-989b-2ad94fba0e4b@172.17.0.4:52665
> I0115 21:24:50.549324 31530 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 21:24:50.549394 31532 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 12
> I0115 21:24:50.549675 31530 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 21:24:50.550137 31531 hierarchical.cpp:259] Added framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001
> I0115 21:24:50.550261 31531 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.550411 31532 sched.cpp:649] Framework registered with c692ca0d-1942-40c3-b7c7-7eede15c301a-0001
> I0115 21:24:50.550660 31532 sched.cpp:663] Scheduler::registered took 52837ns
> I0115 21:24:50.550513 31527 replica.cpp:537] Replica received write request for position 12 from (6159)@172.17.0.4:52665
> I0115 21:24:50.550734 31530 master.cpp:4303] Registered slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 at slave(181)@172.17.0.4:52665 (4e6fbf10d387) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 21:24:50.550837 31532 slave.cpp:3366] Received ping from slave-observer(181)@172.17.0.4:52665
> I0115 21:24:50.550947 31531 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 21:24:50.550971 31532 slave.cpp:899] Registered with master master@172.17.0.4:52665; given slave ID c692ca0d-1942-40c3-b7c7-7eede15c301a-S0
> I0115 21:24:50.551100 31531 hierarchical.cpp:1079] Performed allocation for 0 slaves in 864753ns
> I0115 21:24:50.551113 31532 fetcher.cpp:81] Clearing fetcher cache
> I0115 21:24:50.551214 31527 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 411593ns
> I0115 21:24:50.551260 31527 replica.cpp:712] Persisted action at 12
> I0115 21:24:50.551365 31527 status_update_manager.cpp:181] Resuming sending status updates
> I0115 21:24:50.551446 31532 slave.cpp:922] Checkpointing SlaveInfo to '/tmp/MasterTest_MaxCompletedFrameworksFlag_TiAZce/meta/slaves/c692ca0d-1942-40c3-b7c7-7eede15c301a-S0/slave.info'
> I0115 21:24:50.551671 31531 hierarchical.cpp:465] Added slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 (4e6fbf10d387) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (allocated: )
> I0115 21:24:50.551877 31532 slave.cpp:958] Forwarding total oversubscribed resources 
> I0115 21:24:50.552701 31507 sched.cpp:1851] Asked to stop the driver
> I0115 21:24:50.552909 31526 master.cpp:4644] Received update of slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 at slave(181)@172.17.0.4:52665 (4e6fbf10d387) with total oversubscribed resources 
> I0115 21:24:50.553128 31536 replica.cpp:691] Replica received learned notice for position 12 from @0.0.0.0:0
> I0115 21:24:50.553720 31531 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 21:24:50.553853 31531 hierarchical.cpp:1101] Performed allocation for slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 in 2.136878ms
> I0115 21:24:50.554111 31536 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 871515ns
> I0115 21:24:50.554184 31536 leveldb.cpp:399] Deleting ~2 keys from leveldb took 43002ns
> I0115 21:24:50.554211 31536 replica.cpp:712] Persisted action at 12
> I0115 21:24:50.554234 31536 replica.cpp:697] Replica learned TRUNCATE action at position 12
> I0115 21:24:50.554656 31531 hierarchical.cpp:521] Slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 (4e6fbf10d387) updated with oversubscribed resources  (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000])
> I0115 21:24:50.554931 31531 hierarchical.cpp:1329] No resources available to allocate!
> I0115 21:24:50.555027 31531 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 21:24:50.555120 31531 hierarchical.cpp:1101] Performed allocation for slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 in 348381ns
> I0115 21:24:50.553755 31526 master.cpp:1211] Framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001 (default) at scheduler-2d9bc518-fdc5-4dfa-989b-2ad94fba0e4b@172.17.0.4:52665 disconnected
> I0115 21:24:50.555299 31526 master.cpp:2574] Disconnecting framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001 (default) at scheduler-2d9bc518-fdc5-4dfa-989b-2ad94fba0e4b@172.17.0.4:52665
> I0115 21:24:50.555424 31526 master.cpp:2598] Deactivating framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001 (default) at scheduler-2d9bc518-fdc5-4dfa-989b-2ad94fba0e4b@172.17.0.4:52665
> I0115 21:24:50.555618 31526 master.cpp:1235] Giving framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001 (default) at scheduler-2d9bc518-fdc5-4dfa-989b-2ad94fba0e4b@172.17.0.4:52665 0ns to failover
> I0115 21:24:50.555713 31540 hierarchical.cpp:369] Deactivated framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001
> W0115 21:24:50.556005 31526 master.cpp:5215] Master returning resources offered to framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001 because the framework has terminated or is inactive
> I0115 21:24:50.556226 31526 process.cpp:3141] Handling HTTP event for process 'master' with path: '/master/state'
> I0115 21:24:50.556789 31537 hierarchical.cpp:880] Recovered cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: ) on slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 from framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001
> I0115 21:24:50.556864 31533 http.cpp:504] HTTP GET for /master/state from 172.17.0.4:47474
> I0115 21:24:50.558725 31533 master.cpp:5202] Framework failover timeout, removing framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001 (default) at scheduler-2d9bc518-fdc5-4dfa-989b-2ad94fba0e4b@172.17.0.4:52665
> I0115 21:24:50.558771 31533 master.cpp:5933] Removing framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001 (default) at scheduler-2d9bc518-fdc5-4dfa-989b-2ad94fba0e4b@172.17.0.4:52665
> I0115 21:24:50.558904 31538 slave.cpp:2007] Asked to shut down framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001 by master@172.17.0.4:52665
> W0115 21:24:50.558939 31538 slave.cpp:2022] Cannot shut down unknown framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001
> I0115 21:24:50.559340 31538 hierarchical.cpp:320] Removed framework c692ca0d-1942-40c3-b7c7-7eede15c301a-0001
> ../../src/tests/master_tests.cpp:3976: Failure
> Value of: completedFrameworks->values.size()
>   Actual: 1
> Expected: maxFrameworks
> Which is: 2
> I0115 21:24:50.562002 31531 slave.cpp:596] Slave terminating
> I0115 21:24:50.562175 31539 master.cpp:1172] Slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 at slave(181)@172.17.0.4:52665 (4e6fbf10d387) disconnected
> I0115 21:24:50.562209 31539 master.cpp:2633] Disconnecting slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 at slave(181)@172.17.0.4:52665 (4e6fbf10d387)
> I0115 21:24:50.562284 31539 master.cpp:2652] Deactivating slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 at slave(181)@172.17.0.4:52665 (4e6fbf10d387)
> I0115 21:24:50.562458 31533 hierarchical.cpp:550] Slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0 deactivated
> I0115 21:24:50.565102 31526 master.cpp:1025] Master terminating
> I0115 21:24:50.565763 31529 hierarchical.cpp:496] Removed slave c692ca0d-1942-40c3-b7c7-7eede15c301a-S0
> [  FAILED  ] MasterTest.MaxCompletedFrameworksFlag (231 ms)
> {noformat}
> {noformat: title=Good Run}
> [ RUN      ] MasterTest.MaxCompletedFrameworksFlag
> I0115 22:28:07.832914 31503 leveldb.cpp:174] Opened db in 2.922866ms
> I0115 22:28:07.834200 31503 leveldb.cpp:181] Compacted db in 1.243675ms
> I0115 22:28:07.834259 31503 leveldb.cpp:196] Created db iterator in 18785ns
> I0115 22:28:07.834277 31503 leveldb.cpp:202] Seeked to beginning of db in 2007ns
> I0115 22:28:07.834290 31503 leveldb.cpp:271] Iterated through 0 keys in the db in 287ns
> I0115 22:28:07.834326 31503 replica.cpp:779] Replica recovered with log positions 0 -> 0 with 1 holes and 0 unlearned
> I0115 22:28:07.834797 31524 recover.cpp:447] Starting replica recovery
> I0115 22:28:07.835096 31537 recover.cpp:473] Replica is in EMPTY status
> I0115 22:28:07.836217 31525 replica.cpp:673] Replica in EMPTY status received a broadcasted recover request from (6092)@172.17.0.2:46248
> I0115 22:28:07.836710 31524 recover.cpp:193] Received a recover response from a replica in EMPTY status
> I0115 22:28:07.837188 31536 recover.cpp:564] Updating replica status to STARTING
> I0115 22:28:07.838066 31528 master.cpp:374] Master 35b3291c-c5f7-49f6-8032-39d07311c4bf (d28238b10cf3) started on 172.17.0.2:46248
> I0115 22:28:07.838119 31527 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 642109ns
> I0115 22:28:07.838155 31527 replica.cpp:320] Persisted replica status to STARTING
> I0115 22:28:07.838095 31528 master.cpp:376] Flags at startup: --acls="" --allocation_interval="1secs" --allocator="HierarchicalDRF" --authenticate="true" --authenticate_http="true" --authenticate_slaves="true" --authenticators="crammd5" --authorizers="local" --credentials="/tmp/4OcNHE/credentials" --framework_sorter="drf" --help="false" --hostname_lookup="true" --http_authenticators="basic" --initialize_driver_logging="true" --log_auto_initialize="true" --logbufsecs="0" --logging_level="INFO" --max_completed_frameworks="0" --max_completed_tasks_per_framework="1000" --max_slave_ping_timeouts="5" --quiet="false" --recovery_slave_removal_limit="100%" --registry="replicated_log" --registry_fetch_timeout="1mins" --registry_store_timeout="25secs" --registry_strict="true" --root_submissions="true" --slave_ping_timeout="15secs" --slave_reregister_timeout="10mins" --user_sorter="drf" --version="false" --webui_dir="/mesos/mesos-0.27.0/_inst/share/mesos/webui" --work_dir="/tmp/4OcNHE/master" --zk_session_timeout="10secs"
> I0115 22:28:07.838407 31528 master.cpp:421] Master only allowing authenticated frameworks to register
> I0115 22:28:07.838419 31528 master.cpp:426] Master only allowing authenticated slaves to register
> I0115 22:28:07.838428 31528 credentials.hpp:35] Loading credentials for authentication from '/tmp/4OcNHE/credentials'
> I0115 22:28:07.838428 31525 recover.cpp:473] Replica is in STARTING status
> I0115 22:28:07.838789 31528 master.cpp:466] Using default 'crammd5' authenticator
> I0115 22:28:07.838985 31528 master.cpp:535] Using default 'basic' HTTP authenticator
> I0115 22:28:07.839251 31528 master.cpp:569] Authorization enabled
> I0115 22:28:07.839464 31523 hierarchical.cpp:147] Initialized hierarchical allocator process
> I0115 22:28:07.839496 31532 whitelist_watcher.cpp:77] No whitelist given
> I0115 22:28:07.839973 31524 replica.cpp:673] Replica in STARTING status received a broadcasted recover request from (6094)@172.17.0.2:46248
> I0115 22:28:07.840471 31536 recover.cpp:193] Received a recover response from a replica in STARTING status
> I0115 22:28:07.841099 31526 recover.cpp:564] Updating replica status to VOTING
> I0115 22:28:07.841874 31535 master.cpp:1710] The newly elected leader is master@172.17.0.2:46248 with id 35b3291c-c5f7-49f6-8032-39d07311c4bf
> I0115 22:28:07.841912 31535 master.cpp:1723] Elected as the leading master!
> I0115 22:28:07.841929 31535 master.cpp:1468] Recovering from registrar
> I0115 22:28:07.841953 31531 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 610781ns
> I0115 22:28:07.841989 31531 replica.cpp:320] Persisted replica status to VOTING
> I0115 22:28:07.842164 31531 registrar.cpp:307] Recovering registrar
> I0115 22:28:07.842209 31535 recover.cpp:578] Successfully joined the Paxos group
> I0115 22:28:07.842449 31535 recover.cpp:462] Recover process terminated
> I0115 22:28:07.843281 31536 log.cpp:659] Attempting to start the writer
> I0115 22:28:07.844465 31523 replica.cpp:493] Replica received implicit promise request from (6095)@172.17.0.2:46248 with proposal 1
> I0115 22:28:07.844902 31523 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 404106ns
> I0115 22:28:07.844928 31523 replica.cpp:342] Persisted promised to 1
> I0115 22:28:07.845602 31526 coordinator.cpp:238] Coordinator attempting to fill missing positions
> I0115 22:28:07.846809 31524 replica.cpp:388] Replica received explicit promise request from (6096)@172.17.0.2:46248 for position 0 with proposal 2
> I0115 22:28:07.847296 31524 leveldb.cpp:341] Persisting action (8 bytes) to leveldb took 442684ns
> I0115 22:28:07.847323 31524 replica.cpp:712] Persisted action at 0
> I0115 22:28:07.848533 31535 replica.cpp:537] Replica received write request for position 0 from (6097)@172.17.0.2:46248
> I0115 22:28:07.848590 31535 leveldb.cpp:436] Reading position from leveldb took 24993ns
> I0115 22:28:07.849100 31535 leveldb.cpp:341] Persisting action (14 bytes) to leveldb took 457480ns
> I0115 22:28:07.849128 31535 replica.cpp:712] Persisted action at 0
> I0115 22:28:07.849895 31530 replica.cpp:691] Replica received learned notice for position 0 from @0.0.0.0:0
> I0115 22:28:07.850406 31530 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 473039ns
> I0115 22:28:07.850433 31530 replica.cpp:712] Persisted action at 0
> I0115 22:28:07.850451 31530 replica.cpp:697] Replica learned NOP action at position 0
> I0115 22:28:07.851038 31530 log.cpp:675] Writer started with ending position 0
> I0115 22:28:07.852216 31533 leveldb.cpp:436] Reading position from leveldb took 35429ns
> I0115 22:28:07.853214 31522 registrar.cpp:340] Successfully fetched the registry (0B) in 11.001088ms
> I0115 22:28:07.853381 31522 registrar.cpp:439] Applied 1 operations in 60696ns; attempting to update the 'registry'
> I0115 22:28:07.854156 31523 log.cpp:683] Attempting to append 170 bytes to the log
> I0115 22:28:07.854307 31535 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 1
> I0115 22:28:07.855118 31532 replica.cpp:537] Replica received write request for position 1 from (6098)@172.17.0.2:46248
> I0115 22:28:07.855547 31532 leveldb.cpp:341] Persisting action (189 bytes) to leveldb took 382852ns
> I0115 22:28:07.855579 31532 replica.cpp:712] Persisted action at 1
> I0115 22:28:07.856367 31527 replica.cpp:691] Replica received learned notice for position 1 from @0.0.0.0:0
> I0115 22:28:07.856770 31527 leveldb.cpp:341] Persisting action (191 bytes) to leveldb took 366587ns
> I0115 22:28:07.856801 31527 replica.cpp:712] Persisted action at 1
> I0115 22:28:07.856822 31527 replica.cpp:697] Replica learned APPEND action at position 1
> I0115 22:28:07.857908 31537 registrar.cpp:484] Successfully updated the 'registry' in 4.453376ms
> I0115 22:28:07.858058 31537 registrar.cpp:370] Successfully recovered registrar
> I0115 22:28:07.858209 31531 log.cpp:702] Attempting to truncate the log to 1
> I0115 22:28:07.858369 31537 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 2
> I0115 22:28:07.858490 31533 master.cpp:1520] Recovered 0 slaves from the Registry (131B) ; allowing 10mins for slaves to re-register
> I0115 22:28:07.858672 31532 hierarchical.cpp:165] Skipping recovery of hierarchical allocator: nothing to recover
> I0115 22:28:07.859351 31528 replica.cpp:537] Replica received write request for position 2 from (6099)@172.17.0.2:46248
> I0115 22:28:07.859858 31528 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 462984ns
> I0115 22:28:07.859889 31528 replica.cpp:712] Persisted action at 2
> I0115 22:28:07.860613 31536 replica.cpp:691] Replica received learned notice for position 2 from @0.0.0.0:0
> I0115 22:28:07.861145 31536 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 474109ns
> I0115 22:28:07.861207 31536 leveldb.cpp:399] Deleting ~1 keys from leveldb took 32761ns
> I0115 22:28:07.861230 31536 replica.cpp:712] Persisted action at 2
> I0115 22:28:07.861253 31536 replica.cpp:697] Replica learned TRUNCATE action at position 2
> I0115 22:28:07.871681 31503 containerizer.cpp:140] Using isolation: posix/cpu,posix/mem,filesystem/posix
> W0115 22:28:07.872292 31503 backend.cpp:48] Failed to create 'bind' backend: BindBackend requires root privileges
> I0115 22:28:07.875427 31523 slave.cpp:191] Slave started on 179)@172.17.0.2:46248
> I0115 22:28:07.875581 31523 slave.cpp:192] Flags at startup: --appc_store_dir="/tmp/mesos/store/appc" --authenticatee="crammd5" --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/MasterTest_MaxCompletedFrameworksFlag_7P7GG4/credential" --default_role="*" --disk_watch_interval="1mins" --docker="docker" --docker_auth_server="https://auth.docker.io" --docker_kill_orphans="true" --docker_puller_timeout="60" --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/mesos/store/docker" --enforce_container_disk_quota="false" --executor_registration_timeout="1mins" --executor_shutdown_grace_period="5secs" --fetcher_cache_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_7P7GG4/fetch" --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" --gc_disk_headroom="0.1" --hadoop_home="" --help="false" --hostname_lookup="true" --image_provisioner_backend="copy" --initialize_driver_logging="true" --isolation="posix/cpu,posix/mem" --launcher_dir="/mesos/mesos-0.27.0/_build/src" --logbufsecs="0" --logging_level="INFO" --oversubscribed_resources_interval="15secs" --perf_duration="10secs" --perf_interval="1mins" --qos_correction_interval_min="0ns" --quiet="false" --recover="reconnect" --recovery_timeout="15mins" --registration_backoff_factor="10ms" --resources="cpus:2;mem:1024;disk:1024;ports:[31000-32000]" --revocable_cpu_low_priority="true" --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --switch_user="true" --systemd_runtime_directory="/run/systemd/system" --version="false" --work_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_7P7GG4"
> I0115 22:28:07.876194 31523 credentials.hpp:83] Loading credential for authentication from '/tmp/MasterTest_MaxCompletedFrameworksFlag_7P7GG4/credential'
> I0115 22:28:07.876406 31523 slave.cpp:322] Slave using credential for: test-principal
> I0115 22:28:07.876690 31523 resources.cpp:482] Parsing resources as JSON failed: cpus:2;mem:1024;disk:1024;ports:[31000-32000]
> Trying semicolon-delimited string format instead
> I0115 22:28:07.877188 31523 slave.cpp:392] Slave resources: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 22:28:07.877275 31523 slave.cpp:400] Slave attributes: [  ]
> I0115 22:28:07.877290 31523 slave.cpp:405] Slave hostname: d28238b10cf3
> I0115 22:28:07.878317 31503 sched.cpp:164] Version: 0.27.0
> I0115 22:28:07.878464 31536 state.cpp:58] Recovering state from '/tmp/MasterTest_MaxCompletedFrameworksFlag_7P7GG4/meta'
> I0115 22:28:07.878844 31533 status_update_manager.cpp:200] Recovering status update manager
> I0115 22:28:07.878995 31529 sched.cpp:268] New master detected at master@172.17.0.2:46248
> I0115 22:28:07.879101 31529 sched.cpp:324] Authenticating with master master@172.17.0.2:46248
> I0115 22:28:07.879125 31529 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 22:28:07.879176 31534 containerizer.cpp:386] Recovering containerizer
> I0115 22:28:07.879349 31523 authenticatee.cpp:121] Creating new client SASL connection
> I0115 22:28:07.879655 31533 master.cpp:5521] Authenticating scheduler-e8927efb-5a7f-48be-a415-9653f81056bc@172.17.0.2:46248
> I0115 22:28:07.879783 31536 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(418)@172.17.0.2:46248
> I0115 22:28:07.880122 31530 authenticator.cpp:98] Creating new server SASL connection
> I0115 22:28:07.880350 31536 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 22:28:07.880393 31536 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 22:28:07.880513 31523 authenticator.cpp:203] Received SASL authentication start
> I0115 22:28:07.880585 31523 authenticator.cpp:325] Authentication requires more steps
> I0115 22:28:07.880733 31532 authenticatee.cpp:258] Received SASL authentication step
> I0115 22:28:07.880877 31523 authenticator.cpp:231] Received SASL authentication step
> I0115 22:28:07.881006 31531 provisioner.cpp:245] Provisioner recovery complete
> I0115 22:28:07.881054 31523 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 22:28:07.881075 31523 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 22:28:07.881114 31523 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 22:28:07.881141 31523 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 22:28:07.881155 31523 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.881162 31523 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.881180 31523 authenticator.cpp:317] Authentication success
> I0115 22:28:07.881263 31531 authenticatee.cpp:298] Authentication success
> I0115 22:28:07.881384 31531 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-e8927efb-5a7f-48be-a415-9653f81056bc@172.17.0.2:46248
> I0115 22:28:07.881479 31526 slave.cpp:4424] Finished recovery
> I0115 22:28:07.881531 31532 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(418)@172.17.0.2:46248
> I0115 22:28:07.881702 31523 sched.cpp:413] Successfully authenticated with master master@172.17.0.2:46248
> I0115 22:28:07.881743 31523 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.2:46248
> I0115 22:28:07.881853 31523 sched.cpp:755] Will retry registration in 1.782639069secs if necessary
> I0115 22:28:07.881980 31530 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-e8927efb-5a7f-48be-a415-9653f81056bc@172.17.0.2:46248
> I0115 22:28:07.882062 31530 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 22:28:07.882107 31526 slave.cpp:4596] Querying resource estimator for oversubscribable resources
> I0115 22:28:07.882416 31527 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 22:28:07.882874 31524 hierarchical.cpp:259] Added framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0000
> I0115 22:28:07.882989 31534 sched.cpp:649] Framework registered with 35b3291c-c5f7-49f6-8032-39d07311c4bf-0000
> I0115 22:28:07.883002 31524 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:07.883010 31529 slave.cpp:724] New master detected at master@172.17.0.2:46248
> I0115 22:28:07.883149 31524 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 22:28:07.883188 31529 slave.cpp:787] Authenticating with master master@172.17.0.2:46248
> I0115 22:28:07.883194 31534 sched.cpp:663] Scheduler::registered took 78050ns
> I0115 22:28:07.883189 31524 hierarchical.cpp:1079] Performed allocation for 0 slaves in 229659ns
> I0115 22:28:07.883221 31529 slave.cpp:792] Using default CRAM-MD5 authenticatee
> I0115 22:28:07.883031 31530 status_update_manager.cpp:174] Pausing sending status updates
> I0115 22:28:07.883570 31523 authenticatee.cpp:121] Creating new client SASL connection
> I0115 22:28:07.883600 31529 slave.cpp:760] Detecting new master
> I0115 22:28:07.883641 31503 sched.cpp:1851] Asked to stop the driver
> I0115 22:28:07.883769 31534 sched.cpp:1089] Stopping framework '35b3291c-c5f7-49f6-8032-39d07311c4bf-0000'
> I0115 22:28:07.883885 31524 master.cpp:5521] Authenticating slave(179)@172.17.0.2:46248
> I0115 22:28:07.883913 31529 slave.cpp:4610] Received oversubscribable resources  from the resource estimator
> I0115 22:28:07.884230 31524 master.cpp:5921] Processing TEARDOWN call for framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0000 (default) at scheduler-e8927efb-5a7f-48be-a415-9653f81056bc@172.17.0.2:46248
> I0115 22:28:07.884271 31524 master.cpp:5933] Removing framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0000 (default) at scheduler-e8927efb-5a7f-48be-a415-9653f81056bc@172.17.0.2:46248
> I0115 22:28:07.884719 31525 hierarchical.cpp:369] Deactivated framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0000
> I0115 22:28:07.884862 31525 hierarchical.cpp:320] Removed framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0000
> I0115 22:28:07.884946 31536 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(419)@172.17.0.2:46248
> I0115 22:28:07.885231 31533 authenticator.cpp:98] Creating new server SASL connection
> I0115 22:28:07.885493 31530 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 22:28:07.885535 31530 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 22:28:07.885687 31535 authenticator.cpp:203] Received SASL authentication start
> I0115 22:28:07.885768 31535 authenticator.cpp:325] Authentication requires more steps
> I0115 22:28:07.885886 31530 authenticatee.cpp:258] Received SASL authentication step
> I0115 22:28:07.886035 31535 authenticator.cpp:231] Received SASL authentication step
> I0115 22:28:07.886081 31535 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 22:28:07.886106 31535 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 22:28:07.886169 31535 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 22:28:07.886258 31535 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 22:28:07.886322 31535 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.886343 31535 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.886375 31535 authenticator.cpp:317] Authentication success
> I0115 22:28:07.886492 31529 authenticatee.cpp:298] Authentication success
> I0115 22:28:07.886652 31534 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(419)@172.17.0.2:46248
> I0115 22:28:07.886678 31531 master.cpp:5551] Successfully authenticated principal 'test-principal' at slave(179)@172.17.0.2:46248
> I0115 22:28:07.886860 31503 sched.cpp:164] Version: 0.27.0
> I0115 22:28:07.887159 31537 slave.cpp:855] Successfully authenticated with master master@172.17.0.2:46248
> I0115 22:28:07.887399 31537 slave.cpp:1249] Will retry registration in 3.238491ms if necessary
> I0115 22:28:07.887739 31536 sched.cpp:268] New master detected at master@172.17.0.2:46248
> I0115 22:28:07.887847 31536 sched.cpp:324] Authenticating with master master@172.17.0.2:46248
> I0115 22:28:07.887862 31524 master.cpp:4235] Registering slave at slave(179)@172.17.0.2:46248 (d28238b10cf3) with id 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0
> I0115 22:28:07.887881 31536 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 22:28:07.888253 31527 authenticatee.cpp:121] Creating new client SASL connection
> I0115 22:28:07.888568 31533 registrar.cpp:439] Applied 1 operations in 86318ns; attempting to update the 'registry'
> I0115 22:28:07.888576 31526 master.cpp:5521] Authenticating scheduler-a332ccce-fae6-4908-af84-88def0f37985@172.17.0.2:46248
> I0115 22:28:07.888829 31528 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(420)@172.17.0.2:46248
> I0115 22:28:07.889111 31522 authenticator.cpp:98] Creating new server SASL connection
> I0115 22:28:07.889456 31523 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 22:28:07.889499 31523 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 22:28:07.889667 31523 authenticator.cpp:203] Received SASL authentication start
> I0115 22:28:07.889744 31523 authenticator.cpp:325] Authentication requires more steps
> I0115 22:28:07.889734 31531 log.cpp:683] Attempting to append 339 bytes to the log
> I0115 22:28:07.889905 31537 authenticatee.cpp:258] Received SASL authentication step
> I0115 22:28:07.889930 31528 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 3
> I0115 22:28:07.890125 31525 authenticator.cpp:231] Received SASL authentication step
> I0115 22:28:07.890169 31525 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 22:28:07.890192 31525 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 22:28:07.890228 31525 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 22:28:07.890266 31525 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 22:28:07.890283 31525 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.890292 31525 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.890310 31525 authenticator.cpp:317] Authentication success
> I0115 22:28:07.890722 31528 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-a332ccce-fae6-4908-af84-88def0f37985@172.17.0.2:46248
> I0115 22:28:07.890801 31522 authenticatee.cpp:298] Authentication success
> I0115 22:28:07.890832 31526 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(420)@172.17.0.2:46248
> I0115 22:28:07.891366 31528 sched.cpp:413] Successfully authenticated with master master@172.17.0.2:46248
> I0115 22:28:07.891403 31528 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.2:46248
> I0115 22:28:07.891438 31523 replica.cpp:537] Replica received write request for position 3 from (6113)@172.17.0.2:46248
> I0115 22:28:07.891510 31528 sched.cpp:755] Will retry registration in 1.740367126secs if necessary
> I0115 22:28:07.891671 31533 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-a332ccce-fae6-4908-af84-88def0f37985@172.17.0.2:46248
> I0115 22:28:07.891685 31523 leveldb.cpp:341] Persisting action (358 bytes) to leveldb took 203494ns
> I0115 22:28:07.891721 31523 replica.cpp:712] Persisted action at 3
> I0115 22:28:07.891731 31533 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 22:28:07.892061 31531 slave.cpp:1249] Will retry registration in 29.778588ms if necessary
> I0115 22:28:07.892479 31532 master.cpp:4223] Ignoring register slave message from slave(179)@172.17.0.2:46248 (d28238b10cf3) as admission is already in progress
> I0115 22:28:07.892582 31536 replica.cpp:691] Replica received learned notice for position 3 from @0.0.0.0:0
> I0115 22:28:07.892616 31532 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 22:28:07.893162 31526 hierarchical.cpp:259] Added framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001
> I0115 22:28:07.893225 31526 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:07.893290 31527 sched.cpp:649] Framework registered with 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001
> I0115 22:28:07.893311 31536 leveldb.cpp:341] Persisting action (360 bytes) to leveldb took 580476ns
> I0115 22:28:07.893357 31526 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 22:28:07.893369 31536 replica.cpp:712] Persisted action at 3
> I0115 22:28:07.893383 31526 hierarchical.cpp:1079] Performed allocation for 0 slaves in 193092ns
> I0115 22:28:07.893403 31536 replica.cpp:697] Replica learned APPEND action at position 3
> I0115 22:28:07.893438 31527 sched.cpp:663] Scheduler::registered took 73223ns
> I0115 22:28:07.893728 31503 sched.cpp:1851] Asked to stop the driver
> I0115 22:28:07.893966 31533 master.cpp:1211] Framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001 (default) at scheduler-a332ccce-fae6-4908-af84-88def0f37985@172.17.0.2:46248 disconnected
> I0115 22:28:07.894079 31533 master.cpp:2574] Disconnecting framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001 (default) at scheduler-a332ccce-fae6-4908-af84-88def0f37985@172.17.0.2:46248
> I0115 22:28:07.894135 31533 master.cpp:2598] Deactivating framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001 (default) at scheduler-a332ccce-fae6-4908-af84-88def0f37985@172.17.0.2:46248
> I0115 22:28:07.894240 31533 master.cpp:1235] Giving framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001 (default) at scheduler-a332ccce-fae6-4908-af84-88def0f37985@172.17.0.2:46248 0ns to failover
> I0115 22:28:07.894269 31531 hierarchical.cpp:369] Deactivated framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001
> I0115 22:28:07.894769 31527 master.cpp:5202] Framework failover timeout, removing framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001 (default) at scheduler-a332ccce-fae6-4908-af84-88def0f37985@172.17.0.2:46248
> I0115 22:28:07.894804 31527 master.cpp:5933] Removing framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001 (default) at scheduler-a332ccce-fae6-4908-af84-88def0f37985@172.17.0.2:46248
> I0115 22:28:07.895330 31528 hierarchical.cpp:320] Removed framework 35b3291c-c5f7-49f6-8032-39d07311c4bf-0001
> I0115 22:28:07.895407 31522 registrar.cpp:484] Successfully updated the 'registry' in 6.7328ms
> I0115 22:28:07.895596 31525 log.cpp:702] Attempting to truncate the log to 3
> I0115 22:28:07.895762 31533 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 4
> I0115 22:28:07.896685 31530 replica.cpp:537] Replica received write request for position 4 from (6114)@172.17.0.2:46248
> I0115 22:28:07.896749 31531 slave.cpp:3366] Received ping from slave-observer(179)@172.17.0.2:46248
> I0115 22:28:07.897030 31531 slave.cpp:899] Registered with master master@172.17.0.2:46248; given slave ID 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0
> I0115 22:28:07.896957 31527 master.cpp:4303] Registered slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 at slave(179)@172.17.0.2:46248 (d28238b10cf3) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 22:28:07.897079 31531 fetcher.cpp:81] Clearing fetcher cache
> I0115 22:28:07.897136 31527 process.cpp:3141] Handling HTTP event for process 'master' with path: '/master/state'
> I0115 22:28:07.897274 31534 status_update_manager.cpp:181] Resuming sending status updates
> I0115 22:28:07.897301 31524 hierarchical.cpp:465] Added slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 (d28238b10cf3) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (allocated: )
> I0115 22:28:07.897475 31524 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:07.897487 31530 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 637121ns
> I0115 22:28:07.897513 31530 replica.cpp:712] Persisted action at 4
> I0115 22:28:07.897511 31524 hierarchical.cpp:1101] Performed allocation for slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 in 168590ns
> I0115 22:28:07.897600 31531 slave.cpp:922] Checkpointing SlaveInfo to '/tmp/MasterTest_MaxCompletedFrameworksFlag_7P7GG4/meta/slaves/35b3291c-c5f7-49f6-8032-39d07311c4bf-S0/slave.info'
> I0115 22:28:07.897680 31525 http.cpp:504] HTTP GET for /master/state from 172.17.0.2:44900
> I0115 22:28:07.898330 31531 slave.cpp:958] Forwarding total oversubscribed resources 
> I0115 22:28:07.898337 31522 replica.cpp:691] Replica received learned notice for position 4 from @0.0.0.0:0
> I0115 22:28:07.898982 31522 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 606970ns
> I0115 22:28:07.899080 31522 leveldb.cpp:399] Deleting ~2 keys from leveldb took 64546ns
> I0115 22:28:07.899113 31522 replica.cpp:712] Persisted action at 4
> I0115 22:28:07.899152 31522 replica.cpp:697] Replica learned TRUNCATE action at position 4
> I0115 22:28:07.899659 31525 master.cpp:4644] Received update of slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 at slave(179)@172.17.0.2:46248 (d28238b10cf3) with total oversubscribed resources 
> I0115 22:28:07.900490 31531 hierarchical.cpp:521] Slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 (d28238b10cf3) updated with oversubscribed resources  (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: )
> I0115 22:28:07.900707 31531 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:07.900744 31531 hierarchical.cpp:1101] Performed allocation for slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 in 208410ns
> I0115 22:28:07.902428 31532 slave.cpp:596] Slave terminating
> I0115 22:28:07.902704 31523 master.cpp:1172] Slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 at slave(179)@172.17.0.2:46248 (d28238b10cf3) disconnected
> I0115 22:28:07.902755 31523 master.cpp:2633] Disconnecting slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 at slave(179)@172.17.0.2:46248 (d28238b10cf3)
> I0115 22:28:07.902824 31523 master.cpp:2652] Deactivating slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 at slave(179)@172.17.0.2:46248 (d28238b10cf3)
> I0115 22:28:07.903112 31527 hierarchical.cpp:550] Slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0 deactivated
> I0115 22:28:07.906091 31533 master.cpp:1025] Master terminating
> I0115 22:28:07.907009 31524 hierarchical.cpp:496] Removed slave 35b3291c-c5f7-49f6-8032-39d07311c4bf-S0
> I0115 22:28:07.916666 31503 leveldb.cpp:174] Opened db in 3.548234ms
> I0115 22:28:07.920209 31503 leveldb.cpp:181] Compacted db in 3.500888ms
> I0115 22:28:07.920277 31503 leveldb.cpp:196] Created db iterator in 23549ns
> I0115 22:28:07.920320 31503 leveldb.cpp:202] Seeked to beginning of db in 21970ns
> I0115 22:28:07.920438 31503 leveldb.cpp:271] Iterated through 3 keys in the db in 96569ns
> I0115 22:28:07.920522 31503 replica.cpp:779] Replica recovered with log positions 3 -> 4 with 0 holes and 0 unlearned
> I0115 22:28:07.921041 31525 recover.cpp:447] Starting replica recovery
> I0115 22:28:07.921452 31526 recover.cpp:473] Replica is in VOTING status
> I0115 22:28:07.921663 31526 recover.cpp:462] Recover process terminated
> I0115 22:28:07.924394 31536 master.cpp:374] Master 3e7278a2-867c-485d-8790-91c9d1a4d094 (d28238b10cf3) started on 172.17.0.2:46248
> I0115 22:28:07.924527 31536 master.cpp:376] Flags at startup: --acls="" --allocation_interval="1secs" --allocator="HierarchicalDRF" --authenticate="true" --authenticate_http="true" --authenticate_slaves="true" --authenticators="crammd5" --authorizers="local" --credentials="/tmp/4OcNHE/credentials" --framework_sorter="drf" --help="false" --hostname_lookup="true" --http_authenticators="basic" --initialize_driver_logging="true" --log_auto_initialize="true" --logbufsecs="0" --logging_level="INFO" --max_completed_frameworks="1" --max_completed_tasks_per_framework="1000" --max_slave_ping_timeouts="5" --quiet="false" --recovery_slave_removal_limit="100%" --registry="replicated_log" --registry_fetch_timeout="1mins" --registry_store_timeout="25secs" --registry_strict="true" --root_submissions="true" --slave_ping_timeout="15secs" --slave_reregister_timeout="10mins" --user_sorter="drf" --version="false" --webui_dir="/mesos/mesos-0.27.0/_inst/share/mesos/webui" --work_dir="/tmp/4OcNHE/master" --zk_session_timeout="10secs"
> I0115 22:28:07.924901 31536 master.cpp:421] Master only allowing authenticated frameworks to register
> I0115 22:28:07.924926 31536 master.cpp:426] Master only allowing authenticated slaves to register
> I0115 22:28:07.924942 31536 credentials.hpp:35] Loading credentials for authentication from '/tmp/4OcNHE/credentials'
> I0115 22:28:07.925282 31536 master.cpp:466] Using default 'crammd5' authenticator
> I0115 22:28:07.925442 31536 master.cpp:535] Using default 'basic' HTTP authenticator
> I0115 22:28:07.925853 31536 master.cpp:569] Authorization enabled
> I0115 22:28:07.926255 31529 hierarchical.cpp:147] Initialized hierarchical allocator process
> I0115 22:28:07.926331 31528 whitelist_watcher.cpp:77] No whitelist given
> I0115 22:28:07.928367 31524 master.cpp:1710] The newly elected leader is master@172.17.0.2:46248 with id 3e7278a2-867c-485d-8790-91c9d1a4d094
> I0115 22:28:07.928402 31524 master.cpp:1723] Elected as the leading master!
> I0115 22:28:07.928427 31524 master.cpp:1468] Recovering from registrar
> I0115 22:28:07.928596 31535 registrar.cpp:307] Recovering registrar
> I0115 22:28:07.929407 31530 log.cpp:659] Attempting to start the writer
> I0115 22:28:07.930910 31532 replica.cpp:493] Replica received implicit promise request from (6121)@172.17.0.2:46248 with proposal 2
> I0115 22:28:07.931609 31532 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 656496ns
> I0115 22:28:07.931663 31532 replica.cpp:342] Persisted promised to 2
> I0115 22:28:07.932693 31522 coordinator.cpp:238] Coordinator attempting to fill missing positions
> I0115 22:28:07.933038 31533 log.cpp:675] Writer started with ending position 4
> I0115 22:28:07.934303 31525 leveldb.cpp:436] Reading position from leveldb took 58043ns
> I0115 22:28:07.934417 31525 leveldb.cpp:436] Reading position from leveldb took 40666ns
> I0115 22:28:07.936290 31533 registrar.cpp:340] Successfully fetched the registry (300B) in 7.56096ms
> I0115 22:28:07.936494 31533 registrar.cpp:439] Applied 1 operations in 53126ns; attempting to update the 'registry'
> I0115 22:28:07.937490 31531 log.cpp:683] Attempting to append 339 bytes to the log
> I0115 22:28:07.937644 31522 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 5
> I0115 22:28:07.938694 31524 replica.cpp:537] Replica received write request for position 5 from (6122)@172.17.0.2:46248
> I0115 22:28:07.939399 31524 leveldb.cpp:341] Persisting action (358 bytes) to leveldb took 657979ns
> I0115 22:28:07.939435 31524 replica.cpp:712] Persisted action at 5
> I0115 22:28:07.940219 31525 replica.cpp:691] Replica received learned notice for position 5 from @0.0.0.0:0
> I0115 22:28:07.940739 31525 leveldb.cpp:341] Persisting action (360 bytes) to leveldb took 477133ns
> I0115 22:28:07.940773 31525 replica.cpp:712] Persisted action at 5
> I0115 22:28:07.940795 31525 replica.cpp:697] Replica learned APPEND action at position 5
> I0115 22:28:07.942340 31534 registrar.cpp:484] Successfully updated the 'registry' in 5.775872ms
> I0115 22:28:07.942618 31537 log.cpp:702] Attempting to truncate the log to 5
> I0115 22:28:07.942677 31534 registrar.cpp:370] Successfully recovered registrar
> I0115 22:28:07.942817 31523 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 6
> I0115 22:28:07.943810 31533 master.cpp:1520] Recovered 1 slaves from the Registry (300B) ; allowing 10mins for slaves to re-register
> I0115 22:28:07.943845 31528 hierarchical.cpp:165] Skipping recovery of hierarchical allocator: nothing to recover
> I0115 22:28:07.943974 31535 replica.cpp:537] Replica received write request for position 6 from (6123)@172.17.0.2:46248
> I0115 22:28:07.944603 31535 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 587676ns
> I0115 22:28:07.944664 31535 replica.cpp:712] Persisted action at 6
> I0115 22:28:07.945399 31533 replica.cpp:691] Replica received learned notice for position 6 from @0.0.0.0:0
> I0115 22:28:07.945850 31533 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 410543ns
> I0115 22:28:07.945924 31533 leveldb.cpp:399] Deleting ~2 keys from leveldb took 43121ns
> I0115 22:28:07.945951 31533 replica.cpp:712] Persisted action at 6
> I0115 22:28:07.945974 31533 replica.cpp:697] Replica learned TRUNCATE action at position 6
> I0115 22:28:07.956810 31503 containerizer.cpp:140] Using isolation: posix/cpu,posix/mem,filesystem/posix
> W0115 22:28:07.957414 31503 backend.cpp:48] Failed to create 'bind' backend: BindBackend requires root privileges
> I0115 22:28:07.960826 31528 slave.cpp:191] Slave started on 180)@172.17.0.2:46248
> I0115 22:28:07.961005 31528 slave.cpp:192] Flags at startup: --appc_store_dir="/tmp/mesos/store/appc" --authenticatee="crammd5" --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/MasterTest_MaxCompletedFrameworksFlag_UdcGXk/credential" --default_role="*" --disk_watch_interval="1mins" --docker="docker" --docker_auth_server="https://auth.docker.io" --docker_kill_orphans="true" --docker_puller_timeout="60" --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/mesos/store/docker" --enforce_container_disk_quota="false" --executor_registration_timeout="1mins" --executor_shutdown_grace_period="5secs" --fetcher_cache_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_UdcGXk/fetch" --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" --gc_disk_headroom="0.1" --hadoop_home="" --help="false" --hostname_lookup="true" --image_provisioner_backend="copy" --initialize_driver_logging="true" --isolation="posix/cpu,posix/mem" --launcher_dir="/mesos/mesos-0.27.0/_build/src" --logbufsecs="0" --logging_level="INFO" --oversubscribed_resources_interval="15secs" --perf_duration="10secs" --perf_interval="1mins" --qos_correction_interval_min="0ns" --quiet="false" --recover="reconnect" --recovery_timeout="15mins" --registration_backoff_factor="10ms" --resources="cpus:2;mem:1024;disk:1024;ports:[31000-32000]" --revocable_cpu_low_priority="true" --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --switch_user="true" --systemd_runtime_directory="/run/systemd/system" --version="false" --work_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_UdcGXk"
> I0115 22:28:07.961547 31528 credentials.hpp:83] Loading credential for authentication from '/tmp/MasterTest_MaxCompletedFrameworksFlag_UdcGXk/credential'
> I0115 22:28:07.961793 31528 slave.cpp:322] Slave using credential for: test-principal
> I0115 22:28:07.961959 31528 resources.cpp:482] Parsing resources as JSON failed: cpus:2;mem:1024;disk:1024;ports:[31000-32000]
> Trying semicolon-delimited string format instead
> I0115 22:28:07.962370 31528 slave.cpp:392] Slave resources: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 22:28:07.962441 31528 slave.cpp:400] Slave attributes: [  ]
> I0115 22:28:07.962452 31528 slave.cpp:405] Slave hostname: d28238b10cf3
> I0115 22:28:07.963301 31530 state.cpp:58] Recovering state from '/tmp/MasterTest_MaxCompletedFrameworksFlag_UdcGXk/meta'
> I0115 22:28:07.963762 31503 sched.cpp:164] Version: 0.27.0
> I0115 22:28:07.963925 31532 status_update_manager.cpp:200] Recovering status update manager
> I0115 22:28:07.964234 31526 containerizer.cpp:386] Recovering containerizer
> I0115 22:28:07.964354 31528 sched.cpp:268] New master detected at master@172.17.0.2:46248
> I0115 22:28:07.964457 31528 sched.cpp:324] Authenticating with master master@172.17.0.2:46248
> I0115 22:28:07.964483 31528 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 22:28:07.964702 31525 authenticatee.cpp:121] Creating new client SASL connection
> I0115 22:28:07.965005 31535 master.cpp:5521] Authenticating scheduler-e9489d16-4aad-42e8-888e-f621a814dfc5@172.17.0.2:46248
> I0115 22:28:07.965175 31536 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(421)@172.17.0.2:46248
> I0115 22:28:07.965562 31524 authenticator.cpp:98] Creating new server SASL connection
> I0115 22:28:07.965937 31533 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 22:28:07.965984 31533 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 22:28:07.966073 31522 provisioner.cpp:245] Provisioner recovery complete
> I0115 22:28:07.966127 31532 authenticator.cpp:203] Received SASL authentication start
> I0115 22:28:07.966195 31532 authenticator.cpp:325] Authentication requires more steps
> I0115 22:28:07.966354 31533 authenticatee.cpp:258] Received SASL authentication step
> I0115 22:28:07.966562 31532 slave.cpp:4424] Finished recovery
> I0115 22:28:07.966650 31523 authenticator.cpp:231] Received SASL authentication step
> I0115 22:28:07.966730 31523 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 22:28:07.966758 31523 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 22:28:07.966820 31523 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 22:28:07.966874 31523 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 22:28:07.966899 31523 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.966918 31523 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.966949 31523 authenticator.cpp:317] Authentication success
> I0115 22:28:07.967113 31534 authenticatee.cpp:298] Authentication success
> I0115 22:28:07.967126 31533 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-e9489d16-4aad-42e8-888e-f621a814dfc5@172.17.0.2:46248
> I0115 22:28:07.967195 31527 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(421)@172.17.0.2:46248
> I0115 22:28:07.967226 31532 slave.cpp:4596] Querying resource estimator for oversubscribable resources
> I0115 22:28:07.967438 31533 sched.cpp:413] Successfully authenticated with master master@172.17.0.2:46248
> I0115 22:28:07.967470 31533 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.2:46248
> I0115 22:28:07.967597 31533 sched.cpp:755] Will retry registration in 358.825058ms if necessary
> I0115 22:28:07.967706 31532 slave.cpp:724] New master detected at master@172.17.0.2:46248
> I0115 22:28:07.967759 31522 status_update_manager.cpp:174] Pausing sending status updates
> I0115 22:28:07.967757 31531 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-e9489d16-4aad-42e8-888e-f621a814dfc5@172.17.0.2:46248
> I0115 22:28:07.967887 31531 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 22:28:07.967881 31532 slave.cpp:787] Authenticating with master master@172.17.0.2:46248
> I0115 22:28:07.967932 31532 slave.cpp:792] Using default CRAM-MD5 authenticatee
> I0115 22:28:07.968122 31532 slave.cpp:760] Detecting new master
> I0115 22:28:07.968150 31527 authenticatee.cpp:121] Creating new client SASL connection
> I0115 22:28:07.968221 31526 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 22:28:07.968307 31532 slave.cpp:4610] Received oversubscribable resources  from the resource estimator
> I0115 22:28:07.968739 31524 hierarchical.cpp:259] Added framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0000
> I0115 22:28:07.968819 31524 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:07.968951 31536 sched.cpp:649] Framework registered with 3e7278a2-867c-485d-8790-91c9d1a4d094-0000
> I0115 22:28:07.968956 31526 master.cpp:5521] Authenticating slave(180)@172.17.0.2:46248
> I0115 22:28:07.968988 31524 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 22:28:07.969105 31524 hierarchical.cpp:1079] Performed allocation for 0 slaves in 331138ns
> I0115 22:28:07.969148 31536 sched.cpp:663] Scheduler::registered took 78055ns
> I0115 22:28:07.969211 31537 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(422)@172.17.0.2:46248
> I0115 22:28:07.969529 31503 sched.cpp:1851] Asked to stop the driver
> I0115 22:28:07.969708 31523 sched.cpp:1089] Stopping framework '3e7278a2-867c-485d-8790-91c9d1a4d094-0000'
> I0115 22:28:07.969748 31530 authenticator.cpp:98] Creating new server SASL connection
> I0115 22:28:07.970023 31525 master.cpp:5921] Processing TEARDOWN call for framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0000 (default) at scheduler-e9489d16-4aad-42e8-888e-f621a814dfc5@172.17.0.2:46248
> I0115 22:28:07.970067 31525 master.cpp:5933] Removing framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0000 (default) at scheduler-e9489d16-4aad-42e8-888e-f621a814dfc5@172.17.0.2:46248
> I0115 22:28:07.970135 31532 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 22:28:07.970165 31532 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 22:28:07.970321 31533 hierarchical.cpp:369] Deactivated framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0000
> I0115 22:28:07.970486 31531 authenticator.cpp:203] Received SASL authentication start
> I0115 22:28:07.970551 31531 authenticator.cpp:325] Authentication requires more steps
> I0115 22:28:07.970787 31528 hierarchical.cpp:320] Removed framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0000
> I0115 22:28:07.970798 31533 authenticatee.cpp:258] Received SASL authentication step
> I0115 22:28:07.970947 31533 authenticator.cpp:231] Received SASL authentication step
> I0115 22:28:07.970980 31533 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 22:28:07.970993 31533 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 22:28:07.971025 31533 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 22:28:07.971053 31533 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 22:28:07.971065 31533 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.971073 31533 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.971091 31533 authenticator.cpp:317] Authentication success
> I0115 22:28:07.971181 31530 authenticatee.cpp:298] Authentication success
> I0115 22:28:07.971258 31534 master.cpp:5551] Successfully authenticated principal 'test-principal' at slave(180)@172.17.0.2:46248
> I0115 22:28:07.971307 31533 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(422)@172.17.0.2:46248
> I0115 22:28:07.971614 31522 slave.cpp:855] Successfully authenticated with master master@172.17.0.2:46248
> I0115 22:28:07.971809 31522 slave.cpp:1249] Will retry registration in 5.588869ms if necessary
> I0115 22:28:07.972031 31531 master.cpp:4235] Registering slave at slave(180)@172.17.0.2:46248 (d28238b10cf3) with id 3e7278a2-867c-485d-8790-91c9d1a4d094-S0
> I0115 22:28:07.972317 31503 sched.cpp:164] Version: 0.27.0
> I0115 22:28:07.972733 31527 registrar.cpp:439] Applied 1 operations in 142168ns; attempting to update the 'registry'
> I0115 22:28:07.972895 31537 sched.cpp:268] New master detected at master@172.17.0.2:46248
> I0115 22:28:07.973014 31537 sched.cpp:324] Authenticating with master master@172.17.0.2:46248
> I0115 22:28:07.973043 31537 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 22:28:07.973284 31522 authenticatee.cpp:121] Creating new client SASL connection
> I0115 22:28:07.973573 31526 master.cpp:5521] Authenticating scheduler-a6f28984-df26-420e-adfd-2e8ae54bcadb@172.17.0.2:46248
> I0115 22:28:07.973737 31537 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(423)@172.17.0.2:46248
> I0115 22:28:07.973774 31528 log.cpp:683] Attempting to append 505 bytes to the log
> I0115 22:28:07.973904 31525 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 7
> I0115 22:28:07.974002 31535 authenticator.cpp:98] Creating new server SASL connection
> I0115 22:28:07.974289 31526 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 22:28:07.974390 31526 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 22:28:07.974529 31527 authenticator.cpp:203] Received SASL authentication start
> I0115 22:28:07.974756 31530 replica.cpp:537] Replica received write request for position 7 from (6137)@172.17.0.2:46248
> I0115 22:28:07.974767 31527 authenticator.cpp:325] Authentication requires more steps
> I0115 22:28:07.974968 31525 authenticatee.cpp:258] Received SASL authentication step
> I0115 22:28:07.975111 31526 authenticator.cpp:231] Received SASL authentication step
> I0115 22:28:07.975149 31526 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 22:28:07.975164 31526 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 22:28:07.975203 31526 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 22:28:07.975229 31526 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 22:28:07.975241 31526 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.975250 31526 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:07.975266 31526 authenticator.cpp:317] Authentication success
> I0115 22:28:07.975365 31530 leveldb.cpp:341] Persisting action (524 bytes) to leveldb took 560227ns
> I0115 22:28:07.975383 31536 authenticatee.cpp:298] Authentication success
> I0115 22:28:07.975400 31530 replica.cpp:712] Persisted action at 7
> I0115 22:28:07.975402 31535 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-a6f28984-df26-420e-adfd-2e8ae54bcadb@172.17.0.2:46248
> I0115 22:28:07.975476 31525 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(423)@172.17.0.2:46248
> I0115 22:28:07.975697 31526 sched.cpp:413] Successfully authenticated with master master@172.17.0.2:46248
> I0115 22:28:07.975728 31526 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.2:46248
> I0115 22:28:07.975883 31526 sched.cpp:755] Will retry registration in 1.60956909secs if necessary
> I0115 22:28:07.976022 31537 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-a6f28984-df26-420e-adfd-2e8ae54bcadb@172.17.0.2:46248
> I0115 22:28:07.976105 31537 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 22:28:07.976433 31529 replica.cpp:691] Replica received learned notice for position 7 from @0.0.0.0:0
> I0115 22:28:07.976533 31531 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 22:28:07.976933 31529 leveldb.cpp:341] Persisting action (526 bytes) to leveldb took 455730ns
> I0115 22:28:07.976976 31529 replica.cpp:712] Persisted action at 7
> I0115 22:28:07.977011 31529 replica.cpp:697] Replica learned APPEND action at position 7
> I0115 22:28:07.977075 31528 hierarchical.cpp:259] Added framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0001
> I0115 22:28:07.977144 31528 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:07.977200 31532 sched.cpp:649] Framework registered with 3e7278a2-867c-485d-8790-91c9d1a4d094-0001
> I0115 22:28:07.977316 31528 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 22:28:07.977354 31528 hierarchical.cpp:1079] Performed allocation for 0 slaves in 246475ns
> I0115 22:28:07.977397 31532 sched.cpp:663] Scheduler::registered took 75175ns
> I0115 22:28:07.977643 31503 sched.cpp:1851] Asked to stop the driver
> I0115 22:28:07.977921 31531 master.cpp:1211] Framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0001 (default) at scheduler-a6f28984-df26-420e-adfd-2e8ae54bcadb@172.17.0.2:46248 disconnected
> I0115 22:28:07.977957 31531 master.cpp:2574] Disconnecting framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0001 (default) at scheduler-a6f28984-df26-420e-adfd-2e8ae54bcadb@172.17.0.2:46248
> I0115 22:28:07.977998 31531 master.cpp:2598] Deactivating framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0001 (default) at scheduler-a6f28984-df26-420e-adfd-2e8ae54bcadb@172.17.0.2:46248
> I0115 22:28:07.978140 31524 hierarchical.cpp:369] Deactivated framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0001
> I0115 22:28:07.978106 31531 master.cpp:1235] Giving framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0001 (default) at scheduler-a6f28984-df26-420e-adfd-2e8ae54bcadb@172.17.0.2:46248 0ns to failover
> I0115 22:28:07.978400 31522 slave.cpp:1249] Will retry registration in 24.187934ms if necessary
> I0115 22:28:07.978615 31531 master.cpp:4223] Ignoring register slave message from slave(180)@172.17.0.2:46248 (d28238b10cf3) as admission is already in progress
> I0115 22:28:07.978735 31531 master.cpp:5202] Framework failover timeout, removing framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0001 (default) at scheduler-a6f28984-df26-420e-adfd-2e8ae54bcadb@172.17.0.2:46248
> I0115 22:28:07.978762 31531 master.cpp:5933] Removing framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0001 (default) at scheduler-a6f28984-df26-420e-adfd-2e8ae54bcadb@172.17.0.2:46248
> I0115 22:28:07.979288 31533 hierarchical.cpp:320] Removed framework 3e7278a2-867c-485d-8790-91c9d1a4d094-0001
> I0115 22:28:07.979295 31531 registrar.cpp:484] Successfully updated the 'registry' in 6.49216ms
> I0115 22:28:07.979681 31531 log.cpp:702] Attempting to truncate the log to 7
> I0115 22:28:07.979835 31525 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 8
> I0115 22:28:07.980222 31525 slave.cpp:3366] Received ping from slave-observer(180)@172.17.0.2:46248
> I0115 22:28:07.980510 31522 slave.cpp:899] Registered with master master@172.17.0.2:46248; given slave ID 3e7278a2-867c-485d-8790-91c9d1a4d094-S0
> I0115 22:28:07.980543 31522 fetcher.cpp:81] Clearing fetcher cache
> I0115 22:28:07.980468 31523 master.cpp:4303] Registered slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 at slave(180)@172.17.0.2:46248 (d28238b10cf3) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 22:28:07.980682 31523 process.cpp:3141] Handling HTTP event for process 'master' with path: '/master/state'
> I0115 22:28:07.980795 31530 status_update_manager.cpp:181] Resuming sending status updates
> I0115 22:28:07.980911 31530 replica.cpp:537] Replica received write request for position 8 from (6138)@172.17.0.2:46248
> I0115 22:28:07.980909 31528 hierarchical.cpp:465] Added slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 (d28238b10cf3) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (allocated: )
> I0115 22:28:07.981094 31522 slave.cpp:922] Checkpointing SlaveInfo to '/tmp/MasterTest_MaxCompletedFrameworksFlag_UdcGXk/meta/slaves/3e7278a2-867c-485d-8790-91c9d1a4d094-S0/slave.info'
> I0115 22:28:07.981144 31528 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:07.981186 31528 hierarchical.cpp:1101] Performed allocation for slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 in 222249ns
> I0115 22:28:07.981237 31523 http.cpp:504] HTTP GET for /master/state from 172.17.0.2:44901
> I0115 22:28:07.981516 31530 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 557851ns
> I0115 22:28:07.981551 31530 replica.cpp:712] Persisted action at 8
> I0115 22:28:07.981654 31522 slave.cpp:958] Forwarding total oversubscribed resources 
> I0115 22:28:07.982311 31522 replica.cpp:691] Replica received learned notice for position 8 from @0.0.0.0:0
> I0115 22:28:07.982856 31522 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 510691ns
> I0115 22:28:07.982925 31522 leveldb.cpp:399] Deleting ~2 keys from leveldb took 41949ns
> I0115 22:28:07.982954 31522 replica.cpp:712] Persisted action at 8
> I0115 22:28:07.982975 31522 replica.cpp:697] Replica learned TRUNCATE action at position 8
> I0115 22:28:07.983017 31523 master.cpp:4644] Received update of slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 at slave(180)@172.17.0.2:46248 (d28238b10cf3) with total oversubscribed resources 
> I0115 22:28:07.983904 31537 hierarchical.cpp:521] Slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 (d28238b10cf3) updated with oversubscribed resources  (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: )
> I0115 22:28:07.984078 31537 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:07.984120 31537 hierarchical.cpp:1101] Performed allocation for slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 in 162423ns
> I0115 22:28:07.986588 31531 slave.cpp:596] Slave terminating
> I0115 22:28:07.986865 31532 master.cpp:1172] Slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 at slave(180)@172.17.0.2:46248 (d28238b10cf3) disconnected
> I0115 22:28:07.986906 31532 master.cpp:2633] Disconnecting slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 at slave(180)@172.17.0.2:46248 (d28238b10cf3)
> I0115 22:28:07.987143 31532 master.cpp:2652] Deactivating slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 at slave(180)@172.17.0.2:46248 (d28238b10cf3)
> I0115 22:28:07.987284 31533 hierarchical.cpp:550] Slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0 deactivated
> I0115 22:28:07.990978 31503 master.cpp:1025] Master terminating
> I0115 22:28:07.991492 31534 hierarchical.cpp:496] Removed slave 3e7278a2-867c-485d-8790-91c9d1a4d094-S0
> I0115 22:28:08.000460 31503 leveldb.cpp:174] Opened db in 3.575223ms
> I0115 22:28:08.003670 31503 leveldb.cpp:181] Compacted db in 3.167187ms
> I0115 22:28:08.003733 31503 leveldb.cpp:196] Created db iterator in 21917ns
> I0115 22:28:08.003772 31503 leveldb.cpp:202] Seeked to beginning of db in 20547ns
> I0115 22:28:08.003890 31503 leveldb.cpp:271] Iterated through 3 keys in the db in 100363ns
> I0115 22:28:08.003958 31503 replica.cpp:779] Replica recovered with log positions 7 -> 8 with 0 holes and 0 unlearned
> I0115 22:28:08.004451 31522 recover.cpp:447] Starting replica recovery
> I0115 22:28:08.004928 31537 recover.cpp:473] Replica is in VOTING status
> I0115 22:28:08.005158 31537 recover.cpp:462] Recover process terminated
> I0115 22:28:08.006975 31532 master.cpp:374] Master 3dd346bb-8538-40c7-9697-c23c4c3177b8 (d28238b10cf3) started on 172.17.0.2:46248
> I0115 22:28:08.007010 31532 master.cpp:376] Flags at startup: --acls="" --allocation_interval="1secs" --allocator="HierarchicalDRF" --authenticate="true" --authenticate_http="true" --authenticate_slaves="true" --authenticators="crammd5" --authorizers="local" --credentials="/tmp/4OcNHE/credentials" --framework_sorter="drf" --help="false" --hostname_lookup="true" --http_authenticators="basic" --initialize_driver_logging="true" --log_auto_initialize="true" --logbufsecs="0" --logging_level="INFO" --max_completed_frameworks="2" --max_completed_tasks_per_framework="1000" --max_slave_ping_timeouts="5" --quiet="false" --recovery_slave_removal_limit="100%" --registry="replicated_log" --registry_fetch_timeout="1mins" --registry_store_timeout="25secs" --registry_strict="true" --root_submissions="true" --slave_ping_timeout="15secs" --slave_reregister_timeout="10mins" --user_sorter="drf" --version="false" --webui_dir="/mesos/mesos-0.27.0/_inst/share/mesos/webui" --work_dir="/tmp/4OcNHE/master" --zk_session_timeout="10secs"
> I0115 22:28:08.007503 31532 master.cpp:421] Master only allowing authenticated frameworks to register
> I0115 22:28:08.007525 31532 master.cpp:426] Master only allowing authenticated slaves to register
> I0115 22:28:08.007541 31532 credentials.hpp:35] Loading credentials for authentication from '/tmp/4OcNHE/credentials'
> I0115 22:28:08.008004 31532 master.cpp:466] Using default 'crammd5' authenticator
> I0115 22:28:08.008178 31532 master.cpp:535] Using default 'basic' HTTP authenticator
> I0115 22:28:08.008396 31532 master.cpp:569] Authorization enabled
> I0115 22:28:08.008672 31525 hierarchical.cpp:147] Initialized hierarchical allocator process
> I0115 22:28:08.008684 31527 whitelist_watcher.cpp:77] No whitelist given
> I0115 22:28:08.011054 31535 master.cpp:1710] The newly elected leader is master@172.17.0.2:46248 with id 3dd346bb-8538-40c7-9697-c23c4c3177b8
> I0115 22:28:08.011098 31535 master.cpp:1723] Elected as the leading master!
> I0115 22:28:08.011128 31535 master.cpp:1468] Recovering from registrar
> I0115 22:28:08.011314 31531 registrar.cpp:307] Recovering registrar
> I0115 22:28:08.012106 31525 log.cpp:659] Attempting to start the writer
> I0115 22:28:08.013552 31537 replica.cpp:493] Replica received implicit promise request from (6145)@172.17.0.2:46248 with proposal 3
> I0115 22:28:08.014463 31537 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 868568ns
> I0115 22:28:08.014494 31537 replica.cpp:342] Persisted promised to 3
> I0115 22:28:08.015421 31533 coordinator.cpp:238] Coordinator attempting to fill missing positions
> I0115 22:28:08.015826 31525 log.cpp:675] Writer started with ending position 8
> I0115 22:28:08.017149 31528 leveldb.cpp:436] Reading position from leveldb took 63689ns
> I0115 22:28:08.017258 31528 leveldb.cpp:436] Reading position from leveldb took 41287ns
> I0115 22:28:08.019404 31524 registrar.cpp:340] Successfully fetched the registry (466B) in 7.975936ms
> I0115 22:28:08.019691 31524 registrar.cpp:439] Applied 1 operations in 99770ns; attempting to update the 'registry'
> I0115 22:28:08.020615 31531 log.cpp:683] Attempting to append 505 bytes to the log
> I0115 22:28:08.020815 31523 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 9
> I0115 22:28:08.021848 31530 replica.cpp:537] Replica received write request for position 9 from (6146)@172.17.0.2:46248
> I0115 22:28:08.022400 31530 leveldb.cpp:341] Persisting action (524 bytes) to leveldb took 499538ns
> I0115 22:28:08.022436 31530 replica.cpp:712] Persisted action at 9
> I0115 22:28:08.023243 31530 replica.cpp:691] Replica received learned notice for position 9 from @0.0.0.0:0
> I0115 22:28:08.023828 31530 leveldb.cpp:341] Persisting action (526 bytes) to leveldb took 541089ns
> I0115 22:28:08.023861 31530 replica.cpp:712] Persisted action at 9
> I0115 22:28:08.023883 31530 replica.cpp:697] Replica learned APPEND action at position 9
> I0115 22:28:08.025776 31530 registrar.cpp:484] Successfully updated the 'registry' in 6.01088ms
> I0115 22:28:08.026067 31530 registrar.cpp:370] Successfully recovered registrar
> I0115 22:28:08.026118 31535 log.cpp:702] Attempting to truncate the log to 9
> I0115 22:28:08.026262 31529 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 10
> I0115 22:28:08.027232 31528 replica.cpp:537] Replica received write request for position 10 from (6147)@172.17.0.2:46248
> I0115 22:28:08.027674 31531 master.cpp:1520] Recovered 2 slaves from the Registry (466B) ; allowing 10mins for slaves to re-register
> I0115 22:28:08.027688 31526 hierarchical.cpp:165] Skipping recovery of hierarchical allocator: nothing to recover
> I0115 22:28:08.027921 31528 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 637859ns
> I0115 22:28:08.027953 31528 replica.cpp:712] Persisted action at 10
> I0115 22:28:08.028645 31528 replica.cpp:691] Replica received learned notice for position 10 from @0.0.0.0:0
> I0115 22:28:08.029021 31528 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 340016ns
> I0115 22:28:08.029073 31528 leveldb.cpp:399] Deleting ~2 keys from leveldb took 28866ns
> I0115 22:28:08.029095 31528 replica.cpp:712] Persisted action at 10
> I0115 22:28:08.029125 31528 replica.cpp:697] Replica learned TRUNCATE action at position 10
> I0115 22:28:08.039772 31503 containerizer.cpp:140] Using isolation: posix/cpu,posix/mem,filesystem/posix
> W0115 22:28:08.040230 31503 backend.cpp:48] Failed to create 'bind' backend: BindBackend requires root privileges
> I0115 22:28:08.042574 31537 slave.cpp:191] Slave started on 181)@172.17.0.2:46248
> I0115 22:28:08.042596 31537 slave.cpp:192] Flags at startup: --appc_store_dir="/tmp/mesos/store/appc" --authenticatee="crammd5" --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/MasterTest_MaxCompletedFrameworksFlag_xXywTB/credential" --default_role="*" --disk_watch_interval="1mins" --docker="docker" --docker_auth_server="https://auth.docker.io" --docker_kill_orphans="true" --docker_puller_timeout="60" --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/mesos/store/docker" --enforce_container_disk_quota="false" --executor_registration_timeout="1mins" --executor_shutdown_grace_period="5secs" --fetcher_cache_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_xXywTB/fetch" --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks" --gc_disk_headroom="0.1" --hadoop_home="" --help="false" --hostname_lookup="true" --image_provisioner_backend="copy" --initialize_driver_logging="true" --isolation="posix/cpu,posix/mem" --launcher_dir="/mesos/mesos-0.27.0/_build/src" --logbufsecs="0" --logging_level="INFO" --oversubscribed_resources_interval="15secs" --perf_duration="10secs" --perf_interval="1mins" --qos_correction_interval_min="0ns" --quiet="false" --recover="reconnect" --recovery_timeout="15mins" --registration_backoff_factor="10ms" --resources="cpus:2;mem:1024;disk:1024;ports:[31000-32000]" --revocable_cpu_low_priority="true" --sandbox_directory="/mnt/mesos/sandbox" --strict="true" --switch_user="true" --systemd_runtime_directory="/run/systemd/system" --version="false" --work_dir="/tmp/MasterTest_MaxCompletedFrameworksFlag_xXywTB"
> I0115 22:28:08.042984 31537 credentials.hpp:83] Loading credential for authentication from '/tmp/MasterTest_MaxCompletedFrameworksFlag_xXywTB/credential'
> I0115 22:28:08.043156 31537 slave.cpp:322] Slave using credential for: test-principal
> I0115 22:28:08.043303 31537 resources.cpp:482] Parsing resources as JSON failed: cpus:2;mem:1024;disk:1024;ports:[31000-32000]
> Trying semicolon-delimited string format instead
> I0115 22:28:08.043601 31537 slave.cpp:392] Slave resources: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 22:28:08.043689 31537 slave.cpp:400] Slave attributes: [  ]
> I0115 22:28:08.043699 31537 slave.cpp:405] Slave hostname: d28238b10cf3
> I0115 22:28:08.044416 31535 state.cpp:58] Recovering state from '/tmp/MasterTest_MaxCompletedFrameworksFlag_xXywTB/meta'
> I0115 22:28:08.044668 31530 status_update_manager.cpp:200] Recovering status update manager
> I0115 22:28:08.044894 31526 containerizer.cpp:386] Recovering containerizer
> I0115 22:28:08.045055 31503 sched.cpp:164] Version: 0.27.0
> I0115 22:28:08.045521 31525 sched.cpp:268] New master detected at master@172.17.0.2:46248
> I0115 22:28:08.045593 31525 sched.cpp:324] Authenticating with master master@172.17.0.2:46248
> I0115 22:28:08.045609 31525 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 22:28:08.045778 31527 authenticatee.cpp:121] Creating new client SASL connection
> I0115 22:28:08.046046 31523 master.cpp:5521] Authenticating scheduler-6361b03a-8d22-46cc-89c9-3f73ee3686d7@172.17.0.2:46248
> I0115 22:28:08.046142 31535 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(424)@172.17.0.2:46248
> I0115 22:28:08.046411 31533 authenticator.cpp:98] Creating new server SASL connection
> I0115 22:28:08.046524 31527 provisioner.cpp:245] Provisioner recovery complete
> I0115 22:28:08.046681 31536 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 22:28:08.046761 31536 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 22:28:08.046931 31527 authenticator.cpp:203] Received SASL authentication start
> I0115 22:28:08.046957 31534 slave.cpp:4424] Finished recovery
> I0115 22:28:08.047037 31527 authenticator.cpp:325] Authentication requires more steps
> I0115 22:28:08.047127 31536 authenticatee.cpp:258] Received SASL authentication step
> I0115 22:28:08.047247 31522 authenticator.cpp:231] Received SASL authentication step
> I0115 22:28:08.047281 31522 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 22:28:08.047319 31522 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 22:28:08.047365 31534 slave.cpp:4596] Querying resource estimator for oversubscribable resources
> I0115 22:28:08.047369 31522 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 22:28:08.047458 31522 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 22:28:08.047479 31522 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:08.047492 31522 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:08.047513 31522 authenticator.cpp:317] Authentication success
> I0115 22:28:08.047588 31534 slave.cpp:724] New master detected at master@172.17.0.2:46248
> I0115 22:28:08.047592 31526 authenticatee.cpp:298] Authentication success
> I0115 22:28:08.047639 31531 status_update_manager.cpp:174] Pausing sending status updates
> I0115 22:28:08.047652 31530 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-6361b03a-8d22-46cc-89c9-3f73ee3686d7@172.17.0.2:46248
> I0115 22:28:08.047658 31534 slave.cpp:787] Authenticating with master master@172.17.0.2:46248
> I0115 22:28:08.047674 31534 slave.cpp:792] Using default CRAM-MD5 authenticatee
> I0115 22:28:08.047698 31531 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(424)@172.17.0.2:46248
> I0115 22:28:08.047803 31534 slave.cpp:760] Detecting new master
> I0115 22:28:08.047832 31522 authenticatee.cpp:121] Creating new client SASL connection
> I0115 22:28:08.047914 31526 sched.cpp:413] Successfully authenticated with master master@172.17.0.2:46248
> I0115 22:28:08.047938 31526 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.2:46248
> I0115 22:28:08.047966 31534 slave.cpp:4610] Received oversubscribable resources  from the resource estimator
> I0115 22:28:08.048019 31526 sched.cpp:755] Will retry registration in 1.602392423secs if necessary
> I0115 22:28:08.048049 31527 master.cpp:5521] Authenticating slave(181)@172.17.0.2:46248
> I0115 22:28:08.048133 31535 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(425)@172.17.0.2:46248
> I0115 22:28:08.048243 31527 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-6361b03a-8d22-46cc-89c9-3f73ee3686d7@172.17.0.2:46248
> I0115 22:28:08.048300 31527 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 22:28:08.048334 31529 authenticator.cpp:98] Creating new server SASL connection
> I0115 22:28:08.048504 31522 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 22:28:08.048533 31522 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 22:28:08.048632 31537 authenticator.cpp:203] Received SASL authentication start
> I0115 22:28:08.048689 31537 authenticator.cpp:325] Authentication requires more steps
> I0115 22:28:08.048794 31522 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 22:28:08.048806 31528 authenticatee.cpp:258] Received SASL authentication step
> I0115 22:28:08.048909 31527 authenticator.cpp:231] Received SASL authentication step
> I0115 22:28:08.048940 31527 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 22:28:08.048951 31527 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 22:28:08.048974 31527 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 22:28:08.049005 31527 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 22:28:08.049016 31527 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:08.049022 31527 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:08.049033 31527 authenticator.cpp:317] Authentication success
> I0115 22:28:08.049139 31534 authenticatee.cpp:298] Authentication success
> I0115 22:28:08.049166 31522 master.cpp:5551] Successfully authenticated principal 'test-principal' at slave(181)@172.17.0.2:46248
> I0115 22:28:08.049147 31528 hierarchical.cpp:259] Added framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000
> I0115 22:28:08.049233 31527 sched.cpp:649] Framework registered with 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000
> I0115 22:28:08.049214 31529 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(425)@172.17.0.2:46248
> I0115 22:28:08.049269 31528 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:08.049305 31528 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 22:28:08.049332 31528 hierarchical.cpp:1079] Performed allocation for 0 slaves in 94829ns
> I0115 22:28:08.049402 31531 slave.cpp:855] Successfully authenticated with master master@172.17.0.2:46248
> I0115 22:28:08.049432 31527 sched.cpp:663] Scheduler::registered took 172925ns
> I0115 22:28:08.049532 31531 slave.cpp:1249] Will retry registration in 17.08726ms if necessary
> I0115 22:28:08.049691 31529 master.cpp:4235] Registering slave at slave(181)@172.17.0.2:46248 (d28238b10cf3) with id 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0
> I0115 22:28:08.049782 31503 sched.cpp:1851] Asked to stop the driver
> I0115 22:28:08.049999 31530 master.cpp:1211] Framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000 (default) at scheduler-6361b03a-8d22-46cc-89c9-3f73ee3686d7@172.17.0.2:46248 disconnected
> I0115 22:28:08.050025 31530 master.cpp:2574] Disconnecting framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000 (default) at scheduler-6361b03a-8d22-46cc-89c9-3f73ee3686d7@172.17.0.2:46248
> I0115 22:28:08.050050 31530 master.cpp:2598] Deactivating framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000 (default) at scheduler-6361b03a-8d22-46cc-89c9-3f73ee3686d7@172.17.0.2:46248
> I0115 22:28:08.050132 31530 master.cpp:1235] Giving framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000 (default) at scheduler-6361b03a-8d22-46cc-89c9-3f73ee3686d7@172.17.0.2:46248 0ns to failover
> I0115 22:28:08.050179 31528 hierarchical.cpp:369] Deactivated framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000
> I0115 22:28:08.050182 31526 registrar.cpp:439] Applied 1 operations in 83016ns; attempting to update the 'registry'
> I0115 22:28:08.051252 31522 log.cpp:683] Attempting to append 671 bytes to the log
> I0115 22:28:08.051373 31535 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 11
> I0115 22:28:08.051385 31503 sched.cpp:164] Version: 0.27.0
> I0115 22:28:08.051606 31537 master.cpp:5202] Framework failover timeout, removing framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000 (default) at scheduler-6361b03a-8d22-46cc-89c9-3f73ee3686d7@172.17.0.2:46248
> I0115 22:28:08.051801 31537 master.cpp:5933] Removing framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000 (default) at scheduler-6361b03a-8d22-46cc-89c9-3f73ee3686d7@172.17.0.2:46248
> I0115 22:28:08.052367 31531 sched.cpp:268] New master detected at master@172.17.0.2:46248
> I0115 22:28:08.052423 31524 replica.cpp:537] Replica received write request for position 11 from (6161)@172.17.0.2:46248
> I0115 22:28:08.052433 31525 hierarchical.cpp:320] Removed framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0000
> I0115 22:28:08.052498 31531 sched.cpp:324] Authenticating with master master@172.17.0.2:46248
> I0115 22:28:08.052520 31531 sched.cpp:331] Using default CRAM-MD5 authenticatee
> I0115 22:28:08.052587 31524 leveldb.cpp:341] Persisting action (690 bytes) to leveldb took 128888ns
> I0115 22:28:08.052606 31524 replica.cpp:712] Persisted action at 11
> I0115 22:28:08.052793 31526 authenticatee.cpp:121] Creating new client SASL connection
> I0115 22:28:08.053064 31525 master.cpp:5521] Authenticating scheduler-2593866b-949d-4dd4-a72b-88004c07cf77@172.17.0.2:46248
> I0115 22:28:08.053213 31534 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(426)@172.17.0.2:46248
> I0115 22:28:08.053277 31533 replica.cpp:691] Replica received learned notice for position 11 from @0.0.0.0:0
> I0115 22:28:08.053411 31525 authenticator.cpp:98] Creating new server SASL connection
> I0115 22:28:08.053582 31522 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5
> I0115 22:28:08.053683 31522 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5'
> I0115 22:28:08.053719 31533 leveldb.cpp:341] Persisting action (692 bytes) to leveldb took 413610ns
> I0115 22:28:08.053741 31533 replica.cpp:712] Persisted action at 11
> I0115 22:28:08.053767 31533 replica.cpp:697] Replica learned APPEND action at position 11
> I0115 22:28:08.053788 31531 authenticator.cpp:203] Received SASL authentication start
> I0115 22:28:08.053838 31531 authenticator.cpp:325] Authentication requires more steps
> I0115 22:28:08.053922 31535 authenticatee.cpp:258] Received SASL authentication step
> I0115 22:28:08.054007 31535 authenticator.cpp:231] Received SASL authentication step
> I0115 22:28:08.054119 31535 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false 
> I0115 22:28:08.054141 31535 auxprop.cpp:179] Looking up auxiliary property '*userPassword'
> I0115 22:28:08.054177 31535 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5'
> I0115 22:28:08.054210 31535 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'd28238b10cf3' server FQDN: 'd28238b10cf3' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true 
> I0115 22:28:08.054225 31535 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:08.054235 31535 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0115 22:28:08.054252 31535 authenticator.cpp:317] Authentication success
> I0115 22:28:08.054327 31529 authenticatee.cpp:298] Authentication success
> I0115 22:28:08.054388 31525 master.cpp:5551] Successfully authenticated principal 'test-principal' at scheduler-2593866b-949d-4dd4-a72b-88004c07cf77@172.17.0.2:46248
> I0115 22:28:08.054437 31532 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(426)@172.17.0.2:46248
> I0115 22:28:08.054677 31536 sched.cpp:413] Successfully authenticated with master master@172.17.0.2:46248
> I0115 22:28:08.054707 31536 sched.cpp:722] Sending SUBSCRIBE call to master@172.17.0.2:46248
> I0115 22:28:08.054790 31536 sched.cpp:755] Will retry registration in 1.956818386secs if necessary
> I0115 22:28:08.054908 31527 master.cpp:2278] Received SUBSCRIBE call for framework 'default' at scheduler-2593866b-949d-4dd4-a72b-88004c07cf77@172.17.0.2:46248
> I0115 22:28:08.055060 31527 master.cpp:1749] Authorizing framework principal 'test-principal' to receive offers for role '*'
> I0115 22:28:08.055416 31533 master.cpp:2349] Subscribing framework default with checkpointing disabled and capabilities [  ]
> I0115 22:28:08.055848 31536 hierarchical.cpp:259] Added framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001
> I0115 22:28:08.055866 31534 registrar.cpp:484] Successfully updated the 'registry' in 5.401856ms
> I0115 22:28:08.055898 31536 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:08.055923 31536 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 22:28:08.055949 31536 hierarchical.cpp:1079] Performed allocation for 0 slaves in 73517ns
> I0115 22:28:08.056185 31525 log.cpp:702] Attempting to truncate the log to 11
> I0115 22:28:08.056260 31536 sched.cpp:649] Framework registered with 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001
> I0115 22:28:08.056339 31534 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 12
> I0115 22:28:08.056565 31536 sched.cpp:663] Scheduler::registered took 136912ns
> I0115 22:28:08.056910 31503 sched.cpp:1851] Asked to stop the driver
> I0115 22:28:08.057029 31523 sched.cpp:1089] Stopping framework '3dd346bb-8538-40c7-9697-c23c4c3177b8-0001'
> I0115 22:28:08.057133 31526 slave.cpp:3366] Received ping from slave-observer(181)@172.17.0.2:46248
> I0115 22:28:08.057204 31524 master.cpp:4303] Registered slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 at slave(181)@172.17.0.2:46248 (d28238b10cf3) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000]
> I0115 22:28:08.057421 31524 master.cpp:5921] Processing TEARDOWN call for framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001 (default) at scheduler-2593866b-949d-4dd4-a72b-88004c07cf77@172.17.0.2:46248
> I0115 22:28:08.057456 31526 slave.cpp:899] Registered with master master@172.17.0.2:46248; given slave ID 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0
> I0115 22:28:08.057458 31524 master.cpp:5933] Removing framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001 (default) at scheduler-2593866b-949d-4dd4-a72b-88004c07cf77@172.17.0.2:46248
> I0115 22:28:08.057493 31526 fetcher.cpp:81] Clearing fetcher cache
> I0115 22:28:08.057553 31525 hierarchical.cpp:465] Added slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 (d28238b10cf3) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (allocated: )
> I0115 22:28:08.057817 31528 status_update_manager.cpp:181] Resuming sending status updates
> I0115 22:28:08.058104 31532 replica.cpp:537] Replica received write request for position 12 from (6162)@172.17.0.2:46248
> I0115 22:28:08.058377 31526 slave.cpp:922] Checkpointing SlaveInfo to '/tmp/MasterTest_MaxCompletedFrameworksFlag_xXywTB/meta/slaves/3dd346bb-8538-40c7-9697-c23c4c3177b8-S0/slave.info'
> I0115 22:28:08.058661 31532 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 460784ns
> I0115 22:28:08.058790 31532 replica.cpp:712] Persisted action at 12
> I0115 22:28:08.058948 31526 slave.cpp:958] Forwarding total oversubscribed resources 
> I0115 22:28:08.059073 31525 hierarchical.cpp:1423] No inverse offers to send out!
> I0115 22:28:08.059130 31525 hierarchical.cpp:1101] Performed allocation for slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 in 1.518158ms
> I0115 22:28:08.059180 31523 master.cpp:4644] Received update of slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 at slave(181)@172.17.0.2:46248 (d28238b10cf3) with total oversubscribed resources 
> I0115 22:28:08.059242 31526 slave.cpp:2007] Asked to shut down framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001 by master@172.17.0.2:46248
> W0115 22:28:08.059284 31526 slave.cpp:2022] Cannot shut down unknown framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001
> I0115 22:28:08.059339 31525 hierarchical.cpp:369] Deactivated framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001
> W0115 22:28:08.059491 31523 master.cpp:5215] Master returning resources offered to framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001 because the framework has terminated or is inactive
> I0115 22:28:08.059762 31526 replica.cpp:691] Replica received learned notice for position 12 from @0.0.0.0:0
> I0115 22:28:08.059937 31525 hierarchical.cpp:320] Removed framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001
> I0115 22:28:08.060200 31526 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 354095ns
> I0115 22:28:08.060282 31526 leveldb.cpp:399] Deleting ~2 keys from leveldb took 45299ns
> I0115 22:28:08.060319 31526 replica.cpp:712] Persisted action at 12
> I0115 22:28:08.060348 31526 replica.cpp:697] Replica learned TRUNCATE action at position 12
> I0115 22:28:08.060645 31528 process.cpp:3141] Handling HTTP event for process 'master' with path: '/master/state'
> I0115 22:28:08.060793 31525 hierarchical.cpp:521] Slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 (d28238b10cf3) updated with oversubscribed resources  (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000])
> I0115 22:28:08.061091 31525 hierarchical.cpp:1329] No resources available to allocate!
> I0115 22:28:08.061130 31525 hierarchical.cpp:1101] Performed allocation for slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 in 254316ns
> I0115 22:28:08.061163 31535 http.cpp:504] HTTP GET for /master/state from 172.17.0.2:44902
> I0115 22:28:08.061275 31525 hierarchical.cpp:880] Recovered cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: ) on slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 from framework 3dd346bb-8538-40c7-9697-c23c4c3177b8-0001
> I0115 22:28:08.066872 31532 slave.cpp:596] Slave terminating
> I0115 22:28:08.067093 31524 master.cpp:1172] Slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 at slave(181)@172.17.0.2:46248 (d28238b10cf3) disconnected
> I0115 22:28:08.067132 31524 master.cpp:2633] Disconnecting slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 at slave(181)@172.17.0.2:46248 (d28238b10cf3)
> I0115 22:28:08.067325 31524 master.cpp:2652] Deactivating slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 at slave(181)@172.17.0.2:46248 (d28238b10cf3)
> I0115 22:28:08.067483 31528 hierarchical.cpp:550] Slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0 deactivated
> I0115 22:28:08.070176 31526 master.cpp:1025] Master terminating
> I0115 22:28:08.070775 31536 hierarchical.cpp:496] Removed slave 3dd346bb-8538-40c7-9697-c23c4c3177b8-S0
> [       OK ] MasterTest.MaxCompletedFrameworksFlag (248 ms)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message