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:27 +0000 (0:00:00.017) 0:00:00.017 ****** 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": 1659540027.4400291, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540026.684029, "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": "3547090191", "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:28 +0000 (0:00:00.589) 0:00:00.607 ****** [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': 1659540027.4400291, 'mtime': 1659539895.0, 'ctime': 1659540026.684029, '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': '3547090191', '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": 1659540027.4400291, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540026.684029, "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": "3547090191", "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:28 +0000 (0:00:00.033) 0:00:00.641 ****** 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.003862", "end": "2022-08-03 11:20:28.435562", "rc": 0, "start": "2022-08-03 11:20:28.431700" } 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:28 +0000 (0:00:00.480) 0:00:01.122 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.48s /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_options_nm.yml ******************************************** 2 plays in /tmp/tmpwwh795q9/tests/tests_bond_options_nm.yml PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/tests_bond_options_nm.yml:5 Wednesday 03 August 2022 15:20:29 +0000 (0:00:00.082) 0:00:01.204 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tests_bond_options_nm.yml:8 Wednesday 03 August 2022 15:20:30 +0000 (0:00:01.068) 0:00:02.272 ****** 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:30 +0000 (0:00:00.029) 0:00:02.302 ****** 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:30 +0000 (0:00:00.022) 0:00:02.324 ****** 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:30 +0000 (0:00:00.031) 0:00:02.356 ****** 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:30 +0000 (0:00:00.022) 0:00:02.378 ****** 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:30 +0000 (0:00:00.021) 0:00:02.400 ****** 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:30 +0000 (0:00:00.021) 0:00:02.422 ****** 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_options_nm.yml:9 Wednesday 03 August 2022 15:20:30 +0000 (0:00:00.021) 0:00:02.443 ****** 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_options.yml:3 Wednesday 03 August 2022 15:20:30 +0000 (0:00:00.053) 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_options.yml:12 Wednesday 03 August 2022 15:20:31 +0000 (0:00:00.805) 0:00:03.302 ****** 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:31 +0000 (0:00:00.029) 0:00:03.332 ****** 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:32 +0000 (0:00:01.118) 0:00:04.451 ****** 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:32 +0000 (0:00:00.031) 0:00:04.482 ****** 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:33 +0000 (0:00:00.828) 0:00:05.310 ****** 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.132543", "end": "2022-08-03 11:20:34.120999", "rc": 0, "start": "2022-08-03 11:20:32.988456" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:20:34 +0000 (0:00:01.494) 0:00:06.804 ****** 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:34 +0000 (0:00:00.033) 0:00:06.838 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540032.9930234, "block_size": 4096, "blocks": 0, "ctime": 1659540032.9930234, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24469, "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": 1659540032.9930234, "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:35 +0000 (0:00:00.359) 0:00:07.197 ****** 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:35 +0000 (0:00:00.070) 0:00:07.268 ****** 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:35 +0000 (0:00:00.030) 0:00:07.298 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540032.9949858, "block_size": 4096, "blocks": 0, "ctime": 1659540032.9949858, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24725, "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": 1659540032.9949858, "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:35 +0000 (0:00:00.355) 0:00:07.653 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:23 Wednesday 03 August 2022 15:20:35 +0000 (0:00:00.034) 0:00:07.688 ****** 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:35 +0000 (0:00:00.031) 0:00:07.719 ****** 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:35 +0000 (0:00:00.034) 0:00:07.754 ****** 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:36 +0000 (0:00:00.544) 0:00:08.298 ****** 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:37 +0000 (0:00:01.708) 0:00:10.007 ****** 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:38 +0000 (0:00:00.951) 0:00:10.958 ****** 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:38 +0000 (0:00:00.046) 0:00:11.005 ****** 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:38 +0000 (0:00:00.041) 0:00:11.046 ****** 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:38 +0000 (0:00:00.041) 0:00:11.088 ****** 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:38 +0000 (0:00:00.077) 0:00:11.165 ****** 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:39 +0000 (0:00:00.039) 0:00:11.204 ****** 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:39 +0000 (0:00:00.038) 0:00:11.243 ****** 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:39 +0000 (0:00:00.053) 0:00:11.297 ****** 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:39 +0000 (0:00:00.857) 0:00:12.154 ****** 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:40 +0000 (0:00:00.082) 0:00:12.236 ****** 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:40 +0000 (0:00:00.036) 0:00:12.273 ****** 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:40 +0000 (0:00:00.034) 0:00:12.307 ****** 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": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "arp_all_targets": "all", "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "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, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 0994feb7-3da3-4c83-a957-2c8f0a1c0386 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3d50ac58-261a-40e6-a01b-89b511dc5582 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 0994feb7-3da3-4c83-a957-2c8f0a1c0386 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3d50ac58-261a-40e6-a01b-89b511dc5582 (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:40 +0000 (0:00:00.849) 0:00:13.156 ****** 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:41 +0000 (0:00:00.038) 0:00:13.195 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 0994feb7-3da3-4c83-a957-2c8f0a1c0386", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3d50ac58-261a-40e6-a01b-89b511dc5582", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 0994feb7-3da3-4c83-a957-2c8f0a1c0386 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3d50ac58-261a-40e6-a01b-89b511dc5582 (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:41 +0000 (0:00:00.048) 0:00:13.243 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "arp_all_targets": "all", "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "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, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 0994feb7-3da3-4c83-a957-2c8f0a1c0386\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3d50ac58-261a-40e6-a01b-89b511dc5582\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 0994feb7-3da3-4c83-a957-2c8f0a1c0386 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3d50ac58-261a-40e6-a01b-89b511dc5582 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 0994feb7-3da3-4c83-a957-2c8f0a1c0386", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3d50ac58-261a-40e6-a01b-89b511dc5582", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 0994feb7-3da3-4c83-a957-2c8f0a1c0386 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3d50ac58-261a-40e6-a01b-89b511dc5582 (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:41 +0000 (0:00:00.044) 0:00:13.288 ****** 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:41 +0000 (0:00:00.037) 0:00:13.325 ****** 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:41 +0000 (0:00:00.588) 0:00:13.913 ****** 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:41 +0000 (0:00:00.060) 0:00:13.974 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540040.3409007, "block_size": 4096, "blocks": 0, "ctime": 1659540040.3409007, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25058, "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": 1659540040.3409007, "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:42 +0000 (0:00:00.412) 0:00:14.386 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:71 Wednesday 03 August 2022 15:20:42 +0000 (0:00:00.045) 0:00:14.431 ****** 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:42 +0000 (0:00:00.080) 0:00:14.512 ****** 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:42 +0000 (0:00:00.060) 0:00:14.572 ****** 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:42 +0000 (0:00:00.047) 0:00:14.620 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540040.339029, "block_size": 4096, "blocks": 8, "ctime": 1659540040.339029, "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": 1659540040.339029, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 634, "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:42 +0000 (0:00:00.384) 0:00:15.004 ****** 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:42 +0000 (0:00:00.045) 0:00:15.050 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.023861", "end": "2022-08-03 11:20:42.770805", "rc": 0, "start": "2022-08-03 11:20:42.746944" } 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:43 +0000 (0:00:00.448) 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/tmpwwh795q9/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:20:43 +0000 (0:00:00.046) 0:00:15.545 ****** 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:43 +0000 (0:00:00.037) 0:00:15.583 ****** 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:43 +0000 (0:00:00.035) 0:00:15.618 ****** 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:43 +0000 (0:00:00.046) 0:00:15.665 ****** 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:43 +0000 (0:00:00.044) 0:00:15.709 ****** 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:43 +0000 (0:00:00.054) 0:00:15.764 ****** 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:43 +0000 (0:00:00.042) 0:00:15.807 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540040.356029, "block_size": 4096, "blocks": 8, "ctime": 1659540040.356029, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17263009, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540040.356029, "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:43 +0000 (0:00:00.373) 0:00:16.180 ****** 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:44 +0000 (0:00:00.044) 0:00:16.225 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.021594", "end": "2022-08-03 11:20:43.932768", "rc": 0, "start": "2022-08-03 11:20:43.911174" } 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:44 +0000 (0:00:00.404) 0:00:16.629 ****** 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:44 +0000 (0:00:00.045) 0:00:16.675 ****** 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:44 +0000 (0:00:00.035) 0:00:16.710 ****** 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:44 +0000 (0:00:00.035) 0:00:16.745 ****** 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:44 +0000 (0:00:00.111) 0:00:16.856 ****** 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:44 +0000 (0:00:00.048) 0:00:16.905 ****** 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:44 +0000 (0:00:00.056) 0:00:16.962 ****** 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:44 +0000 (0:00:00.045) 0:00:17.007 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659540040.363029, "block_size": 4096, "blocks": 8, "ctime": 1659540040.363029, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17263010, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540040.363029, "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:45 +0000 (0:00:00.390) 0:00:17.397 ****** 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:45 +0000 (0:00:00.048) 0:00:17.446 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.020335", "end": "2022-08-03 11:20:45.145499", "rc": 0, "start": "2022-08-03 11:20:45.125164" } 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:45 +0000 (0:00:00.402) 0:00:17.849 ****** 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:45 +0000 (0:00:00.055) 0:00:17.905 ****** 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:45 +0000 (0:00:00.039) 0:00:17.944 ****** 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:45 +0000 (0:00:00.037) 0:00:17.981 ****** 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:45 +0000 (0:00:00.047) 0:00:18.029 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:79 Wednesday 03 August 2022 15:20:45 +0000 (0:00:00.051) 0:00:18.080 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'mode', 'value': '802.3ad'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.002926", "end": "2022-08-03 11:20:45.822430", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2022-08-03 11:20:45.819504" } STDOUT: 802.3ad 4 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'ad_actor_sys_prio', 'value': '65535'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_sys_prio" ], "delta": "0:00:00.002780", "end": "2022-08-03 11:20:46.181238", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2022-08-03 11:20:46.178458" } STDOUT: 65535 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'ad_actor_system', 'value': '00:00:5e:00:53:5d'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_system" ], "delta": "0:00:00.003760", "end": "2022-08-03 11:20:46.542310", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2022-08-03 11:20:46.538550" } STDOUT: 00:00:5e:00:53:5d changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'ad_select', 'value': 'stable'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_select" ], "delta": "0:00:00.002644", "end": "2022-08-03 11:20:46.887968", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2022-08-03 11:20:46.885324" } STDOUT: stable 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'ad_user_port_key', 'value': '1023'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_user_port_key" ], "delta": "0:00:00.002527", "end": "2022-08-03 11:20:47.240784", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2022-08-03 11:20:47.238257" } STDOUT: 1023 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'all_slaves_active', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/all_slaves_active" ], "delta": "0:00:00.002941", "end": "2022-08-03 11:20:47.580320", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2022-08-03 11:20:47.577379" } STDOUT: 1 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'arp_all_targets', 'value': 'all'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_all_targets" ], "delta": "0:00:01.004301", "end": "2022-08-03 11:20:48.924032", "item": { "key": "arp_all_targets", "value": "all" }, "rc": 0, "start": "2022-08-03 11:20:47.919731" } STDOUT: all 1 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'downdelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/downdelay" ], "delta": "0:00:00.003816", "end": "2022-08-03 11:20:49.278152", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2022-08-03 11:20:49.274336" } STDOUT: 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'lacp_rate', 'value': 'slow'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lacp_rate" ], "delta": "0:00:00.002693", "end": "2022-08-03 11:20:49.622803", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2022-08-03 11:20:49.620110" } STDOUT: slow 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'lp_interval', 'value': '128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lp_interval" ], "delta": "0:00:00.002704", "end": "2022-08-03 11:20:49.959317", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2022-08-03 11:20:49.956613" } STDOUT: 128 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'miimon', 'value': '110'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/miimon" ], "delta": "0:00:01.003990", "end": "2022-08-03 11:20:51.297605", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2022-08-03 11:20:50.293615" } STDOUT: 110 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'num_grat_arp', 'value': '64'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/num_grat_arp" ], "delta": "0:00:00.002737", "end": "2022-08-03 11:20:51.655583", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2022-08-03 11:20:51.652846" } STDOUT: 64 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'resend_igmp', 'value': '225'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/resend_igmp" ], "delta": "0:00:00.002576", "end": "2022-08-03 11:20:51.996060", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2022-08-03 11:20:51.993484" } STDOUT: 225 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'updelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/updelay" ], "delta": "0:00:00.003014", "end": "2022-08-03 11:20:52.334824", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2022-08-03 11:20:52.331810" } STDOUT: 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'use_carrier', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/use_carrier" ], "delta": "0:00:01.003817", "end": "2022-08-03 11:20:53.673828", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2022-08-03 11:20:52.670011" } STDOUT: 1 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'xmit_hash_policy', 'value': 'encap2+3'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/xmit_hash_policy" ], "delta": "0:00:00.002841", "end": "2022-08-03 11:20:54.021954", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2022-08-03 11:20:54.019113" } STDOUT: encap2+3 3 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:102 Wednesday 03 August 2022 15:20:54 +0000 (0:00:08.650) 0:00:26.731 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003715", "end": "2022-08-03 11:20:54.413141", "rc": 0, "start": "2022-08-03 11:20:54.409426" } STDOUT: 24: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.28/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 230sec preferred_lft 230sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:108 Wednesday 03 August 2022 15:20:54 +0000 (0:00:00.383) 0:00:27.114 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003130", "end": "2022-08-03 11:20:54.800087", "rc": 0, "start": "2022-08-03 11:20:54.796957" } STDOUT: 24: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::aced:a214:1e83:f796/64 scope global dynamic noprefixroute valid_lft 1797sec preferred_lft 1797sec inet6 fe80::9a41:85bb:3eea:7bb0/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:55 +0000 (0:00:00.387) 0:00:27.501 ****** 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:55 +0000 (0:00:00.062) 0:00:27.564 ****** 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:55 +0000 (0:00:00.605) 0:00:28.169 ****** 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:57 +0000 (0:00:01.569) 0:00:29.738 ****** 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:58 +0000 (0:00:00.803) 0:00:30.542 ****** 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:58 +0000 (0:00:00.046) 0:00:30.588 ****** 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:58 +0000 (0:00:00.037) 0:00:30.626 ****** 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:58 +0000 (0:00:00.038) 0:00:30.665 ****** 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:58 +0000 (0:00:00.075) 0:00:30.741 ****** 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:58 +0000 (0:00:00.039) 0:00:30.781 ****** 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:58 +0000 (0:00:00.039) 0:00:30.820 ****** 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:58 +0000 (0:00:00.059) 0:00:30.879 ****** 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:59 +0000 (0:00:00.562) 0:00:31.441 ****** 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:59 +0000 (0:00:00.058) 0:00:31.500 ****** 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:59 +0000 (0:00:00.036) 0:00:31.537 ****** 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:59 +0000 (0:00:00.035) 0:00:31.572 ****** 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": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b [004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b (is-modified) [005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': "nm-device-error-quark: Can't reapply 'mode' bond option (3)", 'success': None} 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:21:00 +0000 (0:00:00.769) 0:00:32.342 ****** 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:21:00 +0000 (0:00:00.040) 0:00:32.383 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b (is-modified)", "[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}" ] } 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:21:00 +0000 (0:00:00.047) 0:00:32.430 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b\n[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b (is-modified)\n[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 07ae551f-b7ca-4c0f-9c5f-4a8d4dba6a3b (is-modified)", "[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}" ] } } 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:21:00 +0000 (0:00:00.050) 0:00:32.481 ****** 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:21:00 +0000 (0:00:00.040) 0:00:32.521 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:131 Wednesday 03 August 2022 15:21:00 +0000 (0:00:00.407) 0:00:32.929 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'mode', 'value': 'active-backup'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.002596", "end": "2022-08-03 11:21:00.621232", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2022-08-03 11:21:00.618636" } STDOUT: active-backup 1 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'arp_interval', 'value': '60'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_interval" ], "delta": "0:00:00.002691", "end": "2022-08-03 11:21:00.961958", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2022-08-03 11:21:00.959267" } STDOUT: 60 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'arp_ip_target', 'value': '192.0.2.128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_ip_target" ], "delta": "0:00:00.002760", "end": "2022-08-03 11:21:01.330485", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2022-08-03 11:21:01.327725" } STDOUT: 192.0.2.128 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'arp_validate', 'value': 'none'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_validate" ], "delta": "0:00:01.004264", "end": "2022-08-03 11:21:02.684955", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2022-08-03 11:21:01.680691" } STDOUT: none 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'primary', 'value': 'test1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/primary" ], "delta": "0:00:00.002659", "end": "2022-08-03 11:21:03.052638", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2022-08-03 11:21:03.049979" } STDOUT: test1 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:143 Wednesday 03 August 2022 15:21:03 +0000 (0:00:02.823) 0:00:35.753 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003552", "end": "2022-08-03 11:21:03.454822", "rc": 0, "start": "2022-08-03 11:21:03.451270" } STDOUT: 24: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.28/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_options.yml:149 Wednesday 03 August 2022 15:21:03 +0000 (0:00:00.406) 0:00:36.159 ****** FAILED - RETRYING: [/cache/rhel-9.qcow2.snap]: ** TEST check IPv6 (20 retries left). FAILED - RETRYING: [/cache/rhel-9.qcow2.snap]: ** TEST check IPv6 (19 retries left). changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 3, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.006344", "end": "2022-08-03 11:21:08.621801", "rc": 0, "start": "2022-08-03 11:21:08.615457" } STDOUT: 24: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::aced:a214:1e83:f796/64 scope global tentative dynamic noprefixroute valid_lft 1801sec preferred_lft 1801sec inet6 fe80::9a41:85bb:3eea:7bb0/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:21:09 +0000 (0:00:05.168) 0:00:41.328 ****** 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:21:09 +0000 (0:00:00.063) 0:00:41.391 ****** 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:21:09 +0000 (0:00:00.616) 0:00:42.007 ****** 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:21:11 +0000 (0:00:01.657) 0:00:43.665 ****** 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:21:12 +0000 (0:00:00.761) 0:00:44.426 ****** 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:21:12 +0000 (0:00:00.050) 0:00:44.477 ****** 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:21:12 +0000 (0:00:00.042) 0:00:44.520 ****** 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:21:12 +0000 (0:00:00.088) 0:00:44.609 ****** 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:21:12 +0000 (0:00:00.080) 0:00:44.690 ****** 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:21:12 +0000 (0:00:00.041) 0:00:44.731 ****** 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:21:12 +0000 (0:00:00.045) 0:00:44.776 ****** 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:21:12 +0000 (0:00:00.057) 0:00:44.834 ****** 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:21:13 +0000 (0:00:00.572) 0:00:45.406 ****** 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:21:13 +0000 (0:00:00.058) 0:00:45.465 ****** 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:21:13 +0000 (0:00:00.036) 0:00:45.502 ****** 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:21:13 +0000 (0:00:00.035) 0:00:45.537 ****** 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:21:14 +0000 (0:00:00.857) 0:00:46.395 ****** 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:21:14 +0000 (0:00:00.072) 0:00:46.468 ****** 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:21:14 +0000 (0:00:00.059) 0:00:46.528 ****** 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:21:14 +0000 (0:00:00.060) 0:00:46.588 ****** 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:21:14 +0000 (0:00:00.043) 0:00:46.632 ****** 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_options.yml:173 Wednesday 03 August 2022 15:21:14 +0000 (0:00:00.402) 0:00:47.034 ****** fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.007710", "end": "2022-08-03 11:21:14.741741", "rc": 1, "start": "2022-08-03 11:21:14.734031" } 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:21:15 +0000 (0:00:00.406) 0:00:47.440 ****** 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.098043", "end": "2022-08-03 11:21:15.227308", "rc": 0, "start": "2022-08-03 11:21:15.129265" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpwwh795q9/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 15:21:15 +0000 (0:00:00.504) 0:00:47.945 ****** 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.013708", "end": "2022-08-03 11:21:15.650337", "rc": 0, "start": "2022-08-03 11:21:15.636629" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=88 changed=11 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 15:21:16 +0000 (0:00:00.427) 0:00:48.372 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 8.65s /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:79 -------------------- ** TEST check IPv6 ------------------------------------------------------ 5.17s /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:149 ------------------- ** TEST check bond settings --------------------------------------------- 2.82s /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:131 ------------------- linux-system-roles.network : Check which services are running ----------- 1.71s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.66s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.57s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.49s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install dnsmasq --------------------------------------------------------- 1.12s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpwwh795q9/tests/tests_bond_options_nm.yml:5 ---------------------------- linux-system-roles.network : Check which packages are installed --------- 0.95s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.86s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.86s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Install pgrep, sysctl --------------------------------------------------- 0.83s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.80s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.77s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.62s /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.61s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - 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:21:16 +0000 (0:00:00.089) 0:00:48.462 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006009", "end": "2022-08-03 11:21:16.161621", "rc": 0, "start": "2022-08-03 11:21:16.155612" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=89 changed=12 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 15:21:16 +0000 (0:00:00.426) 0:00:48.888 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 8.65s /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:79 -------------------- ** TEST check IPv6 ------------------------------------------------------ 5.17s /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:149 ------------------- ** TEST check bond settings --------------------------------------------- 2.82s /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:131 ------------------- linux-system-roles.network : Check which services are running ----------- 1.71s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.66s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.57s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.49s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install dnsmasq --------------------------------------------------------- 1.12s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpwwh795q9/tests/tests_bond_options_nm.yml:5 ---------------------------- linux-system-roles.network : Check which packages are installed --------- 0.95s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.86s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.86s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Install pgrep, sysctl --------------------------------------------------- 0.83s /tmp/tmpwwh795q9/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpwwh795q9/tests/playbooks/tests_bond_options.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.80s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.77s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.62s /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.61s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - 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:32 +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": 1659541171.0731149, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541171.0731149, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 24541, "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": "985074132", "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:33 +0000 (0:00:00.586) 0:00:00.604 ****** [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': 24541, 'dev': 64516, 'nlink': 1, 'atime': 1659541171.0731149, 'mtime': 1659541026.0, 'ctime': 1659541171.0731149, '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': '985074132', '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": 1659541171.0731149, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541171.0731149, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 24541, "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": "985074132", "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:33 +0000 (0:00:00.035) 0:00:00.639 ****** 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.003731", "end": "2022-08-03 11:39:32.847247", "rc": 0, "start": "2022-08-03 11:39:32.843516" } 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:33 +0000 (0:00:00.491) 0:00:01.131 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.49s /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_options_nm.yml ******************************************** 2 plays in /tmp/tmp1gs4m1jh/tests/network/tests_bond_options_nm.yml PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/tests_bond_options_nm.yml:5 Wednesday 03 August 2022 15:39:33 +0000 (0:00:00.098) 0:00:01.229 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tests_bond_options_nm.yml:8 Wednesday 03 August 2022 15:39:34 +0000 (0:00:01.068) 0:00:02.298 ****** 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:34 +0000 (0:00:00.026) 0:00:02.324 ****** 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:34 +0000 (0:00:00.019) 0:00:02.343 ****** 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:34 +0000 (0:00:00.027) 0:00:02.370 ****** 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:34 +0000 (0:00:00.018) 0:00:02.389 ****** 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:34 +0000 (0:00:00.020) 0:00:02.409 ****** 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:34 +0000 (0:00:00.018) 0:00:02.427 ****** 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_options_nm.yml:9 Wednesday 03 August 2022 15:39:34 +0000 (0:00:00.021) 0:00:02.449 ****** 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_options.yml:3 Wednesday 03 August 2022 15:39:34 +0000 (0:00:00.048) 0:00:02.497 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:12 Wednesday 03 August 2022 15:39:35 +0000 (0:00:00.847) 0:00:03.345 ****** 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:35 +0000 (0:00:00.032) 0:00:03.377 ****** 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:36 +0000 (0:00:01.126) 0:00:04.504 ****** 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:37 +0000 (0:00:00.040) 0:00:04.545 ****** 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:37 +0000 (0:00:00.919) 0:00:05.464 ****** 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.151394", "end": "2022-08-03 11:39:38.717853", "rc": 0, "start": "2022-08-03 11:39:37.566459" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:39:39 +0000 (0:00:01.535) 0:00:06.999 ****** 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:39 +0000 (0:00:00.031) 0:00:07.031 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541177.5714953, "block_size": 4096, "blocks": 0, "ctime": 1659541177.5714953, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24469, "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": 1659541177.5714953, "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:39 +0000 (0:00:00.362) 0:00:07.394 ****** 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:39 +0000 (0:00:00.033) 0:00:07.427 ****** 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:39 +0000 (0:00:00.032) 0:00:07.459 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541177.573148, "block_size": 4096, "blocks": 0, "ctime": 1659541177.573148, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24725, "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": 1659541177.573148, "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:40 +0000 (0:00:00.360) 0:00:07.820 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:23 Wednesday 03 August 2022 15:39:40 +0000 (0:00:00.073) 0:00:07.894 ****** 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:40 +0000 (0:00:00.058) 0:00:07.952 ****** 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:40 +0000 (0:00:00.036) 0:00:07.988 ****** 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:41 +0000 (0:00:00.563) 0:00:08.552 ****** 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:42 +0000 (0:00:01.696) 0:00:10.248 ****** 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:43 +0000 (0:00:00.949) 0:00:11.198 ****** 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:43 +0000 (0:00:00.052) 0:00:11.250 ****** 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:43 +0000 (0:00:00.040) 0:00:11.291 ****** 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:43 +0000 (0:00:00.041) 0:00:11.333 ****** 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:43 +0000 (0:00:00.078) 0:00:11.412 ****** 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:43 +0000 (0:00:00.037) 0:00:11.449 ****** 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:43 +0000 (0:00:00.038) 0:00:11.488 ****** 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:44 +0000 (0:00:00.054) 0:00:11.543 ****** 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:44 +0000 (0:00:00.844) 0:00:12.387 ****** 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:44 +0000 (0:00:00.058) 0:00:12.446 ****** 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:44 +0000 (0:00:00.037) 0:00:12.484 ****** 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:44 +0000 (0:00:00.037) 0:00:12.521 ****** changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "arp_all_targets": "all", "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "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, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 6e0752c5-ae2b-4901-8766-ecb80dcc66ca [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 36bb0bcb-71b1-4a5d-860c-ab8203f1cbb4 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 6e0752c5-ae2b-4901-8766-ecb80dcc66ca (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 36bb0bcb-71b1-4a5d-860c-ab8203f1cbb4 (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:45 +0000 (0:00:00.829) 0:00:13.350 ****** 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:45 +0000 (0:00:00.040) 0:00:13.391 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 6e0752c5-ae2b-4901-8766-ecb80dcc66ca", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 36bb0bcb-71b1-4a5d-860c-ab8203f1cbb4", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 6e0752c5-ae2b-4901-8766-ecb80dcc66ca (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 36bb0bcb-71b1-4a5d-860c-ab8203f1cbb4 (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:45 +0000 (0:00:00.052) 0:00:13.443 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "arp_all_targets": "all", "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "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, f60b6f95-1215-480b-bf7f-4f9ffa7e7162\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 6e0752c5-ae2b-4901-8766-ecb80dcc66ca\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 36bb0bcb-71b1-4a5d-860c-ab8203f1cbb4\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 6e0752c5-ae2b-4901-8766-ecb80dcc66ca (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 36bb0bcb-71b1-4a5d-860c-ab8203f1cbb4 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 6e0752c5-ae2b-4901-8766-ecb80dcc66ca", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 36bb0bcb-71b1-4a5d-860c-ab8203f1cbb4", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 6e0752c5-ae2b-4901-8766-ecb80dcc66ca (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 36bb0bcb-71b1-4a5d-860c-ab8203f1cbb4 (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:45 +0000 (0:00:00.052) 0:00:13.495 ****** 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:45 +0000 (0:00:00.042) 0:00:13.538 ****** 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:46 +0000 (0:00:00.557) 0:00:14.096 ****** 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:46 +0000 (0:00:00.067) 0:00:14.164 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541184.9417982, "block_size": 4096, "blocks": 0, "ctime": 1659541184.9417982, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25058, "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": 1659541184.9417982, "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:47 +0000 (0:00:00.387) 0:00:14.551 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:71 Wednesday 03 August 2022 15:39:47 +0000 (0:00:00.048) 0:00:14.600 ****** 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:47 +0000 (0:00:00.081) 0:00:14.681 ****** 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:47 +0000 (0:00:00.061) 0:00:14.742 ****** 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:47 +0000 (0:00:00.047) 0:00:14.790 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541184.939115, "block_size": 4096, "blocks": 8, "ctime": 1659541184.939115, "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": 1659541184.939115, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 634, "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:47 +0000 (0:00:00.362) 0:00:15.153 ****** 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:47 +0000 (0:00:00.048) 0:00:15.201 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021950", "end": "2022-08-03 11:39:47.304142", "rc": 0, "start": "2022-08-03 11:39:47.282192" } 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:48 +0000 (0:00:00.427) 0:00:15.629 ****** 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:48 +0000 (0:00:00.045) 0:00:15.674 ****** 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:48 +0000 (0:00:00.038) 0:00:15.713 ****** 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:48 +0000 (0:00:00.036) 0:00:15.749 ****** 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:48 +0000 (0:00:00.044) 0:00:15.794 ****** 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:48 +0000 (0:00:00.045) 0:00:15.840 ****** 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:48 +0000 (0:00:00.054) 0:00:15.895 ****** 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:48 +0000 (0:00:00.043) 0:00:15.938 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541184.956115, "block_size": 4096, "blocks": 8, "ctime": 1659541184.956115, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 17263004, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659541184.956115, "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:48 +0000 (0:00:00.370) 0:00:16.308 ****** 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:48 +0000 (0:00:00.047) 0:00:16.356 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.019965", "end": "2022-08-03 11:39:48.457743", "rc": 0, "start": "2022-08-03 11:39:48.437778" } 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:49 +0000 (0:00:00.395) 0:00:16.752 ****** 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:49 +0000 (0:00:00.048) 0:00:16.800 ****** 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:49 +0000 (0:00:00.037) 0:00:16.838 ****** 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:49 +0000 (0:00:00.041) 0:00:16.880 ****** 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:49 +0000 (0:00:00.120) 0:00:17.000 ****** 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:49 +0000 (0:00:00.049) 0:00:17.050 ****** 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:49 +0000 (0:00:00.058) 0:00:17.108 ****** 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:49 +0000 (0:00:00.049) 0:00:17.158 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541184.966115, "block_size": 4096, "blocks": 8, "ctime": 1659541184.966115, "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": 1659541184.966115, "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:49 +0000 (0:00:00.365) 0:00:17.523 ****** 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:50 +0000 (0:00:00.048) 0:00:17.571 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.020360", "end": "2022-08-03 11:39:49.682303", "rc": 0, "start": "2022-08-03 11:39:49.661943" } 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:50 +0000 (0:00:00.405) 0:00:17.977 ****** 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:50 +0000 (0:00:00.048) 0:00:18.025 ****** 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:50 +0000 (0:00:00.037) 0:00:18.063 ****** 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:50 +0000 (0:00:00.038) 0:00:18.101 ****** 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:50 +0000 (0:00:00.050) 0:00:18.151 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:79 Wednesday 03 August 2022 15:39:50 +0000 (0:00:00.047) 0:00:18.199 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'mode', 'value': '802.3ad'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.002805", "end": "2022-08-03 11:39:50.295489", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2022-08-03 11:39:50.292684" } STDOUT: 802.3ad 4 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'ad_actor_sys_prio', 'value': '65535'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_sys_prio" ], "delta": "0:00:01.003932", "end": "2022-08-03 11:39:51.694852", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2022-08-03 11:39:50.690920" } STDOUT: 65535 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'ad_actor_system', 'value': '00:00:5e:00:53:5d'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_system" ], "delta": "0:00:00.002817", "end": "2022-08-03 11:39:52.051922", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2022-08-03 11:39:52.049105" } STDOUT: 00:00:5e:00:53:5d changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'ad_select', 'value': 'stable'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_select" ], "delta": "0:00:01.004692", "end": "2022-08-03 11:39:53.401903", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2022-08-03 11:39:52.397211" } STDOUT: stable 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'ad_user_port_key', 'value': '1023'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_user_port_key" ], "delta": "0:00:00.002904", "end": "2022-08-03 11:39:53.777102", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2022-08-03 11:39:53.774198" } STDOUT: 1023 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'all_slaves_active', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/all_slaves_active" ], "delta": "0:00:00.002678", "end": "2022-08-03 11:39:54.119000", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2022-08-03 11:39:54.116322" } STDOUT: 1 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'arp_all_targets', 'value': 'all'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_all_targets" ], "delta": "0:00:00.002552", "end": "2022-08-03 11:39:54.456152", "item": { "key": "arp_all_targets", "value": "all" }, "rc": 0, "start": "2022-08-03 11:39:54.453600" } STDOUT: all 1 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'downdelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/downdelay" ], "delta": "0:00:00.002710", "end": "2022-08-03 11:39:54.808895", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2022-08-03 11:39:54.806185" } STDOUT: 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'lacp_rate', 'value': 'slow'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lacp_rate" ], "delta": "0:00:00.002670", "end": "2022-08-03 11:39:55.169216", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2022-08-03 11:39:55.166546" } STDOUT: slow 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'lp_interval', 'value': '128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lp_interval" ], "delta": "0:00:00.002561", "end": "2022-08-03 11:39:55.495659", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2022-08-03 11:39:55.493098" } STDOUT: 128 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'miimon', 'value': '110'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/miimon" ], "delta": "0:00:00.002534", "end": "2022-08-03 11:39:55.817888", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2022-08-03 11:39:55.815354" } STDOUT: 110 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'num_grat_arp', 'value': '64'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/num_grat_arp" ], "delta": "0:00:01.003976", "end": "2022-08-03 11:39:57.146883", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2022-08-03 11:39:56.142907" } STDOUT: 64 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'resend_igmp', 'value': '225'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/resend_igmp" ], "delta": "0:00:00.002890", "end": "2022-08-03 11:39:57.495837", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2022-08-03 11:39:57.492947" } STDOUT: 225 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'updelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/updelay" ], "delta": "0:00:01.004145", "end": "2022-08-03 11:39:58.842582", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2022-08-03 11:39:57.838437" } STDOUT: 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'use_carrier', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/use_carrier" ], "delta": "0:00:00.002577", "end": "2022-08-03 11:39:59.184825", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2022-08-03 11:39:59.182248" } STDOUT: 1 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'xmit_hash_policy', 'value': 'encap2+3'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/xmit_hash_policy" ], "delta": "0:00:00.002496", "end": "2022-08-03 11:39:59.527483", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2022-08-03 11:39:59.524987" } STDOUT: encap2+3 3 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:101 Wednesday 03 August 2022 15:40:00 +0000 (0:00:09.629) 0:00:27.828 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003629", "end": "2022-08-03 11:39:59.914878", "rc": 0, "start": "2022-08-03 11:39:59.911249" } STDOUT: 24: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.48/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 228sec preferred_lft 228sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:107 Wednesday 03 August 2022 15:40:00 +0000 (0:00:00.381) 0:00:28.209 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.002939", "end": "2022-08-03 11:40:00.283656", "rc": 0, "start": "2022-08-03 11:40:00.280717" } STDOUT: 24: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::157/128 scope global dynamic noprefixroute valid_lft 229sec preferred_lft 229sec inet6 2001:db8::d5a0:d880:3fce:714a/64 scope global dynamic noprefixroute valid_lft 1794sec preferred_lft 1794sec inet6 fe80::4d1:23d1:5fb1:c667/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:40:01 +0000 (0:00:00.370) 0:00:28.580 ****** 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:40:01 +0000 (0:00:00.065) 0:00:28.646 ****** 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:40:01 +0000 (0:00:00.575) 0:00:29.221 ****** 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:40:03 +0000 (0:00:01.595) 0:00:30.817 ****** 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:40:04 +0000 (0:00:00.733) 0:00:31.550 ****** 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:40:04 +0000 (0:00:00.109) 0:00:31.660 ****** 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:40:04 +0000 (0:00:00.040) 0:00:31.700 ****** 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:40:04 +0000 (0:00:00.042) 0:00:31.742 ****** 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:40:04 +0000 (0:00:00.079) 0:00:31.822 ****** 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:40:04 +0000 (0:00:00.041) 0:00:31.863 ****** 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:40:04 +0000 (0:00:00.041) 0:00:31.905 ****** 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:40:04 +0000 (0:00:00.055) 0:00:31.960 ****** 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:40:04 +0000 (0:00:00.567) 0:00:32.528 ****** 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:40:05 +0000 (0:00:00.059) 0:00:32.587 ****** 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:40:05 +0000 (0:00:00.038) 0:00:32.625 ****** 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:40:05 +0000 (0:00:00.035) 0:00:32.660 ****** changed: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'bond0': update connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 [004] #0, state:up persistent_state:present, 'bond0': up connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 (is-modified) [005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': "nm-device-error-quark: Can't reapply 'mode' bond option (3)", 'success': None} 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:40:05 +0000 (0:00:00.733) 0:00:33.394 ****** 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:40:05 +0000 (0:00:00.041) 0:00:33.435 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 (is-modified)", "[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}" ] } 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:40:05 +0000 (0:00:00.052) 0:00:33.488 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162\n[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 (is-modified)\n[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, f60b6f95-1215-480b-bf7f-4f9ffa7e7162 (is-modified)", "[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}" ] } } 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:40:05 +0000 (0:00:00.050) 0:00:33.539 ****** 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:40:06 +0000 (0:00:00.046) 0:00:33.585 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:130 Wednesday 03 August 2022 15:40:06 +0000 (0:00:00.410) 0:00:33.995 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'mode', 'value': 'active-backup'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.002571", "end": "2022-08-03 11:40:06.091370", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2022-08-03 11:40:06.088799" } STDOUT: active-backup 1 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'arp_interval', 'value': '60'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_interval" ], "delta": "0:00:00.002629", "end": "2022-08-03 11:40:06.454026", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2022-08-03 11:40:06.451397" } STDOUT: 60 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'arp_ip_target', 'value': '192.0.2.128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_ip_target" ], "delta": "0:00:00.002979", "end": "2022-08-03 11:40:06.811835", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2022-08-03 11:40:06.808856" } STDOUT: 192.0.2.128 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'arp_validate', 'value': 'none'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_validate" ], "delta": "0:00:00.003154", "end": "2022-08-03 11:40:07.180676", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2022-08-03 11:40:07.177522" } STDOUT: none 0 changed: [/cache/rhel-9.qcow2.snap] => (item={'key': 'primary', 'value': 'test1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/primary" ], "delta": "0:00:01.004892", "end": "2022-08-03 11:40:08.554624", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2022-08-03 11:40:07.549732" } STDOUT: test1 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:141 Wednesday 03 August 2022 15:40:09 +0000 (0:00:02.876) 0:00:36.872 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003426", "end": "2022-08-03 11:40:08.985195", "rc": 0, "start": "2022-08-03 11:40:08.981769" } STDOUT: 24: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.48/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/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:147 Wednesday 03 August 2022 15:40:09 +0000 (0:00:00.411) 0:00:37.283 ****** changed: [/cache/rhel-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003460", "end": "2022-08-03 11:40:09.399153", "rc": 0, "start": "2022-08-03 11:40:09.395693" } STDOUT: 24: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::157/128 scope global dynamic noprefixroute valid_lft 237sec preferred_lft 237sec inet6 2001:db8::d5a0:d880:3fce:714a/64 scope global dynamic noprefixroute valid_lft 1798sec preferred_lft 1798sec inet6 fe80::4d1:23d1:5fb1:c667/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:40:10 +0000 (0:00:00.419) 0:00:37.702 ****** 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:40:10 +0000 (0:00:00.065) 0:00:37.768 ****** 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:40:10 +0000 (0:00:00.549) 0:00:38.318 ****** 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:40:12 +0000 (0:00:01.685) 0:00:40.003 ****** 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:40:13 +0000 (0:00:00.744) 0:00:40.748 ****** 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:40:13 +0000 (0:00:00.045) 0:00:40.793 ****** 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:40:13 +0000 (0:00:00.070) 0:00:40.864 ****** 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:40:13 +0000 (0:00:00.039) 0:00:40.904 ****** 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:40:13 +0000 (0:00:00.096) 0:00:41.000 ****** 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:40:13 +0000 (0:00:00.044) 0:00:41.044 ****** 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:40:13 +0000 (0:00:00.042) 0:00:41.087 ****** 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:40:13 +0000 (0:00:00.057) 0:00:41.144 ****** 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:40:14 +0000 (0:00:00.557) 0:00:41.702 ****** 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:40:14 +0000 (0:00:00.057) 0:00:41.759 ****** 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:40:14 +0000 (0:00:00.036) 0:00:41.795 ****** 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:40:14 +0000 (0:00:00.036) 0:00:41.832 ****** 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:40:15 +0000 (0:00:00.777) 0:00:42.610 ****** 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:40:15 +0000 (0:00:00.069) 0:00:42.679 ****** 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:40:15 +0000 (0:00:00.046) 0:00:42.726 ****** 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:40:15 +0000 (0:00:00.047) 0:00:42.773 ****** 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:40:15 +0000 (0:00:00.036) 0:00:42.810 ****** 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_options.yml:171 Wednesday 03 August 2022 15:40:15 +0000 (0:00:00.385) 0:00:43.195 ****** fatal: [/cache/rhel-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.008154", "end": "2022-08-03 11:40:15.294318", "rc": 1, "start": "2022-08-03 11:40:15.286164" } 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:40:16 +0000 (0:00:00.393) 0:00:43.589 ****** 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.104416", "end": "2022-08-03 11:40:15.775620", "rc": 0, "start": "2022-08-03 11:40:15.671204" } 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:40:16 +0000 (0:00:00.491) 0:00:44.080 ****** 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.013490", "end": "2022-08-03 11:40:16.186347", "rc": 0, "start": "2022-08-03 11:40:16.172857" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=88 changed=11 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 15:40:16 +0000 (0:00:00.435) 0:00:44.516 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 9.63s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:79 ------------ ** TEST check bond settings --------------------------------------------- 2.88s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:130 ----------- fedora.linux_system_roles.network : Check which services are running ---- 1.70s /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.69s /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.60s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.54s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install dnsmasq --------------------------------------------------------- 1.13s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp1gs4m1jh/tests/network/tests_bond_options_nm.yml:5 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install pgrep, sysctl --------------------------------------------------- 0.92s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:3 ------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /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.78s /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.74s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /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.73s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.58s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.57s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 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:40:17 +0000 (0:00:00.090) 0:00:44.606 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005871", "end": "2022-08-03 11:40:16.704584", "rc": 0, "start": "2022-08-03 11:40:16.698713" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=89 changed=12 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 15:40:17 +0000 (0:00:00.412) 0:00:45.019 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 9.63s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:79 ------------ ** TEST check bond settings --------------------------------------------- 2.88s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:130 ----------- fedora.linux_system_roles.network : Check which services are running ---- 1.70s /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.69s /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.60s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.54s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install dnsmasq --------------------------------------------------------- 1.13s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp1gs4m1jh/tests/network/tests_bond_options_nm.yml:5 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.95s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install pgrep, sysctl --------------------------------------------------- 0.92s /tmp/tmp1gs4m1jh/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp1gs4m1jh/tests/network/playbooks/tests_bond_options.yml:3 ------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.84s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.83s /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.78s /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.74s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /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.73s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.58s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.57s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69