ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp40vowjjo executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp05ac0kav/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:6 Wednesday 03 August 2022 16:05:22 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/centos-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659542721.4919355, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542721.4919355, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974049", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp05ac0kav/tests/_backup.yml:13 Wednesday 03 August 2022 16:05:23 +0000 (0:00:00.586) 0:00:00.605 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 4338794, 'dev': 64513, 'nlink': 1, 'atime': 1659542721.4919355, 'mtime': 1659542505.0, 'ctime': 1659542721.4919355, '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': '2775974049', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659542721.4919355, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659542721.4919355, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659542505.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974049", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_backup.yml:19 Wednesday 03 August 2022 16:05:23 +0000 (0:00:00.035) 0:00:00.640 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003577", "end": "2022-08-03 12:05:23.205767", "rc": 0, "start": "2022-08-03 12:05:23.202190" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:05:23 +0000 (0:00:00.488) 0:00:01.129 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp05ac0kav/tests/_backup.yml:13 ----------------------------------------- statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_deprecated_nm.yml ***************************************** 2 plays in /tmp/tmp05ac0kav/tests/tests_bond_deprecated_nm.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/tests_bond_deprecated_nm.yml:5 Wednesday 03 August 2022 16:05:23 +0000 (0:00:00.065) 0:00:01.194 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tests_bond_deprecated_nm.yml:8 Wednesday 03 August 2022 16:05:24 +0000 (0:00:01.067) 0:00:02.262 ****** included: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:05:24 +0000 (0:00:00.034) 0:00:02.296 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:05:25 +0000 (0:00:00.022) 0:00:02.319 ****** included: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:05:25 +0000 (0:00:00.028) 0:00:02.347 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:05:25 +0000 (0:00:00.020) 0:00:02.368 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:05:25 +0000 (0:00:00.020) 0:00:02.388 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp05ac0kav/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:05:25 +0000 (0:00:00.021) 0:00:02.410 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp05ac0kav/tests/tests_bond_deprecated_nm.yml:9 Wednesday 03 August 2022 16:05:25 +0000 (0:00:00.020) 0:00:02.430 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:3 Wednesday 03 August 2022 16:05:25 +0000 (0:00:00.049) 0:00:02.479 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:12 Wednesday 03 August 2022 16:05:25 +0000 (0:00:00.765) 0:00:03.245 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:05:25 +0000 (0:00:00.032) 0:00:03.278 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: dnsmasq-2.85-4.el9.x86_64" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 16:05:28 +0000 (0:00:02.945) 0:00:06.223 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 16:05:28 +0000 (0:00:00.029) 0:00:06.253 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 16:05:29 +0000 (0:00:00.790) 0:00:07.044 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.135515", "end": "2022-08-03 12:05:30.615203", "rc": 0, "start": "2022-08-03 12:05:29.479688" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:05:31 +0000 (0:00:01.495) 0:00:08.539 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:05:31 +0000 (0:00:00.034) 0:00:08.574 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542729.4865522, "block_size": 4096, "blocks": 0, "ctime": 1659542729.4865522, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23945, "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": 1659542729.4865522, "nlink": 1, "path": "/sys/class/net/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface test1 is present] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:05:31 +0000 (0:00:00.368) 0:00:08.942 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:05:31 +0000 (0:00:00.035) 0:00:08.978 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:05:31 +0000 (0:00:00.034) 0:00:09.012 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542729.4890714, "block_size": 4096, "blocks": 0, "ctime": 1659542729.4890714, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24201, "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": 1659542729.4890714, "nlink": 1, "path": "/sys/class/net/test2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface test2 is present] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:05:32 +0000 (0:00:00.393) 0:00:09.406 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:23 Wednesday 03 August 2022 16:05:32 +0000 (0:00:00.040) 0:00:09.447 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:05:32 +0000 (0:00:00.030) 0:00:09.477 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:05:32 +0000 (0:00:00.033) 0:00:09.510 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:05:35 +0000 (0:00:03.203) 0:00:12.714 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:05:37 +0000 (0:00:01.663) 0:00:14.377 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:05:38 +0000 (0:00:00.971) 0:00:15.349 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:05:38 +0000 (0:00:00.046) 0:00:15.396 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:05:38 +0000 (0:00:00.039) 0:00:15.435 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:05:38 +0000 (0:00:00.036) 0:00:15.471 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:05:38 +0000 (0:00:00.073) 0:00:15.545 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:05:38 +0000 (0:00:00.039) 0:00:15.585 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:05:38 +0000 (0:00:00.039) 0:00:15.624 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:05:38 +0000 (0:00:00.057) 0:00:15.681 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:05:39 +0000 (0:00:00.826) 0:00:16.507 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:05:39 +0000 (0:00:00.068) 0:00:16.576 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:05:39 +0000 (0:00:00.034) 0:00:16.611 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:05:39 +0000 (0:00:00.036) 0:00:16.648 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, eb918e97-041e-4f80-a95c-889e71246b5c [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4ae93016-8769-41b4-8f13-4a48ac952e51 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3d592746-cd01-4ae3-b39a-a540a61531bd [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, eb918e97-041e-4f80-a95c-889e71246b5c (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4ae93016-8769-41b4-8f13-4a48ac952e51 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3d592746-cd01-4ae3-b39a-a540a61531bd (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:05:40 +0000 (0:00:00.828) 0:00:17.477 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:05:40 +0000 (0:00:00.040) 0:00:17.517 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, eb918e97-041e-4f80-a95c-889e71246b5c", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4ae93016-8769-41b4-8f13-4a48ac952e51", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3d592746-cd01-4ae3-b39a-a540a61531bd", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, eb918e97-041e-4f80-a95c-889e71246b5c (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4ae93016-8769-41b4-8f13-4a48ac952e51 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3d592746-cd01-4ae3-b39a-a540a61531bd (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:05:40 +0000 (0:00:00.046) 0:00:17.564 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, eb918e97-041e-4f80-a95c-889e71246b5c\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4ae93016-8769-41b4-8f13-4a48ac952e51\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3d592746-cd01-4ae3-b39a-a540a61531bd\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, eb918e97-041e-4f80-a95c-889e71246b5c (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4ae93016-8769-41b4-8f13-4a48ac952e51 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3d592746-cd01-4ae3-b39a-a540a61531bd (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, eb918e97-041e-4f80-a95c-889e71246b5c", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4ae93016-8769-41b4-8f13-4a48ac952e51", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 3d592746-cd01-4ae3-b39a-a540a61531bd", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, eb918e97-041e-4f80-a95c-889e71246b5c (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4ae93016-8769-41b4-8f13-4a48ac952e51 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 3d592746-cd01-4ae3-b39a-a540a61531bd (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:05:40 +0000 (0:00:00.050) 0:00:17.615 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:05:40 +0000 (0:00:00.036) 0:00:17.651 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:05:40 +0000 (0:00:00.543) 0:00:18.194 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:05:40 +0000 (0:00:00.091) 0:00:18.286 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542739.4558184, "block_size": 4096, "blocks": 0, "ctime": 1659542739.4558184, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24579, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/deprecated-bond", "lnk_target": "../../devices/virtual/net/deprecated-bond", "mode": "0777", "mtime": 1659542739.4558184, "nlink": 1, "path": "/sys/class/net/deprecated-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface deprecated-bond is present] ************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:05:41 +0000 (0:00:00.401) 0:00:18.687 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:54 Wednesday 03 August 2022 16:05:41 +0000 (0:00:00.049) 0:00:18.736 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0) included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0.0) included: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:05:41 +0000 (0:00:00.074) 0:00:18.811 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:05:41 +0000 (0:00:00.058) 0:00:18.869 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:05:41 +0000 (0:00:00.048) 0:00:18.918 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542739.4369354, "block_size": 4096, "blocks": 8, "ctime": 1659542739.4369354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941520, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542739.4369354, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 343, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:05:41 +0000 (0:00:00.397) 0:00:19.315 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:05:42 +0000 (0:00:00.047) 0:00:19.363 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021364", "end": "2022-08-03 12:05:41.835973", "rc": 0, "start": "2022-08-03 12:05:41.814609" } STDOUT: bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:05:42 +0000 (0:00:00.412) 0:00:19.775 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:05:42 +0000 (0:00:00.049) 0:00:19.825 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:05:42 +0000 (0:00:00.079) 0:00:19.904 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:05:42 +0000 (0:00:00.038) 0:00:19.943 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:05:42 +0000 (0:00:00.051) 0:00:19.994 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:05:42 +0000 (0:00:00.049) 0:00:20.043 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:05:42 +0000 (0:00:00.056) 0:00:20.100 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:05:42 +0000 (0:00:00.042) 0:00:20.143 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542739.4729354, "block_size": 4096, "blocks": 8, "ctime": 1659542739.4729354, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542739.4729354, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:05:43 +0000 (0:00:00.375) 0:00:20.519 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:05:43 +0000 (0:00:00.048) 0:00:20.567 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.020576", "end": "2022-08-03 12:05:43.042699", "rc": 0, "start": "2022-08-03 12:05:43.022123" } STDOUT: bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:05:43 +0000 (0:00:00.409) 0:00:20.977 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:05:43 +0000 (0:00:00.058) 0:00:21.035 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:05:43 +0000 (0:00:00.040) 0:00:21.076 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:05:43 +0000 (0:00:00.036) 0:00:21.113 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:05:43 +0000 (0:00:00.048) 0:00:21.161 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:05:43 +0000 (0:00:00.047) 0:00:21.209 ****** included: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:05:43 +0000 (0:00:00.101) 0:00:21.311 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:05:44 +0000 (0:00:00.046) 0:00:21.357 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542739.4809353, "block_size": 4096, "blocks": 8, "ctime": 1659542739.4809353, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659542739.4809353, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:05:44 +0000 (0:00:00.397) 0:00:21.755 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:05:44 +0000 (0:00:00.046) 0:00:21.801 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.020372", "end": "2022-08-03 12:05:44.278111", "rc": 0, "start": "2022-08-03 12:05:44.257739" } STDOUT: bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:05:44 +0000 (0:00:00.410) 0:00:22.211 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:05:44 +0000 (0:00:00.049) 0:00:22.260 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:05:44 +0000 (0:00:00.035) 0:00:22.296 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:05:45 +0000 (0:00:00.037) 0:00:22.333 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:05:45 +0000 (0:00:00.045) 0:00:22.378 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:61 Wednesday 03 August 2022 16:05:45 +0000 (0:00:00.045) 0:00:22.423 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.003284", "end": "2022-08-03 12:05:44.883341", "rc": 0, "start": "2022-08-03 12:05:44.880057" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:66 Wednesday 03 August 2022 16:05:45 +0000 (0:00:00.396) 0:00:22.820 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.002970", "end": "2022-08-03 12:05:45.281578", "rc": 0, "start": "2022-08-03 12:05:45.278608" } STDOUT: 22: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.35/24 brd 192.0.2.255 scope global dynamic noprefixroute deprecated-bond valid_lft 237sec preferred_lft 237sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:72 Wednesday 03 August 2022 16:05:45 +0000 (0:00:00.394) 0:00:23.215 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.003013", "end": "2022-08-03 12:05:45.656769", "rc": 0, "start": "2022-08-03 12:05:45.653756" } STDOUT: 22: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::b0/128 scope global dynamic noprefixroute valid_lft 236sec preferred_lft 236sec inet6 2001:db8::40d1:140e:7b37:717/64 scope global dynamic noprefixroute valid_lft 1797sec preferred_lft 1797sec inet6 fe80::1663:83a0:6474:84d3/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:05:46 +0000 (0:00:00.376) 0:00:23.592 ****** included: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:05:46 +0000 (0:00:00.058) 0:00:23.650 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:05:46 +0000 (0:00:00.552) 0:00:24.202 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:05:49 +0000 (0:00:02.509) 0:00:26.712 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:05:50 +0000 (0:00:00.806) 0:00:27.518 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:05:50 +0000 (0:00:00.048) 0:00:27.567 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:05:50 +0000 (0:00:00.039) 0:00:27.607 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:05:50 +0000 (0:00:00.043) 0:00:27.651 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:05:50 +0000 (0:00:00.080) 0:00:27.731 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:05:50 +0000 (0:00:00.040) 0:00:27.772 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:05:50 +0000 (0:00:00.041) 0:00:27.814 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:05:50 +0000 (0:00:00.056) 0:00:27.870 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:05:51 +0000 (0:00:00.665) 0:00:28.536 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:05:51 +0000 (0:00:00.056) 0:00:28.593 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:05:51 +0000 (0:00:00.032) 0:00:28.625 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:05:51 +0000 (0:00:00.046) 0:00:28.671 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:05:52 +0000 (0:00:00.854) 0:00:29.525 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:05:52 +0000 (0:00:00.038) 0:00:29.564 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:05:52 +0000 (0:00:00.050) 0:00:29.614 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:05:52 +0000 (0:00:00.046) 0:00:29.661 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:05:52 +0000 (0:00:00.040) 0:00:29.702 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:95 Wednesday 03 August 2022 16:05:52 +0000 (0:00:00.392) 0:00:30.095 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.007353", "end": "2022-08-03 12:05:52.554580", "rc": 1, "start": "2022-08-03 12:05:52.547227" } STDERR: Cannot find device "deprecated-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:05:53 +0000 (0:00:00.394) 0:00:30.490 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.073757", "end": "2022-08-03 12:05:53.009829", "rc": 0, "start": "2022-08-03 12:05:52.936072" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 16:05:53 +0000 (0:00:00.455) 0:00:30.945 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.011681", "end": "2022-08-03 12:05:53.406349", "rc": 0, "start": "2022-08-03 12:05:53.394668" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=75 changed=8 unreachable=0 failed=0 skipped=34 rescued=0 ignored=1 Wednesday 03 August 2022 16:05:54 +0000 (0:00:00.452) 0:00:31.397 ****** =============================================================================== linux-system-roles.network : Ensure ansible_facts used by role are present --- 3.20s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Install dnsmasq --------------------------------------------------------- 2.95s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 2.51s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.66s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.50s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp05ac0kav/tests/tests_bond_deprecated_nm.yml:5 ------------------------- linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.83s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Check which packages are installed --------- 0.81s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install pgrep, sysctl --------------------------------------------------- 0.79s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:3 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.67s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.55s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Re-test connectivity ----------------------- 0.54s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Remove test interfaces -------------------------------------------------- 0.46s /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 - Stop dnsmasq/radvd services --------------------------------------------- 0.45s /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp05ac0kav/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp05ac0kav/tests/_restore.yml:4 Wednesday 03 August 2022 16:05:54 +0000 (0:00:00.043) 0:00:31.441 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005829", "end": "2022-08-03 12:05:53.895957", "rc": 0, "start": "2022-08-03 12:05:53.890128" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=76 changed=9 unreachable=0 failed=0 skipped=34 rescued=0 ignored=1 Wednesday 03 August 2022 16:05:54 +0000 (0:00:00.407) 0:00:31.848 ****** =============================================================================== linux-system-roles.network : Ensure ansible_facts used by role are present --- 3.20s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Install dnsmasq --------------------------------------------------------- 2.95s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Check which services are running ----------- 2.51s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.66s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Create test interfaces -------------------------------------------------- 1.50s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp05ac0kav/tests/tests_bond_deprecated_nm.yml:5 ------------------------- linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.83s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 0.83s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Check which packages are installed --------- 0.81s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Install pgrep, sysctl --------------------------------------------------- 0.79s /tmp/tmp05ac0kav/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmp05ac0kav/tests/playbooks/tests_bond_deprecated.yml:3 ------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.67s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp05ac0kav/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.55s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Re-test connectivity ----------------------- 0.54s /tmp/tmp05ac0kav/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Back up system files ---------------------------------------------------- 0.49s /tmp/tmp05ac0kav/tests/_backup.yml:19 ----------------------------------------- Remove test interfaces -------------------------------------------------- 0.46s /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 - Stop dnsmasq/radvd services --------------------------------------------- 0.45s /tmp/tmp05ac0kav/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp40vowjjo executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpem3y1lsc/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:26:32 +0000 (0:00:00.019) 0:00:00.019 ****** ok: [/cache/centos-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659543990.9399023, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543990.9399023, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974049", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:26:33 +0000 (0:00:00.596) 0:00:00.615 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 4338794, 'dev': 64513, 'nlink': 1, 'atime': 1659543990.9399023, 'mtime': 1659543778.0, 'ctime': 1659543990.9399023, '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': '2775974049', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659543990.9399023, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659543990.9399023, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4338794, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659543778.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "2775974049", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:26:33 +0000 (0:00:00.042) 0:00:00.657 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004486", "end": "2022-08-03 12:26:32.700463", "rc": 0, "start": "2022-08-03 12:26:32.695977" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:26:33 +0000 (0:00:00.507) 0:00:01.165 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpem3y1lsc/tests/network/_backup.yml:13 --------------------------------- statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_deprecated_nm.yml ***************************************** 2 plays in /tmp/tmpem3y1lsc/tests/network/tests_bond_deprecated_nm.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/tests_bond_deprecated_nm.yml:5 Wednesday 03 August 2022 16:26:33 +0000 (0:00:00.083) 0:00:01.249 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_bond_deprecated_nm.yml:8 Wednesday 03 August 2022 16:26:35 +0000 (0:00:01.068) 0:00:02.317 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml for /cache/centos-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:26:35 +0000 (0:00:00.027) 0:00:02.345 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:26:35 +0000 (0:00:00.022) 0:00:02.367 ****** included: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml for /cache/centos-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:26:35 +0000 (0:00:00.026) 0:00:02.394 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:26:35 +0000 (0:00:00.020) 0:00:02.414 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:26:35 +0000 (0:00:00.020) 0:00:02.434 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:26:35 +0000 (0:00:00.021) 0:00:02.455 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/tests_bond_deprecated_nm.yml:9 Wednesday 03 August 2022 16:26:35 +0000 (0:00:00.020) 0:00:02.476 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:3 Wednesday 03 August 2022 16:26:35 +0000 (0:00:00.051) 0:00:02.527 ****** ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:12 Wednesday 03 August 2022 16:26:36 +0000 (0:00:00.805) 0:00:03.332 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:26:36 +0000 (0:00:00.032) 0:00:03.365 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: dnsmasq-2.85-4.el9.x86_64" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 16:26:37 +0000 (0:00:01.737) 0:00:05.102 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 16:26:37 +0000 (0:00:00.030) 0:00:05.132 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 16:26:38 +0000 (0:00:00.853) 0:00:05.986 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.139323", "end": "2022-08-03 12:26:39.037594", "rc": 0, "start": "2022-08-03 12:26:37.898271" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:26:40 +0000 (0:00:01.513) 0:00:07.500 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:26:40 +0000 (0:00:00.031) 0:00:07.532 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659543997.904889, "block_size": 4096, "blocks": 0, "ctime": 1659543997.904889, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23896, "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": 1659543997.904889, "nlink": 1, "path": "/sys/class/net/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface test1 is present] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:26:40 +0000 (0:00:00.370) 0:00:07.902 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:26:40 +0000 (0:00:00.033) 0:00:07.936 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:26:40 +0000 (0:00:00.031) 0:00:07.967 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659543997.9097586, "block_size": 4096, "blocks": 0, "ctime": 1659543997.9097586, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24152, "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": 1659543997.9097586, "nlink": 1, "path": "/sys/class/net/test2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface test2 is present] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:26:41 +0000 (0:00:00.414) 0:00:08.382 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:23 Wednesday 03 August 2022 16:26:41 +0000 (0:00:00.034) 0:00:08.417 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:26:41 +0000 (0:00:00.031) 0:00:08.448 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:26:41 +0000 (0:00:00.036) 0:00:08.485 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:26:41 +0000 (0:00:00.571) 0:00:09.057 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:26:43 +0000 (0:00:01.677) 0:00:10.734 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.991) 0:00:11.725 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.048) 0:00:11.773 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.035) 0:00:11.809 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.034) 0:00:11.844 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.070) 0:00:11.914 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.035) 0:00:11.949 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.036) 0:00:11.986 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:26:44 +0000 (0:00:00.054) 0:00:12.041 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:26:45 +0000 (0:00:00.845) 0:00:12.887 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:26:45 +0000 (0:00:00.057) 0:00:12.944 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:26:45 +0000 (0:00:00.037) 0:00:12.981 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:26:45 +0000 (0:00:00.036) 0:00:13.018 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 7bcce29a-a7c8-45b2-ac33-4b97c9150b00 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4ea37d1e-dcb8-47a3-9694-23c0635d35b6 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 85a1b99c-ed5f-46f8-ae10-e0f6640d563b [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 7bcce29a-a7c8-45b2-ac33-4b97c9150b00 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4ea37d1e-dcb8-47a3-9694-23c0635d35b6 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 85a1b99c-ed5f-46f8-ae10-e0f6640d563b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.849) 0:00:13.868 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.039) 0:00:13.907 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 7bcce29a-a7c8-45b2-ac33-4b97c9150b00", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4ea37d1e-dcb8-47a3-9694-23c0635d35b6", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 85a1b99c-ed5f-46f8-ae10-e0f6640d563b", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 7bcce29a-a7c8-45b2-ac33-4b97c9150b00 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4ea37d1e-dcb8-47a3-9694-23c0635d35b6 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 85a1b99c-ed5f-46f8-ae10-e0f6640d563b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.050) 0:00:13.958 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 7bcce29a-a7c8-45b2-ac33-4b97c9150b00\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4ea37d1e-dcb8-47a3-9694-23c0635d35b6\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 85a1b99c-ed5f-46f8-ae10-e0f6640d563b\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 7bcce29a-a7c8-45b2-ac33-4b97c9150b00 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4ea37d1e-dcb8-47a3-9694-23c0635d35b6 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 85a1b99c-ed5f-46f8-ae10-e0f6640d563b (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 7bcce29a-a7c8-45b2-ac33-4b97c9150b00", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 4ea37d1e-dcb8-47a3-9694-23c0635d35b6", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 85a1b99c-ed5f-46f8-ae10-e0f6640d563b", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 7bcce29a-a7c8-45b2-ac33-4b97c9150b00 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 4ea37d1e-dcb8-47a3-9694-23c0635d35b6 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 85a1b99c-ed5f-46f8-ae10-e0f6640d563b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.050) 0:00:14.008 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:26:46 +0000 (0:00:00.039) 0:00:14.048 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.546) 0:00:14.595 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-9.qcow2.snap TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.086) 0:00:14.681 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544005.2980528, "block_size": 4096, "blocks": 0, "ctime": 1659544005.2980528, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24579, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/deprecated-bond", "lnk_target": "../../devices/virtual/net/deprecated-bond", "mode": "0777", "mtime": 1659544005.2980528, "nlink": 1, "path": "/sys/class/net/deprecated-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface deprecated-bond is present] ************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.392) 0:00:15.074 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:54 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.046) 0:00:15.121 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0) included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0.0) included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-9.qcow2.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.076) 0:00:15.197 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:26:47 +0000 (0:00:00.058) 0:00:15.256 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.049) 0:00:15.305 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544005.2729025, "block_size": 4096, "blocks": 8, "ctime": 1659544005.2729025, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941520, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544005.2729025, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 343, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.404) 0:00:15.710 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.046) 0:00:15.756 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.021924", "end": "2022-08-03 12:26:47.684875", "rc": 0, "start": "2022-08-03 12:26:47.662951" } STDOUT: bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.398) 0:00:16.155 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:26:48 +0000 (0:00:00.120) 0:00:16.276 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.037) 0:00:16.313 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.037) 0:00:16.351 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.049) 0:00:16.400 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.049) 0:00:16.450 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.057) 0:00:16.507 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.046) 0:00:16.553 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544005.3189025, "block_size": 4096, "blocks": 8, "ctime": 1659544005.3189025, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544005.3189025, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.391) 0:00:16.945 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:26:49 +0000 (0:00:00.045) 0:00:16.990 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.021361", "end": "2022-08-03 12:26:48.934033", "rc": 0, "start": "2022-08-03 12:26:48.912672" } STDOUT: bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.416) 0:00:17.406 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.045) 0:00:17.452 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.036) 0:00:17.488 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.036) 0:00:17.525 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.047) 0:00:17.572 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.143) 0:00:17.716 ****** included: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-9.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.062) 0:00:17.779 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.045) 0:00:17.824 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544005.3279023, "block_size": 4096, "blocks": 8, "ctime": 1659544005.3279023, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8941522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544005.3279023, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 175, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.390) 0:00:18.215 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:26:50 +0000 (0:00:00.049) 0:00:18.265 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.020953", "end": "2022-08-03 12:26:50.197917", "rc": 0, "start": "2022-08-03 12:26:50.176964" } STDOUT: bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.404) 0:00:18.670 ****** ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.048) 0:00:18.719 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.037) 0:00:18.756 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.035) 0:00:18.791 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.046) 0:00:18.837 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:61 Wednesday 03 August 2022 16:26:51 +0000 (0:00:00.050) 0:00:18.888 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.004729", "end": "2022-08-03 12:26:50.820023", "rc": 0, "start": "2022-08-03 12:26:50.815294" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:65 Wednesday 03 August 2022 16:26:52 +0000 (0:00:00.409) 0:00:19.297 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.003739", "end": "2022-08-03 12:26:51.260287", "rc": 0, "start": "2022-08-03 12:26:51.256548" } STDOUT: 22: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.104/24 brd 192.0.2.255 scope global dynamic noprefixroute deprecated-bond valid_lft 237sec preferred_lft 237sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:71 Wednesday 03 August 2022 16:26:52 +0000 (0:00:00.436) 0:00:19.733 ****** changed: [/cache/centos-9.qcow2.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.003329", "end": "2022-08-03 12:26:51.649278", "rc": 0, "start": "2022-08-03 12:26:51.645949" } STDOUT: 22: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::b0/128 scope global dynamic noprefixroute valid_lft 237sec preferred_lft 237sec inet6 2001:db8::c878:47f6:ca4:7d3a/64 scope global dynamic noprefixroute valid_lft 1797sec preferred_lft 1797sec inet6 fe80::18a9:1292:23b1:67e/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:26:52 +0000 (0:00:00.391) 0:00:20.125 ****** included: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:26:52 +0000 (0:00:00.061) 0:00:20.186 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:26:53 +0000 (0:00:00.546) 0:00:20.733 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:26:54 +0000 (0:00:01.516) 0:00:22.249 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:26:55 +0000 (0:00:00.816) 0:00:23.065 ****** ok: [/cache/centos-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:26:55 +0000 (0:00:00.050) 0:00:23.116 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:26:55 +0000 (0:00:00.045) 0:00:23.162 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:26:55 +0000 (0:00:00.039) 0:00:23.201 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:26:55 +0000 (0:00:00.073) 0:00:23.275 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:26:56 +0000 (0:00:00.039) 0:00:23.315 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:26:56 +0000 (0:00:00.036) 0:00:23.351 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:26:56 +0000 (0:00:00.052) 0:00:23.404 ****** ok: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:26:56 +0000 (0:00:00.585) 0:00:23.990 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:26:56 +0000 (0:00:00.056) 0:00:24.047 ****** skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:26:56 +0000 (0:00:00.036) 0:00:24.084 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:26:56 +0000 (0:00:00.035) 0:00:24.119 ****** changed: [/cache/centos-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:26:57 +0000 (0:00:00.858) 0:00:24.977 ****** skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:26:57 +0000 (0:00:00.039) 0:00:25.016 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:26:57 +0000 (0:00:00.049) 0:00:25.066 ****** ok: [/cache/centos-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:26:57 +0000 (0:00:00.047) 0:00:25.114 ****** skipping: [/cache/centos-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:26:57 +0000 (0:00:00.038) 0:00:25.152 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-9.qcow2.snap TASK [command] ***************************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:94 Wednesday 03 August 2022 16:26:58 +0000 (0:00:00.413) 0:00:25.566 ****** fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.008343", "end": "2022-08-03 12:26:57.484858", "rc": 1, "start": "2022-08-03 12:26:57.476515" } STDERR: Cannot find device "deprecated-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:26:58 +0000 (0:00:00.395) 0:00:25.961 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.078034", "end": "2022-08-03 12:26:57.967584", "rc": 0, "start": "2022-08-03 12:26:57.889550" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 16:26:59 +0000 (0:00:00.480) 0:00:26.441 ****** ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.014060", "end": "2022-08-03 12:26:58.367113", "rc": 0, "start": "2022-08-03 12:26:58.353053" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=75 changed=8 unreachable=0 failed=0 skipped=34 rescued=0 ignored=1 Wednesday 03 August 2022 16:26:59 +0000 (0:00:00.447) 0:00:26.889 ****** =============================================================================== Install dnsmasq --------------------------------------------------------- 1.74s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.51s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpem3y1lsc/tests/network/tests_bond_deprecated_nm.yml:5 ----------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.86s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install pgrep, sysctl --------------------------------------------------- 0.85s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.85s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:3 ---------- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.57s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.55s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.55s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.51s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Remove test interfaces -------------------------------------------------- 0.48s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Stop dnsmasq/radvd services --------------------------------------------- 0.45s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpem3y1lsc/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpem3y1lsc/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:26:59 +0000 (0:00:00.044) 0:00:26.933 ****** changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006647", "end": "2022-08-03 12:26:58.864336", "rc": 0, "start": "2022-08-03 12:26:58.857689" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=76 changed=9 unreachable=0 failed=0 skipped=34 rescued=0 ignored=1 Wednesday 03 August 2022 16:27:00 +0000 (0:00:00.421) 0:00:27.354 ****** =============================================================================== Install dnsmasq --------------------------------------------------------- 1.74s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create test interfaces -------------------------------------------------- 1.51s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpem3y1lsc/tests/network/tests_bond_deprecated_nm.yml:5 ----------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.86s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install pgrep, sysctl --------------------------------------------------- 0.85s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.85s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpem3y1lsc/tests/network/playbooks/tests_bond_deprecated.yml:3 ---------- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpem3y1lsc/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.57s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.55s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.55s /tmp/tmp40vowjjo/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.51s /tmp/tmpem3y1lsc/tests/network/_backup.yml:19 --------------------------------- Remove test interfaces -------------------------------------------------- 0.48s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Stop dnsmasq/radvd services --------------------------------------------- 0.45s /tmp/tmpem3y1lsc/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11