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/tmpcwsggv7g 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 15:26:40 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:26:42 +0000 (0:00:01.291) 0:00:01.309 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpd6fsfezc/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpd6fsfezc/tests/_backup.yml:6 Wednesday 03 August 2022 15:26:42 +0000 (0:00:00.015) 0:00:01.324 ****** ok: [/cache/rhel-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659540399.9277782, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540399.1657784, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539931.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "98781483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpd6fsfezc/tests/_backup.yml:13 Wednesday 03 August 2022 15:26:42 +0000 (0:00:00.486) 0:00:01.811 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8.qcow2] => (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': 752168, 'dev': 64515, 'nlink': 1, 'atime': 1659540399.9277782, 'mtime': 1659539931.0, 'ctime': 1659540399.1657784, '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': '98781483', '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'}}, '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_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": 1659540399.9277782, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540399.1657784, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539931.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "98781483", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpd6fsfezc/tests/_backup.yml:19 Wednesday 03 August 2022 15:26:42 +0000 (0:00:00.036) 0:00:01.848 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004125", "end": "2022-08-03 11:26:42.093803", "rc": 0, "start": "2022-08-03 11:26:42.089678" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:26:43 +0000 (0:00:00.469) 0:00:02.317 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.49s /tmp/tmpd6fsfezc/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.47s /tmp/tmpd6fsfezc/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpd6fsfezc/tests/_backup.yml:13 ----------------------------------------- statically imported: /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpd6fsfezc/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_options_nm.yml ******************************************** 2 plays in /tmp/tmpd6fsfezc/tests/tests_bond_options_nm.yml PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/tests_bond_options_nm.yml:5 Wednesday 03 August 2022 15:26:43 +0000 (0:00:00.060) 0:00:02.378 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tests_bond_options_nm.yml:8 Wednesday 03 August 2022 15:26:44 +0000 (0:00:01.024) 0:00:03.403 ****** included: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml for /cache/rhel-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:26:44 +0000 (0:00:00.026) 0:00:03.430 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:26:44 +0000 (0:00:00.018) 0:00:03.449 ****** included: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml for /cache/rhel-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:26:44 +0000 (0:00:00.026) 0:00:03.475 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:26:44 +0000 (0:00:00.357) 0:00:03.833 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:26:44 +0000 (0:00:00.022) 0:00:03.855 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.435574", "end": "2022-08-03 11:26:44.438203", "rc": 0, "start": "2022-08-03 11:26:44.002629" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:26:45 +0000 (0:00:00.801) 0:00:04.657 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpd6fsfezc/tests/tests_bond_options_nm.yml:9 Wednesday 03 August 2022 15:26:45 +0000 (0:00:00.021) 0:00:04.679 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:3 Wednesday 03 August 2022 15:26:45 +0000 (0:00:00.072) 0:00:04.752 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:12 Wednesday 03 August 2022 15:26:46 +0000 (0:00:00.782) 0:00:05.534 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 15:26:46 +0000 (0:00:00.064) 0:00:05.598 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 15:26:48 +0000 (0:00:01.735) 0:00:07.334 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 15:26:48 +0000 (0:00:00.024) 0:00:07.358 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 15:26:49 +0000 (0:00:01.403) 0:00:08.762 ****** ok: [/cache/rhel-8.qcow2] => { "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.145415", "end": "2022-08-03 11:26:50.056708", "rc": 0, "start": "2022-08-03 11:26:48.911293" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:26:51 +0000 (0:00:01.515) 0:00:10.277 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.031) 0:00:10.308 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540408.9158123, "block_size": 4096, "blocks": 0, "ctime": 1659540408.9158123, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27342, "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": 1659540408.9158123, "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/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.365) 0:00:10.674 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.032) 0:00:10.706 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.027) 0:00:10.733 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540408.9176242, "block_size": 4096, "blocks": 0, "ctime": 1659540408.9176242, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27598, "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": 1659540408.9176242, "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/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.360) 0:00:11.094 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:23 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.032) 0:00:11.126 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.030) 0:00:11.157 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:26:51 +0000 (0:00:00.032) 0:00:11.190 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:26:52 +0000 (0:00:00.513) 0:00:11.703 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:26:54 +0000 (0:00:01.721) 0:00:13.425 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:26:55 +0000 (0:00:01.396) 0:00:14.821 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.045) 0:00:14.866 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.037) 0:00:14.904 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.039) 0:00:14.943 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.075) 0:00:15.019 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.038) 0:00:15.058 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.039) 0:00:15.098 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:26:55 +0000 (0:00:00.057) 0:00:15.155 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:26:56 +0000 (0:00:00.799) 0:00:15.955 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:26:56 +0000 (0:00:00.058) 0:00:16.013 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:26:56 +0000 (0:00:00.035) 0:00:16.048 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:26:56 +0000 (0:00:00.033) 0:00:16.081 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "arp_all_targets": "all", "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 6e44a143-38a7-445a-a371-52131d752200 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, dd67b57e-136b-43ac-9486-9025e1c2bc68 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 6e44a143-38a7-445a-a371-52131d752200 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, dd67b57e-136b-43ac-9486-9025e1c2bc68 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.854) 0:00:16.936 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.040) 0:00:16.976 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 6e44a143-38a7-445a-a371-52131d752200", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, dd67b57e-136b-43ac-9486-9025e1c2bc68", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 6e44a143-38a7-445a-a371-52131d752200 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, dd67b57e-136b-43ac-9486-9025e1c2bc68 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.047) 0:00:17.023 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "arp_all_targets": "all", "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 6e44a143-38a7-445a-a371-52131d752200\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, dd67b57e-136b-43ac-9486-9025e1c2bc68\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 6e44a143-38a7-445a-a371-52131d752200 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, dd67b57e-136b-43ac-9486-9025e1c2bc68 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 6e44a143-38a7-445a-a371-52131d752200", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, dd67b57e-136b-43ac-9486-9025e1c2bc68", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 6e44a143-38a7-445a-a371-52131d752200 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, dd67b57e-136b-43ac-9486-9025e1c2bc68 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.050) 0:00:17.074 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:26:57 +0000 (0:00:00.037) 0:00:17.112 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:26:58 +0000 (0:00:00.529) 0:00:17.641 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:26:58 +0000 (0:00:00.055) 0:00:17.697 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540416.5913591, "block_size": 4096, "blocks": 0, "ctime": 1659540416.5913591, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27931, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1659540416.5913591, "nlink": 1, "path": "/sys/class/net/nm-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface nm-bond is present] ******************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:26:58 +0000 (0:00:00.371) 0:00:18.069 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:71 Wednesday 03 August 2022 15:26:58 +0000 (0:00:00.049) 0:00:18.118 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 => (item=bond0) included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 => (item=bond0.0) included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.111) 0:00:18.230 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.058) 0:00:18.288 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.043) 0:00:18.332 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540416.5897784, "block_size": 4096, "blocks": 8, "ctime": 1659540416.5897784, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16810310, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540416.5897784, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 634, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.373) 0:00:18.705 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.046) 0:00:18.752 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021500", "end": "2022-08-03 11:26:58.917076", "rc": 0, "start": "2022-08-03 11:26:58.895576" } 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/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.398) 0:00:19.150 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:26:59 +0000 (0:00:00.045) 0:00:19.196 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.037) 0:00:19.234 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.035) 0:00:19.269 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.049) 0:00:19.319 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.051) 0:00:19.370 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.060) 0:00:19.431 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.083) 0:00:19.515 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540416.6287782, "block_size": 4096, "blocks": 8, "ctime": 1659540416.6287782, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16810312, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540416.6287782, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.386) 0:00:19.901 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:27:00 +0000 (0:00:00.044) 0:00:19.946 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.024901", "end": "2022-08-03 11:27:00.117496", "rc": 0, "start": "2022-08-03 11:27:00.092595" } 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/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.408) 0:00:20.355 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.049) 0:00:20.404 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.039) 0:00:20.443 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.037) 0:00:20.481 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.060) 0:00:20.541 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.047) 0:00:20.589 ****** included: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.058) 0:00:20.647 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.047) 0:00:20.694 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659540416.6367784, "block_size": 4096, "blocks": 8, "ctime": 1659540416.6367784, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16810313, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659540416.6367784, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.437) 0:00:21.131 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:27:01 +0000 (0:00:00.049) 0:00:21.181 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.020678", "end": "2022-08-03 11:27:01.350209", "rc": 0, "start": "2022-08-03 11:27:01.329531" } 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/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:27:02 +0000 (0:00:00.406) 0:00:21.587 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:27:02 +0000 (0:00:00.046) 0:00:21.634 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:27:02 +0000 (0:00:00.037) 0:00:21.671 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:27:02 +0000 (0:00:00.037) 0:00:21.708 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:27:02 +0000 (0:00:00.051) 0:00:21.759 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:79 Wednesday 03 August 2022 15:27:02 +0000 (0:00:00.047) 0:00:21.807 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/rhel-8.qcow2] => (item={'key': 'mode', 'value': '802.3ad'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.002666", "end": "2022-08-03 11:27:01.956573", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2022-08-03 11:27:01.953907" } STDOUT: 802.3ad 4 changed: [/cache/rhel-8.qcow2] => (item={'key': 'ad_actor_sys_prio', 'value': '65535'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_sys_prio" ], "delta": "0:00:00.002635", "end": "2022-08-03 11:27:02.306814", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2022-08-03 11:27:02.304179" } STDOUT: 65535 changed: [/cache/rhel-8.qcow2] => (item={'key': 'ad_actor_system', 'value': '00:00:5e:00:53:5d'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_system" ], "delta": "0:00:00.002832", "end": "2022-08-03 11:27:02.646025", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2022-08-03 11:27:02.643193" } STDOUT: 00:00:5e:00:53:5d changed: [/cache/rhel-8.qcow2] => (item={'key': 'ad_select', 'value': 'stable'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_select" ], "delta": "0:00:00.003063", "end": "2022-08-03 11:27:02.990078", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2022-08-03 11:27:02.987015" } STDOUT: stable 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'ad_user_port_key', 'value': '1023'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_user_port_key" ], "delta": "0:00:00.002582", "end": "2022-08-03 11:27:03.334842", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2022-08-03 11:27:03.332260" } STDOUT: 1023 changed: [/cache/rhel-8.qcow2] => (item={'key': 'all_slaves_active', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/all_slaves_active" ], "delta": "0:00:01.003745", "end": "2022-08-03 11:27:04.683764", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2022-08-03 11:27:03.680019" } STDOUT: 1 changed: [/cache/rhel-8.qcow2] => (item={'key': 'arp_all_targets', 'value': 'all'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_all_targets" ], "delta": "0:00:00.002752", "end": "2022-08-03 11:27:05.039599", "item": { "key": "arp_all_targets", "value": "all" }, "rc": 0, "start": "2022-08-03 11:27:05.036847" } STDOUT: all 1 changed: [/cache/rhel-8.qcow2] => (item={'key': 'downdelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/downdelay" ], "delta": "0:00:00.002531", "end": "2022-08-03 11:27:05.415915", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2022-08-03 11:27:05.413384" } STDOUT: 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'lacp_rate', 'value': 'slow'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lacp_rate" ], "delta": "0:00:01.005044", "end": "2022-08-03 11:27:06.776916", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2022-08-03 11:27:05.771872" } STDOUT: slow 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'lp_interval', 'value': '128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lp_interval" ], "delta": "0:00:00.002654", "end": "2022-08-03 11:27:07.126377", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2022-08-03 11:27:07.123723" } STDOUT: 128 changed: [/cache/rhel-8.qcow2] => (item={'key': 'miimon', 'value': '110'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/miimon" ], "delta": "0:00:00.002551", "end": "2022-08-03 11:27:07.476645", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2022-08-03 11:27:07.474094" } STDOUT: 110 changed: [/cache/rhel-8.qcow2] => (item={'key': 'num_grat_arp', 'value': '64'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/num_grat_arp" ], "delta": "0:00:00.002622", "end": "2022-08-03 11:27:07.833673", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2022-08-03 11:27:07.831051" } STDOUT: 64 changed: [/cache/rhel-8.qcow2] => (item={'key': 'resend_igmp', 'value': '225'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/resend_igmp" ], "delta": "0:00:00.002274", "end": "2022-08-03 11:27:08.163582", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2022-08-03 11:27:08.161308" } STDOUT: 225 changed: [/cache/rhel-8.qcow2] => (item={'key': 'updelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/updelay" ], "delta": "0:00:01.003756", "end": "2022-08-03 11:27:09.511391", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2022-08-03 11:27:08.507635" } STDOUT: 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'use_carrier', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/use_carrier" ], "delta": "0:00:00.002531", "end": "2022-08-03 11:27:09.863982", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2022-08-03 11:27:09.861451" } STDOUT: 1 changed: [/cache/rhel-8.qcow2] => (item={'key': 'xmit_hash_policy', 'value': 'encap2+3'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/xmit_hash_policy" ], "delta": "0:00:00.002460", "end": "2022-08-03 11:27:10.203559", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2022-08-03 11:27:10.201099" } STDOUT: encap2+3 3 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:102 Wednesday 03 August 2022 15:27:11 +0000 (0:00:08.634) 0:00:30.441 ****** changed: [/cache/rhel-8.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003557", "end": "2022-08-03 11:27:10.594337", "rc": 0, "start": "2022-08-03 11:27:10.590780" } STDOUT: 50: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.119/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 229sec preferred_lft 229sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:108 Wednesday 03 August 2022 15:27:11 +0000 (0:00:00.389) 0:00:30.830 ****** changed: [/cache/rhel-8.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003696", "end": "2022-08-03 11:27:10.990152", "rc": 0, "start": "2022-08-03 11:27:10.986456" } STDOUT: 50: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::dfbe:ad91:852b:a222/64 scope global dynamic noprefixroute valid_lft 1793sec preferred_lft 1793sec inet6 fe80::a140:c784:3412:4515/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:27:12 +0000 (0:00:00.396) 0:00:31.227 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:27:12 +0000 (0:00:00.060) 0:00:31.287 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:27:12 +0000 (0:00:00.564) 0:00:31.851 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:27:14 +0000 (0:00:01.592) 0:00:33.444 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:27:15 +0000 (0:00:01.134) 0:00:34.579 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.048) 0:00:34.627 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.082) 0:00:34.709 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.038) 0:00:34.748 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.075) 0:00:34.823 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.040) 0:00:34.864 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.037) 0:00:34.901 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:27:15 +0000 (0:00:00.058) 0:00:34.960 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.540) 0:00:35.500 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.058) 0:00:35.559 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.036) 0:00:35.595 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:27:16 +0000 (0:00:00.035) 0:00:35.631 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 [004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 (is-modified) [005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': "nm-device-error-quark: Can't reapply 'mode' bond option (3)", 'success': None} TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.638) 0:00:36.270 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.037) 0:00:36.308 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 (is-modified)", "[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.112) 0:00:36.420 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653\n[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 (is-modified)\n[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, 88ca27a6-540a-4dfc-8563-d5c1be49e653 (is-modified)", "[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.049) 0:00:36.469 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.039) 0:00:36.508 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:131 Wednesday 03 August 2022 15:27:17 +0000 (0:00:00.414) 0:00:36.923 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/rhel-8.qcow2] => (item={'key': 'mode', 'value': 'active-backup'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003680", "end": "2022-08-03 11:27:17.096653", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2022-08-03 11:27:17.092973" } STDOUT: active-backup 1 changed: [/cache/rhel-8.qcow2] => (item={'key': 'arp_interval', 'value': '60'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_interval" ], "delta": "0:00:00.002625", "end": "2022-08-03 11:27:17.444532", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2022-08-03 11:27:17.441907" } STDOUT: 60 changed: [/cache/rhel-8.qcow2] => (item={'key': 'arp_ip_target', 'value': '192.0.2.128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_ip_target" ], "delta": "0:00:00.002869", "end": "2022-08-03 11:27:17.800688", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2022-08-03 11:27:17.797819" } STDOUT: 192.0.2.128 changed: [/cache/rhel-8.qcow2] => (item={'key': 'arp_validate', 'value': 'none'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_validate" ], "delta": "0:00:00.002527", "end": "2022-08-03 11:27:18.150048", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2022-08-03 11:27:18.147521" } STDOUT: none 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'primary', 'value': 'test1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/primary" ], "delta": "0:00:01.003320", "end": "2022-08-03 11:27:19.507181", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2022-08-03 11:27:18.503861" } STDOUT: test1 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:143 Wednesday 03 August 2022 15:27:20 +0000 (0:00:02.826) 0:00:39.750 ****** changed: [/cache/rhel-8.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.004256", "end": "2022-08-03 11:27:19.950387", "rc": 0, "start": "2022-08-03 11:27:19.946131" } STDOUT: 50: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.119/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 239sec preferred_lft 239sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:149 Wednesday 03 August 2022 15:27:20 +0000 (0:00:00.436) 0:00:40.186 ****** changed: [/cache/rhel-8.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003389", "end": "2022-08-03 11:27:20.344323", "rc": 0, "start": "2022-08-03 11:27:20.340934" } STDOUT: 50: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::dfbe:ad91:852b:a222/64 scope global dynamic noprefixroute valid_lft 1799sec preferred_lft 1799sec inet6 fe80::a140:c784:3412:4515/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:27:21 +0000 (0:00:00.394) 0:00:40.581 ****** included: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:27:21 +0000 (0:00:00.061) 0:00:40.642 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:27:21 +0000 (0:00:00.536) 0:00:41.179 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:27:23 +0000 (0:00:01.592) 0:00:42.771 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:27:24 +0000 (0:00:01.194) 0:00:43.966 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.045) 0:00:44.012 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.039) 0:00:44.051 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.040) 0:00:44.092 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:27:24 +0000 (0:00:00.074) 0:00:44.166 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:27:25 +0000 (0:00:00.039) 0:00:44.206 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:27:25 +0000 (0:00:00.040) 0:00:44.247 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:27:25 +0000 (0:00:00.055) 0:00:44.303 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:27:25 +0000 (0:00:00.558) 0:00:44.862 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:27:25 +0000 (0:00:00.059) 0:00:44.921 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:27:25 +0000 (0:00:00.036) 0:00:44.957 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:27:25 +0000 (0:00:00.035) 0:00:44.992 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8.qcow2] => { "_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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.826) 0:00:45.819 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.039) 0:00:45.858 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.047) 0:00:45.906 ****** ok: [/cache/rhel-8.qcow2] => { "__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/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.045) 0:00:45.951 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:27:26 +0000 (0:00:00.041) 0:00:45.993 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [command] ***************************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:173 Wednesday 03 August 2022 15:27:27 +0000 (0:00:00.400) 0:00:46.393 ****** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.006824", "end": "2022-08-03 11:27:26.551435", "rc": 1, "start": "2022-08-03 11:27:26.544611" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 15:27:27 +0000 (0:00:00.393) 0:00:46.787 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.063541", "end": "2022-08-03 11:27:26.996244", "rc": 0, "start": "2022-08-03 11:27:26.932703" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpd6fsfezc/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 15:27:28 +0000 (0:00:00.443) 0:00:47.230 ****** ok: [/cache/rhel-8.qcow2] => { "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.014815", "end": "2022-08-03 11:27:27.399425", "rc": 0, "start": "2022-08-03 11:27:27.384610" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=91 changed=12 unreachable=0 failed=0 skipped=43 rescued=0 ignored=1 Wednesday 03 August 2022 15:27:28 +0000 (0:00:00.423) 0:00:47.654 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 8.63s /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:79 -------------------- ** TEST check bond settings --------------------------------------------- 2.83s /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:131 ------------------- Install dnsmasq --------------------------------------------------------- 1.74s /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 1.72s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.52s /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install pgrep, sysctl --------------------------------------------------- 1.40s /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.40s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.19s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.13s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpd6fsfezc/tests/tests_bond_options_nm.yml:5 ---------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Enable EPEL 8 ----------------------------------------------------------- 0.80s /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.80s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:3 --------------------- linux-system-roles.network : Configure networking connection profiles --- 0.64s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpd6fsfezc/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpd6fsfezc/tests/_restore.yml:4 Wednesday 03 August 2022 15:27:28 +0000 (0:00:00.044) 0:00:47.699 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005963", "end": "2022-08-03 11:27:27.842414", "rc": 0, "start": "2022-08-03 11:27:27.836451" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=92 changed=13 unreachable=0 failed=0 skipped=43 rescued=0 ignored=1 Wednesday 03 August 2022 15:27:28 +0000 (0:00:00.397) 0:00:48.097 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 8.63s /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:79 -------------------- ** TEST check bond settings --------------------------------------------- 2.83s /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:131 ------------------- Install dnsmasq --------------------------------------------------------- 1.74s /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 1.72s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.59s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.52s /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install pgrep, sysctl --------------------------------------------------- 1.40s /tmp/tmpd6fsfezc/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 linux-system-roles.network : Check which packages are installed --------- 1.40s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.19s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.13s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpd6fsfezc/tests/tests_bond_options_nm.yml:5 ---------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Enable EPEL 8 ----------------------------------------------------------- 0.80s /tmp/tmpd6fsfezc/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.80s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmpd6fsfezc/tests/playbooks/tests_bond_options.yml:3 --------------------- linux-system-roles.network : Configure networking connection profiles --- 0.64s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.56s /tmp/tmpd6fsfezc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpcwsggv7g 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Wednesday 03 August 2022 16:03:21 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:03:22 +0000 (0:00:01.238) 0:00:01.255 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.24s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpzotb0bdj/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:03:22 +0000 (0:00:00.014) 0:00:01.269 ****** ok: [/cache/rhel-8.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659542600.6045845, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542599.6025844, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "666888813", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:03:22 +0000 (0:00:00.470) 0:00:01.740 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8.qcow2] => (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': 752168, 'dev': 64515, 'nlink': 1, 'atime': 1659542600.6045845, 'mtime': 1659542132.0, 'ctime': 1659542599.6025844, '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': '666888813', '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'}}, '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_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": 1659542600.6045845, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542599.6025844, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 752168, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542132.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "666888813", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:03:22 +0000 (0:00:00.036) 0:00:01.776 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004619", "end": "2022-08-03 12:03:22.454993", "rc": 0, "start": "2022-08-03 12:03:22.450374" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:03:23 +0000 (0:00:00.499) 0:00:02.275 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.24s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpzotb0bdj/tests/network/_backup.yml:19 --------------------------------- Get stats of system files ----------------------------------------------- 0.47s /tmp/tmpzotb0bdj/tests/network/_backup.yml:6 ---------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpzotb0bdj/tests/network/_backup.yml:13 --------------------------------- statically imported: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_options_nm.yml ******************************************** 2 plays in /tmp/tmpzotb0bdj/tests/network/tests_bond_options_nm.yml PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/tests_bond_options_nm.yml:5 Wednesday 03 August 2022 16:03:23 +0000 (0:00:00.085) 0:00:02.361 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tests_bond_options_nm.yml:8 Wednesday 03 August 2022 16:03:24 +0000 (0:00:01.003) 0:00:03.365 ****** included: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml for /cache/rhel-8.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:03:24 +0000 (0:00:00.024) 0:00:03.389 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:03:24 +0000 (0:00:00.018) 0:00:03.408 ****** included: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml for /cache/rhel-8.qcow2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:03:24 +0000 (0:00:00.026) 0:00:03.435 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:03:24 +0000 (0:00:00.355) 0:00:03.790 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:03:24 +0000 (0:00:00.020) 0:00:03.811 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.420881", "end": "2022-08-03 12:03:24.779228", "rc": 0, "start": "2022-08-03 12:03:24.358347" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:03:25 +0000 (0:00:00.775) 0:00:04.587 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/tests_bond_options_nm.yml:9 Wednesday 03 August 2022 16:03:25 +0000 (0:00:00.019) 0:00:04.606 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:3 Wednesday 03 August 2022 16:03:25 +0000 (0:00:00.044) 0:00:04.651 ****** ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:12 Wednesday 03 August 2022 16:03:26 +0000 (0:00:00.803) 0:00:05.455 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:03:26 +0000 (0:00:00.057) 0:00:05.512 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 16:03:28 +0000 (0:00:01.735) 0:00:07.248 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 16:03:28 +0000 (0:00:00.025) 0:00:07.273 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 16:03:29 +0000 (0:00:01.386) 0:00:08.660 ****** ok: [/cache/rhel-8.qcow2] => { "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.143625", "end": "2022-08-03 12:03:30.383847", "rc": 0, "start": "2022-08-03 12:03:29.240222" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:03:31 +0000 (0:00:01.531) 0:00:10.192 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:03:31 +0000 (0:00:00.029) 0:00:10.221 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542609.2448287, "block_size": 4096, "blocks": 0, "ctime": 1659542609.2448287, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27336, "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": 1659542609.2448287, "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/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:03:31 +0000 (0:00:00.358) 0:00:10.579 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:03:31 +0000 (0:00:00.031) 0:00:10.610 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:03:31 +0000 (0:00:00.027) 0:00:10.638 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542609.2488048, "block_size": 4096, "blocks": 0, "ctime": 1659542609.2488048, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27592, "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": 1659542609.2488048, "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/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:03:32 +0000 (0:00:00.374) 0:00:11.013 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:23 Wednesday 03 August 2022 16:03:32 +0000 (0:00:00.030) 0:00:11.044 ****** ok: [/cache/rhel-8.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:03:32 +0000 (0:00:00.028) 0:00:11.072 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:03:32 +0000 (0:00:00.033) 0:00:11.105 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:03:32 +0000 (0:00:00.493) 0:00:11.598 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:03:34 +0000 (0:00:01.695) 0:00:13.294 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:03:35 +0000 (0:00:01.327) 0:00:14.622 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.104) 0:00:14.726 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.041) 0:00:14.768 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.041) 0:00:14.809 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.077) 0:00:14.887 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:03:35 +0000 (0:00:00.039) 0:00:14.926 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.038) 0:00:14.964 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.052) 0:00:15.017 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.775) 0:00:15.792 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.054) 0:00:15.847 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.035) 0:00:15.883 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:03:36 +0000 (0:00:00.035) 0:00:15.918 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "arp_all_targets": "all", "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, fe5d6c7d-aaba-4aa4-89c0-80b12e4e8ccb [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, e117e830-6ea9-434d-9cbc-8610002e5bf1 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, fe5d6c7d-aaba-4aa4-89c0-80b12e4e8ccb (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e117e830-6ea9-434d-9cbc-8610002e5bf1 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:03:37 +0000 (0:00:00.901) 0:00:16.820 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:03:37 +0000 (0:00:00.040) 0:00:16.861 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, fe5d6c7d-aaba-4aa4-89c0-80b12e4e8ccb", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, e117e830-6ea9-434d-9cbc-8610002e5bf1", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, fe5d6c7d-aaba-4aa4-89c0-80b12e4e8ccb (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e117e830-6ea9-434d-9cbc-8610002e5bf1 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:03:37 +0000 (0:00:00.050) 0:00:16.912 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "arp_all_targets": "all", "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, fe5d6c7d-aaba-4aa4-89c0-80b12e4e8ccb\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, e117e830-6ea9-434d-9cbc-8610002e5bf1\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, fe5d6c7d-aaba-4aa4-89c0-80b12e4e8ccb (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e117e830-6ea9-434d-9cbc-8610002e5bf1 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, fe5d6c7d-aaba-4aa4-89c0-80b12e4e8ccb", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, e117e830-6ea9-434d-9cbc-8610002e5bf1", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, fe5d6c7d-aaba-4aa4-89c0-80b12e4e8ccb (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e117e830-6ea9-434d-9cbc-8610002e5bf1 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.050) 0:00:16.962 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.037) 0:00:17.000 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.506) 0:00:17.506 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8.qcow2 TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:03:38 +0000 (0:00:00.057) 0:00:17.564 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542616.8668664, "block_size": 4096, "blocks": 0, "ctime": 1659542616.8668664, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27925, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1659542616.8668664, "nlink": 1, "path": "/sys/class/net/nm-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface nm-bond is present] ******************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.386) 0:00:17.950 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:71 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.049) 0:00:17.999 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 => (item=bond0) included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 => (item=bond0.0) included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8.qcow2 => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.112) 0:00:18.112 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.059) 0:00:18.171 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.044) 0:00:18.216 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542616.8645844, "block_size": 4096, "blocks": 8, "ctime": 1659542616.8645844, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16810309, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542616.8645844, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 634, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.365) 0:00:18.582 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:03:39 +0000 (0:00:00.048) 0:00:18.630 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.023688", "end": "2022-08-03 12:03:39.223857", "rc": 0, "start": "2022-08-03 12:03:39.200169" } 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/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.419) 0:00:19.050 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.045) 0:00:19.096 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.034) 0:00:19.130 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.034) 0:00:19.165 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.043) 0:00:19.208 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.044) 0:00:19.253 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.054) 0:00:19.308 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.107) 0:00:19.416 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542616.9065843, "block_size": 4096, "blocks": 8, "ctime": 1659542616.9065843, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16810310, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542616.9065843, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.387) 0:00:19.803 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:03:40 +0000 (0:00:00.044) 0:00:19.848 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.021052", "end": "2022-08-03 12:03:40.436893", "rc": 0, "start": "2022-08-03 12:03:40.415841" } 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/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:03:41 +0000 (0:00:00.415) 0:00:20.263 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:03:41 +0000 (0:00:00.047) 0:00:20.310 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:03:41 +0000 (0:00:00.034) 0:00:20.345 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:03:41 +0000 (0:00:00.038) 0:00:20.383 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:03:41 +0000 (0:00:00.052) 0:00:20.435 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:03:41 +0000 (0:00:00.050) 0:00:20.486 ****** included: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:03:41 +0000 (0:00:00.057) 0:00:20.544 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:03:41 +0000 (0:00:00.042) 0:00:20.586 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1659542616.9155843, "block_size": 4096, "blocks": 8, "ctime": 1659542616.9155843, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16810311, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542616.9155843, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.406) 0:00:20.993 ****** ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.047) 0:00:21.040 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.022304", "end": "2022-08-03 12:03:41.633973", "rc": 0, "start": "2022-08-03 12:03:41.611669" } 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/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.417) 0:00:21.458 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.046) 0:00:21.504 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.034) 0:00:21.539 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.038) 0:00:21.577 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.058) 0:00:21.635 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:79 Wednesday 03 August 2022 16:03:42 +0000 (0:00:00.056) 0:00:21.692 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/rhel-8.qcow2] => (item={'key': 'mode', 'value': '802.3ad'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003279", "end": "2022-08-03 12:03:42.267401", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2022-08-03 12:03:42.264122" } STDOUT: 802.3ad 4 changed: [/cache/rhel-8.qcow2] => (item={'key': 'ad_actor_sys_prio', 'value': '65535'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_sys_prio" ], "delta": "0:00:00.003779", "end": "2022-08-03 12:03:42.622486", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2022-08-03 12:03:42.618707" } STDOUT: 65535 changed: [/cache/rhel-8.qcow2] => (item={'key': 'ad_actor_system', 'value': '00:00:5e:00:53:5d'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_system" ], "delta": "0:00:00.002521", "end": "2022-08-03 12:03:42.978264", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2022-08-03 12:03:42.975743" } STDOUT: 00:00:5e:00:53:5d changed: [/cache/rhel-8.qcow2] => (item={'key': 'ad_select', 'value': 'stable'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_select" ], "delta": "0:00:00.002747", "end": "2022-08-03 12:03:43.318882", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2022-08-03 12:03:43.316135" } STDOUT: stable 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'ad_user_port_key', 'value': '1023'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_user_port_key" ], "delta": "0:00:00.002665", "end": "2022-08-03 12:03:43.659324", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2022-08-03 12:03:43.656659" } STDOUT: 1023 changed: [/cache/rhel-8.qcow2] => (item={'key': 'all_slaves_active', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/all_slaves_active" ], "delta": "0:00:00.002331", "end": "2022-08-03 12:03:43.998306", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2022-08-03 12:03:43.995975" } STDOUT: 1 changed: [/cache/rhel-8.qcow2] => (item={'key': 'arp_all_targets', 'value': 'all'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_all_targets" ], "delta": "0:00:00.002470", "end": "2022-08-03 12:03:44.332409", "item": { "key": "arp_all_targets", "value": "all" }, "rc": 0, "start": "2022-08-03 12:03:44.329939" } STDOUT: all 1 changed: [/cache/rhel-8.qcow2] => (item={'key': 'downdelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/downdelay" ], "delta": "0:00:00.002275", "end": "2022-08-03 12:03:44.705573", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2022-08-03 12:03:44.703298" } STDOUT: 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'lacp_rate', 'value': 'slow'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lacp_rate" ], "delta": "0:00:00.002359", "end": "2022-08-03 12:03:45.043749", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2022-08-03 12:03:45.041390" } STDOUT: slow 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'lp_interval', 'value': '128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lp_interval" ], "delta": "0:00:00.002808", "end": "2022-08-03 12:03:45.383163", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2022-08-03 12:03:45.380355" } STDOUT: 128 changed: [/cache/rhel-8.qcow2] => (item={'key': 'miimon', 'value': '110'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/miimon" ], "delta": "0:00:00.002409", "end": "2022-08-03 12:03:45.722542", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2022-08-03 12:03:45.720133" } STDOUT: 110 changed: [/cache/rhel-8.qcow2] => (item={'key': 'num_grat_arp', 'value': '64'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/num_grat_arp" ], "delta": "0:00:00.002350", "end": "2022-08-03 12:03:46.059184", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2022-08-03 12:03:46.056834" } STDOUT: 64 changed: [/cache/rhel-8.qcow2] => (item={'key': 'resend_igmp', 'value': '225'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/resend_igmp" ], "delta": "0:00:00.002656", "end": "2022-08-03 12:03:46.400263", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2022-08-03 12:03:46.397607" } STDOUT: 225 changed: [/cache/rhel-8.qcow2] => (item={'key': 'updelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/updelay" ], "delta": "0:00:00.002352", "end": "2022-08-03 12:03:46.739228", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2022-08-03 12:03:46.736876" } STDOUT: 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'use_carrier', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/use_carrier" ], "delta": "0:00:00.002694", "end": "2022-08-03 12:03:47.076580", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2022-08-03 12:03:47.073886" } STDOUT: 1 changed: [/cache/rhel-8.qcow2] => (item={'key': 'xmit_hash_policy', 'value': 'encap2+3'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/xmit_hash_policy" ], "delta": "0:00:00.002520", "end": "2022-08-03 12:03:47.418405", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2022-08-03 12:03:47.415885" } STDOUT: encap2+3 3 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:101 Wednesday 03 August 2022 16:03:48 +0000 (0:00:05.554) 0:00:27.246 ****** changed: [/cache/rhel-8.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003585", "end": "2022-08-03 12:03:47.827397", "rc": 0, "start": "2022-08-03 12:03:47.823812" } STDOUT: 50: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.28/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 233sec preferred_lft 233sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:107 Wednesday 03 August 2022 16:03:48 +0000 (0:00:00.406) 0:00:27.653 ****** changed: [/cache/rhel-8.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003836", "end": "2022-08-03 12:03:48.219690", "rc": 0, "start": "2022-08-03 12:03:48.215854" } STDOUT: 50: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::6f23:295c:f4f6:41bb/64 scope global tentative dynamic noprefixroute valid_lft 1801sec preferred_lft 1801sec inet6 fe80::ccc2:cb6d:194b:de4d/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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.394) 0:00:28.047 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.061) 0:00:28.109 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:03:49 +0000 (0:00:00.602) 0:00:28.712 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:03:52 +0000 (0:00:02.625) 0:00:31.338 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:03:53 +0000 (0:00:01.207) 0:00:32.545 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.048) 0:00:32.594 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.043) 0:00:32.637 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.040) 0:00:32.678 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.078) 0:00:32.756 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.040) 0:00:32.797 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.039) 0:00:32.836 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:03:53 +0000 (0:00:00.059) 0:00:32.896 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:03:54 +0000 (0:00:00.570) 0:00:33.466 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:03:54 +0000 (0:00:00.055) 0:00:33.522 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:03:54 +0000 (0:00:00.034) 0:00:33.557 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:03:54 +0000 (0:00:00.033) 0:00:33.590 ****** changed: [/cache/rhel-8.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'bond0': update connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c [004] #0, state:up persistent_state:present, 'bond0': up connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c (is-modified) [005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': "nm-device-error-quark: Can't reapply 'mode' bond option (3)", 'success': None} TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:03:55 +0000 (0:00:00.718) 0:00:34.308 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:03:55 +0000 (0:00:00.041) 0:00:34.350 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c (is-modified)", "[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:03:55 +0000 (0:00:00.052) 0:00:34.402 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c\n[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c (is-modified)\n[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'bond0': update connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c", "[004] #0, state:up persistent_state:present, 'bond0': up connection bond0, c6ccd90f-600e-4bdd-8040-f1a6d076c59c (is-modified)", "[005] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'mode' bond option (3): {'error': \"nm-device-error-quark: Can't reapply 'mode' bond option (3)\", 'success': None}" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:03:55 +0000 (0:00:00.051) 0:00:34.454 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:03:55 +0000 (0:00:00.042) 0:00:34.496 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [** TEST check bond settings] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:130 Wednesday 03 August 2022 16:03:55 +0000 (0:00:00.426) 0:00:34.922 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout changed: [/cache/rhel-8.qcow2] => (item={'key': 'mode', 'value': 'active-backup'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.002972", "end": "2022-08-03 12:03:55.492445", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2022-08-03 12:03:55.489473" } STDOUT: active-backup 1 changed: [/cache/rhel-8.qcow2] => (item={'key': 'arp_interval', 'value': '60'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_interval" ], "delta": "0:00:00.002733", "end": "2022-08-03 12:03:55.859471", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2022-08-03 12:03:55.856738" } STDOUT: 60 changed: [/cache/rhel-8.qcow2] => (item={'key': 'arp_ip_target', 'value': '192.0.2.128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_ip_target" ], "delta": "0:00:00.002691", "end": "2022-08-03 12:03:56.206971", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2022-08-03 12:03:56.204280" } STDOUT: 192.0.2.128 changed: [/cache/rhel-8.qcow2] => (item={'key': 'arp_validate', 'value': 'none'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_validate" ], "delta": "0:00:00.002462", "end": "2022-08-03 12:03:56.552252", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2022-08-03 12:03:56.549790" } STDOUT: none 0 changed: [/cache/rhel-8.qcow2] => (item={'key': 'primary', 'value': 'test1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": true, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/primary" ], "delta": "0:00:00.002769", "end": "2022-08-03 12:03:56.896854", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2022-08-03 12:03:56.894085" } STDOUT: test1 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:141 Wednesday 03 August 2022 16:03:57 +0000 (0:00:01.829) 0:00:36.752 ****** changed: [/cache/rhel-8.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003804", "end": "2022-08-03 12:03:57.320982", "rc": 0, "start": "2022-08-03 12:03:57.317178" } STDOUT: 50: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.28/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 238sec preferred_lft 238sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:147 Wednesday 03 August 2022 16:03:58 +0000 (0:00:00.395) 0:00:37.148 ****** FAILED - RETRYING: [/cache/rhel-8.qcow2]: ** TEST check IPv6 (20 retries left). changed: [/cache/rhel-8.qcow2] => { "attempts": 2, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003368", "end": "2022-08-03 12:04:00.049133", "rc": 0, "start": "2022-08-03 12:04:00.045765" } STDOUT: 50: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::6f23:295c:f4f6:41bb/64 scope global tentative dynamic noprefixroute valid_lft 1801sec preferred_lft 1801sec inet6 fe80::ccc2:cb6d:194b:de4d/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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:04:00 +0000 (0:00:02.726) 0:00:39.874 ****** included: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:04:00 +0000 (0:00:00.061) 0:00:39.936 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:04:01 +0000 (0:00:00.550) 0:00:40.487 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:04:04 +0000 (0:00:02.648) 0:00:43.135 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:04:05 +0000 (0:00:01.209) 0:00:44.345 ****** ok: [/cache/rhel-8.qcow2] => {} 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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.048) 0:00:44.393 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.071) 0:00:44.465 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.038) 0:00:44.504 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.075) 0:00:44.579 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.042) 0:00:44.622 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.051) 0:00:44.673 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:04:05 +0000 (0:00:00.056) 0:00:44.730 ****** ok: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:04:06 +0000 (0:00:00.547) 0:00:45.277 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:04:06 +0000 (0:00:00.055) 0:00:45.332 ****** skipping: [/cache/rhel-8.qcow2] => { "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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:04:06 +0000 (0:00:00.034) 0:00:45.366 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:04:06 +0000 (0:00:00.033) 0:00:45.400 ****** changed: [/cache/rhel-8.qcow2] => { "_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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.779) 0:00:46.180 ****** skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.072) 0:00:46.252 ****** ok: [/cache/rhel-8.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.046) 0:00:46.299 ****** ok: [/cache/rhel-8.qcow2] => { "__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/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.049) 0:00:46.349 ****** skipping: [/cache/rhel-8.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.039) 0:00:46.389 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8.qcow2 TASK [command] ***************************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:171 Wednesday 03 August 2022 16:04:07 +0000 (0:00:00.392) 0:00:46.782 ****** fatal: [/cache/rhel-8.qcow2]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.007995", "end": "2022-08-03 12:04:07.336992", "rc": 1, "start": "2022-08-03 12:04:07.328997" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.376) 0:00:47.158 ****** ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.063779", "end": "2022-08-03 12:04:07.769191", "rc": 0, "start": "2022-08-03 12:04:07.705412" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 16:04:08 +0000 (0:00:00.433) 0:00:47.592 ****** ok: [/cache/rhel-8.qcow2] => { "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.013471", "end": "2022-08-03 12:04:08.146541", "rc": 0, "start": "2022-08-03 12:04:08.133070" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=91 changed=12 unreachable=0 failed=0 skipped=43 rescued=0 ignored=1 Wednesday 03 August 2022 16:04:09 +0000 (0:00:00.399) 0:00:47.992 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 5.55s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:79 ------------ ** TEST check IPv6 ------------------------------------------------------ 2.73s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:147 ----------- fedora.linux_system_roles.network : Check which services are running ---- 2.65s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.63s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 ** TEST check bond settings --------------------------------------------- 1.83s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:130 ----------- Install dnsmasq --------------------------------------------------------- 1.74s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.53s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install pgrep, sysctl --------------------------------------------------- 1.39s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 set up internal repositories -------------------------------------------- 1.24s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmpzotb0bdj/tests/network/tests_bond_options_nm.yml:5 -------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.90s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:3 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Enable EPEL 8 ----------------------------------------------------------- 0.78s /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.78s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.72s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpzotb0bdj/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpzotb0bdj/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:04:09 +0000 (0:00:00.076) 0:00:48.068 ****** changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006169", "end": "2022-08-03 12:04:08.620998", "rc": 0, "start": "2022-08-03 12:04:08.614829" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=92 changed=13 unreachable=0 failed=0 skipped=43 rescued=0 ignored=1 Wednesday 03 August 2022 16:04:09 +0000 (0:00:00.395) 0:00:48.464 ****** =============================================================================== ** TEST check bond settings --------------------------------------------- 5.55s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:79 ------------ ** TEST check IPv6 ------------------------------------------------------ 2.73s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:147 ----------- fedora.linux_system_roles.network : Check which services are running ---- 2.65s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.63s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 ** TEST check bond settings --------------------------------------------- 1.83s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:130 ----------- Install dnsmasq --------------------------------------------------------- 1.74s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.53s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Install pgrep, sysctl --------------------------------------------------- 1.39s /tmp/tmpzotb0bdj/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 set up internal repositories -------------------------------------------- 1.24s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmpzotb0bdj/tests/network/tests_bond_options_nm.yml:5 -------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.90s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpzotb0bdj/tests/network/playbooks/tests_bond_options.yml:3 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Enable EPEL 8 ----------------------------------------------------------- 0.78s /tmp/tmpzotb0bdj/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.78s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.72s /tmp/tmpcwsggv7g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106