============================= 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 86 items / 1 deselected / 85 selected tests/integration_tests/test_1911680.py::test_test -------------------------------- live log setup -------------------------------- 2021-01-18 21:29:00 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:29:00 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:29:11 INFO integration_testing:clouds.py:113 Settings: CLOUD_INIT_SOURCE=cloud-init_20.4.1-0ubuntu1~18.04.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=canonical LOCAL_LOG_PATH=/tmp/cloud_init_test_logs OCI_COMPARTMENT_ID=None OS_IMAGE=bionic PLATFORM=lxd_vm PUBLIC_SSH_KEY=/home/daniel/.ssh/id_rsa.canonical.pub RUN_UNSTABLE=False 2021-01-18 21:29:11 INFO integration_testing:conftest.py:141 Setting up environment for lxd_vm 2021-01-18 21:29:11 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=ubuntu:d855437d9ce222e063e2bf05dc680a844420bfeeda6bb9dac2abdd3b944a8726 user_data=None wait=False 2021-01-18 21:30:40 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:30:40 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:31:53 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:31:53 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:31:53 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:31:55 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 21:31:56 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 21:31:56 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=still-lionfish) 2021-01-18 21:31:56 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 21:31:56 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 2021-01-18 21:31:56 INFO integration_testing:instances.py:164 Installing deb package 2021-01-18 21:31:57 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/5273a081-8bcd-4d64-900f-31117ea6197d.tmp /var/tmp/cloud-init_20.4.1-0ubuntu1~18.04.1_all.deb' 2021-01-18 21:31:57 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg -i /var/tmp/cloud-init_20.4.1-0ubuntu1~18.04.1_all.deb' 2021-01-18 21:32:01 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init -v' 2021-01-18 21:32:01 INFO integration_testing:instances.py:137 Installed cloud-init version: 20.4.1-0ubuntu1~18.04.1 2021-01-18 21:32:01 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-18 21:32:01 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-18 21:32:01 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-18 21:32:02 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-18 21:32:02 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-18 21:32:02 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-18 21:34:52 INFO integration_testing:instances.py:117 Created new image: local:still-lionfish-snapshot 2021-01-18 21:34:53 INFO integration_testing:conftest.py:147 Done with environment setup -------------------------------- live log call --------------------------------- 2021-01-18 21:34:53 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config bootcmd: - sed -i "s,#AuthorizedKeysFile.*,AuthorizedKeysFile /etc/ssh/authorized_keys /etc/backdoor_keys," /etc/ssh/sshd_config runcmd: - | cat << EOF > /etc/backdoor_keys ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDes50i5YZ1QYVqii7L4wu5K1zAEBEYfA3vE1delFH9XQNXJ4oVNQNcsZMqMnE4Kad4VZo1SuRAa5X7tZiVpPF7WcsTm3HXhJmDjUT5FMmZ1c8NwtMETNOo2zAF9KEfJLQo99a9UZwhkiRudjZWA/FqBOJxBlnirSq7TOgrMin0/qlODQz8nrYoPj8mFGAuOiyKtqaLcH0C8Xl/DVCMgC6YLv5xDFTP1Jz5pLG59aqaAuc+3QKdYqoSTjT8IZEtpkNHuqTBaDkaopWogHEc3yjfc8VtkV4x/WVtvv9oqQQCqu8+JHm1/mFvDD/yL90wR+L261MdlN+ojojdmCP9jXFf canonical EOF wait=False 2021-01-18 21:36:42 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:36:42 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:37:46 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:37:46 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:37:46 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:37:48 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 21:37:48 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 21:37:48 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=loyal-koi) 2021-01-18 21:37:48 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 21:37:49 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 2021-01-18 21:37:49 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'test -f /etc/ssh/authorized_keys' PASSED [ 1%] tests/integration_tests/test_upgrade.py::test_upgrade -------------------------------- live log setup -------------------------------- 2021-01-18 21:37:50 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 21:37:50 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:38:00 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:38:00 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=ubuntu:d855437d9ce222e063e2bf05dc680a844420bfeeda6bb9dac2abdd3b944a8726 user_data=#cloud-config hostname: SRU-worked wait=False 2021-01-18 21:39:09 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:39:09 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:39:50 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:39:50 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:39:50 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:39:51 ERROR paramiko.transport:transport.py:1819 Socket exception: Connection reset by peer (104) 2021-01-18 21:39:51 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:39:51 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:39:51 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:39:51 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:39:54 ERROR paramiko.transport:transport.py:1819 Socket exception: Connection reset by peer (104) 2021-01-18 21:39:54 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:41:18 INFO pycloudlib.instance:instance.py:336 timed out Retrying ssh connection 60 more time(s) to ubuntu@10.236.135.113:22 2021-01-18 21:41:30 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:41:30 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:41:30 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:41:38 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 21:41:39 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 21:41:39 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=full-chow) 2021-01-18 21:41:39 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 21:41:39 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 2021-01-18 21:41:39 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname 2021-01-18 21:41:39 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg-query --show cloud-init' 2021-01-18 21:41:40 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /run/cloud-init/result.json' 2021-01-18 21:41:40 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init init' 2021-01-18 21:41:40 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'grep Trace /var/log/cloud-init.log' 2021-01-18 21:41:40 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c cloud-id 2021-01-18 21:41:41 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/netplan/50-cloud-init.yaml' 2021-01-18 21:41:41 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c systemd-analyze 2021-01-18 21:41:41 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'systemd-analyze blame' 2021-01-18 21:41:41 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze show' 2021-01-18 21:41:41 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze blame' 2021-01-18 21:41:42 INFO integration_testing:instances.py:164 Installing deb package 2021-01-18 21:41:42 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/bb59ae0a-cb7f-442d-82c5-3620cb1e7a1c.tmp /var/tmp/cloud-init_20.4.1-0ubuntu1~18.04.1_all.deb' 2021-01-18 21:41:42 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg -i /var/tmp/cloud-init_20.4.1-0ubuntu1~18.04.1_all.deb' 2021-01-18 21:41:45 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init -v' 2021-01-18 21:41:46 INFO integration_testing:instances.py:137 Installed cloud-init version: 20.4.1-0ubuntu1~18.04.1 2021-01-18 21:41:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-18 21:41:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-18 21:41:46 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'hostname something-else' 2021-01-18 21:41:48 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-18 21:41:48 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:41:48 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:42:20 INFO pycloudlib.instance:instance.py:336 [Errno None] Unable to connect to port 22 on 10.236.135.113 Retrying ssh connection 60 more time(s) to ubuntu@10.236.135.113:22 2021-01-18 21:42:30 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:42:30 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:42:30 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:42:31 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 21:42:32 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 21:42:32 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname 2021-01-18 21:42:32 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg-query --show cloud-init' 2021-01-18 21:42:32 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /run/cloud-init/result.json' 2021-01-18 21:42:32 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init init' 2021-01-18 21:42:33 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'grep Trace /var/log/cloud-init.log' 2021-01-18 21:42:33 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c cloud-id 2021-01-18 21:42:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/netplan/50-cloud-init.yaml' 2021-01-18 21:42:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c systemd-analyze 2021-01-18 21:42:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'systemd-analyze blame' 2021-01-18 21:42:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze show' 2021-01-18 21:42:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze blame' 2021-01-18 21:42:37 INFO integration_testing:test_upgrade.py:99 Wrote upgrade test logs to /tmp/cloud_init_test_logs/test_upgrade_lxd_vm_bionic_before_210118162900.log and /tmp/cloud_init_test_logs/test_upgrade_lxd_vm_bionic_after_210118162900.log PASSED [ 2%] tests/integration_tests/bugs/test_gh570.py::test_nocloud_seedfrom_vendordata -------------------------------- live log setup -------------------------------- 2021-01-18 21:42:37 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:42:37 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=None wait=False 2021-01-18 21:44:53 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:44:53 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:45:54 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:45:54 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:45:54 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:45:55 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 21:45:56 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 21:45:58 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=optimum-doberman) 2021-01-18 21:45:58 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 21:45:58 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 21:45:58 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 21:45:59 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/4d3c7c51-667b-4220-861f-fa49ffd05569.tmp /var/tmp/test_seed_dir/vendor-data' 2021-01-18 21:45:59 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init clean --logs' 2021-01-18 21:46:02 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-18 21:46:02 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:46:02 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:46:34 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:46:34 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:46:34 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:46:35 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 21:46:36 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 21:46:37 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ls /var/tmp' PASSED [ 3%] tests/integration_tests/bugs/test_gh626.py::test_wakeonlan -------------------------------- live log setup -------------------------------- 2021-01-18 21:46:38 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:46:38 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 21:48:22 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:48:22 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. ERROR [ 4%] tests/integration_tests/bugs/test_gh632.py::test_datasource_rbx_no_stacktrace -------------------------------- live log setup -------------------------------- 2021-01-18 21:50:06 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:50:06 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=None wait=False 2021-01-18 21:52:04 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:52:04 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:53:27 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:53:27 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:53:27 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:53:28 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 21:53:28 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 21:53:29 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=hopeful-hen) 2021-01-18 21:53:29 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 21:53:29 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 21:53:29 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/4170696b-c67d-423e-9877-b4c7a7a36fd5.tmp /etc/cloud/cloud.cfg.d/90_dpkg.cfg' 2021-01-18 21:53:30 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/ae9cfb37-395c-4f19-bf98-23b0c877187f.tmp /etc/cloud/ds-identify.cfg' 2021-01-18 21:53:30 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init clean --logs' 2021-01-18 21:53:32 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-18 21:53:32 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:53:32 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 21:54:36 INFO pycloudlib.instance:instance.py:336 timed out Retrying ssh connection 60 more time(s) to ubuntu@10.236.135.133:22 2021-01-18 21:54:46 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 21:54:47 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 21:54:47 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 21:54:48 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 21:54:49 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 21:54:49 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 21:54:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:54:52 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 21:56:57 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:56:57 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. ERROR [ 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 21:58:43 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:58:43 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 22:01:59 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:01:59 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:03:01 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:03:01 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:03:01 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:03:03 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:03:04 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:03:10 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=needed-roughy) 2021-01-18 22:03:10 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:03:11 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:03:11 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 22:03:12 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:03:12 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config bootcmd: - rm -f /etc/fstab wait=False 2021-01-18 22:05:25 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:05:25 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:06:26 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:06:26 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:06:26 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:06:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:06:28 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:06:28 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=eager-foxhound) 2021-01-18 22:06:28 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:06:28 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:06:28 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 -------------------------------- live log setup -------------------------------- 2021-01-18 22:06:29 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:06:29 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config bootcmd: - echo 'whoops' > /usr/bin/fallocate swap: filename: /swap.img size: 10000000 maxsize: 10000000 wait=False 2021-01-18 22:08:32 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:08:32 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:09:33 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:09:33 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:09:33 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:09:34 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:09:35 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:09:35 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=topical-stag) 2021-01-18 22:09:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:09:35 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:09:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' 2021-01-18 22:09:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /proc/swaps' 2021-01-18 22:09:36 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/fstab' PASSED [ 11%] tests/integration_tests/bugs/test_lp1898997.py::TestInterfaceListingWithOpenvSwitch::test_ovs_member_interfaces_not_excluded -------------------------------- live log setup -------------------------------- 2021-01-18 22:09:37 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic SKIPPED [ 12%] tests/integration_tests/bugs/test_lp1900837.py::TestLogPermissionsNotResetOnReboot::test_permissions_unchanged -------------------------------- live log setup -------------------------------- 2021-01-18 22:09:37 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:09:37 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=None wait=False 2021-01-18 22:11:35 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:11:35 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:12:57 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:12:57 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:12:57 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:12:58 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:12:58 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:12:59 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=prepared-elephant) 2021-01-18 22:12:59 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:12:59 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:12:59 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'stat -c %a /var/log/cloud-init.log' 2021-01-18 22:12:59 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'chmod 600 /var/log/cloud-init.log' 2021-01-18 22:12:59 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'stat -c %a /var/log/cloud-init.log' 2021-01-18 22:13:01 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-18 22:13:01 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:13:01 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:13:33 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:13:33 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:13:33 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:13:34 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:13:35 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:13:35 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 22:13:36 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:13:36 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 22:15:09 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:15:09 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:16:35 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:16:35 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:16:35 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:16:36 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:16:36 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:16:37 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=growing-osprey) 2021-01-18 22:16:37 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:16:37 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:16:37 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 22:16:39 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:16:39 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 22:18:23 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:18:23 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:19:23 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:19:23 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:19:23 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:19:25 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:19:25 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:19:26 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=clever-glowworm) 2021-01-18 22:19:26 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:19:26 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:19:26 INFO pycloudlib.instance:instance.py:166 executing: sudo -- ls -1 /etc/ssl/certs 2021-01-18 22:19:26 INFO pycloudlib.instance:instance.py:166 executing: sudo -- readlink /etc/ssl/certs/a535c1f3.0 2021-01-18 22:19:26 INFO pycloudlib.instance:instance.py:166 executing: sudo -- readlink /etc/ssl/certs/ca-certificates.crt 2021-01-18 22:19:26 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 22:19:26 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:19:26 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 22:19:27 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:19:27 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config runcmd: - echo 'hi' > /var/tmp/test wait=False 2021-01-18 22:21:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:21:27 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:22:29 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:22:29 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:22:29 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:22:31 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:22:31 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:22:32 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=pleased-seahorse) 2021-01-18 22:22:32 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:22:32 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:22:32 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 22:22:33 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:22:33 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=runcmd: - echo 'hi' > /var/tmp/test wait=False 2021-01-18 22:24:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:24:27 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:25:28 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:25:28 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:25:28 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:25:29 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:25:29 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:25:30 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=brave-krill) 2021-01-18 22:25:30 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:25:30 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:25:30 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] -------------------------------- live log setup -------------------------------- 2021-01-18 22:25:31 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:25:31 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config lxd: init: storage_backend: dir bridge: mode: new name: lxdbr0 ipv4_address: 10.100.100.1 ipv4_netmask: 24 ipv4_dhcp_first: 10.100.100.100 ipv4_dhcp_last: 10.100.100.200 ipv4_nat: true domain: lxd wait=False 2021-01-18 22:27:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:27:27 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:28:29 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:28:30 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:28:30 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:28:31 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:28:32 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:28:34 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=glowing-gecko) 2021-01-18 22:28:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:28:35 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:28:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- which lxc PASSED [ 22%] tests/integration_tests/modules/test_lxd_bridge.py::TestLxdBridge::test_binaries_installed[lxd] -------------------------------- live log setup -------------------------------- 2021-01-18 22:28:35 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:28:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- which lxd PASSED [ 23%] tests/integration_tests/modules/test_lxd_bridge.py::TestLxdBridge::test_bridge -------------------------------- live log setup -------------------------------- 2021-01-18 22:28:35 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:28:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' 2021-01-18 22:28:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ip addr show lxdbr0' 2021-01-18 22:28:35 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'lxc network show lxdbr0' PASSED [ 24%] tests/integration_tests/modules/test_ntp_servers.py::TestNtpServers::test_ntp_installed -------------------------------- live log setup -------------------------------- 2021-01-18 22:28:56 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:28:56 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config ntp: ntp_client: ntp servers: - 172.16.15.14 - 172.16.17.18 wait=False 2021-01-18 22:30:41 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:30:41 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:31:46 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:31:47 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:31:47 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:31:50 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:31:51 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:32:06 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=easy-sole) 2021-01-18 22:32:06 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:32:06 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:32:06 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 22:32:06 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:32:06 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 22:32:06 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:32:06 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 22:32:06 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:32:06 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 22:32:07 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:32:07 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config packages: - sl - tree package_update: true package_upgrade: true wait=False 2021-01-18 22:33:31 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:33:31 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:34:33 INFO pycloudlib.instance:instance.py:336 [Errno None] Unable to connect to port 22 on 10.236.135.127 Retrying ssh connection 60 more time(s) to ubuntu@10.236.135.127:22 2021-01-18 22:34:43 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:34:44 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:34:44 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:34:45 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:34:46 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:35:30 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=able-primate) 2021-01-18 22:35:30 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:35:31 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:35:31 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 22:35:31 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:35:31 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 22:35:31 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:35:31 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] SKIPPED [ 34%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff[reboot-now-0-will execute: shutdown -r now msg] SKIPPED [ 35%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff[halt-+1-0-will execute: shutdown -H +1 msg] SKIPPED [ 36%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff_false_condition SKIPPED [ 37%] tests/integration_tests/modules/test_runcmd.py::TestRuncmd::test_runcmd -------------------------------- live log setup -------------------------------- 2021-01-18 22:35:32 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:35:32 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config runcmd: - echo cloud-init run cmd test > /var/tmp/run_cmd wait=False 2021-01-18 22:36:53 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:36:53 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:37:54 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:37:54 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:37:54 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:37:55 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:37:55 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:37:56 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=flexible-iguana) 2021-01-18 22:37:56 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:37:56 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:37:56 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 22:37:57 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:37:57 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config random_seed: data: 'MYUb34023nD:LFDK10913jk;dfnk:Df' encoding: raw file: /root/seed wait=False 2021-01-18 22:39:15 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:39:15 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:40:38 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:40:38 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:40:38 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:40:39 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:40:40 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:40:40 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=improved-crow) 2021-01-18 22:40:40 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:40:40 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:40:40 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 22:40:41 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:40:41 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config hostname: cloudinit2 wait=False 2021-01-18 22:42:03 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:42:03 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:43:04 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:43:04 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:43:04 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:43:05 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:43:06 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:43:06 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=cosmic-joey) 2021-01-18 22:43:06 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:43:06 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:43:06 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 22:43:07 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:43:07 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config manage_etc_hosts: true hostname: cloudinit1 fqdn: cloudinit2.i9n.cloud-init.io wait=False 2021-01-18 22:44:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:44:27 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:45:51 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:45:51 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:45:51 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:45:51 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:45:52 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:45:52 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=lasting-reindeer) 2021-01-18 22:45:52 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:45:53 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:45:53 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname 2021-01-18 22:45:53 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'hostname --fqdn' 2021-01-18 22:45:53 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 22:45:54 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:45:54 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 22:47:22 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:47:22 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:48:45 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:48:46 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:48:46 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:48:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:48:47 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:48:47 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=proven-mongrel) 2021-01-18 22:48:47 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:48:48 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:48:48 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 22:48:48 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:48:48 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 22:48:48 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:48:48 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 22:48:48 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:48:48 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 22:48:48 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:48:48 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 22:48:48 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:48:48 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 22:48:48 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:48:48 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 22:48:49 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:48:49 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 22:50:37 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:50:37 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:51:41 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:51:41 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:51:41 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:51:48 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:51:48 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:51:49 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=famous-crawdad) 2021-01-18 22:51:49 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:51:49 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:51:49 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 22:51:50 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:51:50 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 22:51:50 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:51:50 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 22:51:50 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:51:50 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 22:51:50 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:51:50 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 22:51:50 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:51:50 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 22:51:50 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 22:51:50 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 22:51:51 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:51:51 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config package_update: true snap: squashfuse_in_container: true commands: - snap install hello-world wait=False 2021-01-18 22:53:41 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:53:41 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:54:44 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:54:44 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:54:44 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:54:48 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:54:48 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:55:34 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=pumped-mole) 2021-01-18 22:55:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:55:34 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:55:34 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 22:55:36 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:55:36 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config no_ssh_fingerprints: true wait=False 2021-01-18 22:57:12 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 22:57:12 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 22:58:15 INFO pycloudlib.instance:instance.py:336 [Errno None] Unable to connect to port 22 on 10.236.135.90 Retrying ssh connection 60 more time(s) to ubuntu@10.236.135.90:22 2021-01-18 22:58:26 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 22:58:26 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 22:58:26 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 22:58:31 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 22:58:34 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 22:58:34 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=growing-molly) 2021-01-18 22:58:34 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 22:58:35 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 22:58:35 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 22:58:37 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 22:58:37 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 23:00:33 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 23:00:33 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 23:02:02 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 23:02:02 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 23:02:02 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 23:02:03 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 23:02:04 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 23:02:04 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=tight-badger) 2021-01-18 23:02:04 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 23:02:05 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 23:02:05 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 23:02:05 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 23:02:05 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config ssh_genkeytypes: - ecdsa - ed25519 authkey_hash: sha512 wait=False 2021-01-18 23:03:37 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 23:03:37 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 23:05:02 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 23:05:03 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 23:05:03 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 23:05:06 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 23:05:07 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 23:05:16 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=smiling-jaguar) 2021-01-18 23:05:16 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 23:05:17 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 23:05:17 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 23:05:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:05:17 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 23:05:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:05:17 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 23:05:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:05:17 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 23:05:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:05:17 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 23:05:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:05:17 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 23:05:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:05:17 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 23:05:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:05:17 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 23:05:20 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 23:05:20 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config ssh_import_id: - gh:powersj - lp:smoser wait=False 2021-01-18 23:07:10 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 23:07:10 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 23:08:12 INFO pycloudlib.instance:instance.py:336 [Errno None] Unable to connect to port 22 on 10.236.135.102 Retrying ssh connection 60 more time(s) to ubuntu@10.236.135.102:22 2021-01-18 23:08:23 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 23:08:23 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 23:08:23 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 23:08:24 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 23:08:24 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 23:08:24 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=primary-boxer) 2021-01-18 23:08:24 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 23:08:25 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 23:08:25 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 23:08:26 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 23:08:26 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 23:10:17 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 23:10:17 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 23:11:19 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 23:11:19 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 23:11:19 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 23:11:20 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 23:11:21 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 23:11:21 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=adapted-swan) 2021-01-18 23:11:21 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 23:11:22 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:22 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:22 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:22 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:22 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:22 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:22 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:22 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:22 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:22 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:11:22 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 23:11:23 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 23:11:23 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=#cloud-config timezone: US/Aleutian wait=False 2021-01-18 23:13:10 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 23:13:10 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 23:14:10 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 23:14:11 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 23:14:11 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 23:14:12 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 23:14:12 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 23:14:13 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=heroic-filly) 2021-01-18 23:14:13 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 23:14:13 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 23:14:13 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 23:14:15 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 23:14:15 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 23:16:28 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 23:16:28 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 23:17:38 INFO pycloudlib.instance:instance.py:336 [Errno None] Unable to connect to port 22 on 10.236.135.190 Retrying ssh connection 60 more time(s) to ubuntu@10.236.135.190:22 2021-01-18 23:17:49 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 23:17:49 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 23:17:49 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 23:17:51 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 23:17:51 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 23:17:52 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=trusty-skylark) 2021-01-18 23:17:52 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 23:17:52 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 23:17:52 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 23:17:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:17:52 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 23:17:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:17:52 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 23:17:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:17:52 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 23:17:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:17:52 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 23:17:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:17:52 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 23:17:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic -------------------------------- live log call --------------------------------- 2021-01-18 23:17:52 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 23:17:53 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 23:17:53 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 23:19:41 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 23:19:41 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. 2021-01-18 23:20:42 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-18 23:20:42 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-18 23:20:42 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-18 23:20:44 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-18 23:20:44 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-18 23:20:44 INFO integration_testing:clouds.py:168 Launched instance: LXDInstance(name=cunning-mantis) 2021-01-18 23:20:44 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-18 23:20:45 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4.1-0ubuntu1~18.04.1 -------------------------------- live log call --------------------------------- 2021-01-18 23:20:45 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 > fixture_utils = session_cloud = setup_image = None @pytest.yield_fixture def client(request, fixture_utils, session_cloud, setup_image): """Provide a client that runs for every test.""" > with _client(request, fixture_utils, session_cloud) as client: tests/integration_tests/conftest.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/contextlib.py:113: in __enter__ return next(self.gen) tests/integration_tests/conftest.py:210: in _client with session_cloud.launch( tests/integration_tests/clouds.py:167: in launch pycloudlib_instance.wait(raise_on_cloudinit_failure=False) ../../dev/pycloudlib/pycloudlib/instance.py:102: in wait self._wait_for_execute() ../../dev/pycloudlib/pycloudlib/instance.py:378: in _wait_for_execute result = self.execute(test_instance_command) ../../dev/pycloudlib/pycloudlib/instance.py:172: in execute return self._run_command(command, stdin, **kwargs) ../../dev/pycloudlib/pycloudlib/lxd/instance.py:34: in _run_command return super()._run_command(command, stdin) ../../dev/pycloudlib/pycloudlib/instance.py:140: in _run_command return self._ssh(list(command), stdin=stdin) ../../dev/pycloudlib/pycloudlib/instance.py:270: in _ssh client = self._ssh_connect() ../../dev/pycloudlib/pycloudlib/instance.py:326: in _ssh_connect hostname=self.ip, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = LXDInstance(name=golden-puma) @property def ip(self): """Return IP address of instance. Returns: IP address assigned to instance. """ retries = 5 while retries != 0: command = 'lxc list {} -c 4 --format csv'.format(self.name) result = subp(command.split()).stdout if result != '': break retries -= 1 time.sleep(20) > ip_address = result.split()[0] E IndexError: list index out of range ../../dev/pycloudlib/pycloudlib/lxd/instance.py:87: IndexError ---------------------------- Captured stdout setup ----------------------------- Detected image: image_id=bionic os=ubuntu release=bionic Detected image: image_id=bionic os=ubuntu release=bionic Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=None wait=False config_dict={'user.network-config': 'version: 2\nethernets:\n eth0:\n dhcp4: true\n wakeonlan: true\n'} Launching instance with launch_kwargs: image_id=local:still-lionfish-snapshot user_data=None wait=False config_dict={'user.network-config': 'version: 2\nethernets:\n eth0:\n dhcp4: true\n wakeonlan: true\n'} ['lxc', 'init', 'local:still-lionfish-snapshot', '--profile', 'pycloudlib-vm-bionic', '--config', 'user.network-config=version: 2\nethernets:\n eth0:\n dhcp4: true\n wakeonlan: true\n', '--config', 'user.user-data=#cloud-config\nssh_authorized_keys:\n - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDes50i5YZ1QYVqii7L4wu5K1zAEBEYfA3vE1delFH9XQNXJ4oVNQNcsZMqMnE4Kad4VZo1SuRAa5X7tZiVpPF7WcsTm3HXhJmDjUT5FMmZ1c8NwtMETNOo2zAF9KEfJLQo99a9UZwhkiRudjZWA/FqBOJxBlnirSq7TOgrMin0/qlODQz8nrYoPj8mFGAuOiyKtqaLcH0C8Xl/DVCMgC6YLv5xDFTP1Jz5pLG59aqaAuc+3QKdYqoSTjT8IZEtpkNHuqTBaDkaopWogHEc3yjfc8VtkV4x/WVtvv9oqQQCqu8+JHm1/mFvDD/yL90wR+L261MdlN+ojojdmCP9jXFf canonical\n\n', '--vm'] ------------------------------ Captured log setup ------------------------------ 2021-01-18 21:46:38 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:46:38 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 21:48:22 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:48:22 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. _________________ ERROR at setup of test_static_route_to_host __________________ request = > fixture_utils = session_cloud = setup_image = None @pytest.yield_fixture def client(request, fixture_utils, session_cloud, setup_image): """Provide a client that runs for every test.""" > with _client(request, fixture_utils, session_cloud) as client: tests/integration_tests/conftest.py:222: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/contextlib.py:113: in __enter__ return next(self.gen) tests/integration_tests/conftest.py:210: in _client with session_cloud.launch( tests/integration_tests/clouds.py:167: in launch pycloudlib_instance.wait(raise_on_cloudinit_failure=False) ../../dev/pycloudlib/pycloudlib/instance.py:102: in wait self._wait_for_execute() ../../dev/pycloudlib/pycloudlib/instance.py:378: in _wait_for_execute result = self.execute(test_instance_command) ../../dev/pycloudlib/pycloudlib/instance.py:172: in execute return self._run_command(command, stdin, **kwargs) ../../dev/pycloudlib/pycloudlib/lxd/instance.py:34: in _run_command return super()._run_command(command, stdin) ../../dev/pycloudlib/pycloudlib/instance.py:140: in _run_command return self._ssh(list(command), stdin=stdin) ../../dev/pycloudlib/pycloudlib/instance.py:270: in _ssh client = self._ssh_connect() ../../dev/pycloudlib/pycloudlib/instance.py:326: in _ssh_connect hostname=self.ip, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = LXDInstance(name=sincere-stork) @property def ip(self): """Return IP address of instance. Returns: IP address assigned to instance. """ retries = 5 while retries != 0: command = 'lxc list {} -c 4 --format csv'.format(self.name) result = subp(command.split()).stdout if result != '': break retries -= 1 time.sleep(20) > ip_address = result.split()[0] E IndexError: list index out of range ../../dev/pycloudlib/pycloudlib/lxd/instance.py:87: IndexError ---------------------------- Captured stdout setup ----------------------------- Detected image: image_id=bionic os=ubuntu release=bionic Detected image: image_id=bionic os=ubuntu release=bionic Launching instance with launch_kwargs: image_id=local:still-lionfish-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'} Launching instance with launch_kwargs: image_id=local:still-lionfish-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'} ['lxc', 'init', 'local:still-lionfish-snapshot', '--profile', 'pycloudlib-vm-bionic', '--config', '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', '--config', 'user.user-data=#cloud-config\nssh_authorized_keys:\n - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDes50i5YZ1QYVqii7L4wu5K1zAEBEYfA3vE1delFH9XQNXJ4oVNQNcsZMqMnE4Kad4VZo1SuRAa5X7tZiVpPF7WcsTm3HXhJmDjUT5FMmZ1c8NwtMETNOo2zAF9KEfJLQo99a9UZwhkiRudjZWA/FqBOJxBlnirSq7TOgrMin0/qlODQz8nrYoPj8mFGAuOiyKtqaLcH0C8Xl/DVCMgC6YLv5xDFTP1Jz5pLG59aqaAuc+3QKdYqoSTjT8IZEtpkNHuqTBaDkaopWogHEc3yjfc8VtkV4x/WVtvv9oqQQCqu8+JHm1/mFvDD/yL90wR+L261MdlN+ojojdmCP9jXFf canonical\n\n', '--vm'] ------------------------------ Captured log setup ------------------------------ 2021-01-18 21:54:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-18 21:54:52 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=local:still-lionfish-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 21:56:57 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-18 21:56:57 WARNING pycloudlib.instance:instance.py:311 The specified key (/home/daniel/.ssh/id_rsa.canonical) requires a passphrase. If you have not added this key to a running SSH agent, you will see failures to connect after a long timeout. =============================== warnings summary =============================== tests/integration_tests/test_1911680.py::test_test tests/integration_tests/test_1911680.py::test_test tests/integration_tests/test_1911680.py::test_test 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 ============================ ERROR tests/integration_tests/bugs/test_gh626.py::test_wakeonlan - IndexError... ERROR tests/integration_tests/bugs/test_gh668.py::test_static_route_to_host = 75 passed, 8 skipped, 1 deselected, 4 warnings, 2 errors in 6705.82s (1:51:45) =