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/tmpy4hq2u0g 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/tmp088uft4w/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:6 Wednesday 03 August 2022 17:17:52 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547071.7840703, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547071.2580702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25166460, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3756759271", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp088uft4w/tests/_backup.yml:13 Wednesday 03 August 2022 17:17:52 +0000 (0:00:00.601) 0:00:00.619 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 25166460, 'dev': 64515, 'nlink': 1, 'atime': 1659547071.7840703, 'mtime': 1659546726.0, 'ctime': 1659547071.2580702, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3756759271', '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/libexec/platform-python'}, '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/libexec/platform-python" }, "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": 1659547071.7840703, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547071.2580702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25166460, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3756759271", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:19 Wednesday 03 August 2022 17:17:52 +0000 (0:00:00.033) 0:00:00.653 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004304", "end": "2022-08-03 13:17:53.065680", "rc": 0, "start": "2022-08-03 13:17:53.061376" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:17:53 +0000 (0:00:00.494) 0:00:01.147 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp088uft4w/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmp088uft4w/tests/_backup.yml:13 ----------------------------------------- statically imported: /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp088uft4w/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_deprecated_nm.yml ***************************************** 2 plays in /tmp/tmp088uft4w/tests/tests_bond_deprecated_nm.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/tests_bond_deprecated_nm.yml:5 Wednesday 03 August 2022 17:17:53 +0000 (0:00:00.067) 0:00:01.215 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tests_bond_deprecated_nm.yml:8 Wednesday 03 August 2022 17:17:54 +0000 (0:00:01.114) 0:00:02.330 ****** included: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:17:54 +0000 (0:00:00.029) 0:00:02.360 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:17:54 +0000 (0:00:00.022) 0:00:02.382 ****** included: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:17:54 +0000 (0:00:00.030) 0:00:02.412 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:17:54 +0000 (0:00:00.378) 0:00:02.791 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:17:55 +0000 (0:00:00.024) 0:00:02.815 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.465137", "end": "2022-08-03 13:17:55.576302", "rc": 0, "start": "2022-08-03 13:17:55.111165" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:17:55 +0000 (0:00:00.841) 0:00:03.657 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp088uft4w/tests/tests_bond_deprecated_nm.yml:9 Wednesday 03 August 2022 17:17:55 +0000 (0:00:00.023) 0:00:03.680 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:3 Wednesday 03 August 2022 17:17:55 +0000 (0:00:00.050) 0:00:03.731 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:12 Wednesday 03 August 2022 17:17:56 +0000 (0:00:00.835) 0:00:04.566 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:17:56 +0000 (0:00:00.033) 0:00:04.600 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 17:17:58 +0000 (0:00:01.802) 0:00:06.402 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 17:17:58 +0000 (0:00:00.027) 0:00:06.429 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 17:18:00 +0000 (0:00:01.417) 0:00:07.847 ****** ok: [/cache/rhel-8-y.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.173549", "end": "2022-08-03 13:18:01.308141", "rc": 0, "start": "2022-08-03 13:18:00.134592" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:18:01 +0000 (0:00:01.548) 0:00:09.395 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:18:01 +0000 (0:00:00.038) 0:00:09.434 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547080.139742, "block_size": 4096, "blocks": 0, "ctime": 1659547080.139742, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25519, "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": 1659547080.139742, "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/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:18:02 +0000 (0:00:00.397) 0:00:09.831 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:18:02 +0000 (0:00:00.083) 0:00:09.914 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:18:02 +0000 (0:00:00.033) 0:00:09.947 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547080.1446137, "block_size": 4096, "blocks": 0, "ctime": 1659547080.1446137, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25775, "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": 1659547080.1446137, "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/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:18:02 +0000 (0:00:00.390) 0:00:10.338 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:23 Wednesday 03 August 2022 17:18:02 +0000 (0:00:00.062) 0:00:10.401 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:18:02 +0000 (0:00:00.062) 0:00:10.463 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:18:02 +0000 (0:00:00.033) 0:00:10.497 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:18:03 +0000 (0:00:00.515) 0:00:11.013 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:18:05 +0000 (0:00:01.848) 0:00:12.861 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:18:06 +0000 (0:00:01.417) 0:00:14.279 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:18:06 +0000 (0:00:00.104) 0:00:14.383 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:18:06 +0000 (0:00:00.040) 0:00:14.424 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:18:06 +0000 (0:00:00.038) 0:00:14.463 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:18:06 +0000 (0:00:00.077) 0:00:14.540 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:18:06 +0000 (0:00:00.040) 0:00:14.581 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:18:06 +0000 (0:00:00.040) 0:00:14.621 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:18:06 +0000 (0:00:00.057) 0:00:14.678 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:18:07 +0000 (0:00:00.824) 0:00:15.503 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:18:07 +0000 (0:00:00.064) 0:00:15.567 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:18:07 +0000 (0:00:00.037) 0:00:15.604 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:18:07 +0000 (0:00:00.035) 0:00:15.640 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "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, b7533fb1-f06a-4e08-882b-352ff488f1f9 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 502c54e0-9ca9-4d53-9502-5d5249bbb2d5 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, a057361f-9f00-45c8-9119-7eff960018e5 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b7533fb1-f06a-4e08-882b-352ff488f1f9 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 502c54e0-9ca9-4d53-9502-5d5249bbb2d5 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, a057361f-9f00-45c8-9119-7eff960018e5 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:18:08 +0000 (0:00:00.934) 0:00:16.575 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:18:08 +0000 (0:00:00.044) 0:00:16.619 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b7533fb1-f06a-4e08-882b-352ff488f1f9", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 502c54e0-9ca9-4d53-9502-5d5249bbb2d5", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, a057361f-9f00-45c8-9119-7eff960018e5", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b7533fb1-f06a-4e08-882b-352ff488f1f9 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 502c54e0-9ca9-4d53-9502-5d5249bbb2d5 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, a057361f-9f00-45c8-9119-7eff960018e5 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:18:08 +0000 (0:00:00.051) 0:00:16.670 ****** ok: [/cache/rhel-8-y.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": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "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, b7533fb1-f06a-4e08-882b-352ff488f1f9\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 502c54e0-9ca9-4d53-9502-5d5249bbb2d5\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, a057361f-9f00-45c8-9119-7eff960018e5\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b7533fb1-f06a-4e08-882b-352ff488f1f9 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 502c54e0-9ca9-4d53-9502-5d5249bbb2d5 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, a057361f-9f00-45c8-9119-7eff960018e5 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b7533fb1-f06a-4e08-882b-352ff488f1f9", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 502c54e0-9ca9-4d53-9502-5d5249bbb2d5", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, a057361f-9f00-45c8-9119-7eff960018e5", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b7533fb1-f06a-4e08-882b-352ff488f1f9 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 502c54e0-9ca9-4d53-9502-5d5249bbb2d5 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, a057361f-9f00-45c8-9119-7eff960018e5 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:18:08 +0000 (0:00:00.047) 0:00:16.718 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:18:08 +0000 (0:00:00.039) 0:00:16.758 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:18:09 +0000 (0:00:00.540) 0:00:17.299 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:18:09 +0000 (0:00:00.058) 0:00:17.357 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547088.3404372, "block_size": 4096, "blocks": 0, "ctime": 1659547088.3404372, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/deprecated-bond", "lnk_target": "../../devices/virtual/net/deprecated-bond", "mode": "0777", "mtime": 1659547088.3404372, "nlink": 1, "path": "/sys/class/net/deprecated-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 deprecated-bond is present] ************************ task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:18:09 +0000 (0:00:00.390) 0:00:17.748 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:54 Wednesday 03 August 2022 17:18:10 +0000 (0:00:00.116) 0:00:17.865 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap => (item=bond0) included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap => (item=bond0.0) included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:18:10 +0000 (0:00:00.077) 0:00:17.942 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:18:10 +0000 (0:00:00.059) 0:00:18.001 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:18:10 +0000 (0:00:00.051) 0:00:18.053 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547088.3380702, "block_size": 4096, "blocks": 8, "ctime": 1659547088.3380702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547088.3380702, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 343, "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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:18:10 +0000 (0:00:00.391) 0:00:18.444 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:18:10 +0000 (0:00:00.047) 0:00:18.492 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.026473", "end": "2022-08-03 13:18:10.849674", "rc": 0, "start": "2022-08-03 13:18:10.823201" } 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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:18:11 +0000 (0:00:00.453) 0:00:18.945 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:18:11 +0000 (0:00:00.051) 0:00:18.996 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:18:11 +0000 (0:00:00.038) 0:00:19.035 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:18:11 +0000 (0:00:00.038) 0:00:19.074 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:18:11 +0000 (0:00:00.050) 0:00:19.124 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:18:11 +0000 (0:00:00.108) 0:00:19.233 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:18:11 +0000 (0:00:00.063) 0:00:19.296 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:18:11 +0000 (0:00:00.047) 0:00:19.344 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547088.3730702, "block_size": 4096, "blocks": 8, "ctime": 1659547088.3730702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1092732, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547088.3730702, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:18:11 +0000 (0:00:00.425) 0:00:19.769 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:18:12 +0000 (0:00:00.053) 0:00:19.823 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.020770", "end": "2022-08-03 13:18:12.148692", "rc": 0, "start": "2022-08-03 13:18:12.127922" } 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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:18:12 +0000 (0:00:00.420) 0:00:20.244 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:18:12 +0000 (0:00:00.062) 0:00:20.306 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:18:12 +0000 (0:00:00.044) 0:00:20.351 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:18:12 +0000 (0:00:00.039) 0:00:20.390 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:18:12 +0000 (0:00:00.052) 0:00:20.443 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:18:12 +0000 (0:00:00.053) 0:00:20.496 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:18:12 +0000 (0:00:00.106) 0:00:20.603 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:18:12 +0000 (0:00:00.049) 0:00:20.653 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547088.38807, "block_size": 4096, "blocks": 8, "ctime": 1659547088.38807, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1092734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547088.38807, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:18:13 +0000 (0:00:00.386) 0:00:21.040 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:18:13 +0000 (0:00:00.048) 0:00:21.088 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.022179", "end": "2022-08-03 13:18:13.414211", "rc": 0, "start": "2022-08-03 13:18:13.392032" } 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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:18:13 +0000 (0:00:00.419) 0:00:21.508 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:18:13 +0000 (0:00:00.052) 0:00:21.560 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:18:13 +0000 (0:00:00.040) 0:00:21.601 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:18:13 +0000 (0:00:00.040) 0:00:21.641 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:18:13 +0000 (0:00:00.053) 0:00:21.694 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:61 Wednesday 03 August 2022 17:18:13 +0000 (0:00:00.050) 0:00:21.745 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.003535", "end": "2022-08-03 13:18:14.050116", "rc": 0, "start": "2022-08-03 13:18:14.046581" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:66 Wednesday 03 August 2022 17:18:14 +0000 (0:00:00.410) 0:00:22.156 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004184", "end": "2022-08-03 13:18:14.494419", "rc": 0, "start": "2022-08-03 13:18:14.490235" } STDOUT: 32: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.133/24 brd 192.0.2.255 scope global dynamic noprefixroute deprecated-bond valid_lft 237sec preferred_lft 237sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:72 Wednesday 03 August 2022 17:18:14 +0000 (0:00:00.432) 0:00:22.588 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.003655", "end": "2022-08-03 13:18:14.906791", "rc": 0, "start": "2022-08-03 13:18:14.903136" } STDOUT: 32: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::2e/128 scope global dynamic noprefixroute valid_lft 236sec preferred_lft 236sec inet6 2001:db8::fb30:b7ad:6d4:f5b7/64 scope global dynamic noprefixroute valid_lft 1797sec preferred_lft 1797sec inet6 fe80::aca8:e147:6fdd:50d/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:18:15 +0000 (0:00:00.415) 0:00:23.003 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:18:15 +0000 (0:00:00.063) 0:00:23.067 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:18:15 +0000 (0:00:00.572) 0:00:23.639 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:18:17 +0000 (0:00:01.740) 0:00:25.380 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:18:18 +0000 (0:00:01.221) 0:00:26.601 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:18:18 +0000 (0:00:00.059) 0:00:26.661 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:18:18 +0000 (0:00:00.041) 0:00:26.702 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:18:18 +0000 (0:00:00.039) 0:00:26.742 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:18:19 +0000 (0:00:00.076) 0:00:26.818 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:18:19 +0000 (0:00:00.039) 0:00:26.857 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:18:19 +0000 (0:00:00.041) 0:00:26.899 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:18:19 +0000 (0:00:00.053) 0:00:26.953 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:18:19 +0000 (0:00:00.628) 0:00:27.581 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:18:19 +0000 (0:00:00.064) 0:00:27.646 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:18:19 +0000 (0:00:00.040) 0:00:27.686 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:18:19 +0000 (0:00:00.037) 0:00:27.723 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:18:20 +0000 (0:00:00.794) 0:00:28.518 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:18:20 +0000 (0:00:00.042) 0:00:28.561 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:18:20 +0000 (0:00:00.051) 0:00:28.612 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:18:20 +0000 (0:00:00.047) 0:00:28.660 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:18:20 +0000 (0:00:00.037) 0:00:28.698 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:95 Wednesday 03 August 2022 17:18:21 +0000 (0:00:00.485) 0:00:29.183 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.008624", "end": "2022-08-03 13:18:21.650764", "rc": 1, "start": "2022-08-03 13:18:21.642140" } STDERR: Cannot find device "deprecated-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:18:21 +0000 (0:00:00.564) 0:00:29.748 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.060020", "end": "2022-08-03 13:18:22.095262", "rc": 0, "start": "2022-08-03 13:18:22.035242" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 17:18:22 +0000 (0:00:00.442) 0:00:30.190 ****** ok: [/cache/rhel-8-y.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.015313", "end": "2022-08-03 13:18:22.508861", "rc": 0, "start": "2022-08-03 13:18:22.493548" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=77 changed=8 unreachable=0 failed=0 skipped=32 rescued=0 ignored=1 Wednesday 03 August 2022 17:18:22 +0000 (0:00:00.436) 0:00:30.627 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.85s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install dnsmasq --------------------------------------------------------- 1.80s /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 1.74s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.55s /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 linux-system-roles.network : Check which packages are installed --------- 1.42s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install pgrep, sysctl --------------------------------------------------- 1.42s /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.22s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp088uft4w/tests/tests_bond_deprecated_nm.yml:5 ------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.93s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Enable EPEL 8 ----------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:3 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.82s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.80s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.63s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.57s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - command ----------------------------------------------------------------- 0.57s /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:95 ----------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.54s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.52s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Back up system files ---------------------------------------------------- 0.49s /tmp/tmp088uft4w/tests/_backup.yml:19 ----------------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp088uft4w/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_restore.yml:4 Wednesday 03 August 2022 17:18:22 +0000 (0:00:00.044) 0:00:30.671 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007926", "end": "2022-08-03 13:18:22.991161", "rc": 0, "start": "2022-08-03 13:18:22.983235" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=78 changed=9 unreachable=0 failed=0 skipped=32 rescued=0 ignored=1 Wednesday 03 August 2022 17:18:23 +0000 (0:00:00.475) 0:00:31.146 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.85s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install dnsmasq --------------------------------------------------------- 1.80s /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 1.74s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.55s /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 linux-system-roles.network : Check which packages are installed --------- 1.42s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install pgrep, sysctl --------------------------------------------------- 1.42s /tmp/tmp088uft4w/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.22s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp088uft4w/tests/tests_bond_deprecated_nm.yml:5 ------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.93s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Enable EPEL 8 ----------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:3 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.82s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.80s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.63s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.57s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - command ----------------------------------------------------------------- 0.57s /tmp/tmp088uft4w/tests/playbooks/tests_bond_deprecated.yml:95 ----------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.54s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.52s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Back up system files ---------------------------------------------------- 0.49s /tmp/tmp088uft4w/tests/_backup.yml:19 ----------------------------------------- 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/tmpy4hq2u0g 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/tmpt4s8r_w1/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:54:26 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659549266.0134885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549265.4774885, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25166460, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3756759271", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:54:26 +0000 (0:00:00.591) 0:00:00.609 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 25166460, 'dev': 64515, 'nlink': 1, 'atime': 1659549266.0134885, 'mtime': 1659548924.0, 'ctime': 1659549265.4774885, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3756759271', '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/libexec/platform-python'}, '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/libexec/platform-python" }, "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": 1659549266.0134885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549265.4774885, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25166460, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3756759271", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:54:26 +0000 (0:00:00.036) 0:00:00.645 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003974", "end": "2022-08-03 13:54:27.255779", "rc": 0, "start": "2022-08-03 13:54:27.251805" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.501) 0:00:01.146 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 --------------------------------- statically imported: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_deprecated_nm.yml ***************************************** 2 plays in /tmp/tmpt4s8r_w1/tests/network/tests_bond_deprecated_nm.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/tests_bond_deprecated_nm.yml:5 Wednesday 03 August 2022 17:54:27 +0000 (0:00:00.078) 0:00:01.225 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_bond_deprecated_nm.yml:8 Wednesday 03 August 2022 17:54:28 +0000 (0:00:01.073) 0:00:02.298 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.027) 0:00:02.325 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.020) 0:00:02.345 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.029) 0:00:02.375 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.367) 0:00:02.743 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:54:28 +0000 (0:00:00.023) 0:00:02.766 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.451470", "end": "2022-08-03 13:54:29.708347", "rc": 0, "start": "2022-08-03 13:54:29.256877" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.838) 0:00:03.604 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_bond_deprecated_nm.yml:9 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.021) 0:00:03.626 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:3 Wednesday 03 August 2022 17:54:29 +0000 (0:00:00.047) 0:00:03.673 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:12 Wednesday 03 August 2022 17:54:30 +0000 (0:00:00.861) 0:00:04.534 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:54:30 +0000 (0:00:00.032) 0:00:04.566 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 17:54:32 +0000 (0:00:01.875) 0:00:06.442 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 17:54:32 +0000 (0:00:00.030) 0:00:06.472 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 17:54:34 +0000 (0:00:01.425) 0:00:07.898 ****** ok: [/cache/rhel-8-y.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.171923", "end": "2022-08-03 13:54:35.562982", "rc": 0, "start": "2022-08-03 13:54:34.391059" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:54:35 +0000 (0:00:01.560) 0:00:09.458 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:54:35 +0000 (0:00:00.032) 0:00:09.491 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549274.396191, "block_size": 4096, "blocks": 0, "ctime": 1659549274.396191, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25513, "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": 1659549274.396191, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:54:36 +0000 (0:00:00.417) 0:00:09.909 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:54:36 +0000 (0:00:00.034) 0:00:09.944 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:54:36 +0000 (0:00:00.029) 0:00:09.974 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549274.3991528, "block_size": 4096, "blocks": 0, "ctime": 1659549274.3991528, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25769, "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": 1659549274.3991528, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:54:36 +0000 (0:00:00.369) 0:00:10.344 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:23 Wednesday 03 August 2022 17:54:36 +0000 (0:00:00.060) 0:00:10.405 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:36 +0000 (0:00:00.066) 0:00:10.471 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:36 +0000 (0:00:00.041) 0:00:10.513 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:37 +0000 (0:00:00.556) 0:00:11.069 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:39 +0000 (0:00:02.048) 0:00:13.118 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:40 +0000 (0:00:01.497) 0:00:14.615 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:40 +0000 (0:00:00.106) 0:00:14.722 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:40 +0000 (0:00:00.038) 0:00:14.760 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:40 +0000 (0:00:00.041) 0:00:14.802 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.078) 0:00:14.880 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.040) 0:00:14.921 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.040) 0:00:14.962 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:41 +0000 (0:00:00.056) 0:00:15.019 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.820) 0:00:15.839 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.057) 0:00:15.897 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.033) 0:00:15.931 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:42 +0000 (0:00:00.035) 0:00:15.967 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "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, a70dd023-a8a7-4e5f-a4d8-95bc00b12c8f [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, eb39b981-b56a-4ee4-86da-f546c9e3368a [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, ad92f2a5-1b86-4e3d-92f7-992c5d77ca1b [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, a70dd023-a8a7-4e5f-a4d8-95bc00b12c8f (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, eb39b981-b56a-4ee4-86da-f546c9e3368a (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, ad92f2a5-1b86-4e3d-92f7-992c5d77ca1b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.914) 0:00:16.882 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.047) 0:00:16.929 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, a70dd023-a8a7-4e5f-a4d8-95bc00b12c8f", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, eb39b981-b56a-4ee4-86da-f546c9e3368a", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, ad92f2a5-1b86-4e3d-92f7-992c5d77ca1b", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, a70dd023-a8a7-4e5f-a4d8-95bc00b12c8f (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, eb39b981-b56a-4ee4-86da-f546c9e3368a (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, ad92f2a5-1b86-4e3d-92f7-992c5d77ca1b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.047) 0:00:16.976 ****** ok: [/cache/rhel-8-y.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": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "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, a70dd023-a8a7-4e5f-a4d8-95bc00b12c8f\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, eb39b981-b56a-4ee4-86da-f546c9e3368a\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, ad92f2a5-1b86-4e3d-92f7-992c5d77ca1b\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, a70dd023-a8a7-4e5f-a4d8-95bc00b12c8f (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, eb39b981-b56a-4ee4-86da-f546c9e3368a (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, ad92f2a5-1b86-4e3d-92f7-992c5d77ca1b (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, a70dd023-a8a7-4e5f-a4d8-95bc00b12c8f", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, eb39b981-b56a-4ee4-86da-f546c9e3368a", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, ad92f2a5-1b86-4e3d-92f7-992c5d77ca1b", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, a70dd023-a8a7-4e5f-a4d8-95bc00b12c8f (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, eb39b981-b56a-4ee4-86da-f546c9e3368a (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, ad92f2a5-1b86-4e3d-92f7-992c5d77ca1b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.050) 0:00:17.027 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.039) 0:00:17.066 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.549) 0:00:17.616 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:54:43 +0000 (0:00:00.058) 0:00:17.674 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549282.8380396, "block_size": 4096, "blocks": 0, "ctime": 1659549282.8380396, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/deprecated-bond", "lnk_target": "../../devices/virtual/net/deprecated-bond", "mode": "0777", "mtime": 1659549282.8380396, "nlink": 1, "path": "/sys/class/net/deprecated-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 deprecated-bond is present] ************************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:54:44 +0000 (0:00:00.379) 0:00:18.053 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:54 Wednesday 03 August 2022 17:54:44 +0000 (0:00:00.050) 0:00:18.104 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap => (item=bond0) included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap => (item=bond0.0) included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:54:44 +0000 (0:00:00.127) 0:00:18.232 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:54:44 +0000 (0:00:00.060) 0:00:18.292 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:54:44 +0000 (0:00:00.046) 0:00:18.339 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549282.8364885, "block_size": 4096, "blocks": 8, "ctime": 1659549282.8364885, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549282.8364885, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 343, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:54:44 +0000 (0:00:00.402) 0:00:18.742 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:54:44 +0000 (0:00:00.053) 0:00:18.795 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.023303", "end": "2022-08-03 13:54:45.312196", "rc": 0, "start": "2022-08-03 13:54:45.288893" } 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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.420) 0:00:19.215 ****** ok: [/cache/rhel-8-y.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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.053) 0:00:19.269 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.039) 0:00:19.308 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.039) 0:00:19.348 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.052) 0:00:19.401 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.049) 0:00:19.450 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.102) 0:00:19.553 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:54:45 +0000 (0:00:00.045) 0:00:19.598 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549282.8694885, "block_size": 4096, "blocks": 8, "ctime": 1659549282.8694885, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1092732, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549282.8694885, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.405) 0:00:20.003 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.052) 0:00:20.056 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.021221", "end": "2022-08-03 13:54:46.581115", "rc": 0, "start": "2022-08-03 13:54:46.559894" } 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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.429) 0:00:20.486 ****** ok: [/cache/rhel-8-y.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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.054) 0:00:20.540 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.042) 0:00:20.582 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.037) 0:00:20.620 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.046) 0:00:20.666 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.050) 0:00:20.717 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:54:46 +0000 (0:00:00.065) 0:00:20.783 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:54:47 +0000 (0:00:00.141) 0:00:20.924 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549282.8774886, "block_size": 4096, "blocks": 8, "ctime": 1659549282.8774886, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1092734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549282.8774886, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:54:47 +0000 (0:00:00.391) 0:00:21.316 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:54:47 +0000 (0:00:00.048) 0:00:21.364 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.022318", "end": "2022-08-03 13:54:47.876112", "rc": 0, "start": "2022-08-03 13:54:47.853794" } 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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:54:47 +0000 (0:00:00.419) 0:00:21.783 ****** ok: [/cache/rhel-8-y.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/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.048) 0:00:21.832 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.037) 0:00:21.870 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.037) 0:00:21.908 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.050) 0:00:21.958 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:61 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.050) 0:00:22.009 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.003507", "end": "2022-08-03 13:54:48.496629", "rc": 0, "start": "2022-08-03 13:54:48.493122" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:65 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.396) 0:00:22.406 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004014", "end": "2022-08-03 13:54:48.897868", "rc": 0, "start": "2022-08-03 13:54:48.893854" } STDOUT: 32: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.141/24 brd 192.0.2.255 scope global dynamic noprefixroute deprecated-bond valid_lft 237sec preferred_lft 237sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:71 Wednesday 03 August 2022 17:54:48 +0000 (0:00:00.403) 0:00:22.809 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.003793", "end": "2022-08-03 13:54:49.305269", "rc": 0, "start": "2022-08-03 13:54:49.301476" } STDOUT: 32: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::2e/128 scope global dynamic noprefixroute valid_lft 236sec preferred_lft 236sec inet6 2001:db8::8bce:17a:3dd6:3b4e/64 scope global dynamic noprefixroute valid_lft 1797sec preferred_lft 1797sec inet6 fe80::84d9:88f8:3f86:b941/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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:54:49 +0000 (0:00:00.402) 0:00:23.212 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:54:49 +0000 (0:00:00.066) 0:00:23.278 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:54:50 +0000 (0:00:00.562) 0:00:23.840 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:54:51 +0000 (0:00:01.700) 0:00:25.540 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:54:52 +0000 (0:00:01.275) 0:00:26.816 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.052) 0:00:26.869 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.042) 0:00:26.911 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.042) 0:00:26.954 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.077) 0:00:27.031 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.040) 0:00:27.072 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.044) 0:00:27.116 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.057) 0:00:27.174 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:54:53 +0000 (0:00:00.623) 0:00:27.798 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.062) 0:00:27.860 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.038) 0:00:27.899 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.038) 0:00:27.937 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.792) 0:00:28.730 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.041) 0:00:28.771 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:54:54 +0000 (0:00:00.049) 0:00:28.821 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:54:55 +0000 (0:00:00.050) 0:00:28.872 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:54:55 +0000 (0:00:00.039) 0:00:28.912 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:94 Wednesday 03 August 2022 17:54:55 +0000 (0:00:00.443) 0:00:29.355 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.007145", "end": "2022-08-03 13:54:55.853043", "rc": 1, "start": "2022-08-03 13:54:55.845898" } STDERR: Cannot find device "deprecated-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:54:55 +0000 (0:00:00.400) 0:00:29.756 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.073861", "end": "2022-08-03 13:54:56.313263", "rc": 0, "start": "2022-08-03 13:54:56.239402" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 17:54:56 +0000 (0:00:00.463) 0:00:30.220 ****** ok: [/cache/rhel-8-y.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.016383", "end": "2022-08-03 13:54:56.726311", "rc": 0, "start": "2022-08-03 13:54:56.709928" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=77 changed=8 unreachable=0 failed=0 skipped=32 rescued=0 ignored=1 Wednesday 03 August 2022 17:54:56 +0000 (0:00:00.433) 0:00:30.653 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install dnsmasq --------------------------------------------------------- 1.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.56s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install pgrep, sysctl --------------------------------------------------- 1.43s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpt4s8r_w1/tests/network/tests_bond_deprecated_nm.yml:5 ----------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.91s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:3 ---------- Enable EPEL 8 ----------------------------------------------------------- 0.84s /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.82s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.79s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.62s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.55s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.50s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 --------------------------------- Remove test interfaces -------------------------------------------------- 0.46s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpt4s8r_w1/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:54:56 +0000 (0:00:00.048) 0:00:30.702 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007408", "end": "2022-08-03 13:54:57.216060", "rc": 0, "start": "2022-08-03 13:54:57.208652" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=78 changed=9 unreachable=0 failed=0 skipped=32 rescued=0 ignored=1 Wednesday 03 August 2022 17:54:57 +0000 (0:00:00.441) 0:00:31.143 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.05s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install dnsmasq --------------------------------------------------------- 1.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.56s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install pgrep, sysctl --------------------------------------------------- 1.43s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpt4s8r_w1/tests/network/tests_bond_deprecated_nm.yml:5 ----------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.91s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bond_deprecated.yml:3 ---------- Enable EPEL 8 ----------------------------------------------------------- 0.84s /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.82s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.79s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.62s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.55s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Back up system files ---------------------------------------------------- 0.50s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 --------------------------------- Remove test interfaces -------------------------------------------------- 0.46s /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3