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/tmpdm_c1v_l 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/tmp5fajrzs2/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:6 Wednesday 03 August 2022 16:34:47 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-35.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": 1659544485.9963849, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659544485.9963849, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36325, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp5fajrzs2/tests/_backup.yml:13 Wednesday 03 August 2022 16:34:47 +0000 (0:00:00.595) 0:00:00.613 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 36325, 'dev': 32, 'nlink': 1, 'atime': 1659544485.9963849, 'mtime': 1659338446.0, 'ctime': 1659544485.9963849, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, '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": 1659544485.9963849, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659544485.9963849, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36325, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:19 Wednesday 03 August 2022 16:34:47 +0000 (0:00:00.033) 0:00:00.647 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004079", "end": "2022-08-03 16:34:47.725863", "rc": 0, "start": "2022-08-03 16:34:47.721784" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:34:48 +0000 (0:00:00.495) 0:00:01.143 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.50s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp5fajrzs2/tests/_backup.yml:13 ----------------------------------------- statically imported: /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp5fajrzs2/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_options_nm.yml ******************************************** 2 plays in /tmp/tmp5fajrzs2/tests/tests_bond_options_nm.yml PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/tests_bond_options_nm.yml:5 Wednesday 03 August 2022 16:34:48 +0000 (0:00:00.077) 0:00:01.220 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tests_bond_options_nm.yml:8 Wednesday 03 August 2022 16:34:49 +0000 (0:00:01.022) 0:00:02.243 ****** included: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:34:49 +0000 (0:00:00.025) 0:00:02.269 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:34:49 +0000 (0:00:00.019) 0:00:02.288 ****** included: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:34:49 +0000 (0:00:00.029) 0:00:02.317 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:34:49 +0000 (0:00:00.019) 0:00:02.337 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:34:49 +0000 (0:00:00.023) 0:00:02.360 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:34:49 +0000 (0:00:00.019) 0:00:02.380 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp5fajrzs2/tests/tests_bond_options_nm.yml:9 Wednesday 03 August 2022 16:34:49 +0000 (0:00:00.019) 0:00:02.400 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:3 Wednesday 03 August 2022 16:34:49 +0000 (0:00:00.050) 0:00:02.450 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:12 Wednesday 03 August 2022 16:34:50 +0000 (0:00:00.784) 0:00:03.234 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:34:50 +0000 (0:00:00.031) 0:00:03.266 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 16:34:52 +0000 (0:00:02.281) 0:00:05.548 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 16:34:52 +0000 (0:00:00.027) 0:00:05.575 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 16:34:54 +0000 (0:00:01.912) 0:00:07.488 ****** ok: [/cache/fedora-35.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.137782", "end": "2022-08-03 16:34:55.599208", "rc": 0, "start": "2022-08-03 16:34:54.461426" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:34:56 +0000 (0:00:01.526) 0:00:09.015 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:34:56 +0000 (0:00:00.031) 0:00:09.047 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544494.466871, "block_size": 4096, "blocks": 0, "ctime": 1659544494.466871, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28003, "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": 1659544494.466871, "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/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:34:56 +0000 (0:00:00.387) 0:00:09.435 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:34:56 +0000 (0:00:00.034) 0:00:09.469 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:34:56 +0000 (0:00:00.031) 0:00:09.501 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544494.4692976, "block_size": 4096, "blocks": 0, "ctime": 1659544494.4692976, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28259, "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": 1659544494.4692976, "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/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:34:57 +0000 (0:00:00.390) 0:00:09.891 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:23 Wednesday 03 August 2022 16:34:57 +0000 (0:00:00.079) 0:00:09.971 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:34:57 +0000 (0:00:00.033) 0:00:10.005 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:34:57 +0000 (0:00:00.035) 0:00:10.040 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:34:57 +0000 (0:00:00.615) 0:00:10.655 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:34:59 +0000 (0:00:02.173) 0:00:12.829 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:35:00 +0000 (0:00:00.990) 0:00:13.820 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:35:00 +0000 (0:00:00.045) 0:00:13.866 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:35:01 +0000 (0:00:00.037) 0:00:13.903 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:35:01 +0000 (0:00:00.038) 0:00:13.941 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:35:01 +0000 (0:00:00.074) 0:00:14.016 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:35:01 +0000 (0:00:00.038) 0:00:14.054 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:35:01 +0000 (0:00:00.039) 0:00:14.093 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:35:01 +0000 (0:00:00.058) 0:00:14.151 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:35:02 +0000 (0:00:00.880) 0:00:15.032 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:35:02 +0000 (0:00:00.056) 0:00:15.089 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:35:02 +0000 (0:00:00.033) 0:00:15.123 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:35:02 +0000 (0:00:00.035) 0:00:15.158 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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, 28e6e56d-72e6-456d-8587-491b50c8a8e3 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, c83610c0-b904-457f-ba94-3dd70eee0bee [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 9a5fee2c-36f4-429d-91d4-36324dd8ed82 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, c83610c0-b904-457f-ba94-3dd70eee0bee (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 9a5fee2c-36f4-429d-91d4-36324dd8ed82 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:35:03 +0000 (0:00:00.854) 0:00:16.013 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:35:03 +0000 (0:00:00.041) 0:00:16.054 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, c83610c0-b904-457f-ba94-3dd70eee0bee", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 9a5fee2c-36f4-429d-91d4-36324dd8ed82", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, c83610c0-b904-457f-ba94-3dd70eee0bee (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 9a5fee2c-36f4-429d-91d4-36324dd8ed82 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:35:03 +0000 (0:00:00.045) 0:00:16.100 ****** ok: [/cache/fedora-35.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, 28e6e56d-72e6-456d-8587-491b50c8a8e3\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, c83610c0-b904-457f-ba94-3dd70eee0bee\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 9a5fee2c-36f4-429d-91d4-36324dd8ed82\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, c83610c0-b904-457f-ba94-3dd70eee0bee (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 9a5fee2c-36f4-429d-91d4-36324dd8ed82 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, c83610c0-b904-457f-ba94-3dd70eee0bee", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 9a5fee2c-36f4-429d-91d4-36324dd8ed82", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, c83610c0-b904-457f-ba94-3dd70eee0bee (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 9a5fee2c-36f4-429d-91d4-36324dd8ed82 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:35:03 +0000 (0:00:00.049) 0:00:16.149 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:35:03 +0000 (0:00:00.038) 0:00:16.188 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:35:03 +0000 (0:00:00.584) 0:00:16.773 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:35:03 +0000 (0:00:00.059) 0:00:16.832 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544502.467594, "block_size": 4096, "blocks": 0, "ctime": 1659544502.467594, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28592, "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": 1659544502.467594, "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/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:35:04 +0000 (0:00:00.413) 0:00:17.246 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:71 Wednesday 03 August 2022 16:35:04 +0000 (0:00:00.050) 0:00:17.296 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap => (item=bond0) included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap => (item=bond0.0) included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:35:04 +0000 (0:00:00.080) 0:00:17.376 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:35:04 +0000 (0:00:00.058) 0:00:17.435 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:35:04 +0000 (0:00:00.046) 0:00:17.482 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544502.4653847, "block_size": 4096, "blocks": 8, "ctime": 1659544502.4653847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544502.4653847, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 634, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.416) 0:00:17.899 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.045) 0:00:17.945 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021971", "end": "2022-08-03 16:35:04.936997", "rc": 0, "start": "2022-08-03 16:35:04.915026" } 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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.457) 0:00:18.402 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.052) 0:00:18.455 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.038) 0:00:18.493 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.039) 0:00:18.532 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.051) 0:00:18.584 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.048) 0:00:18.632 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.058) 0:00:18.691 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:35:05 +0000 (0:00:00.046) 0:00:18.738 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544502.5003848, "block_size": 4096, "blocks": 8, "ctime": 1659544502.5003848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36355, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544502.5003848, "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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:35:06 +0000 (0:00:00.397) 0:00:19.135 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:35:06 +0000 (0:00:00.047) 0:00:19.183 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.021632", "end": "2022-08-03 16:35:06.186358", "rc": 0, "start": "2022-08-03 16:35:06.164726" } 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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:35:06 +0000 (0:00:00.430) 0:00:19.613 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:35:06 +0000 (0:00:00.049) 0:00:19.662 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:35:06 +0000 (0:00:00.038) 0:00:19.701 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:35:06 +0000 (0:00:00.074) 0:00:19.776 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:35:06 +0000 (0:00:00.056) 0:00:19.832 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:35:07 +0000 (0:00:00.049) 0:00:19.882 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:35:07 +0000 (0:00:00.056) 0:00:19.939 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:35:07 +0000 (0:00:00.045) 0:00:19.984 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544502.5093849, "block_size": 4096, "blocks": 8, "ctime": 1659544502.5093849, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544502.5093849, "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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:35:07 +0000 (0:00:00.401) 0:00:20.386 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:35:07 +0000 (0:00:00.043) 0:00:20.430 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.021394", "end": "2022-08-03 16:35:07.425464", "rc": 0, "start": "2022-08-03 16:35:07.404070" } 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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:35:07 +0000 (0:00:00.424) 0:00:20.855 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:35:08 +0000 (0:00:00.049) 0:00:20.904 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:35:08 +0000 (0:00:00.036) 0:00:20.941 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:35:08 +0000 (0:00:00.037) 0:00:20.978 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:35:08 +0000 (0:00:00.047) 0:00:21.025 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:79 Wednesday 03 August 2022 16:35:08 +0000 (0:00:00.047) 0:00:21.073 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/fedora-35.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.003506", "end": "2022-08-03 16:35:08.119622", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2022-08-03 16:35:08.116116" } STDOUT: 802.3ad 4 changed: [/cache/fedora-35.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.003350", "end": "2022-08-03 16:35:08.490903", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2022-08-03 16:35:08.487553" } STDOUT: 65535 changed: [/cache/fedora-35.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.003845", "end": "2022-08-03 16:35:08.875636", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2022-08-03 16:35:08.871791" } STDOUT: 00:00:5e:00:53:5d changed: [/cache/fedora-35.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.003460", "end": "2022-08-03 16:35:09.259974", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2022-08-03 16:35:09.256514" } STDOUT: stable 0 changed: [/cache/fedora-35.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:01.004645", "end": "2022-08-03 16:35:10.629743", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2022-08-03 16:35:09.625098" } STDOUT: 1023 changed: [/cache/fedora-35.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.003345", "end": "2022-08-03 16:35:11.007319", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2022-08-03 16:35:11.003974" } STDOUT: 1 changed: [/cache/fedora-35.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.003428", "end": "2022-08-03 16:35:11.382380", "item": { "key": "arp_all_targets", "value": "all" }, "rc": 0, "start": "2022-08-03 16:35:11.378952" } STDOUT: all 1 changed: [/cache/fedora-35.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.003368", "end": "2022-08-03 16:35:11.760132", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2022-08-03 16:35:11.756764" } STDOUT: 0 changed: [/cache/fedora-35.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.003351", "end": "2022-08-03 16:35:12.138637", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2022-08-03 16:35:12.135286" } STDOUT: slow 0 changed: [/cache/fedora-35.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.003282", "end": "2022-08-03 16:35:12.520435", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2022-08-03 16:35:12.517153" } STDOUT: 128 changed: [/cache/fedora-35.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.004144", "end": "2022-08-03 16:35:12.913677", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2022-08-03 16:35:12.909533" } STDOUT: 110 changed: [/cache/fedora-35.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.004069", "end": "2022-08-03 16:35:13.308035", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2022-08-03 16:35:13.303966" } STDOUT: 64 changed: [/cache/fedora-35.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.005385", "end": "2022-08-03 16:35:13.693199", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2022-08-03 16:35:13.687814" } STDOUT: 225 changed: [/cache/fedora-35.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.003335", "end": "2022-08-03 16:35:14.112311", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2022-08-03 16:35:14.108976" } STDOUT: 0 changed: [/cache/fedora-35.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.003393", "end": "2022-08-03 16:35:14.490221", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2022-08-03 16:35:14.486828" } STDOUT: 1 changed: [/cache/fedora-35.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:01.006499", "end": "2022-08-03 16:35:15.875993", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2022-08-03 16:35:14.869494" } STDOUT: encap2+3 3 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:102 Wednesday 03 August 2022 16:35:16 +0000 (0:00:08.238) 0:00:29.312 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003965", "end": "2022-08-03 16:35:16.294558", "rc": 0, "start": "2022-08-03 16:35:16.290593" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.14/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/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:108 Wednesday 03 August 2022 16:35:16 +0000 (0:00:00.410) 0:00:29.723 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003563", "end": "2022-08-03 16:35:16.702255", "rc": 0, "start": "2022-08-03 16:35:16.698692" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::96/128 scope global dynamic noprefixroute valid_lft 232sec preferred_lft 232sec inet6 2001:db8::935f:43fb:b456:7e40/64 scope global dynamic noprefixroute valid_lft 1794sec preferred_lft 1794sec inet6 fe80::4a2a:fc18:699c:f6c/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:35:17 +0000 (0:00:00.410) 0:00:30.134 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:35:17 +0000 (0:00:00.061) 0:00:30.195 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:35:17 +0000 (0:00:00.601) 0:00:30.796 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:35:19 +0000 (0:00:01.983) 0:00:32.780 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:35:20 +0000 (0:00:00.763) 0:00:33.544 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:35:20 +0000 (0:00:00.043) 0:00:33.587 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:35:20 +0000 (0:00:00.044) 0:00:33.631 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:35:20 +0000 (0:00:00.039) 0:00:33.671 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:35:20 +0000 (0:00:00.073) 0:00:33.745 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:35:20 +0000 (0:00:00.039) 0:00:33.785 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:35:20 +0000 (0:00:00.040) 0:00:33.825 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:35:21 +0000 (0:00:00.056) 0:00:33.881 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:35:21 +0000 (0:00:00.601) 0:00:34.483 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:35:21 +0000 (0:00:00.060) 0:00:34.544 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:35:21 +0000 (0:00:00.039) 0:00:34.583 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:35:21 +0000 (0:00:00.034) 0:00:34.617 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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, 28e6e56d-72e6-456d-8587-491b50c8a8e3 [004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3 (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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:35:22 +0000 (0:00:00.734) 0:00:35.351 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:35:22 +0000 (0:00:00.040) 0:00:35.392 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3 (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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:35:22 +0000 (0:00:00.046) 0:00:35.439 ****** ok: [/cache/fedora-35.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, 28e6e56d-72e6-456d-8587-491b50c8a8e3\n[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3 (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, 28e6e56d-72e6-456d-8587-491b50c8a8e3", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 28e6e56d-72e6-456d-8587-491b50c8a8e3 (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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:35:22 +0000 (0:00:00.050) 0:00:35.490 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:35:22 +0000 (0:00:00.040) 0:00:35.530 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:131 Wednesday 03 August 2022 16:35:23 +0000 (0:00:00.435) 0:00:35.966 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/fedora-35.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.003677", "end": "2022-08-03 16:35:22.981014", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2022-08-03 16:35:22.977337" } STDOUT: active-backup 1 changed: [/cache/fedora-35.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.003381", "end": "2022-08-03 16:35:23.378535", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2022-08-03 16:35:23.375154" } STDOUT: 60 changed: [/cache/fedora-35.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.003130", "end": "2022-08-03 16:35:23.763306", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2022-08-03 16:35:23.760176" } STDOUT: 192.0.2.128 changed: [/cache/fedora-35.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.003514", "end": "2022-08-03 16:35:24.143370", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2022-08-03 16:35:24.139856" } STDOUT: none 0 changed: [/cache/fedora-35.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.003401", "end": "2022-08-03 16:35:24.519918", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2022-08-03 16:35:24.516517" } STDOUT: test1 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:143 Wednesday 03 August 2022 16:35:25 +0000 (0:00:01.985) 0:00:37.951 ****** FAILED - RETRYING: [/cache/fedora-35.qcow2.snap]: ** TEST check IPv4 (20 retries left). changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 2, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003774", "end": "2022-08-03 16:35:27.305007", "rc": 0, "start": "2022-08-03 16:35:27.301233" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.190/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 240sec preferred_lft 240sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:149 Wednesday 03 August 2022 16:35:27 +0000 (0:00:02.786) 0:00:40.738 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003963", "end": "2022-08-03 16:35:27.739783", "rc": 0, "start": "2022-08-03 16:35:27.735820" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::96/128 scope global dynamic noprefixroute valid_lft 236sec preferred_lft 236sec inet6 2001:db8::935f:43fb:b456:7e40/64 scope global dynamic noprefixroute valid_lft 1797sec preferred_lft 1797sec inet6 fe80::4a2a:fc18:699c:f6c/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:35:28 +0000 (0:00:00.435) 0:00:41.174 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:35:28 +0000 (0:00:00.066) 0:00:41.240 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:35:28 +0000 (0:00:00.574) 0:00:41.815 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:35:30 +0000 (0:00:02.055) 0:00:43.871 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.726) 0:00:44.598 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.078) 0:00:44.677 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.038) 0:00:44.715 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.068) 0:00:44.784 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:35:31 +0000 (0:00:00.074) 0:00:44.858 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.037) 0:00:44.895 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.038) 0:00:44.934 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.052) 0:00:44.987 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.592) 0:00:45.579 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.057) 0:00:45.637 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.034) 0:00:45.671 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:35:32 +0000 (0:00:00.035) 0:00:45.707 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.831) 0:00:46.538 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.039) 0:00:46.578 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.112) 0:00:46.690 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.047) 0:00:46.737 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:35:33 +0000 (0:00:00.037) 0:00:46.775 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:173 Wednesday 03 August 2022 16:35:34 +0000 (0:00:00.426) 0:00:47.201 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.008602", "end": "2022-08-03 16:35:34.186280", "rc": 1, "start": "2022-08-03 16:35:34.177678" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:35:34 +0000 (0:00:00.415) 0:00:47.617 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.074502", "end": "2022-08-03 16:35:34.673466", "rc": 0, "start": "2022-08-03 16:35:34.598964" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 16:35:35 +0000 (0:00:00.489) 0:00:48.106 ****** ok: [/cache/fedora-35.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.015216", "end": "2022-08-03 16:35:35.095597", "rc": 0, "start": "2022-08-03 16:35:35.080381" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=88 changed=11 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 16:35:35 +0000 (0:00:00.439) 0:00:48.545 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 8.24s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:79 -------------------- ** TEST check IPv4 ------------------------------------------------------ 2.79s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:143 ------------------- Install dnsmasq --------------------------------------------------------- 2.28s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 2.17s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.06s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 ** TEST check bond settings --------------------------------------------- 1.99s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:131 ------------------- linux-system-roles.network : Check which services are running ----------- 1.98s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install pgrep, sysctl --------------------------------------------------- 1.91s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Create test interfaces -------------------------------------------------- 1.53s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp5fajrzs2/tests/tests_bond_options_nm.yml:5 ---------------------------- linux-system-roles.network : Check which packages are installed --------- 0.99s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.88s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.73s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.73s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.62s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.60s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp5fajrzs2/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_restore.yml:4 Wednesday 03 August 2022 16:35:35 +0000 (0:00:00.077) 0:00:48.623 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006977", "end": "2022-08-03 16:35:35.598114", "rc": 0, "start": "2022-08-03 16:35:35.591137" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=89 changed=12 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 16:35:36 +0000 (0:00:00.424) 0:00:49.047 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 8.24s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:79 -------------------- ** TEST check IPv4 ------------------------------------------------------ 2.79s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:143 ------------------- Install dnsmasq --------------------------------------------------------- 2.28s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 2.17s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.06s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 ** TEST check bond settings --------------------------------------------- 1.99s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:131 ------------------- linux-system-roles.network : Check which services are running ----------- 1.98s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install pgrep, sysctl --------------------------------------------------- 1.91s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Create test interfaces -------------------------------------------------- 1.53s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp5fajrzs2/tests/tests_bond_options_nm.yml:5 ---------------------------- linux-system-roles.network : Check which packages are installed --------- 0.99s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.88s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_options.yml:3 --------------------- linux-system-roles.network : Check which packages are installed --------- 0.76s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.73s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.73s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.62s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.60s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpdm_c1v_l 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/tmpn6gexhje/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:01:21 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/fedora-35.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": 1659546080.848671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546080.849671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36325, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:01:22 +0000 (0:00:00.617) 0:00:00.635 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 36325, 'dev': 32, 'nlink': 1, 'atime': 1659546080.848671, 'mtime': 1659338446.0, 'ctime': 1659546080.849671, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, '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": 1659546080.848671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546080.849671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36325, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659338446.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:01:22 +0000 (0:00:00.037) 0:00:00.673 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004190", "end": "2022-08-03 17:01:22.657113", "rc": 0, "start": "2022-08-03 17:01:22.652923" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.527) 0:00:01.200 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.62s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.53s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpn6gexhje/tests/network/_backup.yml:13 --------------------------------- statically imported: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_options_nm.yml ******************************************** 2 plays in /tmp/tmpn6gexhje/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/tmpn6gexhje/tests/network/tests_bond_options_nm.yml:5 Wednesday 03 August 2022 17:01:23 +0000 (0:00:00.100) 0:00:01.300 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_bond_options_nm.yml:8 Wednesday 03 August 2022 17:01:24 +0000 (0:00:01.034) 0:00:02.334 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.026) 0:00:02.361 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.021) 0:00:02.382 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.029) 0:00:02.411 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.019) 0:00:02.431 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.020) 0:00:02.452 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.020) 0:00:02.472 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_bond_options_nm.yml:9 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.019) 0:00:02.492 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:3 Wednesday 03 August 2022 17:01:24 +0000 (0:00:00.047) 0:00:02.539 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:12 Wednesday 03 August 2022 17:01:25 +0000 (0:00:00.785) 0:00:03.325 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:01:25 +0000 (0:00:00.031) 0:00:03.356 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 17:01:27 +0000 (0:00:02.051) 0:00:05.408 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 17:01:27 +0000 (0:00:00.027) 0:00:05.436 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 17:01:29 +0000 (0:00:01.836) 0:00:07.273 ****** ok: [/cache/fedora-35.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.159699", "end": "2022-08-03 17:01:30.288746", "rc": 0, "start": "2022-08-03 17:01:29.129047" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:01:30 +0000 (0:00:01.568) 0:00:08.841 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:01:30 +0000 (0:00:00.034) 0:00:08.875 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546089.1354046, "block_size": 4096, "blocks": 0, "ctime": 1659546089.1354046, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28003, "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": 1659546089.1354046, "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/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.404) 0:00:09.280 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.035) 0:00:09.315 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.030) 0:00:09.346 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546089.139171, "block_size": 4096, "blocks": 0, "ctime": 1659546089.139171, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28259, "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": 1659546089.139171, "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/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.438) 0:00:09.785 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:23 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.034) 0:00:09.819 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.061) 0:00:09.881 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:01:31 +0000 (0:00:00.036) 0:00:09.917 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:01:32 +0000 (0:00:00.547) 0:00:10.465 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:01:34 +0000 (0:00:02.106) 0:00:12.572 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.956) 0:00:13.528 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.049) 0:00:13.577 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.038) 0:00:13.616 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.041) 0:00:13.658 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.075) 0:00:13.733 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.037) 0:00:13.771 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.038) 0:00:13.809 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:01:35 +0000 (0:00:00.058) 0:00:13.867 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:01:36 +0000 (0:00:00.854) 0:00:14.722 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:01:36 +0000 (0:00:00.056) 0:00:14.779 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:01:36 +0000 (0:00:00.035) 0:00:14.815 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:01:36 +0000 (0:00:00.035) 0:00:14.850 ****** changed: [/cache/fedora-35.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, 345bd03b-19c2-494b-a5c8-2b72eb199468 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, cac8dc04-6f6f-445b-a615-290ae975beb1 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, a023b949-7a69-4af3-96d6-12bf0eda7bf6 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, cac8dc04-6f6f-445b-a615-290ae975beb1 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, a023b949-7a69-4af3-96d6-12bf0eda7bf6 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:01:37 +0000 (0:00:00.844) 0:00:15.695 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:01:37 +0000 (0:00:00.039) 0:00:15.734 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, cac8dc04-6f6f-445b-a615-290ae975beb1", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, a023b949-7a69-4af3-96d6-12bf0eda7bf6", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, cac8dc04-6f6f-445b-a615-290ae975beb1 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, a023b949-7a69-4af3-96d6-12bf0eda7bf6 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:01:37 +0000 (0:00:00.048) 0:00:15.783 ****** ok: [/cache/fedora-35.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, 345bd03b-19c2-494b-a5c8-2b72eb199468\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, cac8dc04-6f6f-445b-a615-290ae975beb1\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, a023b949-7a69-4af3-96d6-12bf0eda7bf6\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, cac8dc04-6f6f-445b-a615-290ae975beb1 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, a023b949-7a69-4af3-96d6-12bf0eda7bf6 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, cac8dc04-6f6f-445b-a615-290ae975beb1", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, a023b949-7a69-4af3-96d6-12bf0eda7bf6", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, cac8dc04-6f6f-445b-a615-290ae975beb1 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, a023b949-7a69-4af3-96d6-12bf0eda7bf6 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:01:37 +0000 (0:00:00.048) 0:00:15.831 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:01:37 +0000 (0:00:00.037) 0:00:15.869 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.584) 0:00:16.453 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.057) 0:00:16.511 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546097.0351815, "block_size": 4096, "blocks": 0, "ctime": 1659546097.0351815, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28592, "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": 1659546097.0351815, "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/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.410) 0:00:16.921 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:71 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.049) 0:00:16.970 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap => (item=bond0) included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap => (item=bond0.0) included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.078) 0:00:17.048 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:01:38 +0000 (0:00:00.056) 0:00:17.105 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:01:39 +0000 (0:00:00.045) 0:00:17.150 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546097.033671, "block_size": 4096, "blocks": 8, "ctime": 1659546097.033671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36354, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546097.033671, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 634, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:01:39 +0000 (0:00:00.422) 0:00:17.572 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:01:39 +0000 (0:00:00.045) 0:00:17.618 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.023150", "end": "2022-08-03 17:01:39.493861", "rc": 0, "start": "2022-08-03 17:01:39.470711" } 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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:01:39 +0000 (0:00:00.443) 0:00:18.061 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:01:39 +0000 (0:00:00.048) 0:00:18.110 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.035) 0:00:18.146 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.038) 0:00:18.184 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.045) 0:00:18.230 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.048) 0:00:18.278 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.058) 0:00:18.337 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.044) 0:00:18.382 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546097.058671, "block_size": 4096, "blocks": 8, "ctime": 1659546097.058671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36355, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546097.058671, "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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.403) 0:00:18.786 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:01:40 +0000 (0:00:00.046) 0:00:18.832 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.024404", "end": "2022-08-03 17:01:40.718402", "rc": 0, "start": "2022-08-03 17:01:40.693998" } 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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.444) 0:00:19.276 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.048) 0:00:19.324 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.038) 0:00:19.362 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.070) 0:00:19.433 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.055) 0:00:19.488 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.055) 0:00:19.543 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.058) 0:00:19.602 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.047) 0:00:19.649 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546097.066671, "block_size": 4096, "blocks": 8, "ctime": 1659546097.066671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546097.066671, "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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.412) 0:00:20.062 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:01:41 +0000 (0:00:00.043) 0:00:20.106 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.021204", "end": "2022-08-03 17:01:41.983133", "rc": 0, "start": "2022-08-03 17:01:41.961929" } 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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.432) 0:00:20.538 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.048) 0:00:20.587 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.038) 0:00:20.625 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.038) 0:00:20.664 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.050) 0:00:20.714 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:79 Wednesday 03 August 2022 17:01:42 +0000 (0:00:00.046) 0:00:20.761 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/fedora-35.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.003012", "end": "2022-08-03 17:01:42.658672", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2022-08-03 17:01:42.655660" } STDOUT: 802.3ad 4 changed: [/cache/fedora-35.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.003219", "end": "2022-08-03 17:01:43.023553", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2022-08-03 17:01:43.020334" } STDOUT: 65535 changed: [/cache/fedora-35.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.003351", "end": "2022-08-03 17:01:43.392969", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2022-08-03 17:01:43.389618" } STDOUT: 00:00:5e:00:53:5d changed: [/cache/fedora-35.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.003178", "end": "2022-08-03 17:01:43.761344", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2022-08-03 17:01:43.758166" } STDOUT: stable 0 changed: [/cache/fedora-35.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:01.004467", "end": "2022-08-03 17:01:45.131491", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2022-08-03 17:01:44.127024" } STDOUT: 1023 changed: [/cache/fedora-35.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.003550", "end": "2022-08-03 17:01:45.510215", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2022-08-03 17:01:45.506665" } STDOUT: 1 changed: [/cache/fedora-35.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.003602", "end": "2022-08-03 17:01:45.892864", "item": { "key": "arp_all_targets", "value": "all" }, "rc": 0, "start": "2022-08-03 17:01:45.889262" } STDOUT: all 1 changed: [/cache/fedora-35.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.003231", "end": "2022-08-03 17:01:46.268311", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2022-08-03 17:01:46.265080" } STDOUT: 0 changed: [/cache/fedora-35.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.003253", "end": "2022-08-03 17:01:46.643268", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2022-08-03 17:01:46.640015" } STDOUT: slow 0 changed: [/cache/fedora-35.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.003451", "end": "2022-08-03 17:01:46.996461", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2022-08-03 17:01:46.993010" } STDOUT: 128 changed: [/cache/fedora-35.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.003404", "end": "2022-08-03 17:01:47.376297", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2022-08-03 17:01:47.372893" } STDOUT: 110 changed: [/cache/fedora-35.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.003317", "end": "2022-08-03 17:01:47.753579", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2022-08-03 17:01:47.750262" } STDOUT: 64 changed: [/cache/fedora-35.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.003092", "end": "2022-08-03 17:01:48.118921", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2022-08-03 17:01:48.115829" } STDOUT: 225 changed: [/cache/fedora-35.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.003394", "end": "2022-08-03 17:01:48.497215", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2022-08-03 17:01:48.493821" } STDOUT: 0 changed: [/cache/fedora-35.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.003174", "end": "2022-08-03 17:01:48.873718", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2022-08-03 17:01:48.870544" } STDOUT: 1 changed: [/cache/fedora-35.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.003217", "end": "2022-08-03 17:01:49.240927", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2022-08-03 17:01:49.237710" } STDOUT: encap2+3 3 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:101 Wednesday 03 August 2022 17:01:49 +0000 (0:00:07.040) 0:00:27.801 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.004188", "end": "2022-08-03 17:01:49.665932", "rc": 0, "start": "2022-08-03 17:01:49.661744" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.14/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 230sec preferred_lft 230sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:107 Wednesday 03 August 2022 17:01:50 +0000 (0:00:00.419) 0:00:28.221 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003509", "end": "2022-08-03 17:01:50.079849", "rc": 0, "start": "2022-08-03 17:01:50.076340" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::96/128 scope global dynamic noprefixroute valid_lft 231sec preferred_lft 231sec inet6 2001:db8::1022:2620:a90d:28aa/64 scope global dynamic noprefixroute valid_lft 1792sec preferred_lft 1792sec inet6 fe80::518d:4e2:5987:10c0/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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:01:50 +0000 (0:00:00.415) 0:00:28.637 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:01:50 +0000 (0:00:00.093) 0:00:28.730 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:01:51 +0000 (0:00:00.565) 0:00:29.296 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:01:53 +0000 (0:00:01.946) 0:00:31.242 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:01:53 +0000 (0:00:00.757) 0:00:32.000 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:01:54 +0000 (0:00:00.142) 0:00:32.142 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:01:54 +0000 (0:00:00.039) 0:00:32.181 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:01:54 +0000 (0:00:00.040) 0:00:32.222 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:01:54 +0000 (0:00:00.073) 0:00:32.296 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:01:54 +0000 (0:00:00.039) 0:00:32.335 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:01:54 +0000 (0:00:00.039) 0:00:32.375 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:01:54 +0000 (0:00:00.054) 0:00:32.429 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:01:54 +0000 (0:00:00.606) 0:00:33.036 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:01:54 +0000 (0:00:00.059) 0:00:33.095 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:01:55 +0000 (0:00:00.045) 0:00:33.140 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:01:55 +0000 (0:00:00.039) 0:00:33.180 ****** changed: [/cache/fedora-35.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, 345bd03b-19c2-494b-a5c8-2b72eb199468 [004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468 (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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:01:55 +0000 (0:00:00.704) 0:00:33.884 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:01:55 +0000 (0:00:00.084) 0:00:33.969 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468 (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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:01:55 +0000 (0:00:00.048) 0:00:34.018 ****** ok: [/cache/fedora-35.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, 345bd03b-19c2-494b-a5c8-2b72eb199468\n[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468 (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, 345bd03b-19c2-494b-a5c8-2b72eb199468", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 345bd03b-19c2-494b-a5c8-2b72eb199468 (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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:01:55 +0000 (0:00:00.047) 0:00:34.066 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:01:55 +0000 (0:00:00.043) 0:00:34.109 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:130 Wednesday 03 August 2022 17:01:56 +0000 (0:00:00.426) 0:00:34.536 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/fedora-35.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.003135", "end": "2022-08-03 17:01:56.401763", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2022-08-03 17:01:56.398628" } STDOUT: active-backup 1 changed: [/cache/fedora-35.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.003196", "end": "2022-08-03 17:01:56.785090", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2022-08-03 17:01:56.781894" } STDOUT: 60 changed: [/cache/fedora-35.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.003051", "end": "2022-08-03 17:01:57.164683", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2022-08-03 17:01:57.161632" } STDOUT: 192.0.2.128 changed: [/cache/fedora-35.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.003636", "end": "2022-08-03 17:01:57.552101", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2022-08-03 17:01:57.548465" } STDOUT: none 0 changed: [/cache/fedora-35.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.003137", "end": "2022-08-03 17:01:57.926543", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2022-08-03 17:01:57.923406" } STDOUT: test1 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:141 Wednesday 03 August 2022 17:01:58 +0000 (0:00:01.947) 0:00:36.484 ****** FAILED - RETRYING: [/cache/fedora-35.qcow2.snap]: ** TEST check IPv4 (20 retries left). changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 2, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003413", "end": "2022-08-03 17:02:00.741947", "rc": 0, "start": "2022-08-03 17:02:00.738534" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.190/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 240sec preferred_lft 240sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:147 Wednesday 03 August 2022 17:02:01 +0000 (0:00:02.820) 0:00:39.304 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003827", "end": "2022-08-03 17:02:01.179125", "rc": 0, "start": "2022-08-03 17:02:01.175298" } STDOUT: 34: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::96/128 scope global dynamic noprefixroute valid_lft 237sec preferred_lft 237sec inet6 2001:db8::1022:2620:a90d:28aa/64 scope global dynamic noprefixroute valid_lft 1798sec preferred_lft 1798sec inet6 fe80::518d:4e2:5987:10c0/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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:02:01 +0000 (0:00:00.463) 0:00:39.768 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:02:01 +0000 (0:00:00.068) 0:00:39.837 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:02:02 +0000 (0:00:00.617) 0:00:40.454 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:02:04 +0000 (0:00:01.987) 0:00:42.441 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:02:05 +0000 (0:00:00.756) 0:00:43.198 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:02:05 +0000 (0:00:00.050) 0:00:43.249 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:02:05 +0000 (0:00:00.039) 0:00:43.288 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:02:05 +0000 (0:00:00.039) 0:00:43.327 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:02:05 +0000 (0:00:00.076) 0:00:43.404 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:02:05 +0000 (0:00:00.039) 0:00:43.444 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:02:05 +0000 (0:00:00.038) 0:00:43.483 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:02:05 +0000 (0:00:00.055) 0:00:43.538 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:02:05 +0000 (0:00:00.577) 0:00:44.116 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:02:06 +0000 (0:00:00.091) 0:00:44.207 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:02:06 +0000 (0:00:00.034) 0:00:44.242 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:02:06 +0000 (0:00:00.033) 0:00:44.276 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:02:06 +0000 (0:00:00.803) 0:00:45.080 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:02:06 +0000 (0:00:00.038) 0:00:45.119 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:02:07 +0000 (0:00:00.043) 0:00:45.163 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:02:07 +0000 (0:00:00.046) 0:00:45.209 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:02:07 +0000 (0:00:00.035) 0:00:45.245 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:171 Wednesday 03 August 2022 17:02:07 +0000 (0:00:00.417) 0:00:45.663 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.008354", "end": "2022-08-03 17:02:07.530438", "rc": 1, "start": "2022-08-03 17:02:07.522084" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:02:07 +0000 (0:00:00.459) 0:00:46.122 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.087139", "end": "2022-08-03 17:02:08.083299", "rc": 0, "start": "2022-08-03 17:02:07.996160" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 17:02:08 +0000 (0:00:00.519) 0:00:46.641 ****** ok: [/cache/fedora-35.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.014850", "end": "2022-08-03 17:02:08.519837", "rc": 0, "start": "2022-08-03 17:02:08.504987" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=88 changed=11 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 17:02:08 +0000 (0:00:00.456) 0:00:47.098 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 7.04s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:79 ------------ ** TEST check IPv4 ------------------------------------------------------ 2.82s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:141 ----------- fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install dnsmasq --------------------------------------------------------- 2.05s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 ** TEST check bond settings --------------------------------------------- 1.95s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:130 ----------- fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install pgrep, sysctl --------------------------------------------------- 1.84s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Create test interfaces -------------------------------------------------- 1.57s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpn6gexhje/tests/network/tests_bond_options_nm.yml:5 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.85s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.84s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.80s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:3 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.70s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.62s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.62s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpn6gexhje/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:02:09 +0000 (0:00:00.042) 0:00:47.141 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006852", "end": "2022-08-03 17:02:08.994741", "rc": 0, "start": "2022-08-03 17:02:08.987889" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=89 changed=12 unreachable=0 failed=0 skipped=45 rescued=0 ignored=1 Wednesday 03 August 2022 17:02:09 +0000 (0:00:00.428) 0:00:47.569 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 7.04s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:79 ------------ ** TEST check IPv4 ------------------------------------------------------ 2.82s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:141 ----------- fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install dnsmasq --------------------------------------------------------- 2.05s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 ** TEST check bond settings --------------------------------------------- 1.95s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:130 ----------- fedora.linux_system_roles.network : Check which services are running ---- 1.95s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install pgrep, sysctl --------------------------------------------------- 1.84s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Create test interfaces -------------------------------------------------- 1.57s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpn6gexhje/tests/network/tests_bond_options_nm.yml:5 -------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.85s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.84s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.80s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_options.yml:3 ------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.70s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.62s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.62s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3