# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_ipv6_disabled.yml' with nm as provider] **** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 01:25:04 +0000 (0:00:00.027) 0:00:00.027 *********** ok: [sut] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.833) 0:00:00.861 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.033) 0:00:00.894 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.040) 0:00:00.935 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 34] ********************************************************** Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.051) 0:00:00.986 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.025) 0:00:01.012 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.025) 0:00:01.037 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.024) 0:00:01.062 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.025) 0:00:01.087 *********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.029) 0:00:01.116 *********** ok: [sut] PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 01:25:06 +0000 (0:00:00.564) 0:00:01.681 *********** ok: [sut] TASK [set type=veth and interface=ethtest0] ************************************ Tuesday 31 May 2022 01:25:06 +0000 (0:00:00.563) 0:00:02.245 *********** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:25:06 +0000 (0:00:00.032) 0:00:02.277 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.039) 0:00:02.317 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.035) 0:00:02.352 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003555", "end": "2022-05-31 01:25:06.755688", "rc": 0, "start": "2022-05-31 01:25:06.752133" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.332) 0:00:02.685 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.030) 0:00:02.716 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.029) 0:00:02.745 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.049) 0:00:02.795 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.032) 0:00:02.828 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.032) 0:00:02.860 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.044) 0:00:02.905 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.039) 0:00:02.945 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003617", "end": "2022-05-31 01:25:07.270674", "rc": 0, "start": "2022-05-31 01:25:07.267057" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.257) 0:00:03.203 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.034) 0:00:03.237 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.035) 0:00:03.273 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** Tuesday 31 May 2022 01:25:10 +0000 (0:00:03.016) 0:00:06.290 *********** changed: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.067022", "end": "2022-05-31 01:25:10.722782", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-05-31 01:25:10.655760" } changed: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.003801", "end": "2022-05-31 01:25:10.981124", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-05-31 01:25:10.977323" } changed: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.006013", "end": "2022-05-31 01:25:11.210370", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-05-31 01:25:11.204357" } TASK [Set up veth as managed by NetworkManager] ******************************** Tuesday 31 May 2022 01:25:11 +0000 (0:00:00.852) 0:00:07.142 *********** changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.071526", "end": "2022-05-31 01:25:11.529489", "rc": 0, "start": "2022-05-31 01:25:11.457963" } TASK [Delete veth interface ethtest0] ****************************************** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.327) 0:00:07.469 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.039) 0:00:07.508 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.029) 0:00:07.538 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.028) 0:00:07.566 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.035) 0:00:07.601 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.030) 0:00:07.632 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.045) 0:00:07.677 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.037) 0:00:07.715 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1653960310.7157822, "block_size": 4096, "blocks": 0, "ctime": 1653960310.7157822, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24614, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1653960310.7157822, "nlink": 1, "path": "/sys/class/net/ethtest0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface ethtest0 is present] ******************************* Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.385) 0:00:08.101 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Initialize the connection_failed flag] *********************************** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.036) 0:00:08.137 *********** ok: [sut] => { "ansible_facts": { "connection_failed": false }, "changed": false } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.030) 0:00:08.168 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Tuesday 31 May 2022 01:25:13 +0000 (0:00:00.171) 0:00:08.339 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Tuesday 31 May 2022 01:25:13 +0000 (0:00:00.404) 0:00:08.744 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Tuesday 31 May 2022 01:25:15 +0000 (0:00:02.086) 0:00:10.831 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Tuesday 31 May 2022 01:25:16 +0000 (0:00:01.131) 0:00:11.962 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 01:25:16 +0000 (0:00:00.080) 0:00:12.042 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 01:25:16 +0000 (0:00:00.130) 0:00:12.173 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 01:25:16 +0000 (0:00:00.079) 0:00:12.253 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Tuesday 31 May 2022 01:25:17 +0000 (0:00:00.754) 0:00:13.008 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 01:25:17 +0000 (0:00:00.089) 0:00:13.097 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Tuesday 31 May 2022 01:25:17 +0000 (0:00:00.073) 0:00:13.171 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 01:25:17 +0000 (0:00:00.075) 0:00:13.246 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "interface_name": "ethtest0", "ip": { "ipv6_disabled": true }, "name": "ethtest0", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'ethtest0': add connection ethtest0, f8d3a9b9-1051-4f9c-8e51-b804c166dfa2 TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 01:25:18 +0000 (0:00:00.805) 0:00:14.052 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest0': add connection ethtest0, f8d3a9b9-1051-4f9c-8e51-b804c166dfa2" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 01:25:18 +0000 (0:00:00.076) 0:00:14.129 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "interface_name": "ethtest0", "ip": { "ipv6_disabled": true }, "name": "ethtest0", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'ethtest0': add connection ethtest0, f8d3a9b9-1051-4f9c-8e51-b804c166dfa2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'ethtest0': add connection ethtest0, f8d3a9b9-1051-4f9c-8e51-b804c166dfa2" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 01:25:18 +0000 (0:00:00.081) 0:00:14.211 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that configuring `ipv6_disabled` will only fail when the running version of NetworKManager does not support it] *** Tuesday 31 May 2022 01:25:19 +0000 (0:00:00.459) 0:00:14.670 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify nmcli connection ipv6.method] ************************************* Tuesday 31 May 2022 01:25:19 +0000 (0:00:00.073) 0:00:14.744 *********** ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nnmcli connection show ethtest0 | grep ipv6.method\n", "delta": "0:00:00.024183", "end": "2022-05-31 01:25:19.083635", "rc": 0, "start": "2022-05-31 01:25:19.059452" } STDOUT: ipv6.method: disabled STDERR: + nmcli connection show ethtest0 + grep ipv6.method TASK [Assert that ipv6.method disabled is configured correctly] **************** Tuesday 31 May 2022 01:25:19 +0000 (0:00:00.310) 0:00:15.054 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [set the connection_failed flag] ****************************************** Tuesday 31 May 2022 01:25:19 +0000 (0:00:00.076) 0:00:15.131 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 01:25:19 +0000 (0:00:00.087) 0:00:15.218 *********** ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 01:25:20 +0000 (0:00:00.604) 0:00:15.823 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Tuesday 31 May 2022 01:25:20 +0000 (0:00:00.127) 0:00:15.950 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Tuesday 31 May 2022 01:25:21 +0000 (0:00:00.468) 0:00:16.419 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Tuesday 31 May 2022 01:25:23 +0000 (0:00:01.946) 0:00:18.365 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Tuesday 31 May 2022 01:25:23 +0000 (0:00:00.822) 0:00:19.188 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 01:25:23 +0000 (0:00:00.074) 0:00:19.263 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 01:25:24 +0000 (0:00:00.127) 0:00:19.390 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 01:25:24 +0000 (0:00:00.084) 0:00:19.474 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Tuesday 31 May 2022 01:25:24 +0000 (0:00:00.512) 0:00:19.987 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 01:25:24 +0000 (0:00:00.087) 0:00:20.074 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Tuesday 31 May 2022 01:25:24 +0000 (0:00:00.078) 0:00:20.152 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 01:25:24 +0000 (0:00:00.089) 0:00:20.241 *********** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 01:25:25 +0000 (0:00:00.591) 0:00:20.832 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 01:25:25 +0000 (0:00:00.086) 0:00:20.919 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 01:25:25 +0000 (0:00:00.084) 0:00:21.004 *********** ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 01:25:26 +0000 (0:00:00.302) 0:00:21.307 *********** ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 01:25:26 +0000 (0:00:00.606) 0:00:21.914 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Tuesday 31 May 2022 01:25:26 +0000 (0:00:00.128) 0:00:22.042 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Tuesday 31 May 2022 01:25:27 +0000 (0:00:00.467) 0:00:22.510 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Tuesday 31 May 2022 01:25:29 +0000 (0:00:01.944) 0:00:24.454 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Tuesday 31 May 2022 01:25:29 +0000 (0:00:00.821) 0:00:25.276 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 01:25:30 +0000 (0:00:00.072) 0:00:25.349 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 01:25:30 +0000 (0:00:00.128) 0:00:25.478 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 01:25:30 +0000 (0:00:00.077) 0:00:25.556 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Tuesday 31 May 2022 01:25:30 +0000 (0:00:00.501) 0:00:26.058 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 01:25:30 +0000 (0:00:00.090) 0:00:26.148 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Tuesday 31 May 2022 01:25:30 +0000 (0:00:00.074) 0:00:26.223 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 01:25:30 +0000 (0:00:00.070) 0:00:26.293 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 01:25:31 +0000 (0:00:00.597) 0:00:26.890 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 01:25:31 +0000 (0:00:00.077) 0:00:26.968 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 01:25:31 +0000 (0:00:00.081) 0:00:27.050 *********** ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Delete the interface, then assert that device and profile are absent] **** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 01:25:32 +0000 (0:00:00.293) 0:00:27.343 *********** ok: [sut] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:25:32 +0000 (0:00:00.620) 0:00:27.964 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/delete_interface.yml for sut TASK [remove test interface if necessary] ************************************** Tuesday 31 May 2022 01:25:32 +0000 (0:00:00.127) 0:00:28.092 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012662", "end": "2022-05-31 01:25:32.421894", "rc": 0, "start": "2022-05-31 01:25:32.409232" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:25:33 +0000 (0:00:00.309) 0:00:28.402 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 01:25:33 +0000 (0:00:00.126) 0:00:28.528 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Tuesday 31 May 2022 01:25:33 +0000 (0:00:00.130) 0:00:28.659 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* Tuesday 31 May 2022 01:25:33 +0000 (0:00:00.076) 0:00:28.736 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Tuesday 31 May 2022 01:25:33 +0000 (0:00:00.329) 0:00:29.065 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Tuesday 31 May 2022 01:25:33 +0000 (0:00:00.082) 0:00:29.148 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.020890", "end": "2022-05-31 01:25:33.493440", "rc": 1, "start": "2022-05-31 01:25:33.472550" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Tuesday 31 May 2022 01:25:34 +0000 (0:00:00.316) 0:00:29.464 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** Tuesday 31 May 2022 01:25:34 +0000 (0:00:00.075) 0:00:29.539 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** Tuesday 31 May 2022 01:25:34 +0000 (0:00:00.072) 0:00:29.612 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** Tuesday 31 May 2022 01:25:34 +0000 (0:00:00.073) 0:00:29.685 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:25:34 +0000 (0:00:00.082) 0:00:29.767 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 01:25:34 +0000 (0:00:00.121) 0:00:29.889 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** Tuesday 31 May 2022 01:25:34 +0000 (0:00:00.123) 0:00:30.013 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** Tuesday 31 May 2022 01:25:35 +0000 (0:00:00.307) 0:00:30.320 *********** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=73 changed=4 unreachable=0 failed=0 skipped=33 rescued=0 ignored=1 Tuesday 31 May 2022 01:25:35 +0000 (0:00:00.029) 0:00:30.350 *********** =============================================================================== Install iproute --------------------------------------------------------- 3.02s linux-system-roles.network : Check which services are running ----------- 2.09s linux-system-roles.network : Check which services are running ----------- 1.95s linux-system-roles.network : Check which services are running ----------- 1.94s linux-system-roles.network : Check which packages are installed --------- 1.13s Create veth interface ethtest0 ------------------------------------------ 0.85s Gathering Facts --------------------------------------------------------- 0.83s linux-system-roles.network : Check which packages are installed --------- 0.82s linux-system-roles.network : Check which packages are installed --------- 0.82s linux-system-roles.network : Configure networking connection profiles --- 0.81s linux-system-roles.network : Enable and start NetworkManager ------------ 0.75s Gathering Facts --------------------------------------------------------- 0.62s Gathering Facts --------------------------------------------------------- 0.61s Gathering Facts --------------------------------------------------------- 0.60s linux-system-roles.network : Configure networking connection profiles --- 0.60s linux-system-roles.network : Configure networking connection profiles --- 0.59s Gathering Facts --------------------------------------------------------- 0.56s Gathering Facts --------------------------------------------------------- 0.56s linux-system-roles.network : Enable and start NetworkManager ------------ 0.51s linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s ---^---^---^---^---^--- # 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 ---^---^---^---^---^---