% CLOUD_INIT_OS_IMAGE=bionic CLOUD_INIT_CLOUD_INIT_SOURCE=PROPOSED CLOUD_INIT_PLATFORM=azure pytest tests/integration_tests -v ================================================================================================================================== test session starts =================================================================================================================================== platform linux -- Python 3.8.6, pytest-6.1.0, py-1.9.0, pluggy-0.13.1 -- /home/daniel/.virtualenvs/cloud-init/bin/python cachedir: .pytest_cache rootdir: /home/daniel/dev/cloud-init, configfile: tox.ini plugins: xdist-2.1.0, forked-1.3.0, parallel-0.1.0, cov-2.8.1 collected 84 items tests/integration_tests/test_upgrade.py::test_upgrade ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 14:51:32 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 14:51:33 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 14:51:33 INFO integration_testing:clouds.py:113 Settings: CLOUD_INIT_SOURCE=PROPOSED COLLECT_LOGS=ON_ERROR EXISTING_INSTANCE_ID=None GCE_PROJECT=ubuntu-oddbloke 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=azure PUBLIC_SSH_KEY=/home/daniel/.ssh/id_rsa.canonical.pub RUN_UNSTABLE=False ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 14:51:33 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 14:51:33 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 14:51:33 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=Canonical:UbuntuServer:18.04-DAILY-LTS user_data=#cloud-config hostname: SRU-worked wait=False 2021-01-12 14:53:06 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 14:53:06 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-12 14:53:06 INFO pycloudlib.instance:instance.py:336 [Errno None] Unable to connect to port 22 on 13.86.6.66 Retrying ssh connection 60 more time(s) to ubuntu@13.86.6.66:22 2021-01-12 14:53:16 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 14:53:16 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 14:53:16 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 14:53:18 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 14:53:18 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 14:53:19 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 14:53:19 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 14:53:20 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.1 2021-01-12 14:53:20 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname 2021-01-12 14:53:20 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg-query --show cloud-init' 2021-01-12 14:53:20 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /run/cloud-init/result.json' 2021-01-12 14:53:20 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init initgrep Trace /var/log/cloud-init.log' 2021-01-12 14:53:21 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-idcat /etc/netplan/50-cloud-init.yaml' 2021-01-12 14:53:21 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c systemd-analyze 2021-01-12 14:53:21 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'systemd-analyze blame' 2021-01-12 14:53:21 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze show' 2021-01-12 14:53:22 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze blame' 2021-01-12 14:53:23 INFO integration_testing:instances.py:144 Installing proposed image 2021-01-12 14:53:23 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'echo deb "http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy cloud-init' 2021-01-12 14:53:45 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init -v' 2021-01-12 14:53:46 INFO integration_testing:instances.py:137 Installed cloud-init version: 20.4-0ubuntu1~18.04.2 2021-01-12 14:53:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-12 14:53:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-12 14:53:47 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'hostname something-else' 2021-01-12 14:53:47 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-12 14:53:47 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 14:53:47 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 14:53:48 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 14:54:24 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init status --wait --long' 2021-01-12 14:54:24 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-12 14:54:56 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 14:54:56 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 14:54:56 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 14:54:58 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname 2021-01-12 14:54:58 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg-query --show cloud-init' 2021-01-12 14:54:59 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /run/cloud-init/result.json' 2021-01-12 14:54:59 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init initgrep Trace /var/log/cloud-init.log' 2021-01-12 14:55:00 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-idcat /etc/netplan/50-cloud-init.yaml' 2021-01-12 14:55:00 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c systemd-analyze 2021-01-12 14:55:00 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'systemd-analyze blame' 2021-01-12 14:55:00 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze show' 2021-01-12 14:55:01 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init analyze blame' 2021-01-12 14:55:42 INFO integration_testing:test_upgrade.py:99 Wrote upgrade test logs to /tmp/cloud_init_test_logs/test_upgrade_azure_bionic_before_210112095132.log and /tmp/cloud_init_test_logs/test_upgrade_azure_bionic_after_210112095132.log PASSED [ 1%] tests/integration_tests/bugs/test_gh570.py::test_nocloud_seedfrom_vendordata SKIPPED [ 2%] tests/integration_tests/bugs/test_gh586.py::test_non_default_authorized_keys ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 14:55:42 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 14:55:42 INFO integration_testing:conftest.py:141 Setting up environment for azure 2021-01-12 14:55:42 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=Canonical:UbuntuServer:18.04-DAILY-LTS user_data=None wait=False 2021-01-12 14:57:01 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 14:57: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-12 14:57:01 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 14:57:02 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 14:57:02 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 14:57:04 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 14:57:06 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 14:57:06 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 14:57:06 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 14:57:07 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.1 2021-01-12 14:57:07 INFO integration_testing:instances.py:144 Installing proposed image 2021-01-12 14:57:07 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'echo deb "http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" | tee /etc/apt/sources.list.d/proposed.list apt-get update -q apt-get install -qy cloud-init' 2021-01-12 14:57:31 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init -v' 2021-01-12 14:57:32 INFO integration_testing:instances.py:137 Installed cloud-init version: 20.4-0ubuntu1~18.04.2 2021-01-12 14:57:32 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-12 14:57:32 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-12 14:57:32 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-12 14:57:33 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-12 14:57:33 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo waagent -deprovision+user -force' 2021-01-12 14:58:36 INFO integration_testing:instances.py:117 Created new image: /subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 2021-01-12 14:59:17 INFO integration_testing:conftest.py:147 Done with environment setup 2021-01-12 14:59:17 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config bootcmd: - sed -i 's/#AuthorizedKeysFile.*/AuthorizedKeysFile\ .ssh\/authorized_keys2/' /etc/ssh/sshd_config ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCdjQD/2zz3UIqZLcIFUaAuN0SJ+Bh/zLce35MLf5qO8QhwSjF6+Aq3aZeg/Dg//lCtPhCaAbk3YmvhDl41yBnTPK2gCU3Fwz9H+ygqLjqGItICsw0SI6VWL+9t+rcO7lciJfx9kP7jGCrf6NDc8zHOoF/cBTpEAL0mP3ikEcJtoo9IV9ZTt+r8ki+6QohZyS9QKTM2JoBaineM1ITAVluop7YDXJ6x+BKkKbJyCA5U3+0ykV5WfyvPMb4snjtNKgFq/U/QUJ6BUqrmLIaEt0zhOdLdqNtIh/f5JIMwibLPOZeo/IbnPBwfzO4QjdpH0NMyaLj0eeNVfQA37rWJB/wwTP2eelQKdp6iCIjjN8lAgwoeKMZwVhHT3YGolSbLnSzbf2cUUHMIVFyYRF3KF/GusbmSkQ+WU8Y7gC4K1Hhpb3JVOp8M07Z19fnG8XxlqRQIx1Hsmia7NbT3tTzMcToQ5MhdVdq2UjVwe34p66BWuPMrZg0TUcR4YK3iXuqakBc= test@example wait=False 2021-01-12 15:00:05 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:00:05 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-12 15:00:05 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:00:05 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:00:05 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:00:07 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:00:08 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:00:09 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:00:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:00:09 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:00:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/sshd_config' 2021-01-12 15:00:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ls /home/ubuntu/.ssh' 2021-01-12 15:00:10 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:00:10 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! PASSED [ 3%] tests/integration_tests/bugs/test_gh626.py::test_wakeonlan SKIPPED [ 4%] tests/integration_tests/bugs/test_gh632.py::test_datasource_rbx_no_stacktrace ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:00:51 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:00:51 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=None wait=False 2021-01-12 15:02:09 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:02: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-12 15:02:16 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:02:17 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:02:17 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:02:20 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:02:21 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:02:21 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:02:21 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:02:22 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:02:22 INFO paramiko.transport.sftp:sftp.py:158 [chan 4] Opened sftp connection (server version 3) 2021-01-12 15:02:22 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/21141f36-3566-4c5a-bb5e-47d0353d3e02.tmp /etc/cloud/cloud.cfg.d/90_dpkg.cfg' 2021-01-12 15:02:23 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/a772a623-4640-481e-bed6-2731c8f622c2.tmp /etc/cloud/ds-identify.cfg' 2021-01-12 15:02:23 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init clean --logs' 2021-01-12 15:02:24 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-12 15:02:24 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:02:24 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:02:24 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:02:47 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' 2021-01-12 15:02:47 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-12 15:02:47 INFO pycloudlib.instance:instance.py:336 [Errno None] Unable to connect to port 22 on 13.86.6.66 Retrying ssh connection 60 more time(s) to ubuntu@13.86.6.66:22 2021-01-12 15:03:12 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:03:12 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:03:13 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! FAILED [ 5%] ----------------------------------------------------------------------------------------------------------------------------------- live log teardown ------------------------------------------------------------------------------------------------------------------------------------ 2021-01-12 15:03:14 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init collect-logs -u -t /var/tmp/cloud-init.tar.gz' 2021-01-12 15:03:15 INFO integration_testing:conftest.py:177 Writing logs to /tmp/cloud_init_test_logs/210112095132/tests/integration_tests/bugs/test_gh632/test_datasource_rbx_no_stacktrace 2021-01-12 15:03:15 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cp /var/tmp/cloud-init.tar.gz /var/tmp/70d24bd1-d1c0-4d1e-9f06-89d15619d7cd.tmp' 2021-01-12 15:03:16 INFO paramiko.transport.sftp:sftp.py:158 [chan 3] Opened sftp connection (server version 3) tests/integration_tests/bugs/test_gh671.py::test_update_default_password ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:03:57 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:03:57 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=None wait=False vm_params={'os_profile': {'admin_password': 'DoIM33tTheComplexityRequirements!??', 'linux_configuration': {'disable_password_authentication': False}}} 2021-01-12 15:05:15 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:05: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-12 15:05:15 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:05:15 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:05:15 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:05:18 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:05:19 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:05:19 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:05:19 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:05:20 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 2021-01-12 15:05:20 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'getent shadow ubuntu' 2021-01-12 15:05:20 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo cloud-init clean --logs' 2021-01-12 15:05:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo rm -rf /var/log/syslog' 2021-01-12 15:05:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'sudo waagent -deprovision -force' 2021-01-12 15:06:24 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-100357-image user_data=None wait=False vm_params={'os_profile': {'admin_password': 'DoIM33tTheComplexityRequirementsNow!??', 'linux_configuration': {'disable_password_authentication': False}}} 2021-01-12 15:08:57 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:08: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. 2021-01-12 15:08:57 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:08:58 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:08:58 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:09:03 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:09:03 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:09:04 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:09:04 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:09:05 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 2021-01-12 15:09:05 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'getent shadow ubuntu' PASSED [ 7%] tests/integration_tests/bugs/test_lp1813396.py::test_gpg_no_tty ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:11:26 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:11:26 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 15:12:44 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:12:44 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-12 15:12:44 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:12:44 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:12:45 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:12:48 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:12:49 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:13:08 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:13:08 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:13:09 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:13:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' PASSED [ 8%] tests/integration_tests/bugs/test_lp1886531.py::TestLp1886531::test_lp1886531 ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:14:20 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:14:20 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config bootcmd: - rm -f /etc/fstab wait=False 2021-01-12 15:15:38 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:15:38 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-12 15:15:38 INFO pycloudlib.instance:instance.py:336 [Errno None] Unable to connect to port 22 on 13.86.6.66 Retrying ssh connection 60 more time(s) to ubuntu@13.86.6.66:22 2021-01-12 15:15:48 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:15:49 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:15:49 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:15:50 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:15:51 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:15:51 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:15:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:15:52 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:15:52 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' PASSED [ 9%] tests/integration_tests/bugs/test_lp1897099.py::test_fallocate_fallback ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:17:03 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:17:03 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config bootcmd: - echo 'whoops' > /usr/bin/fallocate swap: filename: /swap.img size: 10000000 maxsize: 10000000 wait=False 2021-01-12 15:17:51 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:17: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-12 15:17:51 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:17:51 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:17:51 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:17:54 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:17:55 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:17:55 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:17:55 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:17:56 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:17:56 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' 2021-01-12 15:17:56 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /proc/swaps' 2021-01-12 15:17:57 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/fstab' PASSED [ 10%] tests/integration_tests/bugs/test_lp1898997.py::TestInterfaceListingWithOpenvSwitch::test_ovs_member_interfaces_not_excluded SKIPPED [ 11%] tests/integration_tests/bugs/test_lp1900837.py::TestLogPermissionsNotResetOnReboot::test_permissions_unchanged ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:18:37 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:18:37 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=None wait=False 2021-01-12 15:19:25 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:19: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-12 15:19:25 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:19:25 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:19:25 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:19:27 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:19:28 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:19:30 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:19:30 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:19:30 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:19:30 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'stat -c %a /var/log/cloud-init.log' 2021-01-12 15:19:31 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'chmod 600 /var/log/cloud-init.log' 2021-01-12 15:19:31 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'stat -c %a /var/log/cloud-init.log' 2021-01-12 15:19:31 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-12 15:19:31 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:19:31 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:19:32 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:19:33 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'stat -c %a /var/log/cloud-init.log' PASSED [ 13%] tests/integration_tests/bugs/test_lp1910835.py::test_crlf_in_azure_metadata_ssh_keys ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:20:13 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:20:13 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDes50i5YZ1QYVqii7L4wu5K1zAEBEYfA3vE1delFH9XQNXJ4oVNQNcsZMqMnE4Kad4VZo1SuRAa5X7tZiVpPF7WcsTm3HXhJmDjUT5FMmZ1c8NwtMETNOo2zAF9KEfJLQo99a9UZwhkiRudjZWA/FqBOJxBlnirSq7TOgrMin0/qlODQz8nrYoPj8mFGAuOiyKtqaLcH0C8Xl/DVCMgC6YLv5xDFTP1Jz5pLG59aqaAuc+3QKdYqoSTjT8IZEtpkNHuqTBaDkaopWogHEc3yjfc8VtkV4x/WVtvv9oqQQCqu8+JHm1/mFvDD/yL90wR+L261MdlN+ojojdmCP9jXFf canonical wait=False vm_params={'os_profile': {'linux_configuration': {'ssh': {'public_keys': [{'path': '/home/ubuntu/.ssh/authorized_keys', 'key_data': 'ssh-rsa AAAAB3NzaC1y\r\nc2EAAAADAQABAAABAQDes50i5YZ1QYVqii7L4wu5K1zAEBEYfA3vE1delFH9XQNXJ4oVNQNcsZMqMnE4Kad4VZo1SuRAa5X7tZiVpPF7WcsTm3HXhJmDjUT5FMmZ1c8NwtMETNOo2zAF9KEfJLQo99a9UZwhkiRudjZWA/FqBOJxBlnirSq7TOgrMin0/qlODQz8nrYoPj8mFGAuOiyKtqaLcH0C8Xl/DVCMgC6YLv5xDFTP1Jz5pLG59aqaAuc+3QKdYqoSTjT8IZEtpkNHuqTBaDkaopWogHEc3yjfc8VtkV4x/WVtvv9oqQQCqu8+JHm1/mFvDD/yL90wR+L261MdlN+ojojdmCP9jXFf canonical\n'}]}}}} 2021-01-12 15:21:01 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:21: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-12 15:21:01 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:21:02 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:21:02 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:21:04 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:21:05 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:21:05 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:21:05 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:21:06 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 2021-01-12 15:21:06 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /home/ubuntu/.ssh/authorized_keys' PASSED [ 14%] tests/integration_tests/modules/test_apt_configure_sources_list.py::TestAptConfigureSourcesList::test_sources_list ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:22:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:22:17 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 15:23:04 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:23: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-12 15:23:04 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:23:04 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:23:04 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:23:07 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:23:07 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:23:09 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:23:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:23:10 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:23:10 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/apt/sources.list' PASSED [ 15%] tests/integration_tests/modules/test_ca_certs.py::TestCaCerts::test_certs_updated ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:24:21 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:24:21 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 15:25:09 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:25: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-12 15:25:09 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:25:09 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:25:09 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:25:12 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:25:12 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:25:13 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:25:13 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:25:13 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:25:13 INFO pycloudlib.instance:instance.py:166 executing: sudo -- ls -1 /etc/ssl/certs 2021-01-12 15:25:14 INFO pycloudlib.instance:instance.py:166 executing: sudo -- readlink /etc/ssl/certs/a535c1f3.0 2021-01-12 15:25:14 INFO pycloudlib.instance:instance.py:166 executing: sudo -- readlink /etc/ssl/certs/ca-certificates.crt 2021-01-12 15:25:14 INFO pycloudlib.instance:instance.py:166 executing: sudo -- readlink /etc/ssl/certs/cloud-init-ca-certs.pem PASSED [ 16%] tests/integration_tests/modules/test_ca_certs.py::TestCaCerts::test_cert_installed ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:25:14 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:25:14 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'sha256sum /etc/ssl/certs/ca-certificates.crt' PASSED [ 17%] tests/integration_tests/modules/test_cli.py::test_valid_userdata ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:25:56 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:25:56 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config runcmd: - echo 'hi' > /var/tmp/test wait=False 2021-01-12 15:26:44 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:26:44 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-12 15:26:44 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:26:44 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:26:44 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:26:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:26:47 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:26:48 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:26:48 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:26:49 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:26:49 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init devel schema --system' PASSED [ 19%] tests/integration_tests/modules/test_cli.py::test_invalid_userdata ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:28:00 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:28:00 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=runcmd: - echo 'hi' > /var/tmp/test wait=False 2021-01-12 15:28:48 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:28: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-12 15:28:48 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:28:48 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:28:48 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:28:50 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:28:51 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:28:52 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:28:52 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:28:52 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:28:52 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init devel schema --system' PASSED [ 20%] tests/integration_tests/modules/test_lxd_bridge.py::TestLxdBridge::test_binaries_installed[lxc] ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:30:04 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:30:04 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 15:30:51 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:30: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-12 15:30:52 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:30:52 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:30:52 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:30:54 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:30:55 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:31:09 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:31:09 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:31:10 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:31:10 INFO pycloudlib.instance:instance.py:166 executing: sudo -- which lxc PASSED [ 21%] tests/integration_tests/modules/test_lxd_bridge.py::TestLxdBridge::test_binaries_installed[lxd] ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:31:10 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:31:10 INFO pycloudlib.instance:instance.py:166 executing: sudo -- which lxd PASSED [ 22%] tests/integration_tests/modules/test_lxd_bridge.py::TestLxdBridge::test_bridge ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:31:10 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:31:10 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' 2021-01-12 15:31:11 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ip addr show lxdbr0' 2021-01-12 15:31:11 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'lxc network show lxdbr0' PASSED [ 23%] ----------------------------------------------------------------------------------------------------------------------------------- live log teardown ------------------------------------------------------------------------------------------------------------------------------------ 2021-01-12 15:31:11 INFO adal-python:log.py:114 225db3f6-9514-4180-a1aa-85fdde8c5988 - CacheDriver:Cached token is expired at 2021-01-12 10:36:03.405666. Refreshing 2021-01-12 15:31:11 INFO adal-python:log.py:114 225db3f6-9514-4180-a1aa-85fdde8c5988 - TokenRequest:Getting a new token from a refresh token 2021-01-12 15:31:12 INFO adal-python:log.py:114 225db3f6-9514-4180-a1aa-85fdde8c5988 - CacheDriver:Returning token refreshed after expiry. tests/integration_tests/modules/test_ntp_servers.py::TestNtpServers::test_ntp_installed ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:31:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:31:52 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config ntp: ntp_client: ntp servers: - 172.16.15.14 - 172.16.17.18 wait=False 2021-01-12 15:32:40 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:32: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-12 15:32:40 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:32:40 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:32:40 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:32:44 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:32:44 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:33:22 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:33:22 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:33:23 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:33:23 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-12 15:33:23 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:33:23 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'test -e /etc/ntp.conf.dist' SKIPPED [ 26%] tests/integration_tests/modules/test_ntp_servers.py::TestNtpServers::test_ntp_entries ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:33:23 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:33:23 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ntp.conf' PASSED [ 27%] tests/integration_tests/modules/test_ntp_servers.py::TestNtpServers::test_ntpq_servers ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:33:23 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:33:23 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'ntpq -p -w -n' PASSED [ 28%] tests/integration_tests/modules/test_package_update_upgrade_install.py::TestPackageUpdateUpgradeInstall::test_new_packages_are_installed ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:34:34 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:34:34 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config packages: - sl - tree package_update: true package_upgrade: true wait=False 2021-01-12 15:35:22 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:35: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-12 15:35:22 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:35:23 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:35:23 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:35:26 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:35:26 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:36:51 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:36:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:36:51 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:36:51 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'dpkg-query --show' PASSED [ 29%] tests/integration_tests/modules/test_package_update_upgrade_install.py::TestPackageUpdateUpgradeInstall::test_packages_were_updated ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:36:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:36:52 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'grep ^Commandline: /var/log/apt/history.log' PASSED [ 30%] tests/integration_tests/modules/test_package_update_upgrade_install.py::TestPackageUpdateUpgradeInstall::test_packages_were_upgraded ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:36:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:36:52 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 [ 33%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff[reboot-now-0-will execute: shutdown -r now msg] SKIPPED [ 34%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff[halt-+1-0-will execute: shutdown -H +1 msg] SKIPPED [ 35%] tests/integration_tests/modules/test_power_state_change.py::TestPowerChange::test_poweroff_false_condition SKIPPED [ 36%] tests/integration_tests/modules/test_runcmd.py::TestRuncmd::test_runcmd ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:38:03 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:38:03 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config runcmd: - echo cloud-init run cmd test > /var/tmp/run_cmd wait=False 2021-01-12 15:38:50 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:38:50 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-12 15:38:50 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:38:51 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:38:51 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:38:53 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:38:54 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:38:54 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:38:54 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:38:55 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:38:55 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-12 15:39:36 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:39:36 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config random_seed: data: 'MYUb34023nD:LFDK10913jk;dfnk:Df' encoding: raw file: /root/seed wait=False 2021-01-12 15:40:23 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:40: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-12 15:40:23 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:40:24 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:40:24 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:40:25 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:40:26 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:40:26 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:40:26 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:40:27 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:40:27 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /root/seed' FAILED [ 39%] ----------------------------------------------------------------------------------------------------------------------------------- live log teardown ------------------------------------------------------------------------------------------------------------------------------------ 2021-01-12 15:40:27 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init collect-logs -u -t /var/tmp/cloud-init.tar.gz' 2021-01-12 15:40:29 INFO integration_testing:conftest.py:177 Writing logs to /tmp/cloud_init_test_logs/210112095132/tests/integration_tests/modules/test_seed_random_data/TestSeedRandomData/test_seed_random_data 2021-01-12 15:40:29 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cp /var/tmp/cloud-init.tar.gz /var/tmp/42d25626-d6f3-4cfa-bc04-52e922a35a72.tmp' 2021-01-12 15:40:29 INFO paramiko.transport.sftp:sftp.py:158 [chan 7] Opened sftp connection (server version 3) tests/integration_tests/modules/test_set_hostname.py::TestHostname::test_hostname ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:41:10 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:41:10 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config hostname: cloudinit2 wait=False 2021-01-12 15:41:58 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:41:58 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-12 15:41:58 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:41:58 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:41:59 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:42:01 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:42:02 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:42:05 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:42:05 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:42:06 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:42:06 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname PASSED [ 40%] tests/integration_tests/modules/test_set_hostname.py::TestHostname::test_hostname_and_fqdn ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:43:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:43:17 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config manage_etc_hosts: true hostname: cloudinit1 fqdn: cloudinit2.i9n.cloud-init.io wait=False 2021-01-12 15:44:04 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:44: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-12 15:44:05 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:44:05 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:44:05 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:44:07 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:44:08 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:44:10 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:44:10 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:44:11 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:44:11 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c hostname 2021-01-12 15:44:11 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'hostname --fqdn' 2021-01-12 15:44:11 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'grep ^127 /etc/hosts' PASSED [ 41%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_no_duplicate_users_in_shadow ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:44:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:44:52 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 15:45:40 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:45: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-12 15:45:40 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:45:41 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:45:41 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:45:43 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:45:44 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:45:46 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:45:46 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:45:47 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45:47 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 42%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_password_in_users_dict_set_correctly ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45:47 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45:47 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-12 15:45:47 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45:47 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-12 15:45:47 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45:47 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 46%] tests/integration_tests/modules/test_set_password.py::TestPasswordList::test_explicit_password_set_correctly ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45:48 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45: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_shadow_expected_users ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45:48 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45: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_sshd_config ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45:48 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:45: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-12 15:46:29 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:46:29 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 15:47:16 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:47:16 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-12 15:47:16 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:47:17 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:47:17 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:47:21 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:47:22 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:47:24 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:47:24 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:47:25 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:25 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-12 15:47:25 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:25 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-12 15:47:25 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:25 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/shadow' PASSED [ 53%] tests/integration_tests/modules/test_set_password.py::TestPasswordListString::test_random_passwords_set_correctly ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:26 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:26 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_explicit_password_set_correctly ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:26 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:26 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_shadow_expected_users ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:26 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:26 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-12 15:47:26 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:47:26 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-12 15:48:37 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:48:37 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config package_update: true snap: squashfuse_in_container: true commands: - snap install hello-world wait=False 2021-01-12 15:49:25 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:49: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-12 15:49:25 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:49:25 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:49:25 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:49:32 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:49:33 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:50:07 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:50:07 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:50:08 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:50:08 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'snap list' PASSED [ 59%] tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py::TestSshAuthkeyFingerprints::test_ssh_authkey_fingerprints_disable ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:51:19 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:51:19 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config no_ssh_fingerprints: true wait=False 2021-01-12 15:52:07 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:52:07 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-12 15:52:07 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:52:07 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:52:07 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:52:09 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:52:10 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:52:10 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:52:10 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:52:11 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:52:11 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' PASSED [ 60%] tests/integration_tests/modules/test_ssh_auth_key_fingerprints.py::TestSshAuthkeyFingerprints::test_ssh_authkey_fingerprints_enable ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:52:52 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:52:52 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 15:53:39 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:53:39 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-12 15:53:39 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:53:39 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:53:40 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:53:41 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:53:42 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:53:43 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:53:43 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:53:44 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:53:44 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/syslog' PASSED [ 61%] 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-12 15:54:25 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:54:25 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config ssh_genkeytypes: - ecdsa - ed25519 authkey_hash: sha512 wait=False 2021-01-12 15:55:13 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:55:13 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-12 15:55:13 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:55:13 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:55:13 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:55:15 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:55:16 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:55:16 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:55:16 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:55:17 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:55: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-12 15:55:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:55: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-12 15:55:17 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:55: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-12 15:55:18 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:55:18 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'test -e /etc/ssh/ssh_host_rsa_key' PASSED [ 66%] 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-12 15:55:18 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:55:18 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ecdsa_key.pub' PASSED [ 67%] tests/integration_tests/modules/test_ssh_generate.py::TestSshKeysGenerate::test_ssh_keys_generated[/etc/ssh/ssh_host_ecdsa_key] ------------------------------------------------------------------------------------------------------------------------------------- live log setup ------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:55:18 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:55:18 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-12 15:55:18 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:55:18 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-12 15:55:18 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:55:18 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-12 15:56:29 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:56:29 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config ssh_import_id: - gh:powersj - lp:smoser wait=False 2021-01-12 15:57:17 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:57: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-12 15:57:17 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:57:17 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:57:18 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:57:20 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:57:21 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:57:25 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:57:25 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:57:25 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:57: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-12 15:58:36 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:58:36 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 15:59:25 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:59: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-12 15:59:25 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:59:25 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:59:25 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:59:33 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:59:33 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:59:38 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:59:38 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:59:38 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:38 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_dsa_key.pub' PASSED [ 73%] 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-12 15:59:38 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:38 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-12 15:59:39 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:39 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-12 15:59:39 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:39 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-12 15:59:39 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:39 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-12 15:59:39 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:39 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/sshd_config' PASSED [ 79%] 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-12 15:59:39 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:39 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /etc/ssh/ssh_host_ecdsa_key.pub' PASSED [ 80%] 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-12 15:59:39 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:39 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-12 15:59:39 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:39 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-12 15:59:40 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:59:40 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-12 16:00:20 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 16:00:20 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config timezone: US/Aleutian wait=False 2021-01-12 16:01:08 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 16:01:08 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-12 16:01:08 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 16:01:08 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 16:01:08 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 16:01:11 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 16:01:11 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 16:01:12 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 16:01:12 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 16:01:13 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 16:01: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-12 16:02:24 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 16:02:24 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 16:03:11 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 16:03:11 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-12 16:03:12 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 16:03:12 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 16:03:12 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 16:03:13 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 16:03:14 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 16:03:15 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 16:03:15 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 16:03:15 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 16:03:15 INFO pycloudlib.instance:instance.py:166 executing: sudo -- getent group ubuntu PASSED [ 86%] 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-12 16:03:15 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 16:03:15 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-12 16:03:15 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 16:03:15 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-12 16:03:16 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 16:03:16 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-12 16:03:16 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 16:03:16 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-12 16:03:16 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 16:03:16 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-12 16:03:16 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 16:03:16 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-12 16:04:28 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 16:04:28 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image 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-12 16:05:46 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 16:05:46 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-12 16:05:46 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 16:05:46 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 16:05:46 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 16:05:53 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 16:05:54 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 16:05:59 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 16:05:59 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 16:06:00 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ------------------------------------------------------------------------------------------------------------------------------------- live log call -------------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 16:06:00 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'file /root/file_b64' PASSED [ 95%] tests/integration_tests/modules/test_write_files.py::TestWriteFiles::test_write_files[md5sum @pytest.mark.sru_2020_11 def test_datasource_rbx_no_stacktrace(client: IntegrationInstance): client.write_to_file( '/etc/cloud/cloud.cfg.d/90_dpkg.cfg', 'datasource_list: [ RbxCloud, NoCloud ]\n', ) client.write_to_file( '/etc/cloud/ds-identify.cfg', 'policy: enabled\n', ) client.execute('cloud-init clean --logs') client.restart() log = client.read_from_file('/var/log/cloud-init.log') > assert 'WARNING' not in log E AssertionError: assert 'WARNING' not in '2021-01-12 ... datasources' E 'WARNING' is contained here: E 2021-01-12 15:03:06,489 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) E 2021-01-12 15:03:06,490 - util.py[DEBUG]: Read 11 bytes from /proc/uptime E 2021-01-12 15:03:06,490 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) E 2021-01-12 15:03:06,490 - util.py[DEBUG]: Read 11 bytes from /proc/uptime E 2021-01-12 15:03:06,490 - util.py[DEBUG]: Cloud-init v. 20.4-0ubuntu1~18.04.2 running 'init-local' at Tue, 12 Jan 2021 15:03:06 +0000. Up 12.18 seconds. E 2021-01-12 15:03:06,490 - main.py[DEBUG]: No kernel command line url found.... E E ...Full output truncated (255 lines hidden), use '-vv' to show tests/integration_tests/bugs/test_gh632.py:26: AssertionError --------------------------------------------------------------------------------------------------------------------------------- Captured stdout setup ---------------------------------------------------------------------------------------------------------------------------------- Detected image: image_id=bionic os=ubuntu release=bionic Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=None wait=False None Launched instance: cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ----------------------------------------------------------------------------------------------------------------------------------- Captured log setup ----------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:00:51 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:00:51 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=None wait=False 2021-01-12 15:02:09 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:02: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-12 15:02:16 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:02:17 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:02:17 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:02:20 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:02:21 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:02:21 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:02:21 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:02:22 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ---------------------------------------------------------------------------------------------------------------------------------- Captured stdout call ---------------------------------------------------------------------------------------------------------------------------------- Instance restarted; waiting for boot ----------------------------------------------------------------------------------------------------------------------------------- Captured log call ------------------------------------------------------------------------------------------------------------------------------------ 2021-01-12 15:02:22 INFO paramiko.transport.sftp:sftp.py:158 [chan 4] Opened sftp connection (server version 3) 2021-01-12 15:02:22 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/21141f36-3566-4c5a-bb5e-47d0353d3e02.tmp /etc/cloud/cloud.cfg.d/90_dpkg.cfg' 2021-01-12 15:02:23 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'mv /var/tmp/a772a623-4640-481e-bed6-2731c8f622c2.tmp /etc/cloud/ds-identify.cfg' 2021-01-12 15:02:23 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init clean --logs' 2021-01-12 15:02:24 INFO integration_testing:instances.py:67 Instance restarted; waiting for boot 2021-01-12 15:02:24 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:02:24 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:02:24 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:02:47 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /var/log/cloud-init.log' 2021-01-12 15:02:47 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-12 15:02:47 INFO pycloudlib.instance:instance.py:336 [Errno None] Unable to connect to port 22 on 13.86.6.66 Retrying ssh connection 60 more time(s) to ubuntu@13.86.6.66:22 2021-01-12 15:03:12 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:03:12 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:03:13 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! -------------------------------------------------------------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------------------------------------------------------------- Writing logs to /tmp/cloud_init_test_logs/210112095132/tests/integration_tests/bugs/test_gh632/test_datasource_rbx_no_stacktrace --------------------------------------------------------------------------------------------------------------------------------- Captured log teardown ---------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:03:14 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init collect-logs -u -t /var/tmp/cloud-init.tar.gz' 2021-01-12 15:03:15 INFO integration_testing:conftest.py:177 Writing logs to /tmp/cloud_init_test_logs/210112095132/tests/integration_tests/bugs/test_gh632/test_datasource_rbx_no_stacktrace 2021-01-12 15:03:15 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cp /var/tmp/cloud-init.tar.gz /var/tmp/70d24bd1-d1c0-4d1e-9f06-89d15619d7cd.tmp' 2021-01-12 15:03:16 INFO paramiko.transport.sftp:sftp.py:158 [chan 3] Opened sftp connection (server version 3) ________________________________________________________________________________________________________________________ TestSeedRandomData.test_seed_random_data ________________________________________________________________________________________________________________________ self = , client = @pytest.mark.user_data(USER_DATA) def test_seed_random_data(self, client): seed_output = client.read_from_file("/root/seed") > assert seed_output.strip() == "MYUb34023nD:LFDK10913jk;dfnk:Df" E AssertionError: assert 'MYUb34023nD:...w+xUapDDU+A==' == 'MYUb34023nD:...913jk;dfnk:Df' E - MYUb34023nD:LFDK10913jk;dfnk:Df E + MYUb34023nD:LFDK10913jk;dfnk:DfT0VNMGQAAAABHFZSVFVBTE1JQ1JPU0ZUBxgAEk1TRlSXAAAAq5fT1IVHB+kRcmiCXmaFOyO/unNvX7gtg8uLxBrLkBzyyn8W94soOAViUidypovYow+M7JMmpFJw+xUapDDU+A== tests/integration_tests/modules/test_seed_random_data.py:28: AssertionError --------------------------------------------------------------------------------------------------------------------------------- Captured stdout setup ---------------------------------------------------------------------------------------------------------------------------------- Detected image: image_id=bionic os=ubuntu release=bionic Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config random_seed: data: 'MYUb34023nD:LFDK10913jk;dfnk:Df' encoding: raw file: /root/seed wait=False None Launched instance: cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ----------------------------------------------------------------------------------------------------------------------------------- Captured log setup ----------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:39:36 INFO integration_testing:clouds.py:73 Detected image: image_id=bionic os=ubuntu release=bionic 2021-01-12 15:39:36 INFO integration_testing:clouds.py:159 Launching instance with launch_kwargs: image_id=/subscriptions/9a37cc2c-dc4a-4097-84dd-45dd2b8cbc63/resourceGroups/azure-integration-test-0112-095132-rg/providers/Microsoft.Compute/images/azure-integration-test-0112-095542-image user_data=#cloud-config random_seed: data: 'MYUb34023nD:LFDK10913jk;dfnk:Df' encoding: raw file: /root/seed wait=False 2021-01-12 15:40:23 INFO pycloudlib.instance:instance.py:166 executing: sh -c whoami 2021-01-12 15:40: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-12 15:40:23 INFO paramiko.transport:transport.py:1819 Connected (version 2.0, client OpenSSH_7.6p1) 2021-01-12 15:40:24 INFO paramiko.transport:transport.py:1819 Authentication (publickey) failed. 2021-01-12 15:40:24 INFO paramiko.transport:transport.py:1819 Authentication (publickey) successful! 2021-01-12 15:40:25 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cloud-init status --help' 2021-01-12 15:40:26 INFO pycloudlib.instance:instance.py:166 executing: cloud-init status --wait --long 2021-01-12 15:40:26 INFO integration_testing:clouds.py:168 Launched instance: 2021-01-12 15:40:26 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init --version' 2021-01-12 15:40:27 INFO integration_testing:clouds.py:172 cloud-init version: /usr/bin/cloud-init 20.4-0ubuntu1~18.04.2 ----------------------------------------------------------------------------------------------------------------------------------- Captured log call ------------------------------------------------------------------------------------------------------------------------------------ 2021-01-12 15:40:27 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cat /root/seed' -------------------------------------------------------------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------------------------------------------------------------- Writing logs to /tmp/cloud_init_test_logs/210112095132/tests/integration_tests/modules/test_seed_random_data/TestSeedRandomData/test_seed_random_data --------------------------------------------------------------------------------------------------------------------------------- Captured log teardown ---------------------------------------------------------------------------------------------------------------------------------- 2021-01-12 15:40:27 INFO pycloudlib.instance:instance.py:166 executing: sudo -- sh -c 'cloud-init collect-logs -u -t /var/tmp/cloud-init.tar.gz' 2021-01-12 15:40:29 INFO integration_testing:conftest.py:177 Writing logs to /tmp/cloud_init_test_logs/210112095132/tests/integration_tests/modules/test_seed_random_data/TestSeedRandomData/test_seed_random_data 2021-01-12 15:40:29 INFO pycloudlib.instance:instance.py:166 executing: sh -c 'cp /var/tmp/cloud-init.tar.gz /var/tmp/42d25626-d6f3-4cfa-bc04-52e922a35a72.tmp' 2021-01-12 15:40:29 INFO paramiko.transport.sftp:sftp.py:158 [chan 7] Opened sftp connection (server version 3) ================================================================================================================================ short test summary info ================================================================================================================================= FAILED tests/integration_tests/bugs/test_gh632.py::test_datasource_rbx_no_stacktrace - AssertionError: assert 'WARNING' not in '2021-01-12 ... datasources' FAILED tests/integration_tests/modules/test_seed_random_data.py::TestSeedRandomData::test_seed_random_data - AssertionError: assert 'MYUb34023nD:...w+xUapDDU+A==' == 'MYUb34023nD:...913jk;dfnk:Df' ================================================================================================================== 2 failed, 74 passed, 8 skipped in 4542.07s (1:15:42) ==================================================================================================================