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/tmp40vowjjo 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/tmp05ac0kav/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:6 Wednesday 03 August 2022 16:06:27 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-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": 1659542786.5059354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542785.7839353, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737453", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp05ac0kav/tests/_backup.yml:13 Wednesday 03 August 2022 16:06:27 +0000 (0:00:00.580) 0:00:00.598 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-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': 4210438, 'dev': 64513, 'nlink': 1, 'atime': 1659542786.5059354, 'mtime': 1659542505.0, 'ctime': 1659542785.7839353, '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': '1127737453', '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": 1659542786.5059354, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542785.7839353, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210438, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1127737453", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:19 Wednesday 03 August 2022 16:06:27 +0000 (0:00:00.035) 0:00:00.634 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003775", "end": "2022-08-03 12:06:27.542384", "rc": 0, "start": "2022-08-03 12:06:27.538609" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:06:28 +0000 (0:00:00.492) 0:00:01.127 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_options_nm.yml ******************************************** 2 plays in /tmp/tmp05ac0kav/tests/tests_bond_options_nm.yml PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/tests_bond_options_nm.yml:5 Wednesday 03 August 2022 16:06:28 +0000 (0:00:00.081) 0:00:01.209 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_bond_options_nm.yml:8 Wednesday 03 August 2022 16:06:29 +0000 (0:00:01.000) 0:00:02.209 ****** included: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:06:29 +0000 (0:00:00.026) 0:00:02.236 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:06:29 +0000 (0:00:00.021) 0:00:02.257 ****** included: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:06:29 +0000 (0:00:00.028) 0:00:02.286 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:06:29 +0000 (0:00:00.022) 0:00:02.308 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:06:29 +0000 (0:00:00.021) 0:00:02.329 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:06:29 +0000 (0:00:00.019) 0:00:02.349 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp05ac0kav/tests/tests_bond_options_nm.yml:9 Wednesday 03 August 2022 16:06:29 +0000 (0:00:00.019) 0:00:02.368 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:3 Wednesday 03 August 2022 16:06:29 +0000 (0:00:00.047) 0:00:02.416 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:12 Wednesday 03 August 2022 16:06:30 +0000 (0:00:00.802) 0:00:03.219 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:06:30 +0000 (0:00:00.034) 0:00:03.253 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 16:06:31 +0000 (0:00:01.014) 0:00:04.268 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 16:06:31 +0000 (0:00:00.030) 0:00:04.298 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 16:06:32 +0000 (0:00:00.853) 0:00:05.151 ****** ok: [/cache/centos-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.125133", "end": "2022-08-03 12:06:33.058217", "rc": 0, "start": "2022-08-03 12:06:31.933084" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:06:33 +0000 (0:00:01.489) 0:00:06.641 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:06:33 +0000 (0:00:00.031) 0:00:06.673 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542791.9375193, "block_size": 4096, "blocks": 0, "ctime": 1659542791.9375193, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26166, "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": 1659542791.9375193, "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/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:06:34 +0000 (0:00:00.365) 0:00:07.038 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:06:34 +0000 (0:00:00.068) 0:00:07.106 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:06:34 +0000 (0:00:00.030) 0:00:07.137 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542791.94058, "block_size": 4096, "blocks": 0, "ctime": 1659542791.94058, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26422, "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": 1659542791.94058, "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/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:06:34 +0000 (0:00:00.370) 0:00:07.507 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:23 Wednesday 03 August 2022 16:06:34 +0000 (0:00:00.034) 0:00:07.542 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:06:34 +0000 (0:00:00.030) 0:00:07.573 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:06:34 +0000 (0:00:00.033) 0:00:07.606 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:06:35 +0000 (0:00:00.516) 0:00:08.123 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:06:36 +0000 (0:00:01.695) 0:00:09.819 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:06:37 +0000 (0:00:01.032) 0:00:10.851 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:06:37 +0000 (0:00:00.045) 0:00:10.897 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:06:37 +0000 (0:00:00.040) 0:00:10.937 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:06:38 +0000 (0:00:00.038) 0:00:10.976 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:06:38 +0000 (0:00:00.077) 0:00:11.054 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:06:38 +0000 (0:00:00.040) 0:00:11.094 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:06:38 +0000 (0:00:00.044) 0:00:11.139 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:06:38 +0000 (0:00:00.057) 0:00:11.196 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:06:39 +0000 (0:00:00.876) 0:00:12.072 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:06:39 +0000 (0:00:00.058) 0:00:12.131 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:06:39 +0000 (0:00:00.034) 0:00:12.165 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:06:39 +0000 (0:00:00.035) 0:00:12.201 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-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, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, f513936b-a264-48de-8a46-e08ddcf7169b [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 75e4a188-1dd2-43fe-98d9-20ee4791fdc0 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f513936b-a264-48de-8a46-e08ddcf7169b (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 75e4a188-1dd2-43fe-98d9-20ee4791fdc0 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:06:40 +0000 (0:00:00.805) 0:00:13.006 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:06:40 +0000 (0:00:00.038) 0:00:13.044 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, f513936b-a264-48de-8a46-e08ddcf7169b", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 75e4a188-1dd2-43fe-98d9-20ee4791fdc0", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f513936b-a264-48de-8a46-e08ddcf7169b (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 75e4a188-1dd2-43fe-98d9-20ee4791fdc0 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:06:40 +0000 (0:00:00.045) 0:00:13.090 ****** ok: [/cache/centos-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, 6f4d5528-86ca-4192-be2a-a391ff4d4f43\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, f513936b-a264-48de-8a46-e08ddcf7169b\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 75e4a188-1dd2-43fe-98d9-20ee4791fdc0\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f513936b-a264-48de-8a46-e08ddcf7169b (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 75e4a188-1dd2-43fe-98d9-20ee4791fdc0 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, f513936b-a264-48de-8a46-e08ddcf7169b", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 75e4a188-1dd2-43fe-98d9-20ee4791fdc0", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f513936b-a264-48de-8a46-e08ddcf7169b (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 75e4a188-1dd2-43fe-98d9-20ee4791fdc0 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:06:40 +0000 (0:00:00.048) 0:00:13.139 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:06:40 +0000 (0:00:00.038) 0:00:13.177 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:06:40 +0000 (0:00:00.538) 0:00:13.716 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:06:40 +0000 (0:00:00.086) 0:00:13.802 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542799.3257194, "block_size": 4096, "blocks": 0, "ctime": 1659542799.3257194, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26755, "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": 1659542799.3257194, "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/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:06:41 +0000 (0:00:00.364) 0:00:14.166 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:71 Wednesday 03 August 2022 16:06:41 +0000 (0:00:00.045) 0:00:14.212 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0) included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0.0) included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:06:41 +0000 (0:00:00.082) 0:00:14.294 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:06:41 +0000 (0:00:00.057) 0:00:14.352 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:06:41 +0000 (0:00:00.044) 0:00:14.397 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542799.3239353, "block_size": 4096, "blocks": 8, "ctime": 1659542799.3239353, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941520, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542799.3239353, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 627, "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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:06:41 +0000 (0:00:00.397) 0:00:14.795 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:06:41 +0000 (0:00:00.047) 0:00:14.842 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.023727", "end": "2022-08-03 12:06:41.686662", "rc": 0, "start": "2022-08-03 12:06:41.662935" } 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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:06:42 +0000 (0:00:00.445) 0:00:15.288 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:06:42 +0000 (0:00:00.044) 0:00:15.332 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:06:42 +0000 (0:00:00.067) 0:00:15.399 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:06:42 +0000 (0:00:00.036) 0:00:15.436 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:06:42 +0000 (0:00:00.051) 0:00:15.488 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:06:42 +0000 (0:00:00.050) 0:00:15.538 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:06:42 +0000 (0:00:00.063) 0:00:15.602 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:06:42 +0000 (0:00:00.043) 0:00:15.646 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542799.3439355, "block_size": 4096, "blocks": 8, "ctime": 1659542799.3439355, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542799.3439355, "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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.394) 0:00:16.041 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.047) 0:00:16.088 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.020368", "end": "2022-08-03 12:06:42.901089", "rc": 0, "start": "2022-08-03 12:06:42.880721" } 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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.404) 0:00:16.493 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.050) 0:00:16.544 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.038) 0:00:16.582 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.038) 0:00:16.620 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.048) 0:00:16.669 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.047) 0:00:16.716 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.123) 0:00:16.840 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:06:43 +0000 (0:00:00.047) 0:00:16.888 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542799.3529353, "block_size": 4096, "blocks": 8, "ctime": 1659542799.3529353, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542799.3529353, "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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:06:44 +0000 (0:00:00.391) 0:00:17.279 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:06:44 +0000 (0:00:00.045) 0:00:17.325 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.022092", "end": "2022-08-03 12:06:44.146332", "rc": 0, "start": "2022-08-03 12:06:44.124240" } 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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:06:44 +0000 (0:00:00.419) 0:00:17.744 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:06:44 +0000 (0:00:00.047) 0:00:17.792 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:06:44 +0000 (0:00:00.034) 0:00:17.827 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:06:44 +0000 (0:00:00.037) 0:00:17.865 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:06:44 +0000 (0:00:00.049) 0:00:17.914 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:79 Wednesday 03 August 2022 16:06:44 +0000 (0:00:00.050) 0:00:17.964 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/centos-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.003006", "end": "2022-08-03 12:06:44.757591", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2022-08-03 12:06:44.754585" } STDOUT: 802.3ad 4 changed: [/cache/centos-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.002808", "end": "2022-08-03 12:06:45.104101", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2022-08-03 12:06:45.101293" } STDOUT: 65535 changed: [/cache/centos-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.002777", "end": "2022-08-03 12:06:45.451285", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2022-08-03 12:06:45.448508" } STDOUT: 00:00:5e:00:53:5d changed: [/cache/centos-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.002892", "end": "2022-08-03 12:06:45.841940", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2022-08-03 12:06:45.839048" } STDOUT: stable 0 changed: [/cache/centos-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.002867", "end": "2022-08-03 12:06:46.182212", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2022-08-03 12:06:46.179345" } STDOUT: 1023 changed: [/cache/centos-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.002891", "end": "2022-08-03 12:06:46.530750", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2022-08-03 12:06:46.527859" } STDOUT: 1 changed: [/cache/centos-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.002940", "end": "2022-08-03 12:06:46.894945", "item": { "key": "arp_all_targets", "value": "all" }, "rc": 0, "start": "2022-08-03 12:06:46.892005" } STDOUT: all 1 changed: [/cache/centos-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.003419", "end": "2022-08-03 12:06:47.254857", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2022-08-03 12:06:47.251438" } STDOUT: 0 changed: [/cache/centos-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.002871", "end": "2022-08-03 12:06:47.610663", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2022-08-03 12:06:47.607792" } STDOUT: slow 0 changed: [/cache/centos-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.003430", "end": "2022-08-03 12:06:47.965416", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2022-08-03 12:06:47.961986" } STDOUT: 128 changed: [/cache/centos-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.002892", "end": "2022-08-03 12:06:48.318586", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2022-08-03 12:06:48.315694" } STDOUT: 110 changed: [/cache/centos-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.002832", "end": "2022-08-03 12:06:48.668565", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2022-08-03 12:06:48.665733" } STDOUT: 64 changed: [/cache/centos-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.002972", "end": "2022-08-03 12:06:49.021598", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2022-08-03 12:06:49.018626" } STDOUT: 225 changed: [/cache/centos-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.002746", "end": "2022-08-03 12:06:49.376282", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2022-08-03 12:06:49.373536" } STDOUT: 0 changed: [/cache/centos-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.002886", "end": "2022-08-03 12:06:49.725802", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2022-08-03 12:06:49.722916" } STDOUT: 1 changed: [/cache/centos-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.002986", "end": "2022-08-03 12:06:50.079315", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2022-08-03 12:06:50.076329" } STDOUT: encap2+3 3 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:102 Wednesday 03 August 2022 16:06:50 +0000 (0:00:05.716) 0:00:23.681 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.004084", "end": "2022-08-03 12:06:50.480931", "rc": 0, "start": "2022-08-03 12:06:50.476847" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.70/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 233sec preferred_lft 233sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:108 Wednesday 03 August 2022 16:06:51 +0000 (0:00:00.399) 0:00:24.080 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003188", "end": "2022-08-03 12:06:50.861375", "rc": 0, "start": "2022-08-03 12:06:50.858187" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::b1/128 scope global dynamic noprefixroute valid_lft 232sec preferred_lft 232sec inet6 2001:db8::860d:4547:603a:c8a5/64 scope global dynamic noprefixroute valid_lft 1795sec preferred_lft 1795sec inet6 fe80::7c54:8b94:f477:c72a/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:06:51 +0000 (0:00:00.379) 0:00:24.459 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:06:51 +0000 (0:00:00.060) 0:00:24.519 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:06:52 +0000 (0:00:00.595) 0:00:25.115 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:06:53 +0000 (0:00:01.525) 0:00:26.640 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:06:54 +0000 (0:00:00.754) 0:00:27.395 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:06:54 +0000 (0:00:00.045) 0:00:27.440 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:06:54 +0000 (0:00:00.072) 0:00:27.513 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:06:54 +0000 (0:00:00.038) 0:00:27.551 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:06:54 +0000 (0:00:00.077) 0:00:27.629 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:06:54 +0000 (0:00:00.040) 0:00:27.670 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:06:54 +0000 (0:00:00.040) 0:00:27.710 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:06:54 +0000 (0:00:00.056) 0:00:27.767 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:06:55 +0000 (0:00:00.572) 0:00:28.340 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:06:55 +0000 (0:00:00.054) 0:00:28.394 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:06:55 +0000 (0:00:00.035) 0:00:28.430 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:06:55 +0000 (0:00:00.036) 0:00:28.466 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-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, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 [004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 (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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:06:56 +0000 (0:00:00.681) 0:00:29.148 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:06:56 +0000 (0:00:00.039) 0:00:29.188 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 (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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:06:56 +0000 (0:00:00.121) 0:00:29.309 ****** ok: [/cache/centos-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, 6f4d5528-86ca-4192-be2a-a391ff4d4f43\n[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 (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, 6f4d5528-86ca-4192-be2a-a391ff4d4f43", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 6f4d5528-86ca-4192-be2a-a391ff4d4f43 (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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:06:56 +0000 (0:00:00.048) 0:00:29.358 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:06:56 +0000 (0:00:00.037) 0:00:29.395 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:131 Wednesday 03 August 2022 16:06:56 +0000 (0:00:00.401) 0:00:29.797 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/centos-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.002854", "end": "2022-08-03 12:06:56.594279", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2022-08-03 12:06:56.591425" } STDOUT: active-backup 1 changed: [/cache/centos-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.002790", "end": "2022-08-03 12:06:56.961202", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2022-08-03 12:06:56.958412" } STDOUT: 60 changed: [/cache/centos-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.003063", "end": "2022-08-03 12:06:57.316188", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2022-08-03 12:06:57.313125" } STDOUT: 192.0.2.128 changed: [/cache/centos-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.003372", "end": "2022-08-03 12:06:57.663437", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2022-08-03 12:06:57.660065" } STDOUT: none 0 changed: [/cache/centos-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.002948", "end": "2022-08-03 12:06:58.017633", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2022-08-03 12:06:58.014685" } STDOUT: test1 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:143 Wednesday 03 August 2022 16:06:58 +0000 (0:00:01.820) 0:00:31.618 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003354", "end": "2022-08-03 12:06:58.410641", "rc": 0, "start": "2022-08-03 12:06:58.407287" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.70/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 238sec preferred_lft 238sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:149 Wednesday 03 August 2022 16:06:59 +0000 (0:00:00.392) 0:00:32.010 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003938", "end": "2022-08-03 12:06:58.874586", "rc": 0, "start": "2022-08-03 12:06:58.870648" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::b1/128 scope global tentative dynamic noprefixroute valid_lft 239sec preferred_lft 239sec inet6 2001:db8::860d:4547:603a:c8a5/64 scope global tentative dynamic noprefixroute valid_lft 1800sec preferred_lft 1800sec inet6 fe80::7c54:8b94:f477:c72a/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:06:59 +0000 (0:00:00.463) 0:00:32.473 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:06:59 +0000 (0:00:00.066) 0:00:32.540 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:07:00 +0000 (0:00:00.549) 0:00:33.089 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:07:01 +0000 (0:00:01.493) 0:00:34.583 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:07:02 +0000 (0:00:00.858) 0:00:35.441 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:07:02 +0000 (0:00:00.048) 0:00:35.489 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:07:02 +0000 (0:00:00.039) 0:00:35.529 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:07:02 +0000 (0:00:00.042) 0:00:35.572 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:07:02 +0000 (0:00:00.081) 0:00:35.654 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:07:02 +0000 (0:00:00.047) 0:00:35.701 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:07:02 +0000 (0:00:00.039) 0:00:35.741 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:07:02 +0000 (0:00:00.056) 0:00:35.798 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:07:03 +0000 (0:00:00.566) 0:00:36.364 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:07:03 +0000 (0:00:00.057) 0:00:36.422 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:07:03 +0000 (0:00:00.035) 0:00:36.458 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:07:03 +0000 (0:00:00.034) 0:00:36.492 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:07:04 +0000 (0:00:00.861) 0:00:37.353 ****** skipping: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:07:04 +0000 (0:00:00.044) 0:00:37.398 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:07:04 +0000 (0:00:00.047) 0:00:37.446 ****** ok: [/cache/centos-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/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:07:04 +0000 (0:00:00.047) 0:00:37.493 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:07:04 +0000 (0:00:00.043) 0:00:37.537 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:173 Wednesday 03 August 2022 16:07:04 +0000 (0:00:00.396) 0:00:37.934 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.007103", "end": "2022-08-03 12:07:04.720032", "rc": 1, "start": "2022-08-03 12:07:04.712929" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:07:05 +0000 (0:00:00.378) 0:00:38.312 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.092247", "end": "2022-08-03 12:07:05.187782", "rc": 0, "start": "2022-08-03 12:07:05.095535" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 16:07:05 +0000 (0:00:00.479) 0:00:38.792 ****** ok: [/cache/centos-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.012018", "end": "2022-08-03 12:07:05.594024", "rc": 0, "start": "2022-08-03 12:07:05.582006" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=88 changed=11 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 16:07:06 +0000 (0:00:00.449) 0:00:39.242 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 5.72s /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:79 -------------------- ** TEST check bond settings --------------------------------------------- 1.82s /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:131 ------------------- linux-system-roles.network : Check which services are running ----------- 1.70s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.53s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.49s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.49s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 linux-system-roles.network : Check which packages are installed --------- 1.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install dnsmasq --------------------------------------------------------- 1.01s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmp05ac0kav/tests/tests_bond_options_nm.yml:5 ---------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.88s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.86s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.86s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install pgrep, sysctl --------------------------------------------------- 0.85s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.75s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.68s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.60s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp05ac0kav/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_restore.yml:4 Wednesday 03 August 2022 16:07:06 +0000 (0:00:00.041) 0:00:39.283 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005822", "end": "2022-08-03 12:07:06.066330", "rc": 0, "start": "2022-08-03 12:07:06.060508" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=89 changed=12 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 16:07:06 +0000 (0:00:00.398) 0:00:39.682 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 5.72s /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:79 -------------------- ** TEST check bond settings --------------------------------------------- 1.82s /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:131 ------------------- linux-system-roles.network : Check which services are running ----------- 1.70s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.53s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.49s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.49s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 linux-system-roles.network : Check which packages are installed --------- 1.03s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install dnsmasq --------------------------------------------------------- 1.01s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmp05ac0kav/tests/tests_bond_options_nm.yml:5 ---------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.88s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.86s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.86s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install pgrep, sysctl --------------------------------------------------- 0.85s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp05ac0kav/tests/playbooks/tests_bond_options.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.75s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.68s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.60s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Get stats of system files ----------------------------------------------- 0.58s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.57s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- 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/tmp40vowjjo 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/tmpem3y1lsc/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:27:33 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-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": 1659544051.8279023, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544051.3179023, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3709863441", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:27:33 +0000 (0:00:00.607) 0:00:00.625 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-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': 4210119, 'dev': 64513, 'nlink': 1, 'atime': 1659544051.8279023, 'mtime': 1659543778.0, 'ctime': 1659544051.3179023, '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': '3709863441', '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": 1659544051.8279023, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544051.3179023, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4210119, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3709863441", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:27:33 +0000 (0:00:00.036) 0:00:00.661 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004345", "end": "2022-08-03 12:27:33.094800", "rc": 0, "start": "2022-08-03 12:27:33.090455" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:27:34 +0000 (0:00:00.504) 0:00:01.166 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_options_nm.yml ******************************************** 2 plays in /tmp/tmpem3y1lsc/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/tmpem3y1lsc/tests/network/tests_bond_options_nm.yml:5 Wednesday 03 August 2022 16:27:34 +0000 (0:00:00.100) 0:00:01.267 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_bond_options_nm.yml:8 Wednesday 03 August 2022 16:27:35 +0000 (0:00:01.037) 0:00:02.304 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.028) 0:00:02.332 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.021) 0:00:02.354 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.027) 0:00:02.381 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.019) 0:00:02.400 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.021) 0:00:02.422 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.019) 0:00:02.442 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_bond_options_nm.yml:9 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.020) 0:00:02.462 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:3 Wednesday 03 August 2022 16:27:35 +0000 (0:00:00.050) 0:00:02.513 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:12 Wednesday 03 August 2022 16:27:36 +0000 (0:00:00.819) 0:00:03.333 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:27:36 +0000 (0:00:00.030) 0:00:03.363 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 16:27:37 +0000 (0:00:00.986) 0:00:04.350 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 16:27:37 +0000 (0:00:00.030) 0:00:04.380 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 16:27:38 +0000 (0:00:00.810) 0:00:05.191 ****** ok: [/cache/centos-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.131438", "end": "2022-08-03 12:27:38.641082", "rc": 0, "start": "2022-08-03 12:27:37.509644" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:27:39 +0000 (0:00:01.522) 0:00:06.713 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:27:39 +0000 (0:00:00.033) 0:00:06.746 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544057.5153685, "block_size": 4096, "blocks": 0, "ctime": 1659544057.5153685, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26166, "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": 1659544057.5153685, "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/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.366) 0:00:07.113 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.034) 0:00:07.148 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.031) 0:00:07.180 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544057.523731, "block_size": 4096, "blocks": 0, "ctime": 1659544057.523731, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26422, "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": 1659544057.523731, "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/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.396) 0:00:07.577 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:23 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.068) 0:00:07.645 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.032) 0:00:07.678 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:27:40 +0000 (0:00:00.038) 0:00:07.716 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:27:41 +0000 (0:00:00.557) 0:00:08.274 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:27:43 +0000 (0:00:01.753) 0:00:10.028 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.967) 0:00:10.995 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.049) 0:00:11.044 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.038) 0:00:11.083 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.043) 0:00:11.126 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.079) 0:00:11.206 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.040) 0:00:11.246 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.038) 0:00:11.284 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:27:44 +0000 (0:00:00.054) 0:00:11.339 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.856) 0:00:12.196 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.054) 0:00:12.250 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.034) 0:00:12.284 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:27:45 +0000 (0:00:00.033) 0:00:12.318 ****** changed: [/cache/centos-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, 077220cc-c386-4e30-8b01-bf4679d49090 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 3d0ffaaa-5c67-4b01-8375-e037213a85bd [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d31d5025-2197-402c-a4b2-ce72103eb7bc [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 3d0ffaaa-5c67-4b01-8375-e037213a85bd (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d31d5025-2197-402c-a4b2-ce72103eb7bc (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:27:46 +0000 (0:00:00.853) 0:00:13.172 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:27:46 +0000 (0:00:00.039) 0:00:13.211 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 3d0ffaaa-5c67-4b01-8375-e037213a85bd", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d31d5025-2197-402c-a4b2-ce72103eb7bc", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 3d0ffaaa-5c67-4b01-8375-e037213a85bd (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d31d5025-2197-402c-a4b2-ce72103eb7bc (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:27:46 +0000 (0:00:00.046) 0:00:13.258 ****** ok: [/cache/centos-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, 077220cc-c386-4e30-8b01-bf4679d49090\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 3d0ffaaa-5c67-4b01-8375-e037213a85bd\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d31d5025-2197-402c-a4b2-ce72103eb7bc\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 3d0ffaaa-5c67-4b01-8375-e037213a85bd (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d31d5025-2197-402c-a4b2-ce72103eb7bc (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 3d0ffaaa-5c67-4b01-8375-e037213a85bd", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d31d5025-2197-402c-a4b2-ce72103eb7bc", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 3d0ffaaa-5c67-4b01-8375-e037213a85bd (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d31d5025-2197-402c-a4b2-ce72103eb7bc (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:27:46 +0000 (0:00:00.046) 0:00:13.305 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:27:46 +0000 (0:00:00.041) 0:00:13.346 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.574) 0:00:13.921 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.057) 0:00:13.979 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544064.973291, "block_size": 4096, "blocks": 0, "ctime": 1659544064.973291, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26755, "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": 1659544064.973291, "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/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.396) 0:00:14.375 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:71 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.050) 0:00:14.426 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0) included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0.0) included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.079) 0:00:14.505 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.058) 0:00:14.563 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:27:47 +0000 (0:00:00.045) 0:00:14.609 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544064.9719024, "block_size": 4096, "blocks": 8, "ctime": 1659544064.9719024, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941520, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544064.9719024, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 627, "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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.381) 0:00:14.990 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.049) 0:00:15.039 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021333", "end": "2022-08-03 12:27:47.368163", "rc": 0, "start": "2022-08-03 12:27:47.346830" } 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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.410) 0:00:15.450 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.111) 0:00:15.562 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.038) 0:00:15.600 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.038) 0:00:15.638 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.045) 0:00:15.684 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.048) 0:00:15.732 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.057) 0:00:15.790 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:27:48 +0000 (0:00:00.047) 0:00:15.837 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544065.0019023, "block_size": 4096, "blocks": 8, "ctime": 1659544065.0019023, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544065.0019023, "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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:27:49 +0000 (0:00:00.377) 0:00:16.215 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:27:49 +0000 (0:00:00.044) 0:00:16.260 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.020234", "end": "2022-08-03 12:27:48.581852", "rc": 0, "start": "2022-08-03 12:27:48.561618" } 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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:27:49 +0000 (0:00:00.405) 0:00:16.666 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:27:49 +0000 (0:00:00.049) 0:00:16.715 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:27:49 +0000 (0:00:00.038) 0:00:16.753 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:27:49 +0000 (0:00:00.037) 0:00:16.790 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:27:49 +0000 (0:00:00.048) 0:00:16.839 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:27:50 +0000 (0:00:00.158) 0:00:16.997 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:27:50 +0000 (0:00:00.058) 0:00:17.055 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:27:50 +0000 (0:00:00.048) 0:00:17.103 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544065.0109024, "block_size": 4096, "blocks": 8, "ctime": 1659544065.0109024, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544065.0109024, "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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:27:50 +0000 (0:00:00.383) 0:00:17.486 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:27:50 +0000 (0:00:00.047) 0:00:17.534 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.019356", "end": "2022-08-03 12:27:49.849663", "rc": 0, "start": "2022-08-03 12:27:49.830307" } 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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:27:51 +0000 (0:00:00.398) 0:00:17.932 ****** ok: [/cache/centos-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/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:27:51 +0000 (0:00:00.047) 0:00:17.979 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:27:51 +0000 (0:00:00.037) 0:00:18.017 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:27:51 +0000 (0:00:00.036) 0:00:18.053 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:27:51 +0000 (0:00:00.046) 0:00:18.099 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:79 Wednesday 03 August 2022 16:27:51 +0000 (0:00:00.042) 0:00:18.142 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/centos-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:01.004786", "end": "2022-08-03 12:27:51.435302", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2022-08-03 12:27:50.430516" } STDOUT: 802.3ad 4 changed: [/cache/centos-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.003602", "end": "2022-08-03 12:27:51.814291", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2022-08-03 12:27:51.810689" } STDOUT: 65535 changed: [/cache/centos-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.003612", "end": "2022-08-03 12:27:52.222513", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2022-08-03 12:27:52.218901" } STDOUT: 00:00:5e:00:53:5d changed: [/cache/centos-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.002904", "end": "2022-08-03 12:27:52.573593", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2022-08-03 12:27:52.570689" } STDOUT: stable 0 changed: [/cache/centos-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.002836", "end": "2022-08-03 12:27:52.914775", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2022-08-03 12:27:52.911939" } STDOUT: 1023 changed: [/cache/centos-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.002833", "end": "2022-08-03 12:27:53.275742", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2022-08-03 12:27:53.272909" } STDOUT: 1 changed: [/cache/centos-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.002996", "end": "2022-08-03 12:27:53.626536", "item": { "key": "arp_all_targets", "value": "all" }, "rc": 0, "start": "2022-08-03 12:27:53.623540" } STDOUT: all 1 changed: [/cache/centos-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.002836", "end": "2022-08-03 12:27:53.969636", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2022-08-03 12:27:53.966800" } STDOUT: 0 changed: [/cache/centos-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.002954", "end": "2022-08-03 12:27:54.319756", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2022-08-03 12:27:54.316802" } STDOUT: slow 0 changed: [/cache/centos-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.003634", "end": "2022-08-03 12:27:54.676303", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2022-08-03 12:27:54.672669" } STDOUT: 128 changed: [/cache/centos-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.002922", "end": "2022-08-03 12:27:55.037392", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2022-08-03 12:27:55.034470" } STDOUT: 110 changed: [/cache/centos-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.004863", "end": "2022-08-03 12:27:56.387546", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2022-08-03 12:27:55.382683" } STDOUT: 64 changed: [/cache/centos-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:01.009488", "end": "2022-08-03 12:27:57.752468", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2022-08-03 12:27:56.742980" } STDOUT: 225 changed: [/cache/centos-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.002872", "end": "2022-08-03 12:27:58.107280", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2022-08-03 12:27:58.104408" } STDOUT: 0 changed: [/cache/centos-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.002797", "end": "2022-08-03 12:27:58.446443", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2022-08-03 12:27:58.443646" } STDOUT: 1 changed: [/cache/centos-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.003000", "end": "2022-08-03 12:27:58.790175", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2022-08-03 12:27:58.787175" } STDOUT: encap2+3 3 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:101 Wednesday 03 August 2022 16:27:59 +0000 (0:00:08.741) 0:00:26.884 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003738", "end": "2022-08-03 12:27:59.184245", "rc": 0, "start": "2022-08-03 12:27:59.180507" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.26/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 229sec preferred_lft 229sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:107 Wednesday 03 August 2022 16:28:00 +0000 (0:00:00.385) 0:00:27.269 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.008104", "end": "2022-08-03 12:27:59.679194", "rc": 0, "start": "2022-08-03 12:27:59.671090" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::b1/128 scope global dynamic noprefixroute valid_lft 229sec preferred_lft 229sec inet6 2001:db8::551b:8648:ebee:7be9/64 scope global dynamic noprefixroute valid_lft 1797sec preferred_lft 1797sec inet6 fe80::ebaf:9142:db17:8d2e/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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:28:00 +0000 (0:00:00.554) 0:00:27.824 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:28:01 +0000 (0:00:00.079) 0:00:27.904 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:28:01 +0000 (0:00:00.609) 0:00:28.514 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:28:03 +0000 (0:00:01.497) 0:00:30.011 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:28:03 +0000 (0:00:00.733) 0:00:30.745 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:28:03 +0000 (0:00:00.046) 0:00:30.791 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:28:03 +0000 (0:00:00.039) 0:00:30.831 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.073) 0:00:30.904 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.074) 0:00:30.979 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.039) 0:00:31.019 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.036) 0:00:31.056 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.054) 0:00:31.110 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.559) 0:00:31.670 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.056) 0:00:31.726 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.034) 0:00:31.761 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:28:04 +0000 (0:00:00.035) 0:00:31.797 ****** changed: [/cache/centos-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, 077220cc-c386-4e30-8b01-bf4679d49090 [004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090 (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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.643) 0:00:32.440 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.040) 0:00:32.481 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090 (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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.050) 0:00:32.531 ****** ok: [/cache/centos-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, 077220cc-c386-4e30-8b01-bf4679d49090\n[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090 (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, 077220cc-c386-4e30-8b01-bf4679d49090", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 077220cc-c386-4e30-8b01-bf4679d49090 (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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.123) 0:00:32.655 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:28:05 +0000 (0:00:00.038) 0:00:32.694 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:130 Wednesday 03 August 2022 16:28:06 +0000 (0:00:00.427) 0:00:33.121 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/centos-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.003048", "end": "2022-08-03 12:28:05.434725", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2022-08-03 12:28:05.431677" } STDOUT: active-backup 1 changed: [/cache/centos-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:01.004231", "end": "2022-08-03 12:28:06.787989", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2022-08-03 12:28:05.783758" } STDOUT: 60 changed: [/cache/centos-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.003410", "end": "2022-08-03 12:28:07.161237", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2022-08-03 12:28:07.157827" } STDOUT: 192.0.2.128 changed: [/cache/centos-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.003193", "end": "2022-08-03 12:28:07.527885", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2022-08-03 12:28:07.524692" } STDOUT: none 0 changed: [/cache/centos-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.003026", "end": "2022-08-03 12:28:07.869600", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2022-08-03 12:28:07.866574" } STDOUT: test1 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:141 Wednesday 03 August 2022 16:28:09 +0000 (0:00:02.838) 0:00:35.959 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003564", "end": "2022-08-03 12:28:08.273501", "rc": 0, "start": "2022-08-03 12:28:08.269937" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.26/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/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:147 Wednesday 03 August 2022 16:28:09 +0000 (0:00:00.399) 0:00:36.359 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003372", "end": "2022-08-03 12:28:08.684239", "rc": 0, "start": "2022-08-03 12:28:08.680867" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::b1/128 scope global dynamic noprefixroute valid_lft 238sec preferred_lft 238sec inet6 2001:db8::551b:8648:ebee:7be9/64 scope global dynamic noprefixroute valid_lft 1799sec preferred_lft 1799sec inet6 fe80::ebaf:9142:db17:8d2e/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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:28:09 +0000 (0:00:00.411) 0:00:36.771 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:28:09 +0000 (0:00:00.060) 0:00:36.831 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:28:10 +0000 (0:00:00.555) 0:00:37.387 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:28:12 +0000 (0:00:01.531) 0:00:38.918 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:28:12 +0000 (0:00:00.775) 0:00:39.694 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:28:12 +0000 (0:00:00.047) 0:00:39.741 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:28:12 +0000 (0:00:00.076) 0:00:39.818 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:28:12 +0000 (0:00:00.040) 0:00:39.858 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:28:13 +0000 (0:00:00.077) 0:00:39.936 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:28:13 +0000 (0:00:00.040) 0:00:39.977 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:28:13 +0000 (0:00:00.036) 0:00:40.014 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:28:13 +0000 (0:00:00.052) 0:00:40.066 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:28:13 +0000 (0:00:00.579) 0:00:40.646 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:28:13 +0000 (0:00:00.055) 0:00:40.702 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:28:13 +0000 (0:00:00.034) 0:00:40.737 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:28:13 +0000 (0:00:00.037) 0:00:40.775 ****** changed: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:28:14 +0000 (0:00:00.839) 0:00:41.615 ****** skipping: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:28:14 +0000 (0:00:00.070) 0:00:41.685 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:28:14 +0000 (0:00:00.044) 0:00:41.729 ****** ok: [/cache/centos-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/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:28:14 +0000 (0:00:00.050) 0:00:41.779 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:28:14 +0000 (0:00:00.042) 0:00:41.822 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:171 Wednesday 03 August 2022 16:28:15 +0000 (0:00:00.430) 0:00:42.253 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.015106", "end": "2022-08-03 12:28:14.576314", "rc": 1, "start": "2022-08-03 12:28:14.561208" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:28:15 +0000 (0:00:00.410) 0:00:42.663 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.081011", "end": "2022-08-03 12:28:15.051492", "rc": 0, "start": "2022-08-03 12:28:14.970481" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.474) 0:00:43.138 ****** ok: [/cache/centos-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.013979", "end": "2022-08-03 12:28:15.457862", "rc": 0, "start": "2022-08-03 12:28:15.443883" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=88 changed=11 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.425) 0:00:43.563 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 8.74s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:79 ------------ ** TEST check bond settings --------------------------------------------- 2.84s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:130 ----------- fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.52s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpem3y1lsc/tests/network/tests_bond_options_nm.yml:5 -------------------- Install dnsmasq --------------------------------------------------------- 0.99s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.86s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.84s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:3 ------------- Install pgrep, sysctl --------------------------------------------------- 0.81s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.73s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.61s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpem3y1lsc/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:28:16 +0000 (0:00:00.076) 0:00:43.639 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006054", "end": "2022-08-03 12:28:15.948978", "rc": 0, "start": "2022-08-03 12:28:15.942924" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=89 changed=12 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 16:28:17 +0000 (0:00:00.413) 0:00:44.053 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 8.74s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:79 ------------ ** TEST check bond settings --------------------------------------------- 2.84s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:130 ----------- fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.52s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpem3y1lsc/tests/network/tests_bond_options_nm.yml:5 -------------------- Install dnsmasq --------------------------------------------------------- 0.99s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.86s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.84s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_options.yml:3 ------------- Install pgrep, sysctl --------------------------------------------------- 0.81s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.73s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.64s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.61s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69