# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Oct 26 2022, 09:13:21) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_match.yml ****************************************************** 1 plays in /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml PLAY [Verify default packages as well as additional are installed] ************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:2 Sunday 12 February 2023 05:30:17 +0000 (0:00:00.054) 0:00:00.054 ******* ok: [sut] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:11 Sunday 12 February 2023 05:30:18 +0000 (0:00:01.223) 0:00:01.277 ******* included: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/backup.yml for sut TASK [Setup] ******************************************************************* task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/backup.yml:2 Sunday 12 February 2023 05:30:18 +0000 (0:00:00.063) 0:00:01.340 ******* included: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/setup.yml for sut TASK [Ensure facts used by test] *********************************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/setup.yml:2 Sunday 12 February 2023 05:30:19 +0000 (0:00:00.082) 0:00:01.423 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/setup.yml:7 Sunday 12 February 2023 05:30:19 +0000 (0:00:00.109) 0:00:01.532 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/backup.yml:5 Sunday 12 February 2023 05:30:20 +0000 (0:00:01.472) 0:00:03.005 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.1f8j03k1", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/backup.yml:13 Sunday 12 February 2023 05:30:21 +0000 (0:00:00.698) 0:00:03.704 ******* ok: [sut] => (item=/etc/ssh/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config.d/00-ansible.conf; then\n mkdir -p /tmp/ansible.1f8j03k1/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.1f8j03k1/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003896", "end": "2023-02-12 05:30:21.759991", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2023-02-12 05:30:21.756095" } ok: [sut] => (item=/etc/ssh/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config; then\n mkdir -p /tmp/ansible.1f8j03k1/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.1f8j03k1/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.015819", "end": "2023-02-12 05:30:22.043765", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2023-02-12 05:30:22.027946" } TASK [Run role] **************************************************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:14 Sunday 12 February 2023 05:30:22 +0000 (0:00:00.744) 0:00:04.448 ******* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Sunday 12 February 2023 05:30:22 +0000 (0:00:00.068) 0:00:04.517 ******* included: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for sut TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Sunday 12 February 2023 05:30:22 +0000 (0:00:00.055) 0:00:04.572 ******* ok: [sut] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Sunday 12 February 2023 05:30:22 +0000 (0:00:00.458) 0:00:05.031 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_9.yml) => { "ansible_facts": { "__ssh_defaults": { "Include": "/etc/ssh/ssh_config.d/*.conf" }, "__ssh_drop_in_name": "00-ansible", "__ssh_supports_drop_in": true }, "ansible_included_var_files": [ "/WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [sut] => (item=RedHat_9.2.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.2.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Sunday 12 February 2023 05:30:22 +0000 (0:00:00.127) 0:00:05.159 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.ssh : Gather information about the user for user configuration] *** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Sunday 12 February 2023 05:30:23 +0000 (0:00:01.014) 0:00:06.173 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions] *** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Sunday 12 February 2023 05:30:23 +0000 (0:00:00.060) 0:00:06.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Sunday 12 February 2023 05:30:23 +0000 (0:00:00.066) 0:00:06.300 ******* changed: [sut] => { "changed": true, "checksum": "2d52bd7a92154556a85b5648fae7b5c2c00ae1ff", "dest": "/etc/ssh/ssh_config.d/00-ansible.conf", "gid": 0, "group": "root", "md5sum": "fd6c6700f814034939d889b85fd00fed", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 172, "src": "/root/.ansible/tmp/ansible-tmp-1676179824.0549464-9158-196310729693825/source", "state": "file", "uid": 0 } TASK [Download the custom configuration file] ********************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:43 Sunday 12 February 2023 05:30:25 +0000 (0:00:01.644) 0:00:07.944 ******* ok: [sut] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCk1hdGNoIHVzZXIgdGVzdHVzZXIKICBDb21wcmVzc2lvbiB5ZXMKTWF0Y2ggaG9zdCBleGFtcGxlCiAgSG9zdG5hbWUgZXhhbXBsZS5jb20KSG9zdCBsb2NhbAogIFVzZXIgbG9jYWx1c2VyCkhvc3QgcmVtb3RlCiAgSG9zdG5hbWUgcmVtb3RlLmV4YW1wbGUuY29tCg==", "encoding": "base64", "source": "/etc/ssh/ssh_config.d/00-ansible.conf" } TASK [Verify the options are in the file] ************************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:48 Sunday 12 February 2023 05:30:26 +0000 (0:00:00.470) 0:00:08.415 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Run first ssh in test mode to evaluate the configuration] **************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:65 Sunday 12 February 2023 05:30:26 +0000 (0:00:00.144) 0:00:08.560 ******* ok: [sut] => { "changed": false, "cmd": [ "ssh", "-G", "testuser@example" ], "delta": "0:00:00.010983", "end": "2023-02-12 05:30:26.490274", "rc": 0, "start": "2023-02-12 05:30:26.479291" } STDOUT: user testuser hostname example.com port 22 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false checkhostip no compression yes controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardx11 no forwardx11trusted yes gatewayports no gssapiauthentication yes gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto sessiontype default stdinnull no forkafterauthentication no streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys true canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 requiredrsasize 2048 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512 casignaturealgorithms ecdsa-sha2-nistp256,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-256,rsa-sha2-512 loglevel INFO macs hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512 securitykeyprovider internal pubkeyacceptedalgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ecdsa_sk identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_ed25519_sk identityfile ~/.ssh/id_xmss canonicaldomains none globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile /root/.ssh/known_hosts /root/.ssh/known_hosts2 logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER STDERR: Pseudo-terminal will not be allocated because stdin is not a terminal. TASK [Run second ssh in test mode to evaluate the configuration] *************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:70 Sunday 12 February 2023 05:30:26 +0000 (0:00:00.353) 0:00:08.913 ******* ok: [sut] => { "changed": false, "cmd": [ "ssh", "-G", "local" ], "delta": "0:00:00.008544", "end": "2023-02-12 05:30:26.816725", "rc": 0, "start": "2023-02-12 05:30:26.808181" } STDOUT: user localuser hostname local port 22 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false checkhostip no compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardx11 no forwardx11trusted yes gatewayports no gssapiauthentication yes gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto sessiontype default stdinnull no forkafterauthentication no streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys true canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 requiredrsasize 2048 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512 casignaturealgorithms ecdsa-sha2-nistp256,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-256,rsa-sha2-512 loglevel INFO macs hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512 securitykeyprovider internal pubkeyacceptedalgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ecdsa_sk identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_ed25519_sk identityfile ~/.ssh/id_xmss canonicaldomains none globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile /root/.ssh/known_hosts /root/.ssh/known_hosts2 logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER STDERR: Pseudo-terminal will not be allocated because stdin is not a terminal. TASK [Run third ssh in test mode to evaluate the configuration] **************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:75 Sunday 12 February 2023 05:30:26 +0000 (0:00:00.317) 0:00:09.230 ******* ok: [sut] => { "changed": false, "cmd": [ "ssh", "-G", "remote" ], "delta": "0:00:00.008833", "end": "2023-02-12 05:30:27.176151", "rc": 0, "start": "2023-02-12 05:30:27.167318" } STDOUT: user root hostname remote.example.com port 22 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false checkhostip no compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardx11 no forwardx11trusted yes gatewayports no gssapiauthentication yes gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto sessiontype default stdinnull no forkafterauthentication no streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys true canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 requiredrsasize 2048 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512 casignaturealgorithms ecdsa-sha2-nistp256,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-256,rsa-sha2-512 loglevel INFO macs hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512 securitykeyprovider internal pubkeyacceptedalgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ecdsa_sk identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_ed25519_sk identityfile ~/.ssh/id_xmss canonicaldomains none globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile /root/.ssh/known_hosts /root/.ssh/known_hosts2 logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER STDERR: Pseudo-terminal will not be allocated because stdin is not a terminal. TASK [Verify the options are correctly evaluated] ****************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:80 Sunday 12 February 2023 05:30:27 +0000 (0:00:00.376) 0:00:09.606 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore configuration files] ********************************************* task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:96 Sunday 12 February 2023 05:30:27 +0000 (0:00:00.314) 0:00:09.921 ******* included: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/restore.yml for sut TASK [Restore backed up files and remove what was not present] ***************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/restore.yml:2 Sunday 12 February 2023 05:30:27 +0000 (0:00:00.064) 0:00:09.986 ******* ok: [sut] => (item=/etc/ssh/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.1f8j03k1//etc/ssh/ssh_config.d/00-ansible.conf; then\n cp /tmp/ansible.1f8j03k1//etc/ssh/ssh_config.d/00-ansible.conf $(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nelif test -f /etc/ssh/ssh_config.d/00-ansible.conf; then\n rm /etc/ssh/ssh_config.d/00-ansible.conf\nfi\n", "delta": "0:00:00.005003", "end": "2023-02-12 05:30:27.940911", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2023-02-12 05:30:27.935908" } ok: [sut] => (item=/etc/ssh/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.1f8j03k1//etc/ssh/ssh_config; then\n cp /tmp/ansible.1f8j03k1//etc/ssh/ssh_config $(dirname /etc/ssh/ssh_config)\nelif test -f /etc/ssh/ssh_config; then\n rm /etc/ssh/ssh_config\nfi\n", "delta": "0:00:00.006824", "end": "2023-02-12 05:30:28.196755", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2023-02-12 05:30:28.189931" } TASK [Remove temporary directory for backup files] ***************************** task path: /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/restore.yml:15 Sunday 12 February 2023 05:30:28 +0000 (0:00:00.627) 0:00:10.613 ******* ok: [sut] => { "changed": false, "path": "/tmp/ansible.1f8j03k1", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=20 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Sunday 12 February 2023 05:30:28 +0000 (0:00:00.608) 0:00:11.222 ******* =============================================================================== linux-system-roles.ssh : Generate the configuration file ---------------- 1.64s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Make sure openssh is installed before creating backup ------------------- 1.47s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/setup.yml:7 -------------- Gathering Facts --------------------------------------------------------- 1.22s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:2 -------------- linux-system-roles.ssh : Ensure required packages are installed --------- 1.01s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Backup files ------------------------------------------------------------ 0.74s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/backup.yml:13 ------------ Create a temporary directory for backup files --------------------------- 0.70s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/backup.yml:5 ------------- Restore backed up files and remove what was not present ----------------- 0.63s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/restore.yml:2 ------------ Remove temporary directory for backup files ----------------------------- 0.61s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/restore.yml:15 ----------- Download the custom configuration file ---------------------------------- 0.47s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:43 ------------- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.46s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Run third ssh in test mode to evaluate the configuration ---------------- 0.38s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:75 ------------- Run first ssh in test mode to evaluate the configuration ---------------- 0.35s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:65 ------------- Run second ssh in test mode to evaluate the configuration --------------- 0.32s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:70 ------------- Verify the options are correctly evaluated ------------------------------ 0.32s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:80 ------------- Verify the options are in the file -------------------------------------- 0.14s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:48 ------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.13s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Ensure facts used by test ----------------------------------------------- 0.11s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/setup.yml:2 -------------- Setup ------------------------------------------------------------------- 0.08s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tasks/backup.yml:2 ------------- Run role ---------------------------------------------------------------- 0.07s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/tests_match.yml:14 ------------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.07s /WORKDIR/dist-git-ssh-weekly-ci-mpuqd2gf/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---