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:35:44 +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": 1659544543.3113847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659544543.3113847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36484, "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:35:45 +0000 (0:00:00.659) 0:00:00.677 ****** [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': 36484, 'dev': 32, 'nlink': 1, 'atime': 1659544543.3113847, 'mtime': 1659338446.0, 'ctime': 1659544543.3113847, '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": 1659544543.3113847, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659544543.3113847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36484, "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:35:45 +0000 (0:00:00.036) 0:00:00.713 ****** 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.004017", "end": "2022-08-03 16:35:45.114434", "rc": 0, "start": "2022-08-03 16:35:45.110417" } 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:35:45 +0000 (0:00:00.505) 0:00:01.219 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.66s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.51s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /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_removal_nm.yml ******************************************** 2 plays in /tmp/tmp5fajrzs2/tests/tests_bond_removal_nm.yml PLAY [Run playbook 'playbooks/tests_bond_removal.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/tests_bond_removal_nm.yml:5 Wednesday 03 August 2022 16:35:45 +0000 (0:00:00.085) 0:00:01.305 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tests_bond_removal_nm.yml:8 Wednesday 03 August 2022 16:35:46 +0000 (0:00:01.048) 0:00:02.353 ****** 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:35:46 +0000 (0:00:00.025) 0:00:02.378 ****** 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:35:46 +0000 (0:00:00.019) 0:00:02.398 ****** 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:35:46 +0000 (0:00:00.026) 0:00:02.425 ****** 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:35:46 +0000 (0:00:00.017) 0:00:02.442 ****** 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:35:46 +0000 (0:00:00.017) 0:00:02.459 ****** 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:35:46 +0000 (0:00:00.017) 0:00:02.477 ****** 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_removal_nm.yml:9 Wednesday 03 August 2022 16:35:46 +0000 (0:00:00.017) 0:00:02.495 ****** 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_removal.yml:3 Wednesday 03 August 2022 16:35:46 +0000 (0:00:00.048) 0:00:02.543 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:12 Wednesday 03 August 2022 16:35:47 +0000 (0:00:00.806) 0:00:03.349 ****** 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:35:47 +0000 (0:00:00.030) 0:00:03.380 ****** 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:35:50 +0000 (0:00:02.309) 0:00:05.689 ****** 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:35:50 +0000 (0:00:00.025) 0:00:05.715 ****** 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:35:52 +0000 (0:00:01.948) 0:00:07.664 ****** 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.154217", "end": "2022-08-03 16:35:53.099021", "rc": 0, "start": "2022-08-03 16:35:51.944804" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:35:53 +0000 (0:00:01.539) 0:00:09.203 ****** 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:35:53 +0000 (0:00:00.032) 0:00:09.236 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544551.9500992, "block_size": 4096, "blocks": 0, "ctime": 1659544551.9500992, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29115, "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": 1659544551.9500992, "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:35:54 +0000 (0:00:00.424) 0:00:09.660 ****** 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:35:54 +0000 (0:00:00.086) 0:00:09.746 ****** 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:35:54 +0000 (0:00:00.062) 0:00:09.808 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544551.952554, "block_size": 4096, "blocks": 0, "ctime": 1659544551.952554, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29371, "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": 1659544551.952554, "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:35:54 +0000 (0:00:00.395) 0:00:10.204 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:22 Wednesday 03 August 2022 16:35:54 +0000 (0:00:00.034) 0:00:10.238 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:27 Wednesday 03 August 2022 16:35:54 +0000 (0:00:00.021) 0:00:10.259 ****** 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:35:54 +0000 (0:00:00.031) 0:00:10.291 ****** 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:54 +0000 (0:00:00.035) 0:00:10.327 ****** 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:55 +0000 (0:00:00.533) 0:00:10.861 ****** 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:57 +0000 (0:00:02.129) 0:00:12.990 ****** 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:58 +0000 (0:00:00.933) 0:00:13.924 ****** 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:58 +0000 (0:00:00.071) 0:00:13.996 ****** 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:58 +0000 (0:00:00.038) 0:00:14.034 ****** 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:58 +0000 (0:00:00.036) 0:00:14.070 ****** 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:58 +0000 (0:00:00.074) 0:00:14.145 ****** 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:58 +0000 (0:00:00.036) 0:00:14.182 ****** 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:58 +0000 (0:00:00.034) 0:00:14.217 ****** 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:58 +0000 (0:00:00.051) 0:00:14.268 ****** 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:59 +0000 (0:00:00.819) 0:00:15.088 ****** 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:59 +0000 (0:00:00.054) 0:00:15.142 ****** 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:59 +0000 (0:00:00.031) 0:00:15.174 ****** 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:59 +0000 (0:00:00.032) 0:00:15.206 ****** 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": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 0d230b8c-1ac5-46b3-acd1-da7ee5d2c3b7 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 0d230b8c-1ac5-46b3-acd1-da7ee5d2c3b7 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c (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:36:00 +0000 (0:00:00.869) 0:00:16.075 ****** 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:36:00 +0000 (0:00:00.037) 0:00:16.113 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 0d230b8c-1ac5-46b3-acd1-da7ee5d2c3b7", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 0d230b8c-1ac5-46b3-acd1-da7ee5d2c3b7 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c (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:36:00 +0000 (0:00:00.042) 0:00:16.155 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 0d230b8c-1ac5-46b3-acd1-da7ee5d2c3b7\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 0d230b8c-1ac5-46b3-acd1-da7ee5d2c3b7 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 0d230b8c-1ac5-46b3-acd1-da7ee5d2c3b7", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 0d230b8c-1ac5-46b3-acd1-da7ee5d2c3b7 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c (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:36:00 +0000 (0:00:00.044) 0:00:16.200 ****** 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:36:00 +0000 (0:00:00.036) 0:00:16.236 ****** 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:36:01 +0000 (0:00:00.535) 0:00:16.772 ****** 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:36:01 +0000 (0:00:00.054) 0:00:16.827 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544559.8565595, "block_size": 4096, "blocks": 0, "ctime": 1659544559.8565595, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29704, "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": 1659544559.8565595, "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:36:01 +0000 (0:00:00.385) 0:00:17.212 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:58 Wednesday 03 August 2022 16:36:01 +0000 (0:00:00.045) 0:00:17.258 ****** 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:36:01 +0000 (0:00:00.112) 0:00:17.370 ****** 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:36:01 +0000 (0:00:00.058) 0:00:17.429 ****** 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:36:01 +0000 (0:00:00.044) 0:00:17.474 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544559.8543847, "block_size": 4096, "blocks": 8, "ctime": 1659544559.8543847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544559.8543847, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:36:02 +0000 (0:00:00.387) 0:00:17.861 ****** 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:36:02 +0000 (0:00:00.043) 0:00:17.904 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021235", "end": "2022-08-03 16:36:02.199553", "rc": 0, "start": "2022-08-03 16:36:02.178318" } 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:36:02 +0000 (0:00:00.405) 0:00:18.309 ****** 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:36:02 +0000 (0:00:00.046) 0:00:18.356 ****** 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:36:02 +0000 (0:00:00.034) 0:00:18.391 ****** 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:36:02 +0000 (0:00:00.034) 0:00:18.425 ****** 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:36:02 +0000 (0:00:00.044) 0:00:18.470 ****** 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:36:02 +0000 (0:00:00.046) 0:00:18.517 ****** 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:36:03 +0000 (0:00:00.054) 0:00:18.571 ****** 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:36:03 +0000 (0:00:00.109) 0:00:18.680 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544559.8793848, "block_size": 4096, "blocks": 8, "ctime": 1659544559.8793848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36514, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544559.8793848, "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:36:03 +0000 (0:00:00.394) 0:00:19.075 ****** 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:36:03 +0000 (0:00:00.043) 0:00:19.118 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.021497", "end": "2022-08-03 16:36:03.415995", "rc": 0, "start": "2022-08-03 16:36:03.394498" } 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:36:03 +0000 (0:00:00.408) 0:00:19.527 ****** 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:36:04 +0000 (0:00:00.046) 0:00:19.573 ****** 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:36:04 +0000 (0:00:00.035) 0:00:19.608 ****** 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:36:04 +0000 (0:00:00.035) 0:00:19.644 ****** 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:36:04 +0000 (0:00:00.047) 0:00:19.691 ****** 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:36:04 +0000 (0:00:00.044) 0:00:19.735 ****** 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:36:04 +0000 (0:00:00.062) 0:00:19.798 ****** 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:36:04 +0000 (0:00:00.050) 0:00:19.849 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544559.8863847, "block_size": 4096, "blocks": 8, "ctime": 1659544559.8863847, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36515, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544559.8863847, "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:36:04 +0000 (0:00:00.444) 0:00:20.294 ****** 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:36:04 +0000 (0:00:00.044) 0:00:20.338 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.021677", "end": "2022-08-03 16:36:04.649569", "rc": 0, "start": "2022-08-03 16:36:04.627892" } 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:36:05 +0000 (0:00:00.423) 0:00:20.762 ****** 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:36:05 +0000 (0:00:00.049) 0:00:20.812 ****** 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:36:05 +0000 (0:00:00.036) 0:00:20.848 ****** 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:36:05 +0000 (0:00:00.036) 0:00:20.885 ****** 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:36:05 +0000 (0:00:00.048) 0:00:20.934 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:65 Wednesday 03 August 2022 16:36:05 +0000 (0:00:00.044) 0:00:20.978 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/nm-bond" ], "delta": "0:00:00.003841", "end": "2022-08-03 16:36:05.269549", "rc": 0, "start": "2022-08-03 16:36:05.265708" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:70 Wednesday 03 August 2022 16:36:05 +0000 (0:00:00.408) 0:00:21.386 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003490", "end": "2022-08-03 16:36:05.669201", "rc": 0, "start": "2022-08-03 16:36:05.665711" } STDOUT: 40: 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 238sec preferred_lft 238sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:76 Wednesday 03 August 2022 16:36:06 +0000 (0:00:00.399) 0:00:21.785 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003473", "end": "2022-08-03 16:36:06.075540", "rc": 0, "start": "2022-08-03 16:36:06.072067" } STDOUT: 40: 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::b37f:5ab9:37bc:796d/64 scope global dynamic noprefixroute valid_lft 1798sec preferred_lft 1798sec inet6 fe80::3ba9:c9ee:1018:1da9/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:36:06 +0000 (0:00:00.437) 0:00:22.223 ****** 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:36:06 +0000 (0:00:00.058) 0:00:22.282 ****** 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:36:07 +0000 (0:00:00.543) 0:00:22.825 ****** 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:36:09 +0000 (0:00:02.008) 0:00:24.834 ****** 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:36:10 +0000 (0:00:00.739) 0:00:25.574 ****** 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:36:10 +0000 (0:00:00.122) 0:00:25.696 ****** 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:36:10 +0000 (0:00:00.038) 0:00:25.735 ****** 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:36:10 +0000 (0:00:00.038) 0:00:25.774 ****** 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:36:10 +0000 (0:00:00.072) 0:00:25.846 ****** 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:36:10 +0000 (0:00:00.036) 0:00:25.882 ****** 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:36:10 +0000 (0:00:00.037) 0:00:25.920 ****** 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:36:10 +0000 (0:00:00.053) 0:00:25.973 ****** 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:36:11 +0000 (0:00:00.599) 0:00:26.572 ****** 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:36:11 +0000 (0:00:00.073) 0:00:26.646 ****** 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:36:11 +0000 (0:00:00.052) 0:00:26.698 ****** 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:36:11 +0000 (0:00:00.053) 0:00:26.751 ****** 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", "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:36:11 +0000 (0:00:00.681) 0:00:27.433 ****** 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:36:11 +0000 (0:00:00.092) 0:00:27.526 ****** 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:36:12 +0000 (0:00:00.048) 0:00:27.574 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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:36:12 +0000 (0:00:00.046) 0:00:27.621 ****** 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:36:12 +0000 (0:00:00.039) 0:00:27.660 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Get the port1 profile "bond0.0" from the active connection] ************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:93 Wednesday 03 August 2022 16:36:12 +0000 (0:00:00.425) 0:00:28.085 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0.0" ], "delta": "0:00:00.018732", "end": "2022-08-03 16:36:12.416505", "rc": 0, "start": "2022-08-03 16:36:12.397773" } TASK [Get the port2 profile "bond0.1" from the active connection] ************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:101 Wednesday 03 August 2022 16:36:12 +0000 (0:00:00.447) 0:00:28.533 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0.1" ], "delta": "0:00:00.018006", "end": "2022-08-03 16:36:12.835721", "rc": 0, "start": "2022-08-03 16:36:12.817715" } TASK [Assert that the port1 profile is not activated] ************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:109 Wednesday 03 August 2022 16:36:13 +0000 (0:00:00.418) 0:00:28.951 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the port2 profile is not activated] ************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:116 Wednesday 03 August 2022 16:36:13 +0000 (0:00:00.061) 0:00:29.013 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get the port1 device state] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:123 Wednesday 03 August 2022 16:36:13 +0000 (0:00:00.060) 0:00:29.073 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the port2 device state] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:130 Wednesday 03 August 2022 16:36:13 +0000 (0:00:00.035) 0:00:29.109 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port1 device is in DOWN state] *************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:137 Wednesday 03 August 2022 16:36:13 +0000 (0:00:00.036) 0:00:29.145 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port2 device is in DOWN state] *************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:144 Wednesday 03 August 2022 16:36:13 +0000 (0:00:00.067) 0:00:29.213 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:36:13 +0000 (0:00:00.034) 0:00:29.248 ****** 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:36:13 +0000 (0:00:00.057) 0:00:29.305 ****** 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:36:14 +0000 (0:00:00.554) 0:00:29.860 ****** 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:36:16 +0000 (0:00:01.940) 0:00:31.800 ****** 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:36:17 +0000 (0:00:00.761) 0:00:32.561 ****** 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:36:17 +0000 (0:00:00.051) 0:00:32.613 ****** 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:36:17 +0000 (0:00:00.046) 0:00:32.659 ****** 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:36:17 +0000 (0:00:00.040) 0:00:32.700 ****** 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:36:17 +0000 (0:00:00.080) 0:00:32.780 ****** 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:36:17 +0000 (0:00:00.045) 0:00:32.826 ****** 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:36:17 +0000 (0:00:00.040) 0:00:32.867 ****** 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:36:17 +0000 (0:00:00.058) 0:00:32.925 ****** 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:36:18 +0000 (0:00:00.637) 0:00:33.563 ****** 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:36:18 +0000 (0:00:00.142) 0:00:33.706 ****** 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:36:18 +0000 (0:00:00.035) 0:00:33.741 ****** 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:36:18 +0000 (0:00:00.033) 0:00:33.774 ****** 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": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 8fabd25b-7420-4b1b-887f-f49498a55206 [008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 [009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 8fabd25b-7420-4b1b-887f-f49498a55206 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c (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:36:18 +0000 (0:00:00.722) 0:00:34.496 ****** 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:36:18 +0000 (0:00:00.039) 0:00:34.536 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 8fabd25b-7420-4b1b-887f-f49498a55206", "[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382", "[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 8fabd25b-7420-4b1b-887f-f49498a55206 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c (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:36:19 +0000 (0:00:00.045) 0:00:34.581 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 8fabd25b-7420-4b1b-887f-f49498a55206\n[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382\n[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 8fabd25b-7420-4b1b-887f-f49498a55206 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 8fabd25b-7420-4b1b-887f-f49498a55206", "[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382", "[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 8fabd25b-7420-4b1b-887f-f49498a55206 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, f4166c5e-19a4-4ffd-80cc-1c876f41f382 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3f7e60dd-f105-40b1-989d-47c850d3a26c (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:36:19 +0000 (0:00:00.048) 0:00:34.629 ****** 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:36:19 +0000 (0:00:00.037) 0:00:34.667 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap 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:36:19 +0000 (0:00:00.445) 0:00:35.113 ****** 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:36:19 +0000 (0:00:00.059) 0:00:35.172 ****** 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:36:20 +0000 (0:00:00.595) 0:00:35.767 ****** 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:36:22 +0000 (0:00:02.003) 0:00:37.771 ****** 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:36:22 +0000 (0:00:00.773) 0:00:38.545 ****** 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:36:23 +0000 (0:00:00.047) 0:00:38.592 ****** 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:36:23 +0000 (0:00:00.040) 0:00:38.633 ****** 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:36:23 +0000 (0:00:00.038) 0:00:38.672 ****** 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:36:23 +0000 (0:00:00.075) 0:00:38.747 ****** 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:36:23 +0000 (0:00:00.039) 0:00:38.787 ****** 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:36:23 +0000 (0:00:00.038) 0:00:38.826 ****** 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:36:23 +0000 (0:00:00.059) 0:00:38.885 ****** 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:36:23 +0000 (0:00:00.615) 0:00:39.500 ****** 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:36:24 +0000 (0:00:00.059) 0:00:39.559 ****** 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:36:24 +0000 (0:00:00.040) 0:00:39.600 ****** 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:36:24 +0000 (0:00:00.038) 0:00:39.638 ****** 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.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "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:36:24 +0000 (0:00:00.805) 0:00:40.444 ****** 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:36:24 +0000 (0:00:00.040) 0:00:40.485 ****** 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:36:24 +0000 (0:00:00.047) 0:00:40.532 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "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:36:25 +0000 (0:00:00.050) 0:00:40.583 ****** 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:36:25 +0000 (0:00:00.044) 0:00:40.627 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Get the controller profile "bond0" from the active connection] *********** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:189 Wednesday 03 August 2022 16:36:25 +0000 (0:00:00.428) 0:00:41.055 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0" ], "delta": "0:00:00.023544", "end": "2022-08-03 16:36:25.396858", "rc": 0, "start": "2022-08-03 16:36:25.373314" } STDOUT: connection.id: bond0 connection.uuid: 8fabd25b-7420-4b1b-887f-f49498a55206 connection.stable-id: -- connection.type: bond connection.interface-name: nm-bond connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.multi-connect: 0 (default) connection.auth-retries: -1 connection.timestamp: 1659544578 connection.read-only: no connection.permissions: -- connection.zone: -- connection.master: -- connection.slave-type: -- connection.autoconnect-slaves: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: default connection.mdns: -1 (default) connection.llmnr: -1 (default) connection.wait-device-timeout: -1 ipv4.method: auto ipv4.dns: -- ipv4.dns-search: -- ipv4.dns-options: -- ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes: -- ipv4.route-metric: -1 ipv4.route-table: 0 (unspec) ipv4.routing-rules: -- ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-iaid: -- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.dhcp-hostname-flags: 0x0 (none) ipv4.never-default: no ipv4.may-fail: yes ipv4.required-timeout: -1 (default) ipv4.dad-timeout: -1 (default) ipv4.dhcp-vendor-class-identifier: -- ipv4.dhcp-reject-servers: -- ipv6.method: auto ipv6.dns: -- ipv6.dns-search: -- ipv6.dns-options: -- ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes: -- ipv6.route-metric: -1 ipv6.route-table: 0 (unspec) ipv6.routing-rules: -- ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.required-timeout: -1 (default) ipv6.ip6-privacy: -1 (unknown) ipv6.addr-gen-mode: stable-privacy ipv6.ra-timeout: 0 (default) ipv6.dhcp-duid: -- ipv6.dhcp-iaid: -- ipv6.dhcp-timeout: 0 (default) ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.dhcp-hostname-flags: 0x0 (none) ipv6.token: -- bond.options: mode=active-backup,miimon=110 proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- GENERAL.NAME: bond0 GENERAL.UUID: 8fabd25b-7420-4b1b-887f-f49498a55206 GENERAL.DEVICES: nm-bond GENERAL.IP-IFACE: nm-bond GENERAL.STATE: activated GENERAL.DEFAULT: no GENERAL.DEFAULT6: yes GENERAL.SPEC-OBJECT: -- GENERAL.VPN: no GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/42 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/30 GENERAL.ZONE: -- GENERAL.MASTER-PATH: -- IP4.ADDRESS[1]: 192.0.2.14/24 IP4.GATEWAY: 192.0.2.1 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.0.2.1, mt = 300 IP4.ROUTE[2]: dst = 192.0.2.0/24, nh = 0.0.0.0, mt = 300 IP4.DNS[1]: 192.0.2.1 DHCP4.OPTION[1]: broadcast_address = 192.0.2.255 DHCP4.OPTION[2]: dhcp_lease_time = 240 DHCP4.OPTION[3]: dhcp_server_identifier = 192.0.2.1 DHCP4.OPTION[4]: domain_name_servers = 192.0.2.1 DHCP4.OPTION[5]: expiry = 1659544818 DHCP4.OPTION[6]: host_name = ibm-p8-kvm-03-guest-02 DHCP4.OPTION[7]: ip_address = 192.0.2.14 DHCP4.OPTION[8]: next_server = 192.0.2.1 DHCP4.OPTION[9]: requested_broadcast_address = 1 DHCP4.OPTION[10]: requested_domain_name = 1 DHCP4.OPTION[11]: requested_domain_name_servers = 1 DHCP4.OPTION[12]: requested_domain_search = 1 DHCP4.OPTION[13]: requested_host_name = 1 DHCP4.OPTION[14]: requested_interface_mtu = 1 DHCP4.OPTION[15]: requested_ms_classless_static_routes = 1 DHCP4.OPTION[16]: requested_nis_domain = 1 DHCP4.OPTION[17]: requested_nis_servers = 1 DHCP4.OPTION[18]: requested_ntp_servers = 1 DHCP4.OPTION[19]: requested_rfc3442_classless_static_routes = 1 DHCP4.OPTION[20]: requested_root_path = 1 DHCP4.OPTION[21]: requested_routers = 1 DHCP4.OPTION[22]: requested_static_routes = 1 DHCP4.OPTION[23]: requested_subnet_mask = 1 DHCP4.OPTION[24]: requested_time_offset = 1 DHCP4.OPTION[25]: requested_wpad = 1 DHCP4.OPTION[26]: routers = 192.0.2.1 DHCP4.OPTION[27]: subnet_mask = 255.255.255.0 IP6.ADDRESS[1]: 2001:db8::8c99:36e3:ac6e:8dff/64 IP6.ADDRESS[2]: 2001:db8::96/128 IP6.ADDRESS[3]: fe80::f74d:ebe4:fa59:b648/64 IP6.GATEWAY: fe80::a42e:b7ff:fef5:c9c6 IP6.ROUTE[1]: dst = 2001:db8::/64, nh = ::, mt = 300 IP6.ROUTE[2]: dst = ::/0, nh = fe80::a42e:b7ff:fef5:c9c6, mt = 300 IP6.ROUTE[3]: dst = 2001:db8::96/128, nh = ::, mt = 300 IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 300 IP6.DNS[1]: fe80::a42e:b7ff:fef5:c9c6 IP6.DNS[2]: 2001:db8::a42e:b7ff:fef5:c9c6 DHCP6.OPTION[1]: dhcp6_name_servers = 2001:db8::a42e:b7ff:fef5:c9c6 DHCP6.OPTION[2]: fqdn_fqdn = ibm-p8-kvm-03-guest-02 DHCP6.OPTION[3]: ip6_address = 2001:db8::96 TASK [Assert that the controller profile is activated] ************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:197 Wednesday 03 August 2022 16:36:25 +0000 (0:00:00.462) 0:00:41.518 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get the controller device details] *************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:205 Wednesday 03 August 2022 16:36:26 +0000 (0:00:00.062) 0:00:41.581 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the controller profile is activated] ************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:212 Wednesday 03 August 2022 16:36:26 +0000 (0:00:00.035) 0:00:41.616 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:36:26 +0000 (0:00:00.034) 0:00:41.650 ****** 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:36:26 +0000 (0:00:00.060) 0:00:41.711 ****** 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:36:26 +0000 (0:00:00.614) 0:00:42.326 ****** 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:36:28 +0000 (0:00:01.997) 0:00:44.324 ****** 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:36:29 +0000 (0:00:00.788) 0:00:45.113 ****** 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:36:29 +0000 (0:00:00.046) 0:00:45.159 ****** 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:36:29 +0000 (0:00:00.039) 0:00:45.199 ****** 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:36:29 +0000 (0:00:00.041) 0:00:45.241 ****** 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:36:29 +0000 (0:00:00.076) 0:00:45.317 ****** 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:36:29 +0000 (0:00:00.041) 0:00:45.358 ****** 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:36:29 +0000 (0:00:00.041) 0:00:45.400 ****** 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:36:29 +0000 (0:00:00.057) 0:00:45.457 ****** 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:36:30 +0000 (0:00:00.601) 0:00:46.058 ****** 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:36:30 +0000 (0:00:00.064) 0:00:46.123 ****** 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:36:30 +0000 (0:00:00.036) 0:00:46.159 ****** 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:36:30 +0000 (0:00:00.043) 0:00:46.203 ****** 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", "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:36:31 +0000 (0:00:00.758) 0:00:46.961 ****** 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:36:31 +0000 (0:00:00.038) 0:00:47.000 ****** 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:36:31 +0000 (0:00:00.042) 0:00:47.043 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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:36:31 +0000 (0:00:00.045) 0:00:47.088 ****** 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:36:31 +0000 (0:00:00.035) 0:00:47.124 ****** 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_removal.yml:231 Wednesday 03 August 2022 16:36:31 +0000 (0:00:00.429) 0:00:47.553 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.008881", "end": "2022-08-03 16:36:31.866654", "rc": 1, "start": "2022-08-03 16:36:31.857773" } 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:36:32 +0000 (0:00:00.430) 0:00:47.983 ****** 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.075296", "end": "2022-08-03 16:36:32.353909", "rc": 0, "start": "2022-08-03 16:36:32.278613" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 16:36:32 +0000 (0:00:00.491) 0:00:48.475 ****** 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.015968", "end": "2022-08-03 16:36:32.779724", "rc": 0, "start": "2022-08-03 16:36:32.763756" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:234 Wednesday 03 August 2022 16:36:33 +0000 (0:00:00.421) 0:00:48.897 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=111 changed=10 unreachable=0 failed=0 skipped=75 rescued=0 ignored=1 Wednesday 03 August 2022 16:36:33 +0000 (0:00:00.093) 0:00:48.990 ****** =============================================================================== Install dnsmasq --------------------------------------------------------- 2.31s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 2.13s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.01s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.00s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.00s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install pgrep, sysctl --------------------------------------------------- 1.95s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 linux-system-roles.network : Check which services are running ----------- 1.94s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.59s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create test interfaces -------------------------------------------------- 1.54s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 linux-system-roles.network : Enable and start NetworkManager ------------ 1.46s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 1.44s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.20s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5fajrzs2/tests/tests_bond_removal_nm.yml:5 ---------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.98s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which packages are installed --------- 0.93s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.85s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:3 --------------------- linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.79s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.77s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 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:36:33 +0000 (0:00:00.042) 0:00:49.033 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007406", "end": "2022-08-03 16:36:33.334011", "rc": 0, "start": "2022-08-03 16:36:33.326605" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=112 changed=11 unreachable=0 failed=0 skipped=75 rescued=0 ignored=1 Wednesday 03 August 2022 16:36:33 +0000 (0:00:00.438) 0:00:49.472 ****** =============================================================================== Install dnsmasq --------------------------------------------------------- 2.31s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 2.13s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.01s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.00s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.00s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install pgrep, sysctl --------------------------------------------------- 1.95s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 linux-system-roles.network : Check which services are running ----------- 1.94s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.59s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create test interfaces -------------------------------------------------- 1.54s /tmp/tmp5fajrzs2/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 linux-system-roles.network : Enable and start NetworkManager ------------ 1.46s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 1.44s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 1.20s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5fajrzs2/tests/tests_bond_removal_nm.yml:5 ---------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.98s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which packages are installed --------- 0.93s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.85s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp5fajrzs2/tests/playbooks/tests_bond_removal.yml:3 --------------------- linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.79s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.77s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 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:02:17 +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": 1659546136.770671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546136.770671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36484, "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:02:18 +0000 (0:00:00.614) 0:00:00.632 ****** [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': 36484, 'dev': 32, 'nlink': 1, 'atime': 1659546136.770671, 'mtime': 1659338446.0, 'ctime': 1659546136.770671, '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": 1659546136.770671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546136.770671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36484, "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:02:18 +0000 (0:00:00.037) 0:00:00.669 ****** 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.004517", "end": "2022-08-03 17:02:18.523122", "rc": 0, "start": "2022-08-03 17:02:18.518605" } 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:02:18 +0000 (0:00:00.521) 0:00:01.191 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.52s /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_removal_nm.yml ******************************************** 2 plays in /tmp/tmpn6gexhje/tests/network/tests_bond_removal_nm.yml PLAY [Run playbook 'playbooks/tests_bond_removal.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/tests_bond_removal_nm.yml:5 Wednesday 03 August 2022 17:02:19 +0000 (0:00:00.107) 0:00:01.299 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_bond_removal_nm.yml:8 Wednesday 03 August 2022 17:02:20 +0000 (0:00:01.024) 0:00:02.324 ****** 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:02:20 +0000 (0:00:00.026) 0:00:02.350 ****** 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:02:20 +0000 (0:00:00.019) 0:00:02.369 ****** 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:02:20 +0000 (0:00:00.027) 0:00:02.397 ****** 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:02:20 +0000 (0:00:00.018) 0:00:02.415 ****** 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:02:20 +0000 (0:00:00.017) 0:00:02.433 ****** 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:02:20 +0000 (0:00:00.018) 0:00:02.451 ****** 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_removal_nm.yml:9 Wednesday 03 August 2022 17:02:20 +0000 (0:00:00.018) 0:00:02.469 ****** 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_removal.yml:3 Wednesday 03 August 2022 17:02:20 +0000 (0:00:00.048) 0:00:02.518 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:12 Wednesday 03 August 2022 17:02:21 +0000 (0:00:00.799) 0:00:03.317 ****** 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:02:21 +0000 (0:00:00.030) 0:00:03.348 ****** 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:02:23 +0000 (0:00:02.055) 0:00:05.403 ****** 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:02:23 +0000 (0:00:00.031) 0:00:05.434 ****** 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:02:25 +0000 (0:00:01.847) 0:00:07.282 ****** 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.142541", "end": "2022-08-03 17:02:26.147574", "rc": 0, "start": "2022-08-03 17:02:25.005033" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:02:26 +0000 (0:00:01.531) 0:00:08.814 ****** 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:02:26 +0000 (0:00:00.030) 0:00:08.844 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546145.0101576, "block_size": 4096, "blocks": 0, "ctime": 1659546145.0101576, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29115, "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": 1659546145.0101576, "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:02:26 +0000 (0:00:00.374) 0:00:09.219 ****** 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:02:27 +0000 (0:00:00.070) 0:00:09.290 ****** 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:02:27 +0000 (0:00:00.029) 0:00:09.319 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546145.0145395, "block_size": 4096, "blocks": 0, "ctime": 1659546145.0145395, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29371, "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": 1659546145.0145395, "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:02:27 +0000 (0:00:00.414) 0:00:09.733 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:22 Wednesday 03 August 2022 17:02:27 +0000 (0:00:00.060) 0:00:09.794 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:27 Wednesday 03 August 2022 17:02:27 +0000 (0:00:00.019) 0:00:09.814 ****** 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:02:27 +0000 (0:00:00.057) 0:00:09.871 ****** 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:27 +0000 (0:00:00.059) 0:00:09.930 ****** 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:28 +0000 (0:00:00.534) 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:02:30 +0000 (0:00:02.024) 0:00:12.489 ****** 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:31 +0000 (0:00:00.940) 0:00:13.430 ****** 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:31 +0000 (0:00:00.093) 0:00:13.523 ****** 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:31 +0000 (0:00:00.037) 0:00:13.561 ****** 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:31 +0000 (0:00:00.038) 0:00:13.599 ****** 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:31 +0000 (0:00:00.074) 0:00:13.673 ****** 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:31 +0000 (0:00:00.036) 0:00:13.710 ****** 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:31 +0000 (0:00:00.037) 0:00:13.748 ****** 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:31 +0000 (0:00:00.054) 0:00:13.802 ****** 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:32 +0000 (0:00:00.816) 0:00:14.618 ****** 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:32 +0000 (0:00:00.053) 0:00:14.672 ****** 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:32 +0000 (0:00:00.033) 0:00:14.706 ****** 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:32 +0000 (0:00:00.032) 0:00:14.738 ****** changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 18cf661f-e5f0-4d22-b301-6534493df77e [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 18cf661f-e5f0-4d22-b301-6534493df77e (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 (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:02:33 +0000 (0:00:00.908) 0:00:15.647 ****** 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:33 +0000 (0:00:00.038) 0:00:15.685 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 18cf661f-e5f0-4d22-b301-6534493df77e", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 18cf661f-e5f0-4d22-b301-6534493df77e (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 (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:02:33 +0000 (0:00:00.049) 0:00:15.734 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 18cf661f-e5f0-4d22-b301-6534493df77e\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 18cf661f-e5f0-4d22-b301-6534493df77e (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 18cf661f-e5f0-4d22-b301-6534493df77e", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 18cf661f-e5f0-4d22-b301-6534493df77e (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 (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:02:33 +0000 (0:00:00.048) 0:00:15.783 ****** 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:33 +0000 (0:00:00.040) 0:00:15.824 ****** 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:02:34 +0000 (0:00:00.528) 0:00:16.352 ****** 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:02:34 +0000 (0:00:00.058) 0:00:16.411 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546152.8552313, "block_size": 4096, "blocks": 0, "ctime": 1659546152.8552313, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29704, "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": 1659546152.8552313, "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:02:34 +0000 (0:00:00.420) 0:00:16.832 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:58 Wednesday 03 August 2022 17:02:34 +0000 (0:00:00.048) 0:00:16.880 ****** 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:02:34 +0000 (0:00:00.142) 0:00:17.023 ****** 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:02:34 +0000 (0:00:00.060) 0:00:17.083 ****** 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:02:34 +0000 (0:00:00.045) 0:00:17.129 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546152.852671, "block_size": 4096, "blocks": 8, "ctime": 1659546152.852671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546152.852671, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 342, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:02:35 +0000 (0:00:00.424) 0:00:17.553 ****** 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:02:35 +0000 (0:00:00.046) 0:00:17.600 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021803", "end": "2022-08-03 17:02:35.347630", "rc": 0, "start": "2022-08-03 17:02:35.325827" } 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:02:35 +0000 (0:00:00.427) 0:00:18.027 ****** 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:02:35 +0000 (0:00:00.050) 0:00:18.078 ****** 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:02:35 +0000 (0:00:00.037) 0:00:18.116 ****** 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:02:35 +0000 (0:00:00.038) 0:00:18.154 ****** 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:02:35 +0000 (0:00:00.050) 0:00:18.204 ****** 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:02:35 +0000 (0:00:00.045) 0:00:18.250 ****** 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:02:36 +0000 (0:00:00.057) 0:00:18.308 ****** 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:02:36 +0000 (0:00:00.124) 0:00:18.432 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546152.875671, "block_size": 4096, "blocks": 8, "ctime": 1659546152.875671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36514, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546152.875671, "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:02:36 +0000 (0:00:00.403) 0:00:18.835 ****** 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:02:36 +0000 (0:00:00.046) 0:00:18.881 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.024218", "end": "2022-08-03 17:02:36.633423", "rc": 0, "start": "2022-08-03 17:02:36.609205" } 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:02:37 +0000 (0:00:00.433) 0:00:19.315 ****** 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:02:37 +0000 (0:00:00.052) 0:00:19.367 ****** 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:02:37 +0000 (0:00:00.039) 0:00:19.407 ****** 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:02:37 +0000 (0:00:00.043) 0:00:19.450 ****** 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:02:37 +0000 (0:00:00.054) 0:00:19.505 ****** 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:02:37 +0000 (0:00:00.048) 0:00:19.553 ****** 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:02:37 +0000 (0:00:00.057) 0:00:19.611 ****** 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:02:37 +0000 (0:00:00.046) 0:00:19.658 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546152.884671, "block_size": 4096, "blocks": 8, "ctime": 1659546152.884671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36515, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546152.884671, "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:02:37 +0000 (0:00:00.446) 0:00:20.104 ****** 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:02:37 +0000 (0:00:00.062) 0:00:20.166 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.022910", "end": "2022-08-03 17:02:37.924829", "rc": 0, "start": "2022-08-03 17:02:37.901919" } 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:02:38 +0000 (0:00:00.442) 0:00:20.609 ****** 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:02:38 +0000 (0:00:00.048) 0:00:20.657 ****** 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:02:38 +0000 (0:00:00.039) 0:00:20.697 ****** 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:02:38 +0000 (0:00:00.039) 0:00:20.737 ****** 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:02:38 +0000 (0:00:00.053) 0:00:20.790 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:65 Wednesday 03 August 2022 17:02:38 +0000 (0:00:00.050) 0:00:20.841 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/nm-bond" ], "delta": "0:00:00.003859", "end": "2022-08-03 17:02:38.577794", "rc": 0, "start": "2022-08-03 17:02:38.573935" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:69 Wednesday 03 August 2022 17:02:39 +0000 (0:00:00.420) 0:00:21.262 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003639", "end": "2022-08-03 17:02:38.988932", "rc": 0, "start": "2022-08-03 17:02:38.985293" } STDOUT: 40: 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 238sec preferred_lft 238sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:75 Wednesday 03 August 2022 17:02:39 +0000 (0:00:00.408) 0:00:21.670 ****** changed: [/cache/fedora-35.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003526", "end": "2022-08-03 17:02:39.403289", "rc": 0, "start": "2022-08-03 17:02:39.399763" } STDOUT: 40: 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::fdc:56f:dd5c:8733/64 scope global dynamic noprefixroute valid_lft 1800sec preferred_lft 1800sec inet6 fe80::a1ef:a0f2:f33:9d56/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:39 +0000 (0:00:00.445) 0:00:22.116 ****** 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:39 +0000 (0:00:00.062) 0:00:22.179 ****** 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:40 +0000 (0:00:00.574) 0:00:22.753 ****** 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:42 +0000 (0:00:01.969) 0:00:24.722 ****** 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:43 +0000 (0:00:00.700) 0:00:25.422 ****** 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:43 +0000 (0:00:00.048) 0:00:25.471 ****** 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:43 +0000 (0:00:00.041) 0:00:25.512 ****** 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:43 +0000 (0:00:00.039) 0:00:25.551 ****** 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:43 +0000 (0:00:00.076) 0:00:25.628 ****** 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:43 +0000 (0:00:00.045) 0:00:25.673 ****** 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:43 +0000 (0:00:00.042) 0:00:25.716 ****** 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:43 +0000 (0:00:00.060) 0:00:25.776 ****** 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:44 +0000 (0:00:00.607) 0:00:26.384 ****** 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:44 +0000 (0:00:00.101) 0:00:26.486 ****** 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:44 +0000 (0:00:00.035) 0:00:26.521 ****** 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:44 +0000 (0:00:00.034) 0:00:26.555 ****** changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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:45 +0000 (0:00:00.709) 0:00:27.265 ****** 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:45 +0000 (0:00:00.040) 0:00:27.306 ****** 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:45 +0000 (0:00:00.046) 0:00:27.353 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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:45 +0000 (0:00:00.047) 0:00:27.401 ****** 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:45 +0000 (0:00:00.036) 0:00:27.438 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Get the port1 profile "bond0.0" from the active connection] ************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:91 Wednesday 03 August 2022 17:02:45 +0000 (0:00:00.433) 0:00:27.871 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0.0" ], "delta": "0:00:00.018791", "end": "2022-08-03 17:02:45.636587", "rc": 0, "start": "2022-08-03 17:02:45.617796" } TASK [Get the port2 profile "bond0.1" from the active connection] ************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:98 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.482) 0:00:28.354 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0.1" ], "delta": "0:00:00.018704", "end": "2022-08-03 17:02:46.102058", "rc": 0, "start": "2022-08-03 17:02:46.083354" } TASK [Assert that the port1 profile is not activated] ************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:105 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.429) 0:00:28.783 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the port2 profile is not activated] ************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:112 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.058) 0:00:28.841 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get the port1 device state] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:119 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.064) 0:00:28.906 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the port2 device state] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:126 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.034) 0:00:28.940 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port1 device is in DOWN state] *************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:133 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.037) 0:00:28.977 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port2 device is in DOWN state] *************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:140 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.036) 0:00:29.014 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:46 +0000 (0:00:00.035) 0:00:29.049 ****** 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:46 +0000 (0:00:00.060) 0:00:29.109 ****** 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:47 +0000 (0:00:00.611) 0:00:29.721 ****** 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:49 +0000 (0:00:01.978) 0:00:31.699 ****** 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:50 +0000 (0:00:00.700) 0:00:32.400 ****** 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:50 +0000 (0:00:00.044) 0:00:32.445 ****** 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:50 +0000 (0:00:00.040) 0:00:32.485 ****** 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:50 +0000 (0:00:00.037) 0:00:32.522 ****** 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:50 +0000 (0:00:00.102) 0:00:32.625 ****** 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:50 +0000 (0:00:00.037) 0:00:32.663 ****** 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:50 +0000 (0:00:00.045) 0:00:32.709 ****** 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:50 +0000 (0:00:00.054) 0:00:32.763 ****** 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:51 +0000 (0:00:00.587) 0:00:33.350 ****** 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:51 +0000 (0:00:00.060) 0:00:33.410 ****** 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:51 +0000 (0:00:00.049) 0:00:33.460 ****** 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:51 +0000 (0:00:00.035) 0:00:33.495 ****** changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b0cf7e34-25d1-4991-8a6c-ebf50155cc60 [008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 [009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0cf7e34-25d1-4991-8a6c-ebf50155cc60 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 (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:02:51 +0000 (0:00:00.714) 0:00:34.210 ****** 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:52 +0000 (0:00:00.041) 0:00:34.251 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b0cf7e34-25d1-4991-8a6c-ebf50155cc60", "[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313", "[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0cf7e34-25d1-4991-8a6c-ebf50155cc60 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 (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:02:52 +0000 (0:00:00.132) 0:00:34.384 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b0cf7e34-25d1-4991-8a6c-ebf50155cc60\n[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313\n[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0cf7e34-25d1-4991-8a6c-ebf50155cc60 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b0cf7e34-25d1-4991-8a6c-ebf50155cc60", "[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313", "[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0cf7e34-25d1-4991-8a6c-ebf50155cc60 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 63695abe-d4d1-4d15-b3ef-bf2081712313 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 508675c5-3dc8-41e8-a818-202464ce0e79 (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:02:52 +0000 (0:00:00.062) 0:00:34.447 ****** 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:52 +0000 (0:00:00.045) 0:00:34.493 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap 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:52 +0000 (0:00:00.435) 0:00:34.928 ****** 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:52 +0000 (0:00:00.063) 0:00:34.991 ****** 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:53 +0000 (0:00:00.577) 0:00:35.569 ****** 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:55 +0000 (0:00:01.945) 0:00:37.514 ****** 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:55 +0000 (0:00:00.700) 0:00:38.215 ****** 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:56 +0000 (0:00:00.048) 0:00:38.263 ****** 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:56 +0000 (0:00:00.041) 0:00:38.305 ****** 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:56 +0000 (0:00:00.039) 0:00:38.344 ****** 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:56 +0000 (0:00:00.077) 0:00:38.421 ****** 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:56 +0000 (0:00:00.038) 0:00:38.460 ****** 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:56 +0000 (0:00:00.036) 0:00:38.496 ****** 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:56 +0000 (0:00:00.086) 0:00:38.583 ****** 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:56 +0000 (0:00:00.588) 0:00:39.171 ****** 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:56 +0000 (0:00:00.058) 0:00:39.230 ****** 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:57 +0000 (0:00:00.034) 0:00:39.264 ****** 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:57 +0000 (0:00:00.035) 0:00:39.300 ****** changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "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:57 +0000 (0:00:00.730) 0:00:40.031 ****** 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:57 +0000 (0:00:00.037) 0:00:40.069 ****** 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:57 +0000 (0:00:00.048) 0:00:40.118 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "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:57 +0000 (0:00:00.047) 0:00:40.166 ****** 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:57 +0000 (0:00:00.037) 0:00:40.203 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Get the controller profile "bond0" from the active connection] *********** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:185 Wednesday 03 August 2022 17:02:58 +0000 (0:00:00.457) 0:00:40.660 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0" ], "delta": "0:00:00.021834", "end": "2022-08-03 17:02:58.411845", "rc": 0, "start": "2022-08-03 17:02:58.390011" } STDOUT: connection.id: bond0 connection.uuid: b0cf7e34-25d1-4991-8a6c-ebf50155cc60 connection.stable-id: -- connection.type: bond connection.interface-name: nm-bond connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.multi-connect: 0 (default) connection.auth-retries: -1 connection.timestamp: 1659546171 connection.read-only: no connection.permissions: -- connection.zone: -- connection.master: -- connection.slave-type: -- connection.autoconnect-slaves: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: default connection.mdns: -1 (default) connection.llmnr: -1 (default) connection.wait-device-timeout: -1 ipv4.method: auto ipv4.dns: -- ipv4.dns-search: -- ipv4.dns-options: -- ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes: -- ipv4.route-metric: -1 ipv4.route-table: 0 (unspec) ipv4.routing-rules: -- ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-iaid: -- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.dhcp-hostname-flags: 0x0 (none) ipv4.never-default: no ipv4.may-fail: yes ipv4.required-timeout: -1 (default) ipv4.dad-timeout: -1 (default) ipv4.dhcp-vendor-class-identifier: -- ipv4.dhcp-reject-servers: -- ipv6.method: auto ipv6.dns: -- ipv6.dns-search: -- ipv6.dns-options: -- ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes: -- ipv6.route-metric: -1 ipv6.route-table: 0 (unspec) ipv6.routing-rules: -- ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.required-timeout: -1 (default) ipv6.ip6-privacy: -1 (unknown) ipv6.addr-gen-mode: stable-privacy ipv6.ra-timeout: 0 (default) ipv6.dhcp-duid: -- ipv6.dhcp-iaid: -- ipv6.dhcp-timeout: 0 (default) ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.dhcp-hostname-flags: 0x0 (none) ipv6.token: -- bond.options: mode=active-backup,miimon=110 proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- GENERAL.NAME: bond0 GENERAL.UUID: b0cf7e34-25d1-4991-8a6c-ebf50155cc60 GENERAL.DEVICES: nm-bond GENERAL.IP-IFACE: nm-bond GENERAL.STATE: activated GENERAL.DEFAULT: no GENERAL.DEFAULT6: yes GENERAL.SPEC-OBJECT: -- GENERAL.VPN: no GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/42 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/30 GENERAL.ZONE: -- GENERAL.MASTER-PATH: -- IP4.ADDRESS[1]: 192.0.2.14/24 IP4.GATEWAY: 192.0.2.1 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.0.2.1, mt = 300 IP4.ROUTE[2]: dst = 192.0.2.0/24, nh = 0.0.0.0, mt = 300 IP4.DNS[1]: 192.0.2.1 DHCP4.OPTION[1]: broadcast_address = 192.0.2.255 DHCP4.OPTION[2]: dhcp_lease_time = 240 DHCP4.OPTION[3]: dhcp_server_identifier = 192.0.2.1 DHCP4.OPTION[4]: domain_name_servers = 192.0.2.1 DHCP4.OPTION[5]: expiry = 1659546411 DHCP4.OPTION[6]: host_name = ibm-p8-kvm-03-guest-02 DHCP4.OPTION[7]: ip_address = 192.0.2.14 DHCP4.OPTION[8]: next_server = 192.0.2.1 DHCP4.OPTION[9]: requested_broadcast_address = 1 DHCP4.OPTION[10]: requested_domain_name = 1 DHCP4.OPTION[11]: requested_domain_name_servers = 1 DHCP4.OPTION[12]: requested_domain_search = 1 DHCP4.OPTION[13]: requested_host_name = 1 DHCP4.OPTION[14]: requested_interface_mtu = 1 DHCP4.OPTION[15]: requested_ms_classless_static_routes = 1 DHCP4.OPTION[16]: requested_nis_domain = 1 DHCP4.OPTION[17]: requested_nis_servers = 1 DHCP4.OPTION[18]: requested_ntp_servers = 1 DHCP4.OPTION[19]: requested_rfc3442_classless_static_routes = 1 DHCP4.OPTION[20]: requested_root_path = 1 DHCP4.OPTION[21]: requested_routers = 1 DHCP4.OPTION[22]: requested_static_routes = 1 DHCP4.OPTION[23]: requested_subnet_mask = 1 DHCP4.OPTION[24]: requested_time_offset = 1 DHCP4.OPTION[25]: requested_wpad = 1 DHCP4.OPTION[26]: routers = 192.0.2.1 DHCP4.OPTION[27]: subnet_mask = 255.255.255.0 IP6.ADDRESS[1]: 2001:db8::af9:2f62:98d4:cfe9/64 IP6.ADDRESS[2]: 2001:db8::96/128 IP6.ADDRESS[3]: fe80::421e:14a6:c842:3876/64 IP6.GATEWAY: fe80::a42e:b7ff:fef5:c9c6 IP6.ROUTE[1]: dst = 2001:db8::/64, nh = ::, mt = 300 IP6.ROUTE[2]: dst = ::/0, nh = fe80::a42e:b7ff:fef5:c9c6, mt = 300 IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 300 IP6.ROUTE[4]: dst = 2001:db8::96/128, nh = ::, mt = 300 IP6.DNS[1]: fe80::a42e:b7ff:fef5:c9c6 IP6.DNS[2]: 2001:db8::a42e:b7ff:fef5:c9c6 DHCP6.OPTION[1]: dhcp6_name_servers = 2001:db8::a42e:b7ff:fef5:c9c6 DHCP6.OPTION[2]: fqdn_fqdn = ibm-p8-kvm-03-guest-02 DHCP6.OPTION[3]: ip6_address = 2001:db8::96 TASK [Assert that the controller profile is activated] ************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:192 Wednesday 03 August 2022 17:02:58 +0000 (0:00:00.433) 0:00:41.094 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get the controller device details] *************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:199 Wednesday 03 August 2022 17:02:58 +0000 (0:00:00.059) 0:00:41.153 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the controller profile is activated] ************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:206 Wednesday 03 August 2022 17:02:58 +0000 (0:00:00.037) 0:00:41.190 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:58 +0000 (0:00:00.034) 0:00:41.224 ****** 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:59 +0000 (0:00:00.061) 0:00:41.286 ****** 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:59 +0000 (0:00:00.561) 0:00:41.847 ****** 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:03:01 +0000 (0:00:01.980) 0:00:43.828 ****** 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:03:02 +0000 (0:00:00.702) 0:00:44.531 ****** 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:03:02 +0000 (0:00:00.045) 0:00:44.576 ****** 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:03:02 +0000 (0:00:00.039) 0:00:44.615 ****** 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:03:02 +0000 (0:00:00.038) 0:00:44.653 ****** 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:03:02 +0000 (0:00:00.070) 0:00:44.723 ****** 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:03:02 +0000 (0:00:00.065) 0:00:44.789 ****** 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:03:02 +0000 (0:00:00.037) 0:00:44.827 ****** 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:03:02 +0000 (0:00:00.057) 0:00:44.885 ****** 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:03:03 +0000 (0:00:00.583) 0:00:45.468 ****** 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:03:03 +0000 (0:00:00.053) 0:00:45.522 ****** 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:03:03 +0000 (0:00:00.035) 0:00:45.557 ****** 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:03:03 +0000 (0:00:00.034) 0:00:45.592 ****** changed: [/cache/fedora-35.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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:03:04 +0000 (0:00:00.663) 0:00:46.255 ****** 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:03:04 +0000 (0:00:00.040) 0:00:46.296 ****** 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:03:04 +0000 (0:00:00.050) 0:00:46.347 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "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:03:04 +0000 (0:00:00.049) 0:00:46.397 ****** 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:03:04 +0000 (0:00:00.040) 0:00:46.437 ****** 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_removal.yml:224 Wednesday 03 August 2022 17:03:04 +0000 (0:00:00.474) 0:00:46.911 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.009785", "end": "2022-08-03 17:03:04.649028", "rc": 1, "start": "2022-08-03 17:03:04.639243" } 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:03:05 +0000 (0:00:00.422) 0:00:47.334 ****** 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.090458", "end": "2022-08-03 17:03:05.154327", "rc": 0, "start": "2022-08-03 17:03:05.063869" } 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:03:05 +0000 (0:00:00.503) 0:00:47.837 ****** 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.015905", "end": "2022-08-03 17:03:05.574465", "rc": 0, "start": "2022-08-03 17:03:05.558560" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:227 Wednesday 03 August 2022 17:03:06 +0000 (0:00:00.418) 0:00:48.255 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=111 changed=10 unreachable=0 failed=0 skipped=75 rescued=0 ignored=1 Wednesday 03 August 2022 17:03:06 +0000 (0:00:00.056) 0:00:48.312 ****** =============================================================================== Install dnsmasq --------------------------------------------------------- 2.06s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 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.85s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.62s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Create test interfaces -------------------------------------------------- 1.53s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.40s /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 --- 1.37s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.19s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpn6gexhje/tests/network/tests_bond_removal_nm.yml:5 -------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.96s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.91s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:3 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.70s /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.70s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 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:03:06 +0000 (0:00:00.044) 0:00:48.356 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007910", "end": "2022-08-03 17:03:06.090462", "rc": 0, "start": "2022-08-03 17:03:06.082552" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=112 changed=11 unreachable=0 failed=0 skipped=75 rescued=0 ignored=1 Wednesday 03 August 2022 17:03:06 +0000 (0:00:00.435) 0:00:48.792 ****** =============================================================================== Install dnsmasq --------------------------------------------------------- 2.06s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.98s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.97s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 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.85s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.62s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Create test interfaces -------------------------------------------------- 1.53s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.40s /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 --- 1.37s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 1.19s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpn6gexhje/tests/network/tests_bond_removal_nm.yml:5 -------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.96s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.91s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bond_removal.yml:3 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.73s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.70s /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.70s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14