Greg Mann created MESOS-4615: -------------------------------- Summary: ContainerLoggerTest.DefaultToSandbox is flaky Key: MESOS-4615 URL: https://issues.apache.org/jira/browse/MESOS-4615 Project: Mesos Issue Type: Bug Components: tests Affects Versions: 0.27.0 Environment: CentOS 7, gcc, libevent & SSL enabled Reporter: Greg Mann
Just saw this failure on the ASF CI: {code} [ RUN ] ContainerLoggerTest.DefaultToSandbox I0206 01:25:03.766458 2824 leveldb.cpp:174] Opened db in 72.979786ms I0206 01:25:03.811712 2824 leveldb.cpp:181] Compacted db in 45.162067ms I0206 01:25:03.811810 2824 leveldb.cpp:196] Created db iterator in 26090ns I0206 01:25:03.811828 2824 leveldb.cpp:202] Seeked to beginning of db in 3173ns I0206 01:25:03.811839 2824 leveldb.cpp:271] Iterated through 0 keys in the db in 497ns I0206 01:25:03.811900 2824 replica.cpp:779] Replica recovered with log positions 0 -> 0 with 1 holes and 0 unlearned I0206 01:25:03.812785 2849 recover.cpp:447] Starting replica recovery I0206 01:25:03.813043 2849 recover.cpp:473] Replica is in EMPTY status I0206 01:25:03.814668 2854 replica.cpp:673] Replica in EMPTY status received a broadcasted recover request from (371)@172.17.0.8:37843 I0206 01:25:03.815210 2849 recover.cpp:193] Received a recover response from a replica in EMPTY status I0206 01:25:03.815732 2854 recover.cpp:564] Updating replica status to STARTING I0206 01:25:03.819664 2857 master.cpp:376] Master 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de (74ef606c4063) started on 172.17.0.8:37843 I0206 01:25:03.819703 2857 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/h5vu5I/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="/mesos/mesos-0.28.0/_inst/share/mesos/webui" --work_dir="/tmp/h5vu5I/master" --zk_session_timeout="10secs" I0206 01:25:03.820241 2857 master.cpp:423] Master only allowing authenticated frameworks to register I0206 01:25:03.820257 2857 master.cpp:428] Master only allowing authenticated slaves to register I0206 01:25:03.820269 2857 credentials.hpp:35] Loading credentials for authentication from '/tmp/h5vu5I/credentials' I0206 01:25:03.821110 2857 master.cpp:468] Using default 'crammd5' authenticator I0206 01:25:03.821311 2857 master.cpp:537] Using default 'basic' HTTP authenticator I0206 01:25:03.821636 2857 master.cpp:571] Authorization enabled I0206 01:25:03.821979 2846 hierarchical.cpp:144] Initialized hierarchical allocator process I0206 01:25:03.822057 2846 whitelist_watcher.cpp:77] No whitelist given I0206 01:25:03.825460 2847 master.cpp:1712] The newly elected leader is master@172.17.0.8:37843 with id 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de I0206 01:25:03.825512 2847 master.cpp:1725] Elected as the leading master! I0206 01:25:03.825533 2847 master.cpp:1470] Recovering from registrar I0206 01:25:03.825835 2847 registrar.cpp:307] Recovering registrar I0206 01:25:03.848212 2854 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 32.226093ms I0206 01:25:03.848299 2854 replica.cpp:320] Persisted replica status to STARTING I0206 01:25:03.848702 2854 recover.cpp:473] Replica is in STARTING status I0206 01:25:03.850728 2858 replica.cpp:673] Replica in STARTING status received a broadcasted recover request from (373)@172.17.0.8:37843 I0206 01:25:03.851230 2854 recover.cpp:193] Received a recover response from a replica in STARTING status I0206 01:25:03.852018 2854 recover.cpp:564] Updating replica status to VOTING I0206 01:25:03.881681 2854 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 29.184163ms I0206 01:25:03.881772 2854 replica.cpp:320] Persisted replica status to VOTING I0206 01:25:03.882058 2854 recover.cpp:578] Successfully joined the Paxos group I0206 01:25:03.882258 2854 recover.cpp:462] Recover process terminated I0206 01:25:03.883076 2854 log.cpp:659] Attempting to start the writer I0206 01:25:03.885040 2854 replica.cpp:493] Replica received implicit promise request from (374)@172.17.0.8:37843 with proposal 1 I0206 01:25:03.915132 2854 leveldb.cpp:304] Persisting metadata (8 bytes) to leveldb took 29.980589ms I0206 01:25:03.915215 2854 replica.cpp:342] Persisted promised to 1 I0206 01:25:03.916038 2856 coordinator.cpp:238] Coordinator attempting to fill missing positions I0206 01:25:03.917659 2856 replica.cpp:388] Replica received explicit promise request from (375)@172.17.0.8:37843 for position 0 with proposal 2 I0206 01:25:03.948698 2856 leveldb.cpp:341] Persisting action (8 bytes) to leveldb took 30.974607ms I0206 01:25:03.948786 2856 replica.cpp:712] Persisted action at 0 I0206 01:25:03.950920 2849 replica.cpp:537] Replica received write request for position 0 from (376)@172.17.0.8:37843 I0206 01:25:03.951011 2849 leveldb.cpp:436] Reading position from leveldb took 44263ns I0206 01:25:03.982026 2849 leveldb.cpp:341] Persisting action (14 bytes) to leveldb took 30.947321ms I0206 01:25:03.982225 2849 replica.cpp:712] Persisted action at 0 I0206 01:25:03.983867 2849 replica.cpp:691] Replica received learned notice for position 0 from @0.0.0.0:0 I0206 01:25:04.015499 2849 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 30.957888ms I0206 01:25:04.015591 2849 replica.cpp:712] Persisted action at 0 I0206 01:25:04.015682 2849 replica.cpp:697] Replica learned NOP action at position 0 I0206 01:25:04.016666 2849 log.cpp:675] Writer started with ending position 0 I0206 01:25:04.017881 2855 leveldb.cpp:436] Reading position from leveldb took 56779ns I0206 01:25:04.018934 2852 registrar.cpp:340] Successfully fetched the registry (0B) in 193.048064ms I0206 01:25:04.019076 2852 registrar.cpp:439] Applied 1 operations in 38180ns; attempting to update the 'registry' I0206 01:25:04.020100 2844 log.cpp:683] Attempting to append 170 bytes to the log I0206 01:25:04.020288 2855 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 1 I0206 01:25:04.021323 2844 replica.cpp:537] Replica received write request for position 1 from (377)@172.17.0.8:37843 I0206 01:25:04.054726 2844 leveldb.cpp:341] Persisting action (189 bytes) to leveldb took 33.309419ms I0206 01:25:04.054818 2844 replica.cpp:712] Persisted action at 1 I0206 01:25:04.055933 2844 replica.cpp:691] Replica received learned notice for position 1 from @0.0.0.0:0 I0206 01:25:04.088142 2844 leveldb.cpp:341] Persisting action (191 bytes) to leveldb took 32.116643ms I0206 01:25:04.088230 2844 replica.cpp:712] Persisted action at 1 I0206 01:25:04.088265 2844 replica.cpp:697] Replica learned APPEND action at position 1 I0206 01:25:04.090070 2856 registrar.cpp:484] Successfully updated the 'registry' in 70.90816ms I0206 01:25:04.090338 2851 log.cpp:702] Attempting to truncate the log to 1 I0206 01:25:04.090358 2856 registrar.cpp:370] Successfully recovered registrar I0206 01:25:04.090507 2847 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 2 I0206 01:25:04.090867 2858 master.cpp:1522] Recovered 0 slaves from the Registry (131B) ; allowing 10mins for slaves to re-register I0206 01:25:04.091449 2858 hierarchical.cpp:171] Skipping recovery of hierarchical allocator: nothing to recover I0206 01:25:04.092280 2857 replica.cpp:537] Replica received write request for position 2 from (378)@172.17.0.8:37843 I0206 01:25:04.125702 2857 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 33.192265ms I0206 01:25:04.125804 2857 replica.cpp:712] Persisted action at 2 I0206 01:25:04.127400 2857 replica.cpp:691] Replica received learned notice for position 2 from @0.0.0.0:0 I0206 01:25:04.157727 2857 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 30.268594ms I0206 01:25:04.157905 2857 leveldb.cpp:399] Deleting ~1 keys from leveldb took 88436ns I0206 01:25:04.157941 2857 replica.cpp:712] Persisted action at 2 I0206 01:25:04.157984 2857 replica.cpp:697] Replica learned TRUNCATE action at position 2 I0206 01:25:04.166174 2824 containerizer.cpp:149] Using isolation: posix/cpu,posix/mem,filesystem/posix W0206 01:25:04.166954 2824 backend.cpp:48] Failed to create 'bind' backend: BindBackend requires root privileges I0206 01:25:04.172008 2844 slave.cpp:193] Slave started on 9)@172.17.0.8:37843 I0206 01:25:04.172046 2844 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/ContainerLoggerTest_DefaultToSandbox_FMaKSw/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/ContainerLoggerTest_DefaultToSandbox_FMaKSw/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.28.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/ContainerLoggerTest_DefaultToSandbox_FMaKSw" I0206 01:25:04.172569 2844 credentials.hpp:83] Loading credential for authentication from '/tmp/ContainerLoggerTest_DefaultToSandbox_FMaKSw/credential' I0206 01:25:04.172886 2844 slave.cpp:324] Slave using credential for: test-principal I0206 01:25:04.173141 2844 resources.cpp:564] Parsing resources as JSON failed: cpus:2;mem:1024;disk:1024;ports:[31000-32000] Trying semicolon-delimited string format instead I0206 01:25:04.173620 2844 slave.cpp:464] Slave resources: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] I0206 01:25:04.173686 2844 slave.cpp:472] Slave attributes: [ ] I0206 01:25:04.173702 2844 slave.cpp:477] Slave hostname: 74ef606c4063 I0206 01:25:04.174816 2847 state.cpp:58] Recovering state from '/tmp/ContainerLoggerTest_DefaultToSandbox_FMaKSw/meta' I0206 01:25:04.175441 2847 status_update_manager.cpp:200] Recovering status update manager I0206 01:25:04.175678 2858 containerizer.cpp:397] Recovering containerizer I0206 01:25:04.177573 2858 provisioner.cpp:245] Provisioner recovery complete I0206 01:25:04.178231 2847 slave.cpp:4496] Finished recovery I0206 01:25:04.178834 2847 slave.cpp:4668] Querying resource estimator for oversubscribable resources I0206 01:25:04.179405 2847 slave.cpp:796] New master detected at master@172.17.0.8:37843 I0206 01:25:04.179500 2847 slave.cpp:859] Authenticating with master master@172.17.0.8:37843 I0206 01:25:04.179525 2847 slave.cpp:864] Using default CRAM-MD5 authenticatee I0206 01:25:04.179656 2858 status_update_manager.cpp:174] Pausing sending status updates I0206 01:25:04.179798 2847 slave.cpp:832] Detecting new master I0206 01:25:04.179891 2852 authenticatee.cpp:121] Creating new client SASL connection I0206 01:25:04.179916 2847 slave.cpp:4682] Received oversubscribable resources from the resource estimator I0206 01:25:04.180286 2847 master.cpp:5523] Authenticating slave(9)@172.17.0.8:37843 I0206 01:25:04.180569 2847 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(32)@172.17.0.8:37843 I0206 01:25:04.181000 2847 authenticator.cpp:98] Creating new server SASL connection I0206 01:25:04.181315 2847 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5 I0206 01:25:04.181387 2847 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5' I0206 01:25:04.181562 2847 authenticator.cpp:203] Received SASL authentication start I0206 01:25:04.181648 2847 authenticator.cpp:325] Authentication requires more steps I0206 01:25:04.181843 2847 authenticatee.cpp:258] Received SASL authentication step I0206 01:25:04.182034 2853 authenticator.cpp:231] Received SASL authentication step I0206 01:25:04.182071 2853 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '74ef606c4063' server FQDN: '74ef606c4063' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false I0206 01:25:04.182093 2853 auxprop.cpp:179] Looking up auxiliary property '*userPassword' I0206 01:25:04.182145 2853 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5' I0206 01:25:04.182173 2853 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '74ef606c4063' server FQDN: '74ef606c4063' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true I0206 01:25:04.182185 2853 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true I0206 01:25:04.182193 2853 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true I0206 01:25:04.182211 2853 authenticator.cpp:317] Authentication success I0206 01:25:04.182333 2849 authenticatee.cpp:298] Authentication success I0206 01:25:04.182422 2853 master.cpp:5553] Successfully authenticated principal 'test-principal' at slave(9)@172.17.0.8:37843 I0206 01:25:04.182510 2853 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(32)@172.17.0.8:37843 I0206 01:25:04.182945 2849 slave.cpp:927] Successfully authenticated with master master@172.17.0.8:37843 I0206 01:25:04.183178 2849 slave.cpp:1321] Will retry registration in 9.87937ms if necessary I0206 01:25:04.183466 2852 master.cpp:4237] Registering slave at slave(9)@172.17.0.8:37843 (74ef606c4063) with id 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 I0206 01:25:04.184039 2845 registrar.cpp:439] Applied 1 operations in 89453ns; attempting to update the 'registry' I0206 01:25:04.185288 2856 log.cpp:683] Attempting to append 339 bytes to the log I0206 01:25:04.185672 2850 coordinator.cpp:348] Coordinator attempting to write APPEND action at position 3 I0206 01:25:04.186674 2846 replica.cpp:537] Replica received write request for position 3 from (392)@172.17.0.8:37843 I0206 01:25:04.195863 2856 slave.cpp:1321] Will retry registration in 11.038094ms if necessary I0206 01:25:04.196233 2856 master.cpp:4225] Ignoring register slave message from slave(9)@172.17.0.8:37843 (74ef606c4063) as admission is already in progress I0206 01:25:04.208094 2856 slave.cpp:1321] Will retry registration in 27.881223ms if necessary I0206 01:25:04.208472 2856 master.cpp:4225] Ignoring register slave message from slave(9)@172.17.0.8:37843 (74ef606c4063) as admission is already in progress I0206 01:25:04.216698 2846 leveldb.cpp:341] Persisting action (358 bytes) to leveldb took 29.961291ms I0206 01:25:04.216789 2846 replica.cpp:712] Persisted action at 3 I0206 01:25:04.218246 2845 replica.cpp:691] Replica received learned notice for position 3 from @0.0.0.0:0 I0206 01:25:04.237861 2846 slave.cpp:1321] Will retry registration in 1.006941ms if necessary I0206 01:25:04.238221 2846 master.cpp:4225] Ignoring register slave message from slave(9)@172.17.0.8:37843 (74ef606c4063) as admission is already in progress I0206 01:25:04.239858 2856 slave.cpp:1321] Will retry registration in 167.305686ms if necessary I0206 01:25:04.240044 2856 master.cpp:4225] Ignoring register slave message from slave(9)@172.17.0.8:37843 (74ef606c4063) as admission is already in progress I0206 01:25:04.241482 2845 leveldb.cpp:341] Persisting action (360 bytes) to leveldb took 23.193162ms I0206 01:25:04.241524 2845 replica.cpp:712] Persisted action at 3 I0206 01:25:04.241557 2845 replica.cpp:697] Replica learned APPEND action at position 3 I0206 01:25:04.243746 2844 registrar.cpp:484] Successfully updated the 'registry' in 59.587072ms I0206 01:25:04.244210 2857 log.cpp:702] Attempting to truncate the log to 3 I0206 01:25:04.244344 2845 coordinator.cpp:348] Coordinator attempting to write TRUNCATE action at position 4 I0206 01:25:04.244597 2856 master.cpp:4305] Registered slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 at slave(9)@172.17.0.8:37843 (74ef606c4063) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] I0206 01:25:04.244746 2843 slave.cpp:3436] Received ping from slave-observer(8)@172.17.0.8:37843 I0206 01:25:04.244976 2845 hierarchical.cpp:473] Added slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 (74ef606c4063) with cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (allocated: ) I0206 01:25:04.245072 2843 slave.cpp:971] Registered with master master@172.17.0.8:37843; given slave ID 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 I0206 01:25:04.245121 2843 fetcher.cpp:81] Clearing fetcher cache I0206 01:25:04.245146 2845 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:04.245178 2845 hierarchical.cpp:1116] Performed allocation for slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 in 159744ns I0206 01:25:04.245465 2846 status_update_manager.cpp:181] Resuming sending status updates I0206 01:25:04.245776 2843 slave.cpp:994] Checkpointing SlaveInfo to '/tmp/ContainerLoggerTest_DefaultToSandbox_FMaKSw/meta/slaves/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0/slave.info' I0206 01:25:04.245745 2846 replica.cpp:537] Replica received write request for position 4 from (393)@172.17.0.8:37843 I0206 01:25:04.246273 2843 slave.cpp:1030] Forwarding total oversubscribed resources I0206 01:25:04.246507 2850 master.cpp:4646] Received update of slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 at slave(9)@172.17.0.8:37843 (74ef606c4063) with total oversubscribed resources I0206 01:25:04.247180 2824 sched.cpp:222] Version: 0.28.0 I0206 01:25:04.247155 2850 hierarchical.cpp:531] Slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 (74ef606c4063) updated with oversubscribed resources (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: ) I0206 01:25:04.247357 2850 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:04.247406 2850 hierarchical.cpp:1116] Performed allocation for slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 in 183250ns I0206 01:25:04.247938 2854 sched.cpp:326] New master detected at master@172.17.0.8:37843 I0206 01:25:04.248157 2854 sched.cpp:382] Authenticating with master master@172.17.0.8:37843 I0206 01:25:04.248265 2854 sched.cpp:389] Using default CRAM-MD5 authenticatee I0206 01:25:04.248769 2854 authenticatee.cpp:121] Creating new client SASL connection I0206 01:25:04.249311 2854 master.cpp:5523] Authenticating scheduler-f50aad75-78d0-4d9f-b1a4-488d5ab932d6@172.17.0.8:37843 I0206 01:25:04.249646 2854 authenticator.cpp:413] Starting authentication session for crammd5_authenticatee(33)@172.17.0.8:37843 I0206 01:25:04.250114 2854 authenticator.cpp:98] Creating new server SASL connection I0206 01:25:04.250453 2854 authenticatee.cpp:212] Received SASL authentication mechanisms: CRAM-MD5 I0206 01:25:04.250525 2854 authenticatee.cpp:238] Attempting to authenticate with mechanism 'CRAM-MD5' I0206 01:25:04.250814 2853 authenticator.cpp:203] Received SASL authentication start I0206 01:25:04.250881 2853 authenticator.cpp:325] Authentication requires more steps I0206 01:25:04.250982 2853 authenticatee.cpp:258] Received SASL authentication step I0206 01:25:04.251092 2853 authenticator.cpp:231] Received SASL authentication step I0206 01:25:04.251128 2853 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '74ef606c4063' server FQDN: '74ef606c4063' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false I0206 01:25:04.251144 2853 auxprop.cpp:179] Looking up auxiliary property '*userPassword' I0206 01:25:04.251200 2853 auxprop.cpp:179] Looking up auxiliary property '*cmusaslsecretCRAM-MD5' I0206 01:25:04.251242 2853 auxprop.cpp:107] Request to lookup properties for user: 'test-principal' realm: '74ef606c4063' server FQDN: '74ef606c4063' SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true I0206 01:25:04.251260 2853 auxprop.cpp:129] Skipping auxiliary property '*userPassword' since SASL_AUXPROP_AUTHZID == true I0206 01:25:04.251269 2853 auxprop.cpp:129] Skipping auxiliary property '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true I0206 01:25:04.251288 2853 authenticator.cpp:317] Authentication success I0206 01:25:04.251471 2853 authenticatee.cpp:298] Authentication success I0206 01:25:04.251574 2853 master.cpp:5553] Successfully authenticated principal 'test-principal' at scheduler-f50aad75-78d0-4d9f-b1a4-488d5ab932d6@172.17.0.8:37843 I0206 01:25:04.251669 2851 authenticator.cpp:431] Authentication session cleanup for crammd5_authenticatee(33)@172.17.0.8:37843 I0206 01:25:04.252162 2854 sched.cpp:471] Successfully authenticated with master master@172.17.0.8:37843 I0206 01:25:04.252188 2854 sched.cpp:776] Sending SUBSCRIBE call to master@172.17.0.8:37843 I0206 01:25:04.252286 2854 sched.cpp:809] Will retry registration in 1.575999657secs if necessary I0206 01:25:04.252583 2853 master.cpp:2280] Received SUBSCRIBE call for framework 'default' at scheduler-f50aad75-78d0-4d9f-b1a4-488d5ab932d6@172.17.0.8:37843 I0206 01:25:04.252694 2853 master.cpp:1751] Authorizing framework principal 'test-principal' to receive offers for role '*' I0206 01:25:04.253110 2853 master.cpp:2351] Subscribing framework default with checkpointing disabled and capabilities [ ] I0206 01:25:04.253703 2843 hierarchical.cpp:265] Added framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:04.255300 2843 hierarchical.cpp:1498] No inverse offers to send out! I0206 01:25:04.255367 2843 hierarchical.cpp:1096] Performed allocation for 1 slaves in 1.621522ms I0206 01:25:04.255820 2844 sched.cpp:703] Framework registered with 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:04.256006 2844 sched.cpp:717] Scheduler::registered took 105156ns I0206 01:25:04.256572 2853 master.cpp:5352] Sending 1 offers to framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 (default) at scheduler-f50aad75-78d0-4d9f-b1a4-488d5ab932d6@172.17.0.8:37843 I0206 01:25:04.257524 2853 sched.cpp:873] Scheduler::resourceOffers took 173470ns I0206 01:25:04.260818 2855 master.cpp:3138] Processing ACCEPT call for offers: [ 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-O0 ] on slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 at slave(9)@172.17.0.8:37843 (74ef606c4063) for framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 (default) at scheduler-f50aad75-78d0-4d9f-b1a4-488d5ab932d6@172.17.0.8:37843 I0206 01:25:04.260968 2855 master.cpp:2825] Authorizing framework principal 'test-principal' to launch task 0e7267ed-c5ed-4914-9042-5970b2aaec1c as user 'mesos' I0206 01:25:04.264458 2844 master.hpp:176] Adding task 0e7267ed-c5ed-4914-9042-5970b2aaec1c with resources cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] on slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 (74ef606c4063) I0206 01:25:04.264796 2844 master.cpp:3623] Launching task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 (default) at scheduler-f50aad75-78d0-4d9f-b1a4-488d5ab932d6@172.17.0.8:37843 with resources cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] on slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 at slave(9)@172.17.0.8:37843 (74ef606c4063) I0206 01:25:04.265341 2855 slave.cpp:1361] Got assigned task 0e7267ed-c5ed-4914-9042-5970b2aaec1c for framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:04.265941 2855 resources.cpp:564] Parsing resources as JSON failed: cpus:0.1;mem:32 Trying semicolon-delimited string format instead I0206 01:25:04.267323 2855 slave.cpp:1480] Launching task 0e7267ed-c5ed-4914-9042-5970b2aaec1c for framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:04.267627 2855 resources.cpp:564] Parsing resources as JSON failed: cpus:0.1;mem:32 Trying semicolon-delimited string format instead I0206 01:25:04.268705 2855 paths.cpp:474] Trying to chown '/tmp/ContainerLoggerTest_DefaultToSandbox_FMaKSw/slaves/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0/frameworks/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000/executors/0e7267ed-c5ed-4914-9042-5970b2aaec1c/runs/5c952202-44cf-427a-8452-0f501140a4b7' to user 'mesos' I0206 01:25:04.274116 2855 slave.cpp:5282] Launching executor 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 with resources cpus(*):0.1; mem(*):32 in work directory '/tmp/ContainerLoggerTest_DefaultToSandbox_FMaKSw/slaves/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0/frameworks/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000/executors/0e7267ed-c5ed-4914-9042-5970b2aaec1c/runs/5c952202-44cf-427a-8452-0f501140a4b7' I0206 01:25:04.275185 2844 containerizer.cpp:656] Starting container '5c952202-44cf-427a-8452-0f501140a4b7' for executor '0e7267ed-c5ed-4914-9042-5970b2aaec1c' of framework '914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000' I0206 01:25:04.275311 2846 leveldb.cpp:341] Persisting action (16 bytes) to leveldb took 29.403837ms I0206 01:25:04.275390 2846 replica.cpp:712] Persisted action at 4 I0206 01:25:04.275511 2855 slave.cpp:1698] Queuing task '0e7267ed-c5ed-4914-9042-5970b2aaec1c' for executor '0e7267ed-c5ed-4914-9042-5970b2aaec1c' of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:04.275832 2855 slave.cpp:749] Successfully attached file '/tmp/ContainerLoggerTest_DefaultToSandbox_FMaKSw/slaves/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0/frameworks/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000/executors/0e7267ed-c5ed-4914-9042-5970b2aaec1c/runs/5c952202-44cf-427a-8452-0f501140a4b7' I0206 01:25:04.276707 2855 replica.cpp:691] Replica received learned notice for position 4 from @0.0.0.0:0 I0206 01:25:04.284708 2844 launcher.cpp:132] Forked child with pid '2872' for container '5c952202-44cf-427a-8452-0f501140a4b7' I0206 01:25:04.301365 2855 leveldb.cpp:341] Persisting action (18 bytes) to leveldb took 24.497489ms I0206 01:25:04.301528 2855 leveldb.cpp:399] Deleting ~2 keys from leveldb took 92156ns I0206 01:25:04.301563 2855 replica.cpp:712] Persisted action at 4 I0206 01:25:04.301640 2855 replica.cpp:697] Replica learned TRUNCATE action at position 4 I0206 01:25:04.823314 2854 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:04.823387 2854 hierarchical.cpp:1498] No inverse offers to send out! I0206 01:25:04.823420 2854 hierarchical.cpp:1096] Performed allocation for 1 slaves in 327509ns I0206 01:25:05.825943 2850 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:05.826027 2850 hierarchical.cpp:1498] No inverse offers to send out! I0206 01:25:05.826066 2850 hierarchical.cpp:1096] Performed allocation for 1 slaves in 362856ns I0206 01:25:06.827154 2857 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:06.827235 2857 hierarchical.cpp:1498] No inverse offers to send out! I0206 01:25:06.827275 2857 hierarchical.cpp:1096] Performed allocation for 1 slaves in 328221ns I0206 01:25:07.828547 2843 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:07.828753 2843 hierarchical.cpp:1498] No inverse offers to send out! I0206 01:25:07.828907 2843 hierarchical.cpp:1096] Performed allocation for 1 slaves in 624979ns I0206 01:25:08.829737 2855 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:08.829918 2855 hierarchical.cpp:1498] No inverse offers to send out! I0206 01:25:08.830070 2855 hierarchical.cpp:1096] Performed allocation for 1 slaves in 596793ns I0206 01:25:09.831233 2856 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:09.831316 2856 hierarchical.cpp:1498] No inverse offers to send out! I0206 01:25:09.831352 2856 hierarchical.cpp:1096] Performed allocation for 1 slaves in 353864ns I0206 01:25:10.832953 2849 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:10.833307 2849 hierarchical.cpp:1498] No inverse offers to send out! I0206 01:25:10.833411 2849 hierarchical.cpp:1096] Performed allocation for 1 slaves in 731864ns I0206 01:25:11.834967 2847 hierarchical.cpp:1403] No resources available to allocate! I0206 01:25:11.835149 2847 hierarchical.cpp:1498] No inverse offers to send out! I0206 01:25:11.835294 2847 hierarchical.cpp:1096] Performed allocation for 1 slaves in 586988ns I0206 01:25:12.174247 2853 slave.cpp:2643] Got registration for executor '0e7267ed-c5ed-4914-9042-5970b2aaec1c' of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 from executor(1)@172.17.0.8:43659 I0206 01:25:12.179061 2844 slave.cpp:1863] Sending queued task '0e7267ed-c5ed-4914-9042-5970b2aaec1c' to executor '0e7267ed-c5ed-4914-9042-5970b2aaec1c' of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 at executor(1)@172.17.0.8:43659 I0206 01:25:12.194753 2858 slave.cpp:3002] Handling status update TASK_RUNNING (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 from executor(1)@172.17.0.8:43659 I0206 01:25:12.195852 2858 status_update_manager.cpp:320] Received status update TASK_RUNNING (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.196094 2858 status_update_manager.cpp:497] Creating StatusUpdate stream for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.197000 2858 status_update_manager.cpp:374] Forwarding update TASK_RUNNING (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 to the slave I0206 01:25:12.197739 2855 slave.cpp:3354] Forwarding the update TASK_RUNNING (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 to master@172.17.0.8:37843 I0206 01:25:12.198442 2855 master.cpp:4791] Status update TASK_RUNNING (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 from slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 at slave(9)@172.17.0.8:37843 (74ef606c4063) I0206 01:25:12.198673 2855 master.cpp:4839] Forwarding status update TASK_RUNNING (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.199038 2855 master.cpp:6447] Updating the state of task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 (latest state: TASK_RUNNING, status update state: TASK_RUNNING) I0206 01:25:12.199581 2854 sched.cpp:981] Scheduler::statusUpdate took 159022ns I0206 01:25:12.200568 2854 master.cpp:3949] Processing ACKNOWLEDGE call 9d924a5b-76ab-4886-8091-7af3428ff179 for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 (default) at scheduler-f50aad75-78d0-4d9f-b1a4-488d5ab932d6@172.17.0.8:37843 on slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 I0206 01:25:12.201513 2858 status_update_manager.cpp:392] Received status update acknowledgement (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 ../../src/tests/container_logger_tests.cpp:350: Failure Value of: strings::contains(stdout.get(), "Hello World!") Actual: false Expected: true I0206 01:25:12.201702 2824 sched.cpp:1903] Asked to stop the driver I0206 01:25:12.202831 2848 sched.cpp:1143] Stopping framework '914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000' I0206 01:25:12.203284 2848 master.cpp:5923] Processing TEARDOWN call for framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 (default) at scheduler-f50aad75-78d0-4d9f-b1a4-488d5ab932d6@172.17.0.8:37843 I0206 01:25:12.203321 2848 master.cpp:5935] Removing framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 (default) at scheduler-f50aad75-78d0-4d9f-b1a4-488d5ab932d6@172.17.0.8:37843 I0206 01:25:12.201762 2854 slave.cpp:3248] Status update manager successfully handled status update TASK_RUNNING (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.203384 2854 slave.cpp:3264] Sending acknowledgement for status update TASK_RUNNING (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 to executor(1)@172.17.0.8:43659 I0206 01:25:12.204712 2843 hierarchical.cpp:375] Deactivated framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.204953 2848 master.cpp:6447] Updating the state of task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 (latest state: TASK_KILLED, status update state: TASK_KILLED) I0206 01:25:12.205885 2854 slave.cpp:2412] Status update manager successfully handled status update acknowledgement (UUID: 9d924a5b-76ab-4886-8091-7af3428ff179) for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.206082 2854 slave.cpp:2079] Asked to shut down framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 by master@172.17.0.8:37843 I0206 01:25:12.206125 2854 slave.cpp:2104] Shutting down framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.206331 2854 slave.cpp:4129] Shutting down executor '0e7267ed-c5ed-4914-9042-5970b2aaec1c' of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 at executor(1)@172.17.0.8:43659 I0206 01:25:12.206408 2843 hierarchical.cpp:892] Recovered cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] (total: cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000], allocated: ) on slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 from framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.207352 2848 master.cpp:6513] Removing task 0e7267ed-c5ed-4914-9042-5970b2aaec1c with resources cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 on slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 at slave(9)@172.17.0.8:37843 (74ef606c4063) I0206 01:25:12.208258 2848 master.cpp:1027] Master terminating I0206 01:25:12.208703 2857 hierarchical.cpp:326] Removed framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.209658 2857 hierarchical.cpp:505] Removed slave 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0 I0206 01:25:12.212208 2848 slave.cpp:3482] master@172.17.0.8:37843 exited W0206 01:25:12.212261 2848 slave.cpp:3485] Master disconnected! Waiting for a new master to be elected I0206 01:25:12.224596 2854 containerizer.cpp:1318] Destroying container '5c952202-44cf-427a-8452-0f501140a4b7' I0206 01:25:12.241466 2852 slave.cpp:3482] executor(1)@172.17.0.8:43659 exited I0206 01:25:12.250931 2856 containerizer.cpp:1534] Executor for container '5c952202-44cf-427a-8452-0f501140a4b7' has exited I0206 01:25:12.253350 2850 provisioner.cpp:306] Ignoring destroy request for unknown container 5c952202-44cf-427a-8452-0f501140a4b7 I0206 01:25:12.253885 2850 slave.cpp:3817] Executor '0e7267ed-c5ed-4914-9042-5970b2aaec1c' of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 terminated with signal Killed I0206 01:25:12.254125 2850 slave.cpp:3921] Cleaning up executor '0e7267ed-c5ed-4914-9042-5970b2aaec1c' of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 at executor(1)@172.17.0.8:43659 I0206 01:25:12.254545 2847 gc.cpp:54] Scheduling '/tmp/ContainerLoggerTest_DefaultToSandbox_FMaKSw/slaves/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0/frameworks/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000/executors/0e7267ed-c5ed-4914-9042-5970b2aaec1c/runs/5c952202-44cf-427a-8452-0f501140a4b7' for gc 6.99999705530074days in the future I0206 01:25:12.254803 2850 slave.cpp:4009] Cleaning up framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.254822 2847 gc.cpp:54] Scheduling '/tmp/ContainerLoggerTest_DefaultToSandbox_FMaKSw/slaves/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0/frameworks/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000/executors/0e7267ed-c5ed-4914-9042-5970b2aaec1c' for gc 6.99999705202667days in the future I0206 01:25:12.255084 2857 status_update_manager.cpp:282] Closing status update streams for framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.255143 2856 gc.cpp:54] Scheduling '/tmp/ContainerLoggerTest_DefaultToSandbox_FMaKSw/slaves/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-S0/frameworks/914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000' for gc 6.99999704808days in the future I0206 01:25:12.255190 2857 status_update_manager.cpp:528] Cleaning up status update stream for task 0e7267ed-c5ed-4914-9042-5970b2aaec1c of framework 914b62f9-95f6-4c57-a7e3-9b06e2c1c8de-0000 I0206 01:25:12.255192 2850 slave.cpp:668] Slave terminating [ FAILED ] ContainerLoggerTest.DefaultToSandbox (8566 ms) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)