Project: mesos
Issue MESOS-4676: ROOT_DOCKER_Logs is flaky.
{noformat} [18:06:25][Step 8/8] [ RUN ] DockerContainerizerTest.ROOT_DOCKER_Logs [18:06:25][Step 8/8] I0215 17:06:25.256103 1740 leveldb.cpp:174] Opened db in 6.548327ms [18:06:25][Step 8/8] I0215 17:06:25.258002 1740 leveldb.cpp:181] Compacted db in 1.837816ms [18:06:25][Step 8/8] I0215 17:06:25.258059 1740 leveldb.cpp:196] Created db iterator in 22044ns [18:06:25][Step 8/8] I0215 17:06:25.258076 1740 leveldb.cpp:202] Seeked to beginning of db in 2347ns [18:06:25][Step 8/8] I0215 17:06:25.258091 1740 leveldb.cpp:271] Iterated through 0 keys in the db in 571ns [18:06:25][Step 8/8] I0215 17:06:25.258152 1740 replica.cpp:779] Replica recovered with log positions 0 -> 0 with 1 holes and 0 unlearned [18:06:25][Step 8/8] I0215 17:06:25.258936 1758 recover.cpp:447] Starting replica recovery [18:06:25][Step 8/8] I0215 17:06:25.259177 1758 recover.cpp:473] Replica is in EMPTY status [18:06:25][Step 8/8] I0215 17:06:25.260327 1757 replica.cpp:673] Replica in EMPTY status received a broadcasted recover request from (13608)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.260545 1758 recover.cpp:193] Received a recover response from a replica in EMPTY status [18:06:25][Step 8/8] I0215 17:06:25.261065 1757 master.cpp:376] Master 112363e2-c680-4946-8fee-d0626ed8b21e (ip-172-30-2-239.mesosphere.io) started on 172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.261209 1761 recover.cpp:564] Updating replica status to STARTING [18:06:25][Step 8/8] I0215 17:06:25.261086 1757 master.cpp:378] Flags at startup: --acls="" --allocation_interval="1secs" --allocator="HierarchicalDRF" --authenticate="true" --authenticate_http="true" --authenticate_slaves="true" --authenticators="crammd5" --authorizers="local" --credentials="/tmp/HncLLj/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="50" --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="100secs" --registry_strict="true" --root_submissions="true" --slave_ping_timeout="15secs" --slave_reregister_timeout="10mins" --user_sorter="drf" --version="false" --webui_dir="/usr/local/share/mesos/webui" --work_dir="/tmp/HncLLj/master" --zk_session_timeout="10secs" [18:06:25][Step 8/8] I0215 17:06:25.261446 1757 master.cpp:423] Master only allowing authenticated frameworks to register [18:06:25][Step 8/8] I0215 17:06:25.261456 1757 master.cpp:428] Master only allowing authenticated slaves to register [18:06:25][Step 8/8] I0215 17:06:25.261462 1757 credentials.hpp:35] Loading credentials for authentication from '/tmp/HncLLj/credentials' [18:06:25][Step 8/8] I0215 17:06:25.261723 1757 master.cpp:468] Using default 'crammd5' authenticator [18:06:25][Step 8/8] I0215 17:06:25.261855 1757 master.cpp:537] Using default 'basic' HTTP authenticator [18:06:25][Step 8/8] I0215 17:06:25.262022 1757 master.cpp:571] Authorization enabled [18:06:25][Step 8/8] I0215 17:06:25.262177 1755 hierarchical.cpp:144] Initialized hierarchical allocator process [18:06:25][Step 8/8] I0215 17:06:25.262177 1758 whitelist_watcher.cpp:77] No whitelist given [18:06:25][Step 8/8] I0215 17:06:25.262899 1760 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 1.517992ms [18:06:25][Step 8/8] I0215 17:06:25.262924 1760 replica.cpp:320] Persisted replica status to STARTING [18:06:25][Step 8/8] I0215 17:06:25.263144 1754 recover.cpp:473] Replica is in STARTING status [18:06:25][Step 8/8] I0215 17:06:25.264010 1757 master.cpp:1712] The newly elected leader is master@172.30.2.239:39785 with id 112363e2-c680-4946-8fee-d0626ed8b21e [18:06:25][Step 8/8] I0215 17:06:25.264044 1757 master.cpp:1725] Elected as the leading master! [18:06:25][Step 8/8] I0215 17:06:25.264061 1757 master.cpp:1470] Recovering from registrar [18:06:25][Step 8/8] I0215 17:06:25.264117 1760 replica.cpp:673] Replica in STARTING status received a broadcasted recover request from (13610)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.264197 1758 registrar.cpp:307] Recovering registrar [18:06:25][Step 8/8] I0215 17:06:25.264827 1756 recover.cpp:193] Received a recover response from a replica in STARTING status [18:06:25][Step 8/8] I0215 17:06:25.265219 1757 recover.cpp:564] Updating replica status to VOTING [18:06:25][Step 8/8] I0215 17:06:25.267302 1754 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 1.887739ms [18:06:25][Step 8/8] I0215 17:06:25.267326 1754 replica.cpp:320] Persisted replica status to VOTING [18:06:25][Step 8/8] I0215 17:06:25.267453 1759 recover.cpp:578] Successfully joined the Paxos group [18:06:25][Step 8/8] I0215 17:06:25.267632 1759 recover.cpp:462] Recover process terminated [18:06:25][Step 8/8] I0215 17:06:25.268007 1757 log.cpp:659] Attempting to start the writer [18:06:25][Step 8/8] I0215 17:06:25.269055 1759 replica.cpp:493] Replica received implicit promise request from (13611)@172.30.2.239:39785 with proposal 1 [18:06:25][Step 8/8] I0215 17:06:25.270488 1759 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 1.406068ms [18:06:25][Step 8/8] I0215 17:06:25.270511 1759 replica.cpp:342] Persisted promised to 1 [18:06:25][Step 8/8] I0215 17:06:25.271078 1761 coordinator.cpp:238] Coordinator attempting to fill missing positions [18:06:25][Step 8/8] I0215 17:06:25.272146 1756 replica.cpp:388] Replica received explicit promise request from (13612)@172.30.2.239:39785 for position 0 with proposal 2 [18:06:25][Step 8/8] I0215 17:06:25.273478 1756 leveldb.cpp:341] Persisting action (8 bytes) to leveldb took 1.297217ms [18:06:25][Step 8/8] I0215 17:06:25.273500 1756 replica.cpp:712] Persisted action at 0 [18:06:25][Step 8/8] I0215 17:06:25.274355 1757 replica.cpp:537] Replica received write request for position 0 from (13613)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.274405 1757 leveldb.cpp:436] Reading position from leveldb took 25294ns [18:06:25][Step 8/8] I0215 17:06:25.275800 1757 leveldb.cpp:341] Persisting action (14 bytes) to leveldb took 1.362978ms [18:06:25][Step 8/8] I0215 17:06:25.275823 1757 replica.cpp:712] Persisted action at 0 [18:06:25][Step 8/8] I0215 17:06:25.276348 1755 replica.cpp:691] Replica received learned notice for position 0 from @0.0.0.0:0 [18:06:25][Step 8/8] I0215 17:06:25.277765 1755 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 1.391531ms [18:06:25][Step 8/8] I0215 17:06:25.277788 1755 replica.cpp:712] Persisted action at 0 [18:06:25][Step 8/8] I0215 17:06:25.277802 1755 replica.cpp:697] Replica learned NOP action at position 0 [18:06:25][Step 8/8] I0215 17:06:25.278336 1754 log.cpp:675] Writer started with ending position 0 [18:06:25][Step 8/8] I0215 17:06:25.279371 1755 leveldb.cpp:436] Reading position from leveldb took 29214ns [18:06:25][Step 8/8] I0215 17:06:25.280272 1758 registrar.cpp:340] Successfully fetched the registry (0B) in 16.02688ms [18:06:25][Step 8/8] I0215 17:06:25.280385 1758 registrar.cpp:439] Applied 1 operations in 31040ns; attempting to update the 'registry' [18:06:25][Step 8/8] I0215 17:06:25.281054 1755 log.cpp:683] Attempting to append 210 bytes to the log [18:06:25][Step 8/8] I0215 17:06:25.281165 1757 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 1 [18:06:25][Step 8/8] I0215 17:06:25.281780 1757 replica.cpp:537] Replica received write request for position 1 from (13614)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.283159 1757 leveldb.cpp:341] Persisting action (229 bytes) to leveldb took 1.348041ms [18:06:25][Step 8/8] I0215 17:06:25.283184 1757 replica.cpp:712] Persisted action at 1 [18:06:25][Step 8/8] I0215 17:06:25.283695 1759 replica.cpp:691] Replica received learned notice for position 1 from @0.0.0.0:0 [18:06:25][Step 8/8] I0215 17:06:25.285059 1759 leveldb.cpp:341] Persisting action (231 bytes) to leveldb took 1.334577ms [18:06:25][Step 8/8] I0215 17:06:25.285084 1759 replica.cpp:712] Persisted action at 1 [18:06:25][Step 8/8] I0215 17:06:25.285099 1759 replica.cpp:697] Replica learned APPEND action at position 1 [18:06:25][Step 8/8] I0215 17:06:25.285910 1758 registrar.cpp:484] Successfully updated the 'registry' in 5.46816ms [18:06:25][Step 8/8] I0215 17:06:25.286043 1758 registrar.cpp:370] Successfully recovered registrar [18:06:25][Step 8/8] I0215 17:06:25.286121 1755 log.cpp:702] Attempting to truncate the log to 1 [18:06:25][Step 8/8] I0215 17:06:25.286301 1756 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 2 [18:06:25][Step 8/8] I0215 17:06:25.286478 1759 hierarchical.cpp:171] Skipping recovery of hierarchical allocator: nothing to recover [18:06:25][Step 8/8] I0215 17:06:25.286476 1754 master.cpp:1522] Recovered 0 slaves from the Registry (171B) ; allowing 10mins for slaves to re-register [18:06:25][Step 8/8] I0215 17:06:25.287137 1755 replica.cpp:537] Replica received write request for position 2 from (13615)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.289104 1755 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 1.938609ms [18:06:25][Step 8/8] I0215 17:06:25.289127 1755 replica.cpp:712] Persisted action at 2 [18:06:25][Step 8/8] I0215 17:06:25.289667 1759 replica.cpp:691] Replica received learned notice for position 2 from @0.0.0.0:0 [18:06:25][Step 8/8] I0215 17:06:25.290956 1759 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 1.256421ms [18:06:25][Step 8/8] I0215 17:06:25.291007 1759 leveldb.cpp:399] Deleting ~1 keys from leveldb took 28064ns [18:06:25][Step 8/8] I0215 17:06:25.291021 1759 replica.cpp:712] Persisted action at 2 [18:06:25][Step 8/8] I0215 17:06:25.291038 1759 replica.cpp:697] Replica learned TRUNCATE action at position 2 [18:06:25][Step 8/8] I0215 17:06:25.300550 1760 slave.cpp:193] Slave started on 393)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.300573 1760 slave.cpp:194] 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/DockerContainerizerTest_ROOT_DOCKER_Logs_a4NS2N/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/DockerContainerizerTest_ROOT_DOCKER_Logs_a4NS2N/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="/mnt/teamcity/work/4240ba9ddd0997c3/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/DockerContainerizerTest_ROOT_DOCKER_Logs_a4NS2N" [18:06:25][Step 8/8] I0215 17:06:25.300868 1760 credentials.hpp:83] Loading credential for authentication from '/tmp/DockerContainerizerTest_ROOT_DOCKER_Logs_a4NS2N/credential' [18:06:25][Step 8/8] I0215 17:06:25.301030 1760 slave.cpp:324] Slave using credential for: test-principal [18:06:25][Step 8/8] I0215 17:06:25.301180 1760 resources.cpp:576] Parsing resources as JSON failed: cpus:2;mem:1024;disk:1024;ports:[31000-32000] [18:06:25][Step 8/8] Trying semicolon-delimited string format instead [18:06:25][Step 8/8] I0215 17:06:25.301553 1760 slave.cpp:464] Slave resources: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] [18:06:25][Step 8/8] I0215 17:06:25.301609 1760 slave.cpp:472] Slave attributes: [ ] [18:06:25][Step 8/8] I0215 17:06:25.301620 1760 slave.cpp:477] Slave hostname: ip-172-30-2-239.mesosphere.io [18:06:25][Step 8/8] I0215 17:06:25.302417 1757 state.cpp:58] Recovering state from '/tmp/DockerContainerizerTest_ROOT_DOCKER_Logs_a4NS2N/meta' [18:06:25][Step 8/8] I0215 17:06:25.302515 1740 sched.cpp:222] Version: 0.28.0 [18:06:25][Step 8/8] I0215 17:06:25.302772 1755 status_update_manager.cpp:200] Recovering status update manager [18:06:25][Step 8/8] I0215 17:06:25.302956 1758 docker.cpp:559] Recovering Docker containers [18:06:25][Step 8/8] I0215 17:06:25.303050 1761 sched.cpp:326] New master detected at master@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.303133 1754 slave.cpp:4565] Finished recovery [18:06:25][Step 8/8] I0215 17:06:25.303154 1761 sched.cpp:382] Authenticating with master master@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.303169 1761 sched.cpp:389] Using default CRAM-MD5 authenticatee [18:06:25][Step 8/8] I0215 17:06:25.303364 1759 authenticatee.cpp:121] Creating new client SASL connection [18:06:25][Step 8/8] I0215 17:06:25.303467 1754 slave.cpp:4737] Querying resource estimator for oversubscribable resources [18:06:25][Step 8/8] I0215 17:06:25.303668 1756 master.cpp:5523] Authenticating scheduler-806c70e3-1cf6-418f-aa30-6bb26db42d18@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.303707 1760 status_update_manager.cpp:174] Pausing sending status updates [18:06:25][Step 8/8] I0215 17:06:25.303707 1754 slave.cpp:796] New master detected at master@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.303767 1755 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(829)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.303791 1754 slave.cpp:859] Authenticating with master master@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.303805 1754 slave.cpp:864] Using default CRAM-MD5 authenticatee [18:06:25][Step 8/8] I0215 17:06:25.303956 1754 slave.cpp:832] Detecting new master [18:06:25][Step 8/8] I0215 17:06:25.303971 1761 authenticatee.cpp:121] Creating new client SASL connection [18:06:25][Step 8/8] I0215 17:06:25.303984 1760 authenticator.cpp:98] Creating new server SASL connection [18:06:25][Step 8/8] I0215 17:06:25.304131 1754 slave.cpp:4751] Received oversubscribable resources from the resource estimator [18:06:25][Step 8/8] I0215 17:06:25.304275 1757 master.cpp:5523] Authenticating slave(393)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.304344 1754 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5 [18:06:25][Step 8/8] I0215 17:06:25.304369 1754 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5' [18:06:25][Step 8/8] I0215 17:06:25.304373 1761 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(830)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.304440 1757 authenticator.cpp:203] Received SASL authentication start [18:06:25][Step 8/8] I0215 17:06:25.304491 1757 authenticator.cpp:325] Authentication requires more steps [18:06:25][Step 8/8] I0215 17:06:25.304548 1754 authenticator.cpp:98] Creating new server SASL connection [18:06:25][Step 8/8] I0215 17:06:25.304582 1761 authenticatee.cpp:258] Received SASL authentication step [18:06:25][Step 8/8] I0215 17:06:25.304688 1761 authenticator.cpp:231] Received SASL authentication step [18:06:25][Step 8/8] I0215 17:06:25.304714 1761 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'ip-172-30-2-239.mesosphere.io' server FQDN: 'ip-172-30-2-239.mesosphere.io' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false [18:06:25][Step 8/8] I0215 17:06:25.304723 1761 auxprop.cpp:179] Looking up auxiliary property '*userPassword' [18:06:25][Step 8/8] I0215 17:06:25.304767 1761 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5' [18:06:25][Step 8/8] I0215 17:06:25.304805 1761 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'ip-172-30-2-239.mesosphere.io' server FQDN: 'ip-172-30-2-239.mesosphere.io' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true [18:06:25][Step 8/8] I0215 17:06:25.304817 1761 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true [18:06:25][Step 8/8] I0215 17:06:25.304824 1761 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true [18:06:25][Step 8/8] I0215 17:06:25.304836 1761 authenticator.cpp:317] Authentication success [18:06:25][Step 8/8] I0215 17:06:25.304841 1758 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5 [18:06:25][Step 8/8] I0215 17:06:25.304870 1758 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5' [18:06:25][Step 8/8] I0215 17:06:25.304909 1757 authenticatee.cpp:298] Authentication success [18:06:25][Step 8/8] I0215 17:06:25.304983 1756 authenticator.cpp:203] Received SASL authentication start [18:06:25][Step 8/8] I0215 17:06:25.305033 1756 authenticator.cpp:325] Authentication requires more steps [18:06:25][Step 8/8] I0215 17:06:25.305042 1759 master.cpp:5553] Successfully authenticated principal 'test-principal' at scheduler-806c70e3-1cf6-418f-aa30-6bb26db42d18@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.305071 1755 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(829)@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.305124 1756 authenticatee.cpp:258] Received SASL authentication step [18:06:25][Step 8/8] I0215 17:06:25.305222 1758 sched.cpp:471] Successfully authenticated with master master@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.305246 1758 sched.cpp:776] Sending SUBSCRIBE call to master@172.30.2.239:39785 [18:06:25][Step 8/8] I0215 17:06:25.305286 1760 authenticator.cpp:231] Received SASL authentication step [18:06:25][Step 8/8] I0215 17:06:25.305310 1760 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'ip-172-30-2-239.mesosphere.io' server FQDN: 'ip-172-30-2-239.mesosphere.io' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false [18:06:25][Step 8/8] I0215 17:06:25.305318 1760 auxprop.cpp:179] Looking up auxiliary property '*userPassword' [18:06:25][Step 8/8] I0215 17:06:25.305344 1760 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5' [18:06:25][Step 8/8] I0215 17:06:25.305363 1758 sched.cpp:809] Will retry registration in 1.888777185secs if necessary [18:06:25][Step 8/8] I0215 17:06:25.305379 1760 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: 'ip-172-30-2-239.mesosphere.io' server FQDN: 'ip-172-30-2-239.mesosphere.io' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true [18:06:25][Step 8/8] I0215 17:06:25.305397 1760 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true [18:06:25][Step 8/...
Story points: 2