============================= test session starts ============================== platform linux -- Python 3.8.6, pytest-6.1.0, py-1.9.0, pluggy-0.13.1 rootdir: /home/daniel/scratch/cloud-init, configfile: tox.ini plugins: xdist-2.1.0, forked-1.3.0, parallel-0.1.0, cov-2.8.1 collected 85 items tests/integration_tests/test_upgrade.py::test_upgrade -------------------------------- live log setup -------------------------------- 2021-01-18 15:37:52 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:37:52 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:38:03 INFO integration_testing:clouds.py:113 Settings: CLOUD_INIT_SOURCE=cloud-init_20.4.1-0ubuntu1~20.10.1_all.deb COLLECT_LOGS=ON_ERROR EXISTING_INSTANCE_ID=None GCE_PROJECT=None GCE_REGION=us-central1 GCE_ZONE=a INSTANCE_TYPE=None KEEP_IMAGE=False KEEP_INSTANCE=False KEYPAIR_NAME=None LOCAL_LOG_PATH=/tmp/cloud_init_test_logs OCI_COMPARTMENT_ID=None OS_IMAGE=groovy PLATFORM=lxd_container PUBLIC_SSH_KEY=None RUN_UNSTABLE=False -------------------------------- live log call --------------------------------- 2021-01-18 15:38:03 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:38:14 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:38:14 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=ubuntu:6687a951f5a3861e98141d0824f0af04f1a64d49d66ad9bdddc07595e267d3e2 user_data=#cloud-config hostname: SRU-worked wait=False 2021-01-18 15:39:22 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:39:22 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:39:32 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:39:33 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:39:33 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:39:34 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=stirring-moccasin) 2021-01-18 15:39:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:39:34 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~20.10.2 2021-01-18 15:39:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname 2021-01-18 15:39:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg-query --show cloud-init' 2021-01-18 15:39:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /run/cloud-init/result.json' 2021-01-18 15:39:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init init' 2021-01-18 15:39:36 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'grep Trace /var/log/cloud-init.log' 2021-01-18 15:39:36 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c cloud-id 2021-01-18 15:39:36 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/netplan/50-cloud-init.yaml' 2021-01-18 15:39:36 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c systemd-analyze 2021-01-18 15:39:37 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'systemd-analyze blame' 2021-01-18 15:39:37 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze show' 2021-01-18 15:39:38 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze blame' 2021-01-18 15:39:38 INFO integration_testing:instances.py:164 Installing deb package 2021-01-18 15:39:38 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/dc507850-cd87-4575-8a15-c47052b97b8d.tmp /var/tmp/cloud-init_20.4.1-0ubuntu1~20.10.1_all.deb' 2021-01-18 15:39:39 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg -i /var/tmp/cloud-init_20.4.1-0ubuntu1~20.10.1_all.deb' 2021-01-18 15:39:41 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init -v' 2021-01-18 15:39:42 INFO integration_testing:instances.py:137 Installed cloud-init version: 20.4.1-0ubuntu1~20.10.1 2021-01-18 15:39:42 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-18 15:39:42 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-18 15:39:42 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'hostname something-else' 2021-01-18 15:39:45 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-18 15:39:45 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:39:45 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:39:46 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:39:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname 2021-01-18 15:39:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg-query --show cloud-init' 2021-01-18 15:39:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /run/cloud-init/result.json' 2021-01-18 15:39:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init init' 2021-01-18 15:39:52 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'grep Trace /var/log/cloud-init.log' 2021-01-18 15:39:52 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c cloud-id 2021-01-18 15:39:53 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/netplan/50-cloud-init.yaml' 2021-01-18 15:39:53 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c systemd-analyze 2021-01-18 15:39:53 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'systemd-analyze blame' 2021-01-18 15:39:54 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze show' 2021-01-18 15:39:54 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze blame' 2021-01-18 15:39:57 INFO integration_testing:test_upgrade.py:99 Wrote upgrade test logs to /tmp/cloud_init_test_logs/test_upgrade_lxd_container_groovy_before_210118103752.log and /tmp/cloud_init_test_logs/test_upgrade_lxd_container_groovy_after_210118103752.log PASSED [ 1%] tests/integration_tests/bugs/test_gh570.py::test_nocloud_seedfrom_vendordata -------------------------------- live log setup -------------------------------- 2021-01-18 15:39:57 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:39:57 INFO integration_testing:conftest.py:141 Setting up environment for lxd_container 2021-01-18 15:39:57 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=ubuntu:6687a951f5a3861e98141d0824f0af04f1a64d49d66ad9bdddc07595e267d3e2 user_data=None wait=False 2021-01-18 15:40:04 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:40:04 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:40:14 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:40:15 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:40:15 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:40:16 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=merry-bass) 2021-01-18 15:40:16 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:40:16 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~20.10.2 2021-01-18 15:40:16 INFO integration_testing:instances.py:164 Installing deb package 2021-01-18 15:40:16 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/e12f37a3-f38f-4458-9373-9b9e202e1414.tmp /var/tmp/cloud-init_20.4.1-0ubuntu1~20.10.1_all.deb' 2021-01-18 15:40:16 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg -i /var/tmp/cloud-init_20.4.1-0ubuntu1~20.10.1_all.deb' 2021-01-18 15:40:19 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init -v' 2021-01-18 15:40:19 INFO integration_testing:instances.py:137 Installed cloud-init version: 20.4.1-0ubuntu1~20.10.1 2021-01-18 15:40:19 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-18 15:40:20 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-18 15:40:20 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-18 15:40:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-18 15:40:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-18 15:40:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-18 15:41:05 INFO integration_testing:instances.py:117 Created new image: local:merry-bass-snapshot 2021-01-18 15:41:06 INFO integration_testing:conftest.py:147 Done with environment setup 2021-01-18 15:41:06 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=None wait=False 2021-01-18 15:41:16 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:41:16 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:41:16 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:41:23 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=lasting-scorpion) 2021-01-18 15:41:23 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:41:24 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:41:24 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mkdir /var/tmp/test_seed_dir && touch /var/tmp/test_seed_dir/user-data && touch /var/tmp/test_seed_dir/meta-data && echo '"'"'seedfrom: /var/tmp/test_seed_dir/'"'"' > /var/lib/cloud/seed/nocloud-net/meta-data' 2021-01-18 15:41:24 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/e0d03d38-a0bd-422d-831b-82c3a0028d5c.tmp /var/tmp/test_seed_dir/vendor-data' 2021-01-18 15:41:24 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init clean --logs' 2021-01-18 15:41:27 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-18 15:41:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:41:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:41:28 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:41:33 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ls /var/tmp' PASSED [ 2%] tests/integration_tests/bugs/test_gh586.py::test_non_default_authorized_keys -------------------------------- live log setup -------------------------------- 2021-01-18 15:41:36 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:41:36 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config bootcmd: - sed -i 's/#AuthorizedKeysFile.*/AuthorizedKeysFile\ .ssh\/authorized_keys2/' /etc/ssh/sshd_config ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCdjQD/2zz3UIqZLcIFUaAuN0SJ+Bh/zLce35MLf5qO8QhwSjF6+Aq3aZeg/Dg//lCtPhCaAbk3YmvhDl41yBnTPK2gCU3Fwz9H+ygqLjqGItICsw0SI6VWL+9t+rcO7lciJfx9kP7jGCrf6NDc8zHOoF/cBTpEAL0mP3ikEcJtoo9IV9ZTt+r8ki+6QohZyS9QKTM2JoBaineM1ITAVluop7YDXJ6x+BKkKbJyCA5U3+0ykV5WfyvPMb4snjtNKgFq/U/QUJ6BUqrmLIaEt0zhOdLdqNtIh/f5JIMwibLPOZeo/IbnPBwfzO4QjdpH0NMyaLj0eeNVfQA37rWJB/wwTP2eelQKdp6iCIjjN8lAgwoeKMZwVhHT3YGolSbLnSzbf2cUUHMIVFyYRF3KF/GusbmSkQ+WU8Y7gC4K1Hhpb3JVOp8M07Z19fnG8XxlqRQIx1Hsmia7NbT3tTzMcToQ5MhdVdq2UjVwe34p66BWuPMrZg0TUcR4YK3iXuqakBc= test@example wait=False 2021-01-18 15:41:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:41:47 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:41:48 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:41:54 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=enabled-roughy) 2021-01-18 15:41:54 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:41:54 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:41:54 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/sshd_config' 2021-01-18 15:41:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ls /home/ubuntu/.ssh' FAILED [ 3%] ------------------------------ live log teardown ------------------------------- 2021-01-18 15:41:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init collect-logs -u -t /var/tmp/cloud-init.tar.gz' 2021-01-18 15:41:56 INFO integration_testing:conftest.py:177 Writing logs to /tmp/cloud_init_test_logs/210118103752/tests/integration_tests/bugs/test_gh586/test_non_default_authorized_keys 2021-01-18 15:41:56 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cp /var/tmp/cloud-init.tar.gz /var/tmp/71f5f066-00d1-404c-9613-c6647468daa7.tmp' tests/integration_tests/bugs/test_gh626.py::test_wakeonlan -------------------------------- live log setup -------------------------------- 2021-01-18 15:41:58 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:41:58 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=None wait=False config_dict={'user.network-config': 'version: 2\nethernets:\n eth0:\n dhcp4: true\n wakeonlan: true\n'} 2021-01-18 15:42:09 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:42:09 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:42:10 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:42:18 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=arriving-sawfly) 2021-01-18 15:42:18 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:42:19 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:42:19 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:42:19 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/netplan/50-cloud-init.yaml' PASSED [ 4%] tests/integration_tests/bugs/test_gh632.py::test_datasource_rbx_no_stacktrace -------------------------------- live log setup -------------------------------- 2021-01-18 15:42:21 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:42:21 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=None wait=False 2021-01-18 15:42:34 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:42:35 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:42:35 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:42:42 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=supreme-stud) 2021-01-18 15:42:42 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:42:42 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:42:42 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/7d6a054d-0033-4cb9-ba2d-ebbf66f8785a.tmp /etc/cloud/cloud.cfg.d/90_dpkg.cfg' 2021-01-18 15:42:43 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/d34bf961-be7d-41ea-b9b4-0d9f7363f2b9.tmp /etc/cloud/ds-identify.cfg' 2021-01-18 15:42:43 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init clean --logs' 2021-01-18 15:42:46 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-18 15:42:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:42:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:42:46 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:42:52 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' PASSED [ 5%] tests/integration_tests/bugs/test_gh668.py::test_static_route_to_host -------------------------------- live log setup -------------------------------- 2021-01-18 15:42:54 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:42:54 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=None wait=False config_dict={'user.network-config': 'version: 2\nethernets:\n eth0:\n addresses: [10.0.0.10/8]\n dhcp4: false\n routes:\n - to: 172.16.0.10/32\n via: 10.0.0.100\n'} 2021-01-18 15:43:05 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:43:05 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:43:05 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:43:13 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=generous-perch) 2021-01-18 15:43:13 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:43:13 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:43:13 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ip route | grep 172.16.0.10' PASSED [ 7%] tests/integration_tests/bugs/test_gh671.py::test_update_default_password SKIPPED [ 8%] tests/integration_tests/bugs/test_lp1813396.py::test_gpg_no_tty -------------------------------- live log setup -------------------------------- 2021-01-18 15:43:16 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:43:16 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config apt: sources: cloudinit: source: 'deb [arch=amd64] http://ppa.launchpad.net/cloud-init-dev/daily/ubuntu focal main' keyserver: keyserver.ubuntu.com keyid: E4D304DF wait=False 2021-01-18 15:43:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:43:28 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:43:28 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:43:47 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=driving-weasel) 2021-01-18 15:43:47 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:43:47 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:43:47 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' PASSED [ 9%] tests/integration_tests/bugs/test_lp1886531.py::TestLp1886531::test_lp1886531 -------------------------------- live log setup -------------------------------- 2021-01-18 15:43:50 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:43:50 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config bootcmd: - rm -f /etc/fstab wait=False 2021-01-18 15:44:00 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:44:00 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:44:01 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:44:08 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=curious-gnu) 2021-01-18 15:44:08 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:44:09 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:44:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' PASSED [ 10%] tests/integration_tests/bugs/test_lp1897099.py::test_fallocate_fallback SKIPPED [ 11%] tests/integration_tests/bugs/test_lp1898997.py::TestInterfaceListingWithOpenvSwitch::test_ovs_member_interfaces_not_excluded SKIPPED [ 12%] tests/integration_tests/bugs/test_lp1900837.py::TestLogPermissionsNotResetOnReboot::test_permissions_unchanged -------------------------------- live log setup -------------------------------- 2021-01-18 15:44:11 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:44:11 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=None wait=False 2021-01-18 15:44:22 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:44:23 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:44:24 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:44:30 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=hardy-aardvark) 2021-01-18 15:44:30 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:44:31 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:44:31 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'stat -c %a /var/log/cloud-init.log' 2021-01-18 15:44:31 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'chmod 600 /var/log/cloud-init.log' 2021-01-18 15:44:31 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'stat -c %a /var/log/cloud-init.log' 2021-01-18 15:44:34 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-18 15:44:34 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:44:34 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:44:34 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:44:39 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'stat -c %a /var/log/cloud-init.log' PASSED [ 14%] tests/integration_tests/bugs/test_lp1910835.py::test_crlf_in_azure_metadata_ssh_keys SKIPPED [ 15%] tests/integration_tests/modules/test_apt_configure_sources_list.py::TestAptConfigureSourcesList::test_sources_list -------------------------------- live log setup -------------------------------- 2021-01-18 15:44:42 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:44:42 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config apt: primary: - arches: [default] uri: http://archive.ubuntu.com/ubuntu security: - arches: [default] uri: http://security.ubuntu.com/ubuntu sources_list: | deb $MIRROR $RELEASE main restricted deb-src $MIRROR $RELEASE main restricted deb $PRIMARY $RELEASE universe restricted deb-src $PRIMARY $RELEASE universe restricted deb $SECURITY $RELEASE-security multiverse deb-src $SECURITY $RELEASE-security multiverse wait=False 2021-01-18 15:44:53 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:44:53 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:44:54 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:45:02 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=fluent-flounder) 2021-01-18 15:45:02 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:45:03 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:45:03 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/apt/sources.list' PASSED [ 16%] tests/integration_tests/modules/test_ca_certs.py::TestCaCerts::test_certs_updated -------------------------------- live log setup -------------------------------- 2021-01-18 15:45:05 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:45:05 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config ca-certs: remove-defaults: true trusted: - | -----BEGIN CERTIFICATE----- MIIGJzCCBA+gAwIBAgIBATANBgkqhkiG9w0BAQUFADCBsjELMAkGA1UEBhMCRlIx DzANBgNVBAgMBkFsc2FjZTETMBEGA1UEBwwKU3RyYXNib3VyZzEYMBYGA1UECgwP d3d3LmZyZWVsYW4ub3JnMRAwDgYDVQQLDAdmcmVlbGFuMS0wKwYDVQQDDCRGcmVl bGFuIFNhbXBsZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxIjAgBgkqhkiG9w0BCQEW E2NvbnRhY3RAZnJlZWxhbi5vcmcwHhcNMTIwNDI3MTAzMTE4WhcNMjIwNDI1MTAz MTE4WjB+MQswCQYDVQQGEwJGUjEPMA0GA1UECAwGQWxzYWNlMRgwFgYDVQQKDA93 d3cuZnJlZWxhbi5vcmcxEDAOBgNVBAsMB2ZyZWVsYW4xDjAMBgNVBAMMBWFsaWNl MSIwIAYJKoZIhvcNAQkBFhNjb250YWN0QGZyZWVsYW4ub3JnMIICIjANBgkqhkiG 9w0BAQEFAAOCAg8AMIICCgKCAgEA3W29+ID6194bH6ejLrIC4hb2Ugo8v6ZC+Mrc k2dNYMNPjcOKABvxxEtBamnSaeU/IY7FC/giN622LEtV/3oDcrua0+yWuVafyxmZ yTKUb4/GUgafRQPf/eiX9urWurtIK7XgNGFNUjYPq4dSJQPPhwCHE/LKAykWnZBX RrX0Dq4XyApNku0IpjIjEXH+8ixE12wH8wt7DEvdO7T3N3CfUbaITl1qBX+Nm2Z6 q4Ag/u5rl8NJfXg71ZmXA3XOj7zFvpyapRIZcPmkvZYn7SMCp8dXyXHPdpSiIWL2 uB3KiO4JrUYvt2GzLBUThp+lNSZaZ/Q3yOaAAUkOx+1h08285Pi+P8lO+H2Xic4S vMq1xtLg2bNoPC5KnbRfuFPuUD2/3dSiiragJ6uYDLOyWJDivKGt/72OVTEPAL9o 6T2pGZrwbQuiFGrGTMZOvWMSpQtNl+tCCXlT4mWqJDRwuMGrI4DnnGzt3IKqNwS4 Qyo9KqjMIPwnXZAmWPm3FOKe4sFwc5fpawKO01JZewDsYTDxVj+cwXwFxbE2yBiF z2FAHwfopwaH35p3C6lkcgP2k/zgAlnBluzACUI+MKJ/G0gv/uAhj1OHJQ3L6kn1 SpvQ41/ueBjlunExqQSYD7GtZ1Kg8uOcq2r+WISE3Qc9MpQFFkUVllmgWGwYDuN3 Zsez95kCAwEAAaN7MHkwCQYDVR0TBAIwADAsBglghkgBhvhCAQ0EHxYdT3BlblNT TCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFFlfyRO6G8y5qEFKikl5 ajb2fT7XMB8GA1UdIwQYMBaAFCNsLT0+KV14uGw+quK7Lh5sh/JTMA0GCSqGSIb3 DQEBBQUAA4ICAQAT5wJFPqervbja5+90iKxi1d0QVtVGB+z6aoAMuWK+qgi0vgvr mu9ot2lvTSCSnRhjeiP0SIdqFMORmBtOCFk/kYDp9M/91b+vS+S9eAlxrNCB5VOf PqxEPp/wv1rBcE4GBO/c6HcFon3F+oBYCsUQbZDKSSZxhDm3mj7pb67FNbZbJIzJ 70HDsRe2O04oiTx+h6g6pW3cOQMgIAvFgKN5Ex727K4230B0NIdGkzuj4KSML0NM slSAcXZ41OoSKNjy44BVEZv0ZdxTDrRM4EwJtNyggFzmtTuV02nkUj1bYYYC5f0L ADr6s0XMyaNk8twlWYlYDZ5uKDpVRVBfiGcq0uJIzIvemhuTrofh8pBQQNkPRDFT Rq1iTo1Ihhl3/Fl1kXk1WR3jTjNb4jHX7lIoXwpwp767HAPKGhjQ9cFbnHMEtkro RlJYdtRq5mccDtwT0GFyoJLLBZdHHMHJz0F9H7FNk2tTQQMhK5MVYwg+LIaee586 CQVqfbscp7evlgjLW98H+5zylRHAgoH2G79aHljNKMp9BOuq6SnEglEsiWGVtu2l hnx8SB3sVJZHeer8f/UQQwqbAO+Kdy70NmbSaqaVtp8jOxLiidWkwSyRTsuU6D8i DiH5uEqBXExjrj0FslxcVKdVj5glVcSmkLwZKbEU1OKwleT/iXFhvooWhQ== -----END CERTIFICATE----- wait=False 2021-01-18 15:45:17 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:45:17 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:45:18 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:45:26 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=crack-gazelle) 2021-01-18 15:45:26 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:45:26 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:45:26 INFO pycloudlib.instance:instance.py:166 executing: sudo -- ls -1 /etc/ssl/certs 2021-01-18 15:45:26 INFO pycloudlib.instance:instance.py:166 executing: sudo -- readlink /etc/ssl/certs/a535c1f3.0 2021-01-18 15:45:27 INFO pycloudlib.instance:instance.py:166 executing: sudo -- readlink /etc/ssl/certs/ca-certificates.crt 2021-01-18 15:45:27 INFO pycloudlib.instance:instance.py:166 executing: sudo -- readlink /etc/ssl/certs/cloud-init-ca-certs.pem PASSED [ 17%] tests/integration_tests/modules/test_ca_certs.py::TestCaCerts::test_cert_installed -------------------------------- live log setup -------------------------------- 2021-01-18 15:45:27 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:45:27 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'sha256sum /etc/ssl/certs/ca-certificates.crt' PASSED [ 18%] tests/integration_tests/modules/test_cli.py::test_valid_userdata -------------------------------- live log setup -------------------------------- 2021-01-18 15:45:30 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:45:30 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config runcmd: - echo 'hi' > /var/tmp/test wait=False 2021-01-18 15:45:41 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:45:41 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:45:43 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:45:49 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=top-kit) 2021-01-18 15:45:49 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:45:50 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:45:50 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init devel schema --system' PASSED [ 20%] tests/integration_tests/modules/test_cli.py::test_invalid_userdata -------------------------------- live log setup -------------------------------- 2021-01-18 15:45:53 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:45:53 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=runcmd: - echo 'hi' > /var/tmp/test wait=False 2021-01-18 15:46:04 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:46:04 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:46:05 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:46:12 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=hip-kodiak) 2021-01-18 15:46:12 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:46:13 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:46:13 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init devel schema --system' PASSED [ 21%] tests/integration_tests/modules/test_lxd_bridge.py::TestLxdBridge::test_binaries_installed[lxc] SKIPPED [ 22%] tests/integration_tests/modules/test_lxd_bridge.py::TestLxdBridge::test_binaries_installed[lxd] SKIPPED [ 23%] tests/integration_tests/modules/test_lxd_bridge.py::TestLxdBridge::test_bridge SKIPPED [ 24%] tests/integration_tests/modules/test_ntp_servers.py::TestNtpServers::test_ntp_installed -------------------------------- live log setup -------------------------------- 2021-01-18 15:46:16 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:46:16 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config ntp: ntp_client: ntp servers: - 172.16.15.14 - 172.16.17.18 wait=False 2021-01-18 15:46:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:46:28 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:46:29 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:46:54 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=tender-bluebird) 2021-01-18 15:46:54 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:46:55 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:46:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ntpd --version' PASSED [ 25%] tests/integration_tests/modules/test_ntp_servers.py::TestNtpServers::test_dist_config_file_is_empty -------------------------------- live log setup -------------------------------- 2021-01-18 15:46:55 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:46:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'test -e /etc/ntp.conf.dist' SKIPPED [ 27%] tests/integration_tests/modules/test_ntp_servers.py::TestNtpServers::test_ntp_entries -------------------------------- live log setup -------------------------------- 2021-01-18 15:46:55 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:46:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ntp.conf' PASSED [ 28%] tests/integration_tests/modules/test_ntp_servers.py::TestNtpServers::test_ntpq_servers -------------------------------- live log setup -------------------------------- 2021-01-18 15:46:55 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:46:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ntpq -p -w -n' PASSED [ 29%] tests/integration_tests/modules/test_package_update_upgrade_install.py::TestPackageUpdateUpgradeInstall::test_new_packages_are_installed -------------------------------- live log setup -------------------------------- 2021-01-18 15:46:58 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:46:58 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config packages: - sl - tree package_update: true package_upgrade: true wait=False 2021-01-18 15:47:08 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:47:08 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:47:09 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:47:41 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=smooth-elf) 2021-01-18 15:47:41 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:47:41 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:47:41 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg-query --show' PASSED [ 30%] tests/integration_tests/modules/test_package_update_upgrade_install.py::TestPackageUpdateUpgradeInstall::test_packages_were_updated -------------------------------- live log setup -------------------------------- 2021-01-18 15:47:41 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:47:41 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'grep ^Commandline: /var/log/apt/history.log' PASSED [ 31%] tests/integration_tests/modules/test_package_update_upgrade_install.py::TestPackageUpdateUpgradeInstall::test_packages_were_upgraded -------------------------------- live log setup -------------------------------- 2021-01-18 15:47:42 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:47:42 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init-output.log' PASSED [ 32%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff[poweroff-now-10-will execute: shutdown -P now msg] -------------------------------- live log setup -------------------------------- 2021-01-18 15:47:44 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy SKIPPED [ 34%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff[reboot-now-0-will execute: shutdown -r now msg] -------------------------------- live log setup -------------------------------- 2021-01-18 15:47:44 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy SKIPPED [ 35%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff[halt-+1-0-will execute: shutdown -H +1 msg] -------------------------------- live log setup -------------------------------- 2021-01-18 15:47:44 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy SKIPPED [ 36%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff_false_condition -------------------------------- live log setup -------------------------------- 2021-01-18 15:47:44 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy SKIPPED [ 37%] tests/integration_tests/modules/test_runcmd.py::TestRuncmd::test_runcmd -------------------------------- live log setup -------------------------------- 2021-01-18 15:47:44 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:47:44 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config runcmd: - echo cloud-init run cmd test > /var/tmp/run_cmd wait=False 2021-01-18 15:47:57 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:47:57 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:48:00 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:48:07 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=lasting-jawfish) 2021-01-18 15:48:07 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:48:08 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:48:08 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/tmp/run_cmd' PASSED [ 38%] tests/integration_tests/modules/test_seed_random_data.py::TestSeedRandomData::test_seed_random_data -------------------------------- live log setup -------------------------------- 2021-01-18 15:48:10 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:48:10 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config random_seed: data: 'MYUb34023nD:LFDK10913jk;dfnk:Df' encoding: raw file: /root/seed wait=False 2021-01-18 15:48:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:48:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:48:22 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:48:30 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=clean-garfish) 2021-01-18 15:48:31 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:48:31 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:48:31 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /root/seed' PASSED [ 40%] tests/integration_tests/modules/test_set_hostname.py::TestHostname::test_hostname -------------------------------- live log setup -------------------------------- 2021-01-18 15:48:33 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:48:33 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config hostname: cloudinit2 wait=False 2021-01-18 15:48:43 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:48:45 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:48:46 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:48:53 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=stable-eft) 2021-01-18 15:48:53 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:48:55 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:48:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname PASSED [ 41%] tests/integration_tests/modules/test_set_hostname.py::TestHostname::test_hostname_and_fqdn -------------------------------- live log setup -------------------------------- 2021-01-18 15:48:59 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:48:59 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config manage_etc_hosts: true hostname: cloudinit1 fqdn: cloudinit2.i9n.cloud-init.io wait=False 2021-01-18 15:49:29 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:49:30 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:49:36 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:49:42 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=unbiased-narwhal) 2021-01-18 15:49:42 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:49:43 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:49:43 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname 2021-01-18 15:49:43 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'hostname --fqdn' 2021-01-18 15:49:43 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'grep ^127 /etc/hosts' PASSED [ 42%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_no_duplicate_users_in_shadow -------------------------------- live log setup -------------------------------- 2021-01-18 15:49:46 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:49:46 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config ssh_pwauth: yes users: - default - name: tom # md5 gotomgo passwd: "$1$S7$tT1BEDIYrczeryDQJfdPe0" lock_passwd: false - name: dick # md5 gocubsgo passwd: "$1$ssisyfpf$YqvuJLfrrW6Cg/l53Pi1n1" lock_passwd: false - name: harry # sha512 goharrygo passwd: "$6$LF$9Z2p6rWK6TNC1DC6393ec0As.18KRAvKDbfsGJEdWN3sRQRwpdfoh37EQ3yUh69tP4GSrGW5XKHxMLiKowJgm/" lock_passwd: false - name: jane # sha256 gojanego passwd: "$5$iW$XsxmWCdpwIW8Yhv.Jn/R3uk6A4UaicfW5Xp7C9p9pg." lock_passwd: false - name: "mikey" lock_passwd: false chpasswd: list: - tom:mypassword123! - dick:RANDOM - harry:RANDOM - mikey:$5$xZ$B2YGGEx2AOf4PeW48KC6.QyT1W2B4rZ9Qbltudtha89 wait=False 2021-01-18 15:49:58 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:49:59 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:50:01 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:50:08 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=optimum-civet) 2021-01-18 15:50:08 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:50:08 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:50:08 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 43%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_password_in_users_dict_set_correctly -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:08 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:08 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 44%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_password_in_chpasswd_list_set_correctly -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:09 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 45%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_random_passwords_set_correctly -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:09 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 47%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_explicit_password_set_correctly -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:09 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 48%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_shadow_expected_users -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:09 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 49%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_sshd_config -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:09 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/sshd_config' PASSED [ 50%] tests/integration_tests/modules/test_set_password.py::TestPasswordListString::test_no_duplicate_users_in_shadow -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:12 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:50:12 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config ssh_pwauth: yes users: - default - name: tom # md5 gotomgo passwd: "$1$S7$tT1BEDIYrczeryDQJfdPe0" lock_passwd: false - name: dick # md5 gocubsgo passwd: "$1$ssisyfpf$YqvuJLfrrW6Cg/l53Pi1n1" lock_passwd: false - name: harry # sha512 goharrygo passwd: "$6$LF$9Z2p6rWK6TNC1DC6393ec0As.18KRAvKDbfsGJEdWN3sRQRwpdfoh37EQ3yUh69tP4GSrGW5XKHxMLiKowJgm/" lock_passwd: false - name: jane # sha256 gojanego passwd: "$5$iW$XsxmWCdpwIW8Yhv.Jn/R3uk6A4UaicfW5Xp7C9p9pg." lock_passwd: false - name: "mikey" lock_passwd: false chpasswd: list: | tom:mypassword123! dick:RANDOM harry:RANDOM mikey:$5$xZ$B2YGGEx2AOf4PeW48KC6.QyT1W2B4rZ9Qbltudtha89 wait=False 2021-01-18 15:50:23 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:50:23 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:50:24 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:50:33 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=quick-leech) 2021-01-18 15:50:33 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:50:34 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:50:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 51%] tests/integration_tests/modules/test_set_password.py::TestPasswordListString::test_password_in_users_dict_set_correctly -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:34 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 52%] tests/integration_tests/modules/test_set_password.py::TestPasswordListString::test_password_in_chpasswd_list_set_correctly -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:34 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 54%] tests/integration_tests/modules/test_set_password.py::TestPasswordListString::test_random_passwords_set_correctly -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:34 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 55%] tests/integration_tests/modules/test_set_password.py::TestPasswordListString::test_explicit_password_set_correctly -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:35 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 56%] tests/integration_tests/modules/test_set_password.py::TestPasswordListString::test_shadow_expected_users -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:35 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 57%] tests/integration_tests/modules/test_set_password.py::TestPasswordListString::test_sshd_config -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:35 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:50:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/sshd_config' PASSED [ 58%] tests/integration_tests/modules/test_snap.py::TestSnap::test_snap -------------------------------- live log setup -------------------------------- 2021-01-18 15:50:37 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:50:37 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config package_update: true snap: squashfuse_in_container: true commands: - snap install hello-world wait=False 2021-01-18 15:50:48 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:50:49 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:50:51 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:51:50 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=witty-drum) 2021-01-18 15:51:50 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:51:54 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:51:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'snap list' PASSED [ 60%] tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py::TestSshAuthkeyFingerprints::test_ssh_authkey_fingerprints_disable -------------------------------- live log setup -------------------------------- 2021-01-18 15:52:11 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:52:11 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config no_ssh_fingerprints: true wait=False 2021-01-18 15:52:40 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:52:41 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:52:41 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:52:49 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=coherent-bonefish) 2021-01-18 15:52:49 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:52:50 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:52:50 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' PASSED [ 61%] tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py::TestSshAuthkeyFingerprints::test_ssh_authkey_fingerprints_enable -------------------------------- live log setup -------------------------------- 2021-01-18 15:52:52 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:52:52 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config ssh_genkeytypes: - ecdsa - ed25519 ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDXW9Gg5H7ehjdSc6qDzwNtgCy94XYHhEYlXZMO2+FJrH3wfHGiMfCwOHxcOMt2QiXItULthdeQWS9QjBSSjVRXf6731igFrqPFyS9qBlOQ5D29C4HBXFnQggGVpBNJ82IRJv7szbbe/vpgLBP4kttUza9Dr4e1YM1ln4PRnjfXea6T0m+m1ixNb5432pTXlqYOnNOxSIm1gHgMLxPuDrJvQERDKrSiKSjIdyC9Jd8t2e1tkNLY0stmckVRbhShmcJvlyofHWbc2Ca1mmtP7MlS1VQnfLkvU1IrFwkmaQmaggX6WR6coRJ6XFXdWcq/AI2K6GjSnl1dnnCxE8VCEXBlXgFzad+PMSG4yiL5j8Oo1ZVpkTdgBnw4okGqTYCXyZg6X00As9IBNQfZMFlQXlIo4FiWgj3CO5QHQOyOX6FuEumaU13GnERrSSdp9tCs1Qm3/DG2RSCQBWTfcgMcStIvKqvJ3IjFn0vGLvI3Ampnq9q1SHwmmzAPSdzcMA76HyMUA5VWaBvWHlUxzIM6unxZASnwvuCzpywSEB5J2OF+p6H+cStJwQ32XwmOG8pLp1srlVWpqZI58Du/lzrkPqONphoZx0LDV86w7RUz1ksDzAdcm0tvmNRFMN1a0frDs506oA3aWK0oDk4Nmvk8sXGTYYw3iQSkOvDUUlIsqdaO+w== wait=False 2021-01-18 15:53:05 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:53:05 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:53:06 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:53:12 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=profound-killdeer) 2021-01-18 15:53:12 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:53:13 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:53:13 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/syslog' PASSED [ 62%] tests/integration_tests/modules/test_ssh_generate.py::TestSshKeysGenerate::test_ssh_keys_not_generated[/etc/ssh/ssh_host_dsa_key.pub] -------------------------------- live log setup -------------------------------- 2021-01-18 15:53:15 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:53:15 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config ssh_genkeytypes: - ecdsa - ed25519 authkey_hash: sha512 wait=False 2021-01-18 15:53:29 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:53:29 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:53:31 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:53:37 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=infinite-lobster) 2021-01-18 15:53:37 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:53:37 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:53:37 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'test -e /etc/ssh/ssh_host_dsa_key.pub' PASSED [ 63%] tests/integration_tests/modules/test_ssh_generate.py::TestSshKeysGenerate::test_ssh_keys_not_generated[/etc/ssh/ssh_host_dsa_key] -------------------------------- live log setup -------------------------------- 2021-01-18 15:53:38 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:53:38 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'test -e /etc/ssh/ssh_host_dsa_key' PASSED [ 64%] tests/integration_tests/modules/test_ssh_generate.py::TestSshKeysGenerate::test_ssh_keys_not_generated[/etc/ssh/ssh_host_rsa_key.pub] -------------------------------- live log setup -------------------------------- 2021-01-18 15:53:38 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:53:38 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'test -e /etc/ssh/ssh_host_rsa_key.pub' PASSED [ 65%] tests/integration_tests/modules/test_ssh_generate.py::TestSshKeysGenerate::test_ssh_keys_not_generated[/etc/ssh/ssh_host_rsa_key] -------------------------------- live log setup -------------------------------- 2021-01-18 15:53:38 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:53:38 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'test -e /etc/ssh/ssh_host_rsa_key' PASSED [ 67%] tests/integration_tests/modules/test_ssh_generate.py::TestSshKeysGenerate::test_ssh_keys_generated[/etc/ssh/ssh_host_ecdsa_key.pub] -------------------------------- live log setup -------------------------------- 2021-01-18 15:53:38 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:53:38 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ecdsa_key.pub' PASSED [ 68%] tests/integration_tests/modules/test_ssh_generate.py::TestSshKeysGenerate::test_ssh_keys_generated[/etc/ssh/ssh_host_ecdsa_key] -------------------------------- live log setup -------------------------------- 2021-01-18 15:53:38 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:53:38 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ecdsa_key' PASSED [ 69%] tests/integration_tests/modules/test_ssh_generate.py::TestSshKeysGenerate::test_ssh_keys_generated[/etc/ssh/ssh_host_ed25519_key.pub] -------------------------------- live log setup -------------------------------- 2021-01-18 15:53:39 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:53:39 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ed25519_key.pub' PASSED [ 70%] tests/integration_tests/modules/test_ssh_generate.py::TestSshKeysGenerate::test_ssh_keys_generated[/etc/ssh/ssh_host_ed25519_key] -------------------------------- live log setup -------------------------------- 2021-01-18 15:53:39 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:53:39 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ed25519_key' PASSED [ 71%] tests/integration_tests/modules/test_ssh_import_id.py::TestSshImportId::test_ssh_import_id -------------------------------- live log setup -------------------------------- 2021-01-18 15:53:46 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:53:46 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config ssh_import_id: - gh:powersj - lp:smoser wait=False 2021-01-18 15:54:01 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:54:02 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:54:02 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:54:09 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=natural-dolphin) 2021-01-18 15:54:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:54:09 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:54:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /home/ubuntu/.ssh/authorized_keys' PASSED [ 72%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/ssh_host_dsa_key.pub-AAAAB3NzaC1kc3MAAACBAPkWy1zbchVIN7qTgM0/yyY8q4RZS8cNM4ZpeuE5UB/Nnr6OSU/nmbO8LuM] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:12 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:54:12 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config disable_root: false ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDXW9Gg5H7ehjdSc6qDzwNtgCy94XYHhEYlXZMO2+FJrH3wfHGiMfCwOHxcOMt2QiXItULthdeQWS9QjBSSjVRXf6731igFrqPFyS9qBlOQ5D29C4HBXFnQggGVpBNJ82IRJv7szbbe/vpgLBP4kttUza9Dr4e1YM1ln4PRnjfXea6T0m+m1ixNb5432pTXlqYOnNOxSIm1gHgMLxPuDrJvQERDKrSiKSjIdyC9Jd8t2e1tkNLY0stmckVRbhShmcJvlyofHWbc2Ca1mmtP7MlS1VQnfLkvU1IrFwkmaQmaggX6WR6coRJ6XFXdWcq/AI2K6GjSnl1dnnCxE8VCEXBlXgFzad+PMSG4yiL5j8Oo1ZVpkTdgBnw4okGqTYCXyZg6X00As9IBNQfZMFlQXlIo4FiWgj3CO5QHQOyOX6FuEumaU13GnERrSSdp9tCs1Qm3/DG2RSCQBWTfcgMcStIvKqvJ3IjFn0vGLvI3Ampnq9q1SHwmmzAPSdzcMA76HyMUA5VWaBvWHlUxzIM6unxZASnwvuCzpywSEB5J2OF+p6H+cStJwQ32XwmOG8pLp1srlVWpqZI58Du/lzrkPqONphoZx0LDV86w7RUz1ksDzAdcm0tvmNRFMN1a0frDs506oA3aWK0oDk4Nmvk8sXGTYYw3iQSkOvDUUlIsqdaO+w== ssh_keys: rsa_private: | -----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEAtPx6PqN3iSEsnTtibyIEy52Tra8T5fn0ryXyg46Di2NBwdnj o8trNv9jenfV/UhmePl58lXjT43wV8OCMl6KsYXyBdegM35NNtono4I4mLLKFMR9 9TOtDn6iYcaNenVhF3ZCj9Z2nNOlTrdc0uchHqKMrxLjCRCUrL91Uf+xioTF901Y RM+ZqC5lT92yAL76F4qPF+Lq1QtUfNfUIwwvOp5ccDZLPxij0YvyBzubYye9hJHu yjbJv78R4JHV+L2WhzSoX3W/6WrxVzeXqFGqH894ccOaC/7tnqSP6V8lIQ6fE2+c DurJcpM3CJRgkndGHjtU55Y71YkcdLksSMvezQIDAQABAoIBAQCrU4IJP8dNeaj5 IpkY6NQvR/jfZqfogYi+MKb1IHin/4rlDfUvPcY9pt8ttLlObjYK+OcWn3Vx/sRw 4DOkqNiUGl80Zp1RgZNohHUXlJMtAbrIlAVEk+mTmg7vjfyp2unRQvLZpMRdywBm lq95OrCghnG03aUsFJUZPpi5ydnwbA12ma+KHkG0EzaVlhA7X9N6z0K6U+zue2gl goMLt/MH0rsYawkHrwiwXaIFQeyV4MJP0vmrZLbFk1bycu9X/xPtTYotWyWo4eKA cb05uu04qwexkKHDM0KXtT0JecbTo2rOefFo8Uuab6uJY+fEHNocZ+v1vLA4aOxJ ovp1JuXlAoGBAOWYNgKrlTfy5n0sKsNk+1RuL2jHJZJ3HMd0EIt7/fFQN3Fi08Hu jtntqD30Wj+DJK8b8Lrt66FruxyEJm5VhVmwkukrLR5ige2f6ftZnoFCmdyy+0zP dnPZSUe2H5ZPHa+qthJgHLn+al2P04tGh+1fGHC2PbP+e0Co+/ZRIOxrAoGBAMnN IEen9/FRsqvnDd36I8XnJGskVRTZNjylxBmbKcuMWm+gNhOI7gsCAcqzD4BYZjjW pLhrt/u9p+l4MOJy6OUUdM/okg12SnJEGryysOcVBcXyrvOfklWnANG4EAH5jt1N ftTb1XTxzvWVuR/WJK0B5MZNYM71cumBdUDtPi+nAoGAYmoIXMSnxb+8xNL10aOr h9ljQQp8NHgSQfyiSufvRk0YNuYh1vMnEIsqnsPrG2Zfhx/25GmvoxXGssaCorDN 5FAn6QK06F1ZTD5L0Y3sv4OI6G1gAuC66ZWuL6sFhyyKkQ4f1WiVZ7SCa3CHQSAO i9VDaKz1bf4bXvAQcNj9v9kCgYACSOZCqW4vN0OUmqsXhkt9ZB6Pb/veno70pNPR jmYsvcwQU3oJQpWfXkhy6RAV3epaXmPDCsUsfns2M3wqNC7a2R5xdCqjKGGzZX4A AO3rz9se4J6Gd5oKijeCKFlWDGNHsibrdgm2pz42nZlY+O21X74dWKbt8O16I1MW hxkbJQKBgAXfuen/srVkJgPuqywUYag90VWCpHsuxdn+fZJa50SyZADr+RbiDfH2 vek8Uo8ap8AEsv4Rfs9opUcUZevLp3g2741eOaidHVLm0l4iLIVl03otGOqvSzs+ A3tFPEOxauXpzCt8f8eXsz0WQXAgIKW2h8zu5QHjomioU3i27mtE -----END RSA PRIVATE KEY----- rsa_public: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0/Ho+o3eJISydO2JvIgTLnZOtrxPl+fSvJfKDjoOLY0HB2eOjy2s2/2N6d9X9SGZ4+XnyVeNPjfBXw4IyXoqxhfIF16Azfk022iejgjiYssoUxH31M60OfqJhxo16dWEXdkKP1nac06VOt1zS5yEeooyvEuMJEJSsv3VR/7GKhMX3TVhEz5moLmVP3bIAvvoXio8X4urVC1R819QjDC86nlxwNks/GKPRi/IHO5tjJ72Eke7KNsm/vxHgkdX4vZaHNKhfdb/pavFXN5eoUaofz3hxw5oL/u2epI/pXyUhDp8Tb5wO6slykzcIlGCSd0YeO1TnljvViRx0uSxIy97N root@xenial-lxd rsa_certificate: ssh-rsa-cert-v01@openssh.com AAAAHHNzaC1yc2EtY2VydC12MDFAb3BlbnNzaC5jb20AAAAgMpgBP4Phn3L8I7Vqh7lmHKcOfIokEvSEbHDw83Y3JloAAAADAQABAAABAQC0/Ho+o3eJISydO2JvIgTLnZOtrxPl+fSvJfKDjoOLY0HB2eOjy2s2/2N6d9X9SGZ4+XnyVeNPjfBXw4IyXoqxhfIF16Azfk022iejgjiYssoUxH31M60OfqJhxo16dWEXdkKP1nac06VOt1zS5yEeooyvEuMJEJSsv3VR/7GKhMX3TVhEz5moLmVP3bIAvvoXio8X4urVC1R819QjDC86nlxwNks/GKPRi/IHO5tjJ72Eke7KNsm/vxHgkdX4vZaHNKhfdb/pavFXN5eoUaofz3hxw5oL/u2epI/pXyUhDp8Tb5wO6slykzcIlGCSd0YeO1TnljvViRx0uSxIy97NAAAAAAAAAAAAAAACAAAACnhlbmlhbC1seGQAAAAAAAAAAF+vVEIAAAAAYY83bgAAAAAAAAAAAAAAAAAAADMAAAALc3NoLWVkMjU1MTkAAAAgz4SlDwbq53ZrRsnS6ISdwxgFDRpnEX44K8jFmLpI9NAAAABTAAAAC3NzaC1lZDI1NTE5AAAAQMWpiRWKNMFvRX0g6OQOELMqDhtNBpkIN92IyO25qiY2oDSd1NyVme6XnGDFt8CS7z5NufV04doP4aacLOBbQww= root@xenial-lxd dsa_private: | -----BEGIN DSA PRIVATE KEY----- MIIBuwIBAAKBgQD5Fstc23IVSDe6k4DNP8smPKuEWUvHDTOGaXrhOVAfzZ6+jklP 55mzvC7jO53PWWC31hq10xBoWdev0WtcNF9Tv+4bAa1263y51Rqo4GI7xx+xic1d mLqqfYijBT9k48J/1tV0cs1Wjs6FP/IJTD/kYVC930JjYQMi722lBnUxsQIVAL7i z3fTGKTvSzvW0wQlwnYpS2QFAoGANp+KdyS9V93HgxGQEN1rlj/TSv/a3EVdCKtE nQf55aPHxDAVDVw5JtRh4pZbbRV4oGRPc9KOdjo5BU28vSM3Lmhkb+UaaDXwHkgI nK193o74DKjADWZxuLyyiKHiMOhxozoxDfjWxs8nz6uqvSW0pr521EwIY6RajbED nZ2a3GkCgYEAyoUomNRB6bmpsIfzt8zdtqLP5umIj2uhr9MVPL8/QdbxmJ72Z7pf Q2z1B7QAdIBGOlqJXtlau7ABhWK29Efe+99ObyTSSdDc6RCDeAwUmBAiPRQhDH2E wExw3doDSCUb28L1B50wBzQ8mC3KXp6C7IkBXWspb16DLHUHFSI8bkICFA5kVUcW nCPOXEQsayANi8+Cb7BH -----END DSA PRIVATE KEY----- dsa_public: ssh-dss AAAAB3NzaC1kc3MAAACBAPkWy1zbchVIN7qTgM0/yyY8q4RZS8cNM4ZpeuE5UB/Nnr6OSU/nmbO8LuM7nc9ZYLfWGrXTEGhZ16/Ra1w0X1O/7hsBrXbrfLnVGqjgYjvHH7GJzV2Yuqp9iKMFP2Tjwn/W1XRyzVaOzoU/8glMP+RhUL3fQmNhAyLvbaUGdTGxAAAAFQC+4s930xik70s71tMEJcJ2KUtkBQAAAIA2n4p3JL1X3ceDEZAQ3WuWP9NK/9rcRV0Iq0SdB/nlo8fEMBUNXDkm1GHillttFXigZE9z0o52OjkFTby9IzcuaGRv5RpoNfAeSAicrX3ejvgMqMANZnG4vLKIoeIw6HGjOjEN+NbGzyfPq6q9JbSmvnbUTAhjpFqNsQOdnZrcaQAAAIEAyoUomNRB6bmpsIfzt8zdtqLP5umIj2uhr9MVPL8/QdbxmJ72Z7pfQ2z1B7QAdIBGOlqJXtlau7ABhWK29Efe+99ObyTSSdDc6RCDeAwUmBAiPRQhDH2EwExw3doDSCUb28L1B50wBzQ8mC3KXp6C7IkBXWspb16DLHUHFSI8bkI= root@xenial-lxd ed25519_private: | -----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW QyNTUxOQAAACDbnQGUruL42aVVsyHeaV5mYNTOhteXao0Nl5DVThJ2+QAAAJgwt+lcMLfp XAAAAAtzc2gtZWQyNTUxOQAAACDbnQGUruL42aVVsyHeaV5mYNTOhteXao0Nl5DVThJ2+Q AAAEDQlFZpz9q8+/YJHS9+jPAqy2ZT6cGEv8HTB6RZtTjd/dudAZSu4vjZpVWzId5pXmZg 1M6G15dqjQ2XkNVOEnb5AAAAD3Jvb3RAeGVuaWFsLWx4ZAECAwQFBg== -----END OPENSSH PRIVATE KEY----- ed25519_public: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINudAZSu4vjZpVWzId5pXmZg1M6G15dqjQ2XkNVOEnb5 root@xenial-lxd ecdsa_private: | -----BEGIN EC PRIVATE KEY----- MHcCAQEEIDuK+QFc1wmyJY8uDqQVa1qHte30Rk/fdLxGIBkwJAyOoAoGCCqGSM49 AwEHoUQDQgAEWxLlO+TL8gL91eET9p/HFQbqR1A691AkJgZk3jY5mpZqxgX4vcgb 7f/CtXuM6s2svcDJqAeXr6Wk8OJJcMxylA== -----END EC PRIVATE KEY----- ecdsa_public: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFsS5Tvky/IC/dXhE/afxxUG6kdQOvdQJCYGZN42OZqWasYF+L3IG+3/wrV7jOrNrL3AyagHl6+lpPDiSXDMcpQ= root@xenial-lxd wait=False 2021-01-18 15:54:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:54:28 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:54:29 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:54:42 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=keen-salmon) 2021-01-18 15:54:42 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:54:44 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:54:45 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_dsa_key.pub' PASSED [ 74%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/ssh_host_dsa_key-MIIBuwIBAAKBgQD5Fstc23IVSDe6k4DNP8smPKuEWUvHDTOGaXrhOVAfzZ6+jklP] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:47 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:54:47 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_dsa_key' PASSED [ 75%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/ssh_host_rsa_key.pub-AAAAB3NzaC1yc2EAAAADAQABAAABAQC0/Ho+o3eJISydO2JvIgTLnZOtrxPl+fSvJfKDjoOLY0HB2eOjy2s2/2N6d9X9SGZ4] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:50 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:54:50 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_rsa_key.pub' PASSED [ 76%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/ssh_host_rsa_key-4DOkqNiUGl80Zp1RgZNohHUXlJMtAbrIlAVEk+mTmg7vjfyp2unRQvLZpMRdywBm] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:50 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:54:50 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_rsa_key' PASSED [ 77%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/ssh_host_rsa_key-cert.pub-AAAAHHNzaC1yc2EtY2VydC12MDFAb3BlbnNzaC5jb20AAAAgMpgBP4Phn3L8I7Vqh7lmHKcOfIokEvSEbHDw83Y3JloAAAAD] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:51 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:54:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_rsa_key-cert.pub' PASSED [ 78%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/sshd_config-HostCertificate /etc/ssh/ssh_host_rsa_key-cert.pub] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:51 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:54:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/sshd_config' PASSED [ 80%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/ssh_host_ecdsa_key.pub-AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFsS5Tvky/IC/dXhE/afxxU] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:51 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:54:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ecdsa_key.pub' PASSED [ 81%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/ssh_host_ecdsa_key-AwEHoUQDQgAEWxLlO+TL8gL91eET9p/HFQbqR1A691AkJgZk3jY5mpZqxgX4vcgb] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:51 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:54:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ecdsa_key' PASSED [ 82%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/ssh_host_ed25519_key.pub-AAAAC3NzaC1lZDI1NTE5AAAAINudAZSu4vjZpVWzId5pXmZg1M6G15dqjQ2XkNVOEnb5] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:53 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:54:53 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ed25519_key.pub' PASSED [ 83%] tests/integration_tests/modules/test_ssh_keys_provided.py::TestSshKeysProvided::test_ssh_provided_keys[/etc/ssh/ssh_host_ed25519_key-XAAAAAtzc2gtZWQyNTUxOQAAACDbnQGUruL42aVVsyHeaV5mYNTOhteXao0Nl5DVThJ2+Q] -------------------------------- live log setup -------------------------------- 2021-01-18 15:54:55 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:54:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ed25519_key' PASSED [ 84%] tests/integration_tests/modules/test_timezone.py::TestTimezone::test_timezone -------------------------------- live log setup -------------------------------- 2021-01-18 15:55:12 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:55:12 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config timezone: US/Aleutian wait=False 2021-01-18 15:55:24 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:55:25 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:55:25 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:55:34 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=thorough-albacore) 2021-01-18 15:55:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:55:34 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:55:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'date "+%Z" --date="Thu, 03 Nov 2016 00:47:00 -0400"' PASSED [ 85%] tests/integration_tests/modules/test_users_groups.py::TestUsersGroups::test_users_groups[getent_args0-ubuntu:x:[0-9]{4}:] -------------------------------- live log setup -------------------------------- 2021-01-18 15:55:37 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:55:37 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config # Add groups to the system groups: - secret: [root] - cloud-users # Add users to the system. Users are added after groups are added. users: - default - name: foobar gecos: Foo B. Bar primary_group: foobar groups: users expiredate: 2038-01-19 lock_passwd: false passwd: $6$j212wezy$7H/1LT4f9/N3wpgNunhsIqtMj62OKiS3nyNwuizouQc3u7MbYCarYeAHWYPYb2FT.lbioDm2RrkJPb9BZMN1O/ - name: barfoo gecos: Bar B. Foo sudo: ALL=(ALL) NOPASSWD:ALL groups: [cloud-users, secret] lock_passwd: true - name: cloudy gecos: Magic Cloud App Daemon User inactive: true system: true wait=False 2021-01-18 15:55:49 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:55:50 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:55:50 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:55:56 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=upward-burro) 2021-01-18 15:55:56 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:55:57 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:55:57 INFO pycloudlib.instance:instance.py:166 executing: sudo -- getent group ubuntu PASSED [ 87%] tests/integration_tests/modules/test_users_groups.py::TestUsersGroups::test_users_groups[getent_args1-cloud-users:x:[0-9]{4}:barfoo] -------------------------------- live log setup -------------------------------- 2021-01-18 15:55:57 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:55:57 INFO pycloudlib.instance:instance.py:166 executing: sudo -- getent group cloud-users PASSED [ 88%] tests/integration_tests/modules/test_users_groups.py::TestUsersGroups::test_users_groups[getent_args2-ubuntu:x:[0-9]{4}:[0-9]{4}:Ubuntu:/home/ubuntu:/bin/bash] -------------------------------- live log setup -------------------------------- 2021-01-18 15:55:58 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:55:58 INFO pycloudlib.instance:instance.py:166 executing: sudo -- getent passwd ubuntu PASSED [ 89%] tests/integration_tests/modules/test_users_groups.py::TestUsersGroups::test_users_groups[getent_args3-foobar:x:[0-9]{4}:[0-9]{4}:Foo B. Bar:/home/foobar:] -------------------------------- live log setup -------------------------------- 2021-01-18 15:55:58 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:55:58 INFO pycloudlib.instance:instance.py:166 executing: sudo -- getent passwd foobar PASSED [ 90%] tests/integration_tests/modules/test_users_groups.py::TestUsersGroups::test_users_groups[getent_args4-barfoo:x:[0-9]{4}:[0-9]{4}:Bar B. Foo:/home/barfoo:] -------------------------------- live log setup -------------------------------- 2021-01-18 15:55:58 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:55:58 INFO pycloudlib.instance:instance.py:166 executing: sudo -- getent passwd barfoo PASSED [ 91%] tests/integration_tests/modules/test_users_groups.py::TestUsersGroups::test_users_groups[getent_args5-cloudy:x:[0-9]{3,4}:] -------------------------------- live log setup -------------------------------- 2021-01-18 15:56:02 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:56:02 INFO pycloudlib.instance:instance.py:166 executing: sudo -- getent passwd cloudy PASSED [ 92%] tests/integration_tests/modules/test_users_groups.py::TestUsersGroups::test_user_root_in_secret -------------------------------- live log setup -------------------------------- 2021-01-18 15:56:03 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy -------------------------------- live log call --------------------------------- 2021-01-18 15:56:03 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'groups root' PASSED [ 94%] tests/integration_tests/modules/test_write_files.py::TestWriteFiles::test_write_files[file /root/file_b64-ASCII text] -------------------------------- live log setup -------------------------------- 2021-01-18 15:56:05 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:56:05 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config write_files: - encoding: b64 content: QVNDSUkgdGV4dA== owner: root:root path: /root/file_b64 permissions: '0644' - content: | # My new /root/file_text SMBDOPTIONS="-D" path: /root/file_text - content: !!binary | /Z/xrHR4WINT0UNoKPQKbuovp6+Js+JK path: /root/file_binary permissions: '0555' - encoding: gzip content: !!binary | H4sIAIDb/U8C/1NW1E/KzNMvzuBKTc7IV8hIzcnJVyjPL8pJ4QIA6N+MVxsAAAA= path: /root/file_gzip permissions: '0755' wait=False 2021-01-18 15:56:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:56:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:56:22 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:56:29 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=immune-pika) 2021-01-18 15:56:29 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:56:30 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 -------------------------------- live log call --------------------------------- 2021-01-18 15:56:30 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'file /root/file_b64' PASSED [ 95%] tests/integration_tests/modules/test_write_files.py::TestWriteFiles::test_write_files[md5sum @pytest.mark.sru_2020_11 @pytest.mark.user_data(USER_DATA) def test_non_default_authorized_keys(client): sshd = client.read_from_file('/etc/ssh/sshd_config') assert 'AuthorizedKeysFile .ssh/authorized_keys2' in sshd assert sshd.count('AuthorizedKeysFile') == 1 ssh_dir = client.execute('ls /home/ubuntu/.ssh').stdout > assert 'authorized_keys2' in ssh_dir E AssertionError: assert 'authorized_keys2' in 'authorized_keys' tests/integration_tests/bugs/test_gh586.py:30: AssertionError ---------------------------- Captured stdout setup ----------------------------- Detected image: image_id=groovy os=ubuntu release=groovy Detected image: image_id=groovy os=ubuntu release=groovy Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config bootcmd: - sed -i 's/#AuthorizedKeysFile.*/AuthorizedKeysFile\ .ssh\/authorized_keys2/' /etc/ssh/sshd_config ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCdjQD/2zz3UIqZLcIFUaAuN0SJ+Bh/zLce35MLf5qO8QhwSjF6+Aq3aZeg/Dg//lCtPhCaAbk3YmvhDl41yBnTPK2gCU3Fwz9H+ygqLjqGItICsw0SI6VWL+9t+rcO7lciJfx9kP7jGCrf6NDc8zHOoF/cBTpEAL0mP3ikEcJtoo9IV9ZTt+r8ki+6QohZyS9QKTM2JoBaineM1ITAVluop7YDXJ6x+BKkKbJyCA5U3+0ykV5WfyvPMb4snjtNKgFq/U/QUJ6BUqrmLIaEt0zhOdLdqNtIh/f5JIMwibLPOZeo/IbnPBwfzO4QjdpH0NMyaLj0eeNVfQA37rWJB/wwTP2eelQKdp6iCIjjN8lAgwoeKMZwVhHT3YGolSbLnSzbf2cUUHMIVFyYRF3KF/GusbmSkQ+WU8Y7gC4K1Hhpb3JVOp8M07Z19fnG8XxlqRQIx1Hsmia7NbT3tTzMcToQ5MhdVdq2UjVwe34p66BWuPMrZg0TUcR4YK3iXuqakBc= test@example wait=False Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config bootcmd: - sed -i 's/#AuthorizedKeysFile.*/AuthorizedKeysFile\ .ssh\/authorized_keys2/' /etc/ssh/sshd_config ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCdjQD/2zz3UIqZLcIFUaAuN0SJ+Bh/zLce35MLf5qO8QhwSjF6+Aq3aZeg/Dg//lCtPhCaAbk3YmvhDl41yBnTPK2gCU3Fwz9H+ygqLjqGItICsw0SI6VWL+9t+rcO7lciJfx9kP7jGCrf6NDc8zHOoF/cBTpEAL0mP3ikEcJtoo9IV9ZTt+r8ki+6QohZyS9QKTM2JoBaineM1ITAVluop7YDXJ6x+BKkKbJyCA5U3+0ykV5WfyvPMb4snjtNKgFq/U/QUJ6BUqrmLIaEt0zhOdLdqNtIh/f5JIMwibLPOZeo/IbnPBwfzO4QjdpH0NMyaLj0eeNVfQA37rWJB/wwTP2eelQKdp6iCIjjN8lAgwoeKMZwVhHT3YGolSbLnSzbf2cUUHMIVFyYRF3KF/GusbmSkQ+WU8Y7gC4K1Hhpb3JVOp8M07Z19fnG8XxlqRQIx1Hsmia7NbT3tTzMcToQ5MhdVdq2UjVwe34p66BWuPMrZg0TUcR4YK3iXuqakBc= test@example wait=False ['lxc', 'init', 'local:merry-bass-snapshot', '--config', "user.user-data=#cloud-config\nbootcmd:\n - sed -i 's/#AuthorizedKeysFile.*/AuthorizedKeysFile\\ .ssh\\/authorized_keys2/' /etc/ssh/sshd_config\nssh_authorized_keys:\n - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCdjQD/2zz3UIqZLcIFUaAuN0SJ+Bh/zLce35MLf5qO8QhwSjF6+Aq3aZeg/Dg//lCtPhCaAbk3YmvhDl41yBnTPK2gCU3Fwz9H+ygqLjqGItICsw0SI6VWL+9t+rcO7lciJfx9kP7jGCrf6NDc8zHOoF/cBTpEAL0mP3ikEcJtoo9IV9ZTt+r8ki+6QohZyS9QKTM2JoBaineM1ITAVluop7YDXJ6x+BKkKbJyCA5U3+0ykV5WfyvPMb4snjtNKgFq/U/QUJ6BUqrmLIaEt0zhOdLdqNtIh/f5JIMwibLPOZeo/IbnPBwfzO4QjdpH0NMyaLj0eeNVfQA37rWJB/wwTP2eelQKdp6iCIjjN8lAgwoeKMZwVhHT3YGolSbLnSzbf2cUUHMIVFyYRF3KF/GusbmSkQ+WU8Y7gC4K1Hhpb3JVOp8M07Z19fnG8XxlqRQIx1Hsmia7NbT3tTzMcToQ5MhdVdq2UjVwe34p66BWuPMrZg0TUcR4YK3iXuqakBc= test@example\n\n"] Launched instance: LXDInstance(name=enabled-roughy) Launched instance: LXDInstance(name=enabled-roughy) cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 ------------------------------ Captured log setup ------------------------------ 2021-01-18 15:41:36 INFO integration_testing:clouds.py:73 Detected image: image_id=groovy os=ubuntu release=groovy 2021-01-18 15:41:36 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:merry-bass-snapshot user_data=#cloud-config bootcmd: - sed -i 's/#AuthorizedKeysFile.*/AuthorizedKeysFile\ .ssh\/authorized_keys2/' /etc/ssh/sshd_config ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCdjQD/2zz3UIqZLcIFUaAuN0SJ+Bh/zLce35MLf5qO8QhwSjF6+Aq3aZeg/Dg//lCtPhCaAbk3YmvhDl41yBnTPK2gCU3Fwz9H+ygqLjqGItICsw0SI6VWL+9t+rcO7lciJfx9kP7jGCrf6NDc8zHOoF/cBTpEAL0mP3ikEcJtoo9IV9ZTt+r8ki+6QohZyS9QKTM2JoBaineM1ITAVluop7YDXJ6x+BKkKbJyCA5U3+0ykV5WfyvPMb4snjtNKgFq/U/QUJ6BUqrmLIaEt0zhOdLdqNtIh/f5JIMwibLPOZeo/IbnPBwfzO4QjdpH0NMyaLj0eeNVfQA37rWJB/wwTP2eelQKdp6iCIjjN8lAgwoeKMZwVhHT3YGolSbLnSzbf2cUUHMIVFyYRF3KF/GusbmSkQ+WU8Y7gC4K1Hhpb3JVOp8M07Z19fnG8XxlqRQIx1Hsmia7NbT3tTzMcToQ5MhdVdq2UjVwe34p66BWuPMrZg0TUcR4YK3iXuqakBc= test@example wait=False 2021-01-18 15:41:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 15:41:47 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 15:41:48 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 15:41:54 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=enabled-roughy) 2021-01-18 15:41:54 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 15:41:54 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~20.10.1 ------------------------------ Captured log call ------------------------------- 2021-01-18 15:41:54 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/sshd_config' 2021-01-18 15:41:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ls /home/ubuntu/.ssh' --------------------------- Captured stdout teardown --------------------------- Writing logs to /tmp/cloud_init_test_logs/210118103752/tests/integration_tests/bugs/test_gh586/test_non_default_authorized_keys Writing logs to /tmp/cloud_init_test_logs/210118103752/tests/integration_tests/bugs/test_gh586/test_non_default_authorized_keys ---------------------------- Captured log teardown ----------------------------- 2021-01-18 15:41:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init collect-logs -u -t /var/tmp/cloud-init.tar.gz' 2021-01-18 15:41:56 INFO integration_testing:conftest.py:177 Writing logs to /tmp/cloud_init_test_logs/210118103752/tests/integration_tests/bugs/test_gh586/test_non_default_authorized_keys 2021-01-18 15:41:56 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cp /var/tmp/cloud-init.tar.gz /var/tmp/71f5f066-00d1-404c-9613-c6647468daa7.tmp' =============================== warnings summary =============================== tests/integration_tests/test_upgrade.py::test_upgrade tests/integration_tests/test_upgrade.py::test_upgrade /home/daniel/.virtualenvs/cloud-init/lib/python3.8/site-packages/simplestreams/mirrors/__init__.py:206: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead LOG.warn("got ENOENT for (%s, %s), trying with trailing /", -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/integration_tests/bugs/test_gh586.py::test_non_default_authorized_keys ====== 1 failed, 72 passed, 12 skipped, 2 warnings in 1121.27s (0:18:41) =======