ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmposyp_ghn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpwwh795q9/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpwwh795q9/tests/_backup.yml:6 Wednesday 03 August 2022 15:20:00 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659539999.753029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659539999.754029, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539895.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3547090184", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpwwh795q9/tests/_backup.yml:13 Wednesday 03 August 2022 15:20:01 +0000 (0:00:00.590) 0:00:00.608 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 13422, 'dev': 64516, 'nlink': 1, 'atime': 1659539999.753029, 'mtime': 1659539895.0, 'ctime': 1659539999.754029, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3547090184', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659539999.753029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659539999.754029, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539895.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3547090184", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpwwh795q9/tests/_backup.yml:19 Wednesday 03 August 2022 15:20:01 +0000 (0:00:00.034) 0:00:00.643 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004495", "end": "2022-08-03 11:20:01.533834", "rc": 0, "start": "2022-08-03 11:20:01.529339" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:20:02 +0000 (0:00:00.525) 0:00:01.169 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.53s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpwwh795q9/tests/_backup.yml:13 ----------------------------------------- statically imported: /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpwwh795q9/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_nm.yml **************************************************** 2 plays in /tmp/tmpwwh795q9/tests/tests_bond_nm.yml PLAY [Run playbook 'playbooks/tests_bond.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/tests_bond_nm.yml:5 Wednesday 03 August 2022 15:20:02 +0000 (0:00:00.069) 0:00:01.238 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tests_bond_nm.yml:8 Wednesday 03 August 2022 15:20:03 +0000 (0:00:01.044) 0:00:02.282 ****** included: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml for /cache/rhel-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:20:03 +0000 (0:00:00.028) 0:00:02.311 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:20:03 +0000 (0:00:00.022) 0:00:02.333 ****** included: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml for /cache/rhel-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:20:03 +0000 (0:00:00.029) 0:00:02.363 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:20:03 +0000 (0:00:00.022) 0:00:02.385 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:20:03 +0000 (0:00:00.020) 0:00:02.405 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:20:03 +0000 (0:00:00.019) 0:00:02.425 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpwwh795q9/tests/tests_bond_nm.yml:9 Wednesday 03 August 2022 15:20:03 +0000 (0:00:00.022) 0:00:02.448 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:3 Wednesday 03 August 2022 15:20:03 +0000 (0:00:00.048) 0:00:02.496 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:12 Wednesday 03 August 2022 15:20:04 +0000 (0:00:00.796) 0:00:03.293 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 15:20:04 +0000 (0:00:00.033) 0:00:03.326 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 15:20:05 +0000 (0:00:01.069) 0:00:04.395 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 15:20:05 +0000 (0:00:00.027) 0:00:04.423 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 15:20:06 +0000 (0:00:00.831) 0:00:05.255 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.154275", "end": "2022-08-03 11:20:07.155692", "rc": 0, "start": "2022-08-03 11:20:06.001417" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:20:07 +0000 (0:00:01.536) 0:00:06.792 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:20:07 +0000 (0:00:00.035) 0:00:06.827 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540006.005778, "block_size": 4096, "blocks": 0, "ctime": 1659540006.005778, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23382, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test1", "lnk_target": "../../devices/virtual/net/test1", "mode": "0777", "mtime": 1659540006.005778, "nlink": 1, "path": "/sys/class/net/test1", "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 test1 is present] ********************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:20:08 +0000 (0:00:00.373) 0:00:07.200 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:20:08 +0000 (0:00:00.034) 0:00:07.235 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:20:08 +0000 (0:00:00.030) 0:00:07.266 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540006.01216, "block_size": 4096, "blocks": 0, "ctime": 1659540006.01216, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23638, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test2", "lnk_target": "../../devices/virtual/net/test2", "mode": "0777", "mtime": 1659540006.01216, "nlink": 1, "path": "/sys/class/net/test2", "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 test2 is present] ********************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:20:08 +0000 (0:00:00.400) 0:00:07.666 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:22 Wednesday 03 August 2022 15:20:08 +0000 (0:00:00.034) 0:00:07.700 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:27 Wednesday 03 August 2022 15:20:08 +0000 (0:00:00.021) 0:00:07.722 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:20:08 +0000 (0:00:00.030) 0:00:07.752 ****** included: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:20:08 +0000 (0:00:00.032) 0:00:07.784 ****** ok: [/cache/rhel-9.qcow2.snap] => { "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] *********** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:20:09 +0000 (0:00:00.532) 0:00:08.317 ****** ok: [/cache/rhel-9.qcow2.snap] => { "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] ********* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:20:10 +0000 (0:00:01.740) 0:00:10.057 ****** ok: [/cache/rhel-9.qcow2.snap] => { "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] ********************* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:20:11 +0000 (0:00:00.973) 0:00:11.031 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:20:11 +0000 (0:00:00.046) 0:00:11.078 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:20:11 +0000 (0:00:00.045) 0:00:11.123 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:20:12 +0000 (0:00:00.040) 0:00:11.163 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:20:12 +0000 (0:00:00.075) 0:00:11.239 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:20:12 +0000 (0:00:00.039) 0:00:11.279 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:20:12 +0000 (0:00:00.039) 0:00:11.319 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:20:12 +0000 (0:00:00.061) 0:00:11.380 ****** ok: [/cache/rhel-9.qcow2.snap] => { "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] ************ task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:20:13 +0000 (0:00:00.837) 0:00:12.218 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:20:13 +0000 (0:00:00.058) 0:00:12.277 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "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] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:20:13 +0000 (0:00:00.036) 0:00:12.313 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:20:13 +0000 (0:00:00.036) 0:00:12.350 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 752a0680-560e-4d35-84bf-7748c9596861 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 5e6d8d1b-2bf5-4213-861a-001928614a24 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 5cf8d52c-e779-4405-87f7-83c86823985b [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 752a0680-560e-4d35-84bf-7748c9596861 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 5e6d8d1b-2bf5-4213-861a-001928614a24 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 5cf8d52c-e779-4405-87f7-83c86823985b (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:20:14 +0000 (0:00:00.848) 0:00:13.198 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:20:14 +0000 (0:00:00.041) 0:00:13.239 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 752a0680-560e-4d35-84bf-7748c9596861", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 5e6d8d1b-2bf5-4213-861a-001928614a24", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 5cf8d52c-e779-4405-87f7-83c86823985b", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 752a0680-560e-4d35-84bf-7748c9596861 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 5e6d8d1b-2bf5-4213-861a-001928614a24 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 5cf8d52c-e779-4405-87f7-83c86823985b (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:20:14 +0000 (0:00:00.046) 0:00:13.286 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 752a0680-560e-4d35-84bf-7748c9596861\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 5e6d8d1b-2bf5-4213-861a-001928614a24\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 5cf8d52c-e779-4405-87f7-83c86823985b\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 752a0680-560e-4d35-84bf-7748c9596861 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 5e6d8d1b-2bf5-4213-861a-001928614a24 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 5cf8d52c-e779-4405-87f7-83c86823985b (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 752a0680-560e-4d35-84bf-7748c9596861", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 5e6d8d1b-2bf5-4213-861a-001928614a24", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 5cf8d52c-e779-4405-87f7-83c86823985b", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 752a0680-560e-4d35-84bf-7748c9596861 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 5e6d8d1b-2bf5-4213-861a-001928614a24 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 5cf8d52c-e779-4405-87f7-83c86823985b (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:20:14 +0000 (0:00:00.047) 0:00:13.334 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:20:14 +0000 (0:00:00.037) 0:00:13.371 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:20:14 +0000 (0:00:00.565) 0:00:13.936 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:20:14 +0000 (0:00:00.058) 0:00:13.995 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540013.4376569, "block_size": 4096, "blocks": 0, "ctime": 1659540013.4376569, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23971, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1659540013.4376569, "nlink": 1, "path": "/sys/class/net/nm-bond", "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 nm-bond is present] ******************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:20:15 +0000 (0:00:00.376) 0:00:14.371 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:58 Wednesday 03 August 2022 15:20:15 +0000 (0:00:00.048) 0:00:14.420 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-9.qcow2.snap => (item=bond0) included: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-9.qcow2.snap => (item=bond0.0) included: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-9.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:20:15 +0000 (0:00:00.075) 0:00:14.495 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:20:15 +0000 (0:00:00.057) 0:00:14.552 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:20:15 +0000 (0:00:00.045) 0:00:14.598 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540013.435029, "block_size": 4096, "blocks": 8, "ctime": 1659540013.435029, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16810584, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540013.435029, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:20:15 +0000 (0:00:00.392) 0:00:14.990 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:20:15 +0000 (0:00:00.047) 0:00:15.038 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.020500", "end": "2022-08-03 11:20:15.792576", "rc": 0, "start": "2022-08-03 11:20:15.772076" } STDOUT: bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:20:16 +0000 (0:00:00.397) 0:00:15.436 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:20:16 +0000 (0:00:00.050) 0:00:15.486 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:20:16 +0000 (0:00:00.037) 0:00:15.523 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:20:16 +0000 (0:00:00.037) 0:00:15.561 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:20:16 +0000 (0:00:00.049) 0:00:15.611 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:20:16 +0000 (0:00:00.046) 0:00:15.657 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:20:16 +0000 (0:00:00.057) 0:00:15.715 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:20:16 +0000 (0:00:00.045) 0:00:15.760 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540013.4500291, "block_size": 4096, "blocks": 8, "ctime": 1659540013.4500291, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17263005, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540013.4500291, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.390) 0:00:16.151 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.049) 0:00:16.200 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.019529", "end": "2022-08-03 11:20:16.947338", "rc": 0, "start": "2022-08-03 11:20:16.927809" } STDOUT: bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.387) 0:00:16.588 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.049) 0:00:16.638 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.075) 0:00:16.713 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.039) 0:00:16.752 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.050) 0:00:16.803 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.048) 0:00:16.851 ****** included: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.066) 0:00:16.917 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:20:17 +0000 (0:00:00.046) 0:00:16.964 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540013.4590292, "block_size": 4096, "blocks": 8, "ctime": 1659540013.4590292, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17263006, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540013.4590292, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:20:18 +0000 (0:00:00.391) 0:00:17.355 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:20:18 +0000 (0:00:00.051) 0:00:17.406 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.020184", "end": "2022-08-03 11:20:18.158575", "rc": 0, "start": "2022-08-03 11:20:18.138391" } STDOUT: bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:20:18 +0000 (0:00:00.394) 0:00:17.801 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:20:18 +0000 (0:00:00.049) 0:00:17.850 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:20:18 +0000 (0:00:00.039) 0:00:17.890 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:20:18 +0000 (0:00:00.037) 0:00:17.927 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:20:18 +0000 (0:00:00.050) 0:00:17.977 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:65 Wednesday 03 August 2022 15:20:18 +0000 (0:00:00.047) 0:00:18.025 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/nm-bond" ], "delta": "0:00:00.003150", "end": "2022-08-03 11:20:18.812662", "rc": 0, "start": "2022-08-03 11:20:18.809512" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:70 Wednesday 03 August 2022 15:20:19 +0000 (0:00:00.429) 0:00:18.454 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003585", "end": "2022-08-03 11:20:19.192513", "rc": 0, "start": "2022-08-03 11:20:19.188928" } STDOUT: 18: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.203/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 237sec preferred_lft 237sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:76 Wednesday 03 August 2022 15:20:19 +0000 (0:00:00.383) 0:00:18.838 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.002916", "end": "2022-08-03 11:20:19.570377", "rc": 0, "start": "2022-08-03 11:20:19.567461" } STDOUT: 18: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::3100:66c2:382:8cda/64 scope global tentative dynamic noprefixroute valid_lft 1801sec preferred_lft 1801sec inet6 fe80::2100:93cd:228e:7712/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:20:20 +0000 (0:00:00.376) 0:00:19.215 ****** included: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:20:20 +0000 (0:00:00.060) 0:00:19.275 ****** ok: [/cache/rhel-9.qcow2.snap] => { "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] *********** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:20:20 +0000 (0:00:00.536) 0:00:19.811 ****** ok: [/cache/rhel-9.qcow2.snap] => { "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] ********* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:20:22 +0000 (0:00:01.542) 0:00:21.354 ****** ok: [/cache/rhel-9.qcow2.snap] => { "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] ********************* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:20:22 +0000 (0:00:00.696) 0:00:22.050 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:20:22 +0000 (0:00:00.046) 0:00:22.096 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:20:23 +0000 (0:00:00.038) 0:00:22.135 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:20:23 +0000 (0:00:00.040) 0:00:22.175 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:20:23 +0000 (0:00:00.074) 0:00:22.250 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:20:23 +0000 (0:00:00.041) 0:00:22.292 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:20:23 +0000 (0:00:00.041) 0:00:22.333 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:20:23 +0000 (0:00:00.113) 0:00:22.446 ****** ok: [/cache/rhel-9.qcow2.snap] => { "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] ************ task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:20:23 +0000 (0:00:00.566) 0:00:23.012 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:20:23 +0000 (0:00:00.054) 0:00:23.066 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "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] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:20:23 +0000 (0:00:00.034) 0:00:23.101 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:20:24 +0000 (0:00:00.033) 0:00:23.135 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:20:24 +0000 (0:00:00.841) 0:00:23.976 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:20:24 +0000 (0:00:00.041) 0:00:24.018 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:20:24 +0000 (0:00:00.051) 0:00:24.069 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:20:24 +0000 (0:00:00.048) 0:00:24.118 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:20:25 +0000 (0:00:00.040) 0:00:24.159 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:99 Wednesday 03 August 2022 15:20:25 +0000 (0:00:00.429) 0:00:24.588 ****** fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.008624", "end": "2022-08-03 11:20:25.343537", "rc": 1, "start": "2022-08-03 11:20:25.334913" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 15:20:25 +0000 (0:00:00.396) 0:00:24.985 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.076150", "end": "2022-08-03 11:20:25.799593", "rc": 0, "start": "2022-08-03 11:20:25.723443" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 15:20:26 +0000 (0:00:00.458) 0:00:25.444 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.014068", "end": "2022-08-03 11:20:26.191653", "rc": 0, "start": "2022-08-03 11:20:26.177585" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:102 Wednesday 03 August 2022 15:20:26 +0000 (0:00:00.391) 0:00:25.835 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=75 changed=7 unreachable=0 failed=0 skipped=36 rescued=0 ignored=1 Wednesday 03 August 2022 15:20:26 +0000 (0:00:00.057) 0:00:25.893 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.74s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.54s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.54s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install dnsmasq --------------------------------------------------------- 1.07s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpwwh795q9/tests/tests_bond_nm.yml:5 ------------------------------------ linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.84s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.84s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Install pgrep, sysctl --------------------------------------------------- 0.83s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:3 ----------------------------- linux-system-roles.network : Check which packages are installed --------- 0.70s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 0.57s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Back up system files ---------------------------------------------------- 0.53s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- Remove test interfaces -------------------------------------------------- 0.46s /tmp/tmpwwh795q9/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Re-test connectivity ----------------------- 0.43s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpwwh795q9/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpwwh795q9/tests/_restore.yml:4 Wednesday 03 August 2022 15:20:26 +0000 (0:00:00.045) 0:00:25.939 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005742", "end": "2022-08-03 11:20:26.684864", "rc": 0, "start": "2022-08-03 11:20:26.679122" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=76 changed=8 unreachable=0 failed=0 skipped=36 rescued=0 ignored=1 Wednesday 03 August 2022 15:20:27 +0000 (0:00:00.440) 0:00:26.379 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.74s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.54s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.54s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install dnsmasq --------------------------------------------------------- 1.07s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpwwh795q9/tests/tests_bond_nm.yml:5 ------------------------------------ linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.84s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.84s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Install pgrep, sysctl --------------------------------------------------- 0.83s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpwwh795q9/tests/playbooks/tests_bond.yml:3 ----------------------------- linux-system-roles.network : Check which packages are installed --------- 0.70s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 0.57s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Back up system files ---------------------------------------------------- 0.53s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- Remove test interfaces -------------------------------------------------- 0.46s /tmp/tmpwwh795q9/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 - Restore system files ---------------------------------------------------- 0.44s /tmp/tmpwwh795q9/tests/_restore.yml:4 ----------------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmposyp_ghn executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp1gs4m1jh/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 Wednesday 03 August 2022 15:39:05 +0000 (0:00:00.019) 0:00:00.019 ****** ok: [/cache/rhel-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659541143.724115, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541143.724115, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659541026.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3192380614", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 Wednesday 03 August 2022 15:39:05 +0000 (0:00:00.576) 0:00:00.596 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 13422, 'dev': 64516, 'nlink': 1, 'atime': 1659541143.724115, 'mtime': 1659541026.0, 'ctime': 1659541143.724115, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3192380614', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659541143.724115, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541143.724115, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659541026.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3192380614", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 Wednesday 03 August 2022 15:39:05 +0000 (0:00:00.038) 0:00:00.634 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003782", "end": "2022-08-03 11:39:05.488362", "rc": 0, "start": "2022-08-03 11:39:05.484580" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:39:06 +0000 (0:00:00.506) 0:00:01.140 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 --------------------------------- statically imported: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_nm.yml **************************************************** 2 plays in /tmp/tmp1gs4m1jh/tests/network/tests_bond_nm.yml PLAY [Run playbook 'playbooks/tests_bond.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/tests_bond_nm.yml:5 Wednesday 03 August 2022 15:39:06 +0000 (0:00:00.080) 0:00:01.221 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tests_bond_nm.yml:8 Wednesday 03 August 2022 15:39:07 +0000 (0:00:01.046) 0:00:02.267 ****** included: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml for /cache/rhel-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:39:07 +0000 (0:00:00.027) 0:00:02.295 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:39:07 +0000 (0:00:00.021) 0:00:02.317 ****** included: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml for /cache/rhel-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:39:07 +0000 (0:00:00.030) 0:00:02.347 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:39:07 +0000 (0:00:00.022) 0:00:02.370 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:39:07 +0000 (0:00:00.021) 0:00:02.391 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:39:07 +0000 (0:00:00.021) 0:00:02.413 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tests_bond_nm.yml:9 Wednesday 03 August 2022 15:39:07 +0000 (0:00:00.021) 0:00:02.434 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:3 Wednesday 03 August 2022 15:39:07 +0000 (0:00:00.053) 0:00:02.488 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:12 Wednesday 03 August 2022 15:39:08 +0000 (0:00:00.817) 0:00:03.305 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 15:39:08 +0000 (0:00:00.031) 0:00:03.337 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 15:39:09 +0000 (0:00:01.043) 0:00:04.380 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 15:39:09 +0000 (0:00:00.037) 0:00:04.418 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 15:39:10 +0000 (0:00:00.836) 0:00:05.254 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.144627", "end": "2022-08-03 11:39:11.103734", "rc": 0, "start": "2022-08-03 11:39:09.959107" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:39:11 +0000 (0:00:01.503) 0:00:06.757 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:39:11 +0000 (0:00:00.034) 0:00:06.792 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541149.9643283, "block_size": 4096, "blocks": 0, "ctime": 1659541149.9643283, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23382, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test1", "lnk_target": "../../devices/virtual/net/test1", "mode": "0777", "mtime": 1659541149.9643283, "nlink": 1, "path": "/sys/class/net/test1", "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 test1 is present] ********************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:39:12 +0000 (0:00:00.391) 0:00:07.184 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:39:12 +0000 (0:00:00.034) 0:00:07.219 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:39:12 +0000 (0:00:00.032) 0:00:07.252 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541149.9704115, "block_size": 4096, "blocks": 0, "ctime": 1659541149.9704115, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23638, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/test2", "lnk_target": "../../devices/virtual/net/test2", "mode": "0777", "mtime": 1659541149.9704115, "nlink": 1, "path": "/sys/class/net/test2", "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 test2 is present] ********************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:39:12 +0000 (0:00:00.403) 0:00:07.655 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:22 Wednesday 03 August 2022 15:39:12 +0000 (0:00:00.035) 0:00:07.691 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:27 Wednesday 03 August 2022 15:39:12 +0000 (0:00:00.021) 0:00:07.712 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:39:12 +0000 (0:00:00.033) 0:00:07.745 ****** included: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:39:12 +0000 (0:00:00.036) 0:00:07.782 ****** ok: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:39:13 +0000 (0:00:00.555) 0:00:08.337 ****** ok: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:39:15 +0000 (0:00:01.745) 0:00:10.083 ****** ok: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:39:16 +0000 (0:00:00.993) 0:00:11.076 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:39:16 +0000 (0:00:00.048) 0:00:11.125 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:39:16 +0000 (0:00:00.040) 0:00:11.166 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:39:16 +0000 (0:00:00.038) 0:00:11.204 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:39:16 +0000 (0:00:00.076) 0:00:11.280 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:39:16 +0000 (0:00:00.040) 0:00:11.321 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:39:16 +0000 (0:00:00.041) 0:00:11.362 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:39:16 +0000 (0:00:00.061) 0:00:11.424 ****** ok: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:39:17 +0000 (0:00:00.874) 0:00:12.298 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:39:17 +0000 (0:00:00.062) 0:00:12.360 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:39:17 +0000 (0:00:00.037) 0:00:12.398 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:39:17 +0000 (0:00:00.035) 0:00:12.433 ****** changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b9c999c0-28a0-4284-978d-91e0ce60b103 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4c74ae01-b98c-48bf-a000-d9d3d4f06cec [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 95ee0b9a-5a6f-4ba8-afec-b70b0bd25e92 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b9c999c0-28a0-4284-978d-91e0ce60b103 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4c74ae01-b98c-48bf-a000-d9d3d4f06cec (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 95ee0b9a-5a6f-4ba8-afec-b70b0bd25e92 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:39:18 +0000 (0:00:00.809) 0:00:13.242 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:39:18 +0000 (0:00:00.041) 0:00:13.284 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b9c999c0-28a0-4284-978d-91e0ce60b103", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4c74ae01-b98c-48bf-a000-d9d3d4f06cec", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 95ee0b9a-5a6f-4ba8-afec-b70b0bd25e92", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b9c999c0-28a0-4284-978d-91e0ce60b103 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4c74ae01-b98c-48bf-a000-d9d3d4f06cec (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 95ee0b9a-5a6f-4ba8-afec-b70b0bd25e92 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:39:18 +0000 (0:00:00.047) 0:00:13.332 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b9c999c0-28a0-4284-978d-91e0ce60b103\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4c74ae01-b98c-48bf-a000-d9d3d4f06cec\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 95ee0b9a-5a6f-4ba8-afec-b70b0bd25e92\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b9c999c0-28a0-4284-978d-91e0ce60b103 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4c74ae01-b98c-48bf-a000-d9d3d4f06cec (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 95ee0b9a-5a6f-4ba8-afec-b70b0bd25e92 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b9c999c0-28a0-4284-978d-91e0ce60b103", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4c74ae01-b98c-48bf-a000-d9d3d4f06cec", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 95ee0b9a-5a6f-4ba8-afec-b70b0bd25e92", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b9c999c0-28a0-4284-978d-91e0ce60b103 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4c74ae01-b98c-48bf-a000-d9d3d4f06cec (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 95ee0b9a-5a6f-4ba8-afec-b70b0bd25e92 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:39:18 +0000 (0:00:00.046) 0:00:13.379 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:39:18 +0000 (0:00:00.041) 0:00:13.420 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:39:19 +0000 (0:00:00.527) 0:00:13.947 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-9.qcow2.snap TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:39:19 +0000 (0:00:00.091) 0:00:14.038 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541157.4729042, "block_size": 4096, "blocks": 0, "ctime": 1659541157.4729042, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23971, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1659541157.4729042, "nlink": 1, "path": "/sys/class/net/nm-bond", "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 nm-bond is present] ******************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:39:19 +0000 (0:00:00.385) 0:00:14.424 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:58 Wednesday 03 August 2022 15:39:19 +0000 (0:00:00.051) 0:00:14.476 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-9.qcow2.snap => (item=bond0) included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-9.qcow2.snap => (item=bond0.0) included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-9.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:39:19 +0000 (0:00:00.079) 0:00:14.555 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:39:19 +0000 (0:00:00.061) 0:00:14.617 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:39:19 +0000 (0:00:00.049) 0:00:14.666 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541157.470115, "block_size": 4096, "blocks": 8, "ctime": 1659541157.470115, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17263005, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659541157.470115, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.384) 0:00:15.051 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.051) 0:00:15.102 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.019340", "end": "2022-08-03 11:39:19.836702", "rc": 0, "start": "2022-08-03 11:39:19.817362" } STDOUT: bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.396) 0:00:15.499 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.114) 0:00:15.613 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.039) 0:00:15.653 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.036) 0:00:15.690 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.051) 0:00:15.741 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.049) 0:00:15.791 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.061) 0:00:15.852 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:39:20 +0000 (0:00:00.047) 0:00:15.900 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541157.490115, "block_size": 4096, "blocks": 8, "ctime": 1659541157.490115, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17263006, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659541157.490115, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:39:21 +0000 (0:00:00.388) 0:00:16.288 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:39:21 +0000 (0:00:00.050) 0:00:16.339 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.020607", "end": "2022-08-03 11:39:21.088412", "rc": 0, "start": "2022-08-03 11:39:21.067805" } STDOUT: bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:39:21 +0000 (0:00:00.411) 0:00:16.750 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:39:21 +0000 (0:00:00.051) 0:00:16.801 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:39:21 +0000 (0:00:00.040) 0:00:16.842 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:39:21 +0000 (0:00:00.055) 0:00:16.898 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:39:22 +0000 (0:00:00.119) 0:00:17.017 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:39:22 +0000 (0:00:00.048) 0:00:17.066 ****** included: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:39:22 +0000 (0:00:00.061) 0:00:17.128 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:39:22 +0000 (0:00:00.047) 0:00:17.175 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541157.4981148, "block_size": 4096, "blocks": 8, "ctime": 1659541157.4981148, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17263007, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659541157.4981148, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:39:22 +0000 (0:00:00.384) 0:00:17.560 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:39:22 +0000 (0:00:00.049) 0:00:17.610 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.020891", "end": "2022-08-03 11:39:22.346225", "rc": 0, "start": "2022-08-03 11:39:22.325334" } STDOUT: bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:39:23 +0000 (0:00:00.397) 0:00:18.008 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:39:23 +0000 (0:00:00.049) 0:00:18.057 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:39:23 +0000 (0:00:00.038) 0:00:18.095 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:39:23 +0000 (0:00:00.037) 0:00:18.133 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:39:23 +0000 (0:00:00.047) 0:00:18.181 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:65 Wednesday 03 August 2022 15:39:23 +0000 (0:00:00.048) 0:00:18.230 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/nm-bond" ], "delta": "0:00:00.003109", "end": "2022-08-03 11:39:22.995501", "rc": 0, "start": "2022-08-03 11:39:22.992392" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:69 Wednesday 03 August 2022 15:39:23 +0000 (0:00:00.432) 0:00:18.663 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003297", "end": "2022-08-03 11:39:23.377062", "rc": 0, "start": "2022-08-03 11:39:23.373765" } STDOUT: 18: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.84/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 238sec preferred_lft 238sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:75 Wednesday 03 August 2022 15:39:24 +0000 (0:00:00.376) 0:00:19.040 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.005102", "end": "2022-08-03 11:39:23.783450", "rc": 0, "start": "2022-08-03 11:39:23.778348" } STDOUT: 18: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::d2d8:dfd7:6539:b225/64 scope global dynamic noprefixroute valid_lft 1799sec preferred_lft 1799sec inet6 fe80::e3ad:6712:2440:d905/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:39:24 +0000 (0:00:00.418) 0:00:19.459 ****** included: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:39:24 +0000 (0:00:00.064) 0:00:19.523 ****** ok: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:39:25 +0000 (0:00:00.535) 0:00:20.058 ****** ok: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:39:26 +0000 (0:00:01.657) 0:00:21.716 ****** ok: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:39:27 +0000 (0:00:00.765) 0:00:22.481 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:39:27 +0000 (0:00:00.048) 0:00:22.530 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:39:27 +0000 (0:00:00.040) 0:00:22.570 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:39:27 +0000 (0:00:00.037) 0:00:22.608 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:39:27 +0000 (0:00:00.079) 0:00:22.688 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:39:27 +0000 (0:00:00.046) 0:00:22.734 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:39:27 +0000 (0:00:00.041) 0:00:22.776 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:39:27 +0000 (0:00:00.110) 0:00:22.886 ****** ok: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:39:28 +0000 (0:00:00.561) 0:00:23.448 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:39:28 +0000 (0:00:00.058) 0:00:23.507 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:39:28 +0000 (0:00:00.039) 0:00:23.546 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:39:28 +0000 (0:00:00.036) 0:00:23.582 ****** changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:39:29 +0000 (0:00:00.789) 0:00:24.372 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:39:29 +0000 (0:00:00.043) 0:00:24.416 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:39:29 +0000 (0:00:00.050) 0:00:24.466 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:39:29 +0000 (0:00:00.049) 0:00:24.516 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:39:29 +0000 (0:00:00.045) 0:00:24.562 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:98 Wednesday 03 August 2022 15:39:30 +0000 (0:00:00.433) 0:00:24.995 ****** fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.008219", "end": "2022-08-03 11:39:29.716031", "rc": 1, "start": "2022-08-03 11:39:29.707812" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 15:39:30 +0000 (0:00:00.382) 0:00:25.378 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.085078", "end": "2022-08-03 11:39:30.176382", "rc": 0, "start": "2022-08-03 11:39:30.091304" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 15:39:30 +0000 (0:00:00.459) 0:00:25.838 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.014005", "end": "2022-08-03 11:39:30.565619", "rc": 0, "start": "2022-08-03 11:39:30.551614" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:101 Wednesday 03 August 2022 15:39:31 +0000 (0:00:00.388) 0:00:26.226 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=75 changed=7 unreachable=0 failed=0 skipped=36 rescued=0 ignored=1 Wednesday 03 August 2022 15:39:31 +0000 (0:00:00.055) 0:00:26.282 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.50s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp1gs4m1jh/tests/network/tests_bond_nm.yml:5 ---------------------------- Install dnsmasq --------------------------------------------------------- 1.04s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.87s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install pgrep, sysctl --------------------------------------------------- 0.84s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:3 --------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.81s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.79s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.56s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.53s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.51s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- Remove test interfaces -------------------------------------------------- 0.46s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.43s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp1gs4m1jh/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_restore.yml:4 Wednesday 03 August 2022 15:39:31 +0000 (0:00:00.046) 0:00:26.328 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005760", "end": "2022-08-03 11:39:31.075409", "rc": 0, "start": "2022-08-03 11:39:31.069649" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=76 changed=8 unreachable=0 failed=0 skipped=36 rescued=0 ignored=1 Wednesday 03 August 2022 15:39:31 +0000 (0:00:00.462) 0:00:26.791 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.50s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp1gs4m1jh/tests/network/tests_bond_nm.yml:5 ---------------------------- Install dnsmasq --------------------------------------------------------- 1.04s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.87s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install pgrep, sysctl --------------------------------------------------- 0.84s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond.yml:3 --------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.81s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.79s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.56s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.54s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.53s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.51s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- Restore system files ---------------------------------------------------- 0.46s /tmp/tmp1gs4m1jh/tests/network/_restore.yml:4 --------------------------------- Remove test interfaces -------------------------------------------------- 0.46s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3