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/tmp0fvd1p7_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 16:37:28 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:37:29 +0000 (0:00:01.324) 0:00:01.341 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpq0_9gvwx/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:6 Wednesday 03 August 2022 16:37:29 +0000 (0:00:00.014) 0:00:01.356 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659544648.2368245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544648.2368245, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082425", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:13 Wednesday 03 August 2022 16:37:30 +0000 (0:00:00.415) 0:00:01.772 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659544375.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082425', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659544648.2368245, 'isdir': False, 'ctime': 1659544648.2368245, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659544648.2368245, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659544648.2368245, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659544375.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082425", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_backup.yml:19 Wednesday 03 August 2022 16:37:30 +0000 (0:00:00.035) 0:00:01.808 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004332", "end": "2022-08-03 12:37:31.033099", "rc": 0, "start": "2022-08-03 12:37:31.028767" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:37:30 +0000 (0:00:00.393) 0:00:02.201 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.42s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.39s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpq0_9gvwx/tests/_backup.yml:13 ----------------------------------------- statically imported: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_deprecated_nm.yml ***************************************** 2 plays in /tmp/tmpq0_9gvwx/tests/tests_bond_deprecated_nm.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/tests_bond_deprecated_nm.yml:5 Wednesday 03 August 2022 16:37:30 +0000 (0:00:00.047) 0:00:02.249 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_bond_deprecated_nm.yml:8 Wednesday 03 August 2022 16:37:31 +0000 (0:00:00.952) 0:00:03.201 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:37:31 +0000 (0:00:00.026) 0:00:03.227 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:37:31 +0000 (0:00:00.020) 0:00:03.248 ****** included: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:37:31 +0000 (0:00:00.027) 0:00:03.276 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:37:32 +0000 (0:00:00.279) 0:00:03.555 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179424", "end": "2022-08-03 12:37:32.852979", "rc": 0, "start": "2022-08-03 12:37:32.673555" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:37:32 +0000 (0:00:00.463) 0:00:04.019 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:37:32 +0000 (0:00:00.022) 0:00:04.042 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpq0_9gvwx/tests/tests_bond_deprecated_nm.yml:9 Wednesday 03 August 2022 16:37:32 +0000 (0:00:00.020) 0:00:04.062 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:3 Wednesday 03 August 2022 16:37:32 +0000 (0:00:00.046) 0:00:04.109 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:12 Wednesday 03 August 2022 16:37:33 +0000 (0:00:00.677) 0:00:04.787 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:37:33 +0000 (0:00:00.031) 0:00:04.818 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "dnsmasq-2.76-17.el7_9.3.x86_64 providing dnsmasq is already installed" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 16:37:33 +0000 (0:00:00.638) 0:00:05.456 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 16:37:33 +0000 (0:00:00.030) 0:00:05.486 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "procps-ng-3.3.10-28.el7.x86_64 providing procps-ng is already installed" ] } TASK [Create test interfaces] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 16:37:34 +0000 (0:00:00.479) 0:00:05.966 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.166139", "end": "2022-08-03 12:37:36.287965", "rc": 0, "start": "2022-08-03 12:37:35.121826" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:37:35 +0000 (0:00:01.491) 0:00:07.458 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:37:35 +0000 (0:00:00.031) 0:00:07.489 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659544655.1358247, "block_size": 4096, "blocks": 0, "ctime": 1659544655.1358247, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13841, "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": 1659544655.1358247, "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/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:37:36 +0000 (0:00:00.311) 0:00:07.801 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:37:36 +0000 (0:00:00.059) 0:00:07.860 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:37:36 +0000 (0:00:00.030) 0:00:07.891 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659544655.1378245, "block_size": 4096, "blocks": 0, "ctime": 1659544655.1378245, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14005, "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": 1659544655.1378245, "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/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:37:36 +0000 (0:00:00.291) 0:00:08.182 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:23 Wednesday 03 August 2022 16:37:36 +0000 (0:00:00.033) 0:00:08.215 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:37:36 +0000 (0:00:00.030) 0:00:08.245 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:37:36 +0000 (0:00:00.032) 0:00:08.278 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:37:37 +0000 (0:00:00.373) 0:00:08.652 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:37:38 +0000 (0:00:01.037) 0:00:09.689 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:37:39 +0000 (0:00:00.956) 0:00:10.645 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:37:39 +0000 (0:00:00.044) 0:00:10.690 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:37:39 +0000 (0:00:00.036) 0:00:10.726 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:37:39 +0000 (0:00:00.038) 0:00:10.764 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:37:39 +0000 (0:00:00.070) 0:00:10.835 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:37:39 +0000 (0:00:00.073) 0:00:10.908 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:37:39 +0000 (0:00:00.036) 0:00:10.945 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:37:39 +0000 (0:00:00.050) 0:00:10.996 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.672) 0:00:11.669 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.053) 0:00:11.722 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.033) 0:00:11.756 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:37:40 +0000 (0:00:00.032) 0:00:11.788 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_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, 1fc0f6d2-e72d-4463-aa97-2b2bf316c9ce [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, ba00cc19-2d74-45a0-86b8-3d5834e1b39b [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c9e728cf-1957-4ca3-bc59-3ddec30b0291 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 1fc0f6d2-e72d-4463-aa97-2b2bf316c9ce (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, ba00cc19-2d74-45a0-86b8-3d5834e1b39b (is-modified) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c9e728cf-1957-4ca3-bc59-3ddec30b0291 (is-modified) [013] #2, state:up persistent_state:present, 'bond0.1': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.869) 0:00:12.657 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.036) 0:00:12.694 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 1fc0f6d2-e72d-4463-aa97-2b2bf316c9ce", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, ba00cc19-2d74-45a0-86b8-3d5834e1b39b", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c9e728cf-1957-4ca3-bc59-3ddec30b0291", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 1fc0f6d2-e72d-4463-aa97-2b2bf316c9ce (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, ba00cc19-2d74-45a0-86b8-3d5834e1b39b (is-modified)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c9e728cf-1957-4ca3-bc59-3ddec30b0291 (is-modified)", "[013] #2, state:up persistent_state:present, 'bond0.1': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.042) 0:00:12.736 ****** ok: [/cache/rhel-7.qcow2] => { "__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, 1fc0f6d2-e72d-4463-aa97-2b2bf316c9ce\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, ba00cc19-2d74-45a0-86b8-3d5834e1b39b\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c9e728cf-1957-4ca3-bc59-3ddec30b0291\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 1fc0f6d2-e72d-4463-aa97-2b2bf316c9ce (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, ba00cc19-2d74-45a0-86b8-3d5834e1b39b (is-modified)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c9e728cf-1957-4ca3-bc59-3ddec30b0291 (is-modified)\n[013] #2, state:up persistent_state:present, 'bond0.1': connection reapplied\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 1fc0f6d2-e72d-4463-aa97-2b2bf316c9ce", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, ba00cc19-2d74-45a0-86b8-3d5834e1b39b", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c9e728cf-1957-4ca3-bc59-3ddec30b0291", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 1fc0f6d2-e72d-4463-aa97-2b2bf316c9ce (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, ba00cc19-2d74-45a0-86b8-3d5834e1b39b (is-modified)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c9e728cf-1957-4ca3-bc59-3ddec30b0291 (is-modified)", "[013] #2, state:up persistent_state:present, 'bond0.1': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.043) 0:00:12.780 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.034) 0:00:12.815 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.452) 0:00:13.268 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:37:41 +0000 (0:00:00.066) 0:00:13.334 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659544661.2878246, "block_size": 4096, "blocks": 0, "ctime": 1659544661.2868247, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14842, "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": 1659544661.2868247, "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/tmpq0_9gvwx/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.310) 0:00:13.645 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:54 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.043) 0:00:13.688 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-7.qcow2 => (item=bond0) included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-7.qcow2 => (item=bond0.0) included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-7.qcow2 => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.074) 0:00:13.763 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.052) 0:00:13.816 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.041) 0:00:13.857 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659544661.2858245, "block_size": 4096, "blocks": 8, "ctime": 1659544661.2848246, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521701, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544661.2848246, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 350, "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/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.318) 0:00:14.175 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:37:42 +0000 (0:00:00.042) 0:00:14.218 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.028356", "end": "2022-08-03 12:37:43.381821", "rc": 0, "start": "2022-08-03 12:37:43.353465" } 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/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.344) 0:00:14.563 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.082) 0:00:14.645 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.034) 0:00:14.680 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.032) 0:00:14.712 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.045) 0:00:14.757 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.040) 0:00:14.798 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.050) 0:00:14.849 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.041) 0:00:14.891 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659544661.3138247, "block_size": 4096, "blocks": 8, "ctime": 1659544661.3138247, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521702, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544661.3138247, "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/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.299) 0:00:15.190 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:37:43 +0000 (0:00:00.041) 0:00:15.232 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.024763", "end": "2022-08-03 12:37:44.374515", "rc": 0, "start": "2022-08-03 12:37:44.349752" } 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/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.322) 0:00:15.554 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.045) 0:00:15.600 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.035) 0:00:15.635 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.034) 0:00:15.670 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.048) 0:00:15.718 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.046) 0:00:15.764 ****** included: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.054) 0:00:15.819 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.116) 0:00:15.935 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659544661.3448246, "block_size": 4096, "blocks": 8, "ctime": 1659544661.3448246, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521703, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544661.3448246, "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/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.310) 0:00:16.246 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:37:44 +0000 (0:00:00.044) 0:00:16.290 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.023812", "end": "2022-08-03 12:37:45.427260", "rc": 0, "start": "2022-08-03 12:37:45.403448" } 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/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.313) 0:00:16.604 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.047) 0:00:16.651 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.035) 0:00:16.687 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.041) 0:00:16.729 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.045) 0:00:16.774 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:61 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.044) 0:00:16.819 ****** changed: [/cache/rhel-7.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.004338", "end": "2022-08-03 12:37:45.943976", "rc": 0, "start": "2022-08-03 12:37:45.939638" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:66 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.304) 0:00:17.123 ****** changed: [/cache/rhel-7.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004132", "end": "2022-08-03 12:37:46.257596", "rc": 0, "start": "2022-08-03 12:37:46.253464" } STDOUT: 33: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.129/24 brd 192.0.2.255 scope global noprefixroute dynamic deprecated-bond valid_lft 238sec preferred_lft 238sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:72 Wednesday 03 August 2022 16:37:45 +0000 (0:00:00.315) 0:00:17.439 ****** changed: [/cache/rhel-7.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.003782", "end": "2022-08-03 12:37:46.571386", "rc": 0, "start": "2022-08-03 12:37:46.567604" } STDOUT: 33: deprecated-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::1e7/128 scope global noprefixroute dynamic valid_lft 238sec preferred_lft 238sec inet6 2001:db8::5c50:64f1:4a94:265b/64 scope global noprefixroute dynamic valid_lft 1798sec preferred_lft 1798sec inet6 fe80::5a80:ef70:1569:9f50/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:37:46 +0000 (0:00:00.315) 0:00:17.755 ****** included: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:37:46 +0000 (0:00:00.099) 0:00:17.854 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:37:46 +0000 (0:00:00.417) 0:00:18.271 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:37:47 +0000 (0:00:00.938) 0:00:19.210 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:37:48 +0000 (0:00:00.677) 0:00:19.887 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:37:48 +0000 (0:00:00.041) 0:00:19.929 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:37:48 +0000 (0:00:00.033) 0:00:19.962 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:37:48 +0000 (0:00:00.032) 0:00:19.995 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:37:48 +0000 (0:00:00.120) 0:00:20.115 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:37:48 +0000 (0:00:00.036) 0:00:20.152 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:37:48 +0000 (0:00:00.037) 0:00:20.189 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:37:48 +0000 (0:00:00.046) 0:00:20.236 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.398) 0:00:20.635 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.049) 0:00:20.685 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.030) 0:00:20.715 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:37:49 +0000 (0:00:00.032) 0:00:20.748 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.803) 0:00:21.551 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.035) 0:00:21.587 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.046) 0:00:21.634 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.043) 0:00:21.678 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.036) 0:00:21.715 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [command] ***************************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:95 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.351) 0:00:22.066 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.013306", "end": "2022-08-03 12:37:51.213124", "rc": 1, "start": "2022-08-03 12:37:51.199818" } STDERR: Cannot find device "deprecated-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 16:37:50 +0000 (0:00:00.327) 0:00:22.393 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.064889", "end": "2022-08-03 12:37:51.598975", "rc": 0, "start": "2022-08-03 12:37:51.534086" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmpq0_9gvwx/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.388) 0:00:22.782 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.028187", "end": "2022-08-03 12:37:51.944258", "rc": 0, "start": "2022-08-03 12:37:51.916071" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=78 changed=8 unreachable=0 failed=0 skipped=32 rescued=0 ignored=1 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.361) 0:00:23.143 ****** =============================================================================== Create test interfaces -------------------------------------------------- 1.49s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.04s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.96s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpq0_9gvwx/tests/tests_bond_deprecated_nm.yml:5 ------------------------- linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 0.87s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.80s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:3 ------------------ linux-system-roles.network : Check which packages are installed --------- 0.68s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.67s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Install dnsmasq --------------------------------------------------------- 0.64s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - Install pgrep, sysctl --------------------------------------------------- 0.48s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.46s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.45s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Get stats of system files ----------------------------------------------- 0.42s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.40s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Back up system files ---------------------------------------------------- 0.39s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Remove test interfaces -------------------------------------------------- 0.39s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 - PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpq0_9gvwx/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpq0_9gvwx/tests/_restore.yml:4 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.041) 0:00:23.184 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007565", "end": "2022-08-03 12:37:52.327773", "rc": 0, "start": "2022-08-03 12:37:52.320208" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=79 changed=9 unreachable=0 failed=0 skipped=32 rescued=0 ignored=1 Wednesday 03 August 2022 16:37:51 +0000 (0:00:00.340) 0:00:23.525 ****** =============================================================================== Create test interfaces -------------------------------------------------- 1.49s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 set up internal repositories -------------------------------------------- 1.32s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.network : Check which services are running ----------- 1.04s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.96s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpq0_9gvwx/tests/tests_bond_deprecated_nm.yml:5 ------------------------- linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 0.87s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.80s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Gathering Facts --------------------------------------------------------- 0.68s /tmp/tmpq0_9gvwx/tests/playbooks/tests_bond_deprecated.yml:3 ------------------ linux-system-roles.network : Check which packages are installed --------- 0.68s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.67s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Install dnsmasq --------------------------------------------------------- 0.64s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - Install pgrep, sysctl --------------------------------------------------- 0.48s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.46s /tmp/tmpq0_9gvwx/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.45s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.42s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Get stats of system files ----------------------------------------------- 0.42s /tmp/tmpq0_9gvwx/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Enable and start NetworkManager ------------ 0.40s /tmp/tmpq0_9gvwx/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Back up system files ---------------------------------------------------- 0.39s /tmp/tmpq0_9gvwx/tests/_backup.yml:19 ----------------------------------------- Remove test interfaces -------------------------------------------------- 0.39s /tmp/tmpq0_9gvwx/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 - ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmp0fvd1p7_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 03 August 2022 17:02:32 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:02:34 +0000 (0:00:01.413) 0:00:01.430 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmp0448nu9w/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:02:34 +0000 (0:00:00.014) 0:00:01.444 ****** ok: [/cache/rhel-7.qcow2] => (item=/etc/resolv.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659546152.213302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546152.213302, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082424", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:02:34 +0000 (0:00:00.415) 0:00:01.859 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-7.qcow2] => (item={'invocation': {'module_args': {'checksum_algorithm': 'sha1', 'get_checksum': True, 'follow': False, 'path': '/etc/resolv.conf', 'get_md5': False, 'get_mime': True, 'get_attributes': True}}, 'stat': {'charset': 'us-ascii', 'uid': 0, 'exists': True, 'attr_flags': '', 'woth': False, 'isreg': True, 'device_type': 0, 'mtime': 1659545878.0, 'block_size': 4096, 'inode': 77, 'isgid': False, 'size': 90, 'executable': False, 'isuid': False, 'readable': True, 'version': '624082424', 'pw_name': 'root', 'gid': 0, 'ischr': False, 'wusr': True, 'writeable': True, 'mimetype': 'text/plain', 'blocks': 8, 'xoth': False, 'islnk': False, 'nlink': 1, 'issock': False, 'rgrp': True, 'gr_name': 'root', 'path': '/etc/resolv.conf', 'xusr': False, 'atime': 1659546152.213302, 'isdir': False, 'ctime': 1659546152.213302, 'isblk': False, 'wgrp': False, 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659546152.213302, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659546152.213302, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 77, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659545878.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "624082424", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:02:34 +0000 (0:00:00.036) 0:00:01.895 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004794", "end": "2022-08-03 13:02:35.151889", "rc": 0, "start": "2022-08-03 13:02:35.147095" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:02:35 +0000 (0:00:00.398) 0:00:02.294 ****** =============================================================================== set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Get stats of system files ----------------------------------------------- 0.42s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp0448nu9w/tests/network/_backup.yml:13 --------------------------------- statically imported: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_deprecated_nm.yml ***************************************** 2 plays in /tmp/tmp0448nu9w/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/tmp0448nu9w/tests/network/tests_bond_deprecated_nm.yml:5 Wednesday 03 August 2022 17:02:35 +0000 (0:00:00.059) 0:00:02.353 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_bond_deprecated_nm.yml:8 Wednesday 03 August 2022 17:02:36 +0000 (0:00:00.939) 0:00:03.293 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml for /cache/rhel-7.qcow2 TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:02:36 +0000 (0:00:00.025) 0:00:03.318 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:02:36 +0000 (0:00:00.019) 0:00:03.337 ****** included: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml for /cache/rhel-7.qcow2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:02:36 +0000 (0:00:00.028) 0:00:03.365 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:02:36 +0000 (0:00:00.296) 0:00:03.662 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.188484", "end": "2022-08-03 13:02:37.023585", "rc": 0, "start": "2022-08-03 13:02:36.835101" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:02:37 +0000 (0:00:00.504) 0:00:04.167 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:02:37 +0000 (0:00:00.025) 0:00:04.192 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp0448nu9w/tests/network/tests_bond_deprecated_nm.yml:9 Wednesday 03 August 2022 17:02:37 +0000 (0:00:00.021) 0:00:04.214 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:3 Wednesday 03 August 2022 17:02:37 +0000 (0:00:00.048) 0:00:04.262 ****** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:12 Wednesday 03 August 2022 17:02:37 +0000 (0:00:00.739) 0:00:05.002 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:02:38 +0000 (0:00:00.083) 0:00:05.085 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "dnsmasq-2.76-17.el7_9.3.x86_64 providing dnsmasq is already installed" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 17:02:38 +0000 (0:00:00.663) 0:00:05.749 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 17:02:38 +0000 (0:00:00.027) 0:00:05.776 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "procps-ng-3.3.10-28.el7.x86_64 providing procps-ng is already installed" ] } TASK [Create test interfaces] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 17:02:39 +0000 (0:00:00.513) 0:00:06.290 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.177269", "end": "2022-08-03 13:02:40.654455", "rc": 0, "start": "2022-08-03 13:02:39.477186" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:02:40 +0000 (0:00:01.508) 0:00:07.798 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:02:40 +0000 (0:00:00.031) 0:00:07.830 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659546159.4903018, "block_size": 4096, "blocks": 0, "ctime": 1659546159.4903018, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 13841, "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": 1659546159.4903018, "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/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:02:41 +0000 (0:00:00.347) 0:00:08.178 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:02:41 +0000 (0:00:00.061) 0:00:08.240 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:02:41 +0000 (0:00:00.030) 0:00:08.270 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659546159.4953017, "block_size": 4096, "blocks": 0, "ctime": 1659546159.4953017, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14005, "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": 1659546159.4953017, "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/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:02:41 +0000 (0:00:00.314) 0:00:08.584 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:23 Wednesday 03 August 2022 17:02:41 +0000 (0:00:00.058) 0:00:08.643 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:02:41 +0000 (0:00:00.054) 0:00:08.697 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:02:41 +0000 (0:00:00.034) 0:00:08.732 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:02:42 +0000 (0:00:00.442) 0:00:09.174 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:02:43 +0000 (0:00:01.085) 0:00:10.260 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:02:44 +0000 (0:00:00.987) 0:00:11.247 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:02:44 +0000 (0:00:00.043) 0:00:11.291 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:02:44 +0000 (0:00:00.034) 0:00:11.325 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:02:44 +0000 (0:00:00.060) 0:00:11.385 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:02:44 +0000 (0:00:00.072) 0:00:11.458 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:02:44 +0000 (0:00:00.038) 0:00:11.496 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:02:44 +0000 (0:00:00.036) 0:00:11.533 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:02:44 +0000 (0:00:00.054) 0:00:11.588 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:02:45 +0000 (0:00:00.677) 0:00:12.265 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:02:45 +0000 (0:00:00.055) 0:00:12.320 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:02:45 +0000 (0:00:00.031) 0:00:12.352 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:02:45 +0000 (0:00:00.035) 0:00:12.387 ****** changed: [/cache/rhel-7.qcow2] => { "_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, a4a98d2d-a238-4f34-8d93-d356959272d7 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e310cd97-4c6e-4036-ba01-0b437859b31b [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d5581e01-b44e-4c64-90e7-f5c737fdbe5b [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, a4a98d2d-a238-4f34-8d93-d356959272d7 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e310cd97-4c6e-4036-ba01-0b437859b31b (is-modified) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d5581e01-b44e-4c64-90e7-f5c737fdbe5b (is-modified) [013] #2, state:up persistent_state:present, 'bond0.1': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.873) 0:00:13.261 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.038) 0:00:13.300 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, a4a98d2d-a238-4f34-8d93-d356959272d7", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e310cd97-4c6e-4036-ba01-0b437859b31b", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d5581e01-b44e-4c64-90e7-f5c737fdbe5b", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, a4a98d2d-a238-4f34-8d93-d356959272d7 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e310cd97-4c6e-4036-ba01-0b437859b31b (is-modified)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d5581e01-b44e-4c64-90e7-f5c737fdbe5b (is-modified)", "[013] #2, state:up persistent_state:present, 'bond0.1': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.044) 0:00:13.345 ****** ok: [/cache/rhel-7.qcow2] => { "__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, a4a98d2d-a238-4f34-8d93-d356959272d7\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e310cd97-4c6e-4036-ba01-0b437859b31b\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d5581e01-b44e-4c64-90e7-f5c737fdbe5b\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, a4a98d2d-a238-4f34-8d93-d356959272d7 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e310cd97-4c6e-4036-ba01-0b437859b31b (is-modified)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d5581e01-b44e-4c64-90e7-f5c737fdbe5b (is-modified)\n[013] #2, state:up persistent_state:present, 'bond0.1': connection reapplied\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, a4a98d2d-a238-4f34-8d93-d356959272d7", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e310cd97-4c6e-4036-ba01-0b437859b31b", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d5581e01-b44e-4c64-90e7-f5c737fdbe5b", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, a4a98d2d-a238-4f34-8d93-d356959272d7 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e310cd97-4c6e-4036-ba01-0b437859b31b (is-modified)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d5581e01-b44e-4c64-90e7-f5c737fdbe5b (is-modified)", "[013] #2, state:up persistent_state:present, 'bond0.1': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.117) 0:00:13.462 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.036) 0:00:13.499 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.435) 0:00:13.934 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-7.qcow2 TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:02:46 +0000 (0:00:00.058) 0:00:13.992 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659546165.927302, "block_size": 4096, "blocks": 0, "ctime": 1659546165.9143019, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14842, "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": 1659546165.9143019, "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/tmp0448nu9w/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:02:47 +0000 (0:00:00.354) 0:00:14.347 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:54 Wednesday 03 August 2022 17:02:47 +0000 (0:00:00.047) 0:00:14.394 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-7.qcow2 => (item=bond0) included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-7.qcow2 => (item=bond0.0) included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-7.qcow2 => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:02:47 +0000 (0:00:00.070) 0:00:14.465 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:02:47 +0000 (0:00:00.071) 0:00:14.536 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:02:47 +0000 (0:00:00.047) 0:00:14.584 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659546165.9123018, "block_size": 4096, "blocks": 8, "ctime": 1659546165.9123018, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521739, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546165.9123018, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 350, "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/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:02:47 +0000 (0:00:00.317) 0:00:14.901 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:02:47 +0000 (0:00:00.043) 0:00:14.945 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.034019", "end": "2022-08-03 13:02:48.182728", "rc": 0, "start": "2022-08-03 13:02:48.148709" } 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/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.388) 0:00:15.333 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.047) 0:00:15.381 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.034) 0:00:15.416 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.036) 0:00:15.452 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.047) 0:00:15.500 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.045) 0:00:15.545 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.053) 0:00:15.598 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.041) 0:00:15.640 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659546165.9423018, "block_size": 4096, "blocks": 8, "ctime": 1659546165.9423018, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521740, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546165.9423018, "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/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.332) 0:00:15.972 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:02:48 +0000 (0:00:00.045) 0:00:16.018 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.024650", "end": "2022-08-03 13:02:49.205967", "rc": 0, "start": "2022-08-03 13:02:49.181317" } 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/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.337) 0:00:16.355 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.046) 0:00:16.401 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.034) 0:00:16.436 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.033) 0:00:16.469 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.045) 0:00:16.515 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.043) 0:00:16.558 ****** included: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-7.qcow2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.093) 0:00:16.652 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.047) 0:00:16.700 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1659546165.9723017, "block_size": 4096, "blocks": 8, "ctime": 1659546165.9723017, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8521741, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546165.9723017, "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/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.298) 0:00:16.998 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:02:49 +0000 (0:00:00.047) 0:00:17.045 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.026312", "end": "2022-08-03 13:02:50.236254", "rc": 0, "start": "2022-08-03 13:02:50.209942" } 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/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:02:50 +0000 (0:00:00.341) 0:00:17.386 ****** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:02:50 +0000 (0:00:00.054) 0:00:17.441 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:02:50 +0000 (0:00:00.033) 0:00:17.475 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:02:50 +0000 (0:00:00.036) 0:00:17.512 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:02:50 +0000 (0:00:00.045) 0:00:17.557 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:61 Wednesday 03 August 2022 17:02:50 +0000 (0:00:00.047) 0:00:17.605 ****** changed: [/cache/rhel-7.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.004333", "end": "2022-08-03 13:02:50.776648", "rc": 0, "start": "2022-08-03 13:02:50.772315" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:65 Wednesday 03 August 2022 17:02:50 +0000 (0:00:00.326) 0:00:17.931 ****** changed: [/cache/rhel-7.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004594", "end": "2022-08-03 13:02:51.099630", "rc": 0, "start": "2022-08-03 13:02:51.095036" } STDOUT: 33: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.238/24 brd 192.0.2.255 scope global noprefixroute dynamic deprecated-bond valid_lft 238sec preferred_lft 238sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:71 Wednesday 03 August 2022 17:02:51 +0000 (0:00:00.340) 0:00:18.272 ****** changed: [/cache/rhel-7.qcow2] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.005176", "end": "2022-08-03 13:02:51.452904", "rc": 0, "start": "2022-08-03 13:02:51.447728" } STDOUT: 33: deprecated-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::4f/128 scope global tentative noprefixroute dynamic valid_lft 239sec preferred_lft 239sec inet6 2001:db8::aaba:5077:a4ed:6d31/64 scope global noprefixroute dynamic valid_lft 1797sec preferred_lft 1797sec inet6 fe80::e480:8282:e31c:2970/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/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:02:51 +0000 (0:00:00.393) 0:00:18.665 ****** included: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:02:51 +0000 (0:00:00.058) 0:00:18.724 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:02:52 +0000 (0:00:00.435) 0:00:19.159 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:02:53 +0000 (0:00:00.961) 0:00:20.121 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:02:53 +0000 (0:00:00.746) 0:00:20.868 ****** ok: [/cache/rhel-7.qcow2] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:02:53 +0000 (0:00:00.111) 0:00:20.980 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:02:53 +0000 (0:00:00.038) 0:00:21.018 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:02:53 +0000 (0:00:00.039) 0:00:21.057 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:02:54 +0000 (0:00:00.071) 0:00:21.129 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:02:54 +0000 (0:00:00.039) 0:00:21.169 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:02:54 +0000 (0:00:00.036) 0:00:21.206 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:02:54 +0000 (0:00:00.055) 0:00:21.261 ****** ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:02:54 +0000 (0:00:00.448) 0:00:21.709 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:02:54 +0000 (0:00:00.054) 0:00:21.764 ****** skipping: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:02:54 +0000 (0:00:00.035) 0:00:21.799 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:02:54 +0000 (0:00:00.033) 0:00:21.833 ****** changed: [/cache/rhel-7.qcow2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:02:55 +0000 (0:00:00.852) 0:00:22.685 ****** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:02:55 +0000 (0:00:00.040) 0:00:22.726 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:02:55 +0000 (0:00:00.096) 0:00:22.823 ****** ok: [/cache/rhel-7.qcow2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:02:55 +0000 (0:00:00.098) 0:00:22.922 ****** skipping: [/cache/rhel-7.qcow2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:02:55 +0000 (0:00:00.038) 0:00:22.961 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-7.qcow2 TASK [command] ***************************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:94 Wednesday 03 August 2022 17:02:56 +0000 (0:00:00.318) 0:00:23.279 ****** fatal: [/cache/rhel-7.qcow2]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.014908", "end": "2022-08-03 13:02:56.474019", "rc": 1, "start": "2022-08-03 13:02:56.459111" } STDERR: Cannot find device "deprecated-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:02:56 +0000 (0:00:00.348) 0:00:23.628 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.053566", "end": "2022-08-03 13:02:56.850832", "rc": 0, "start": "2022-08-03 13:02:56.797266" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmp0448nu9w/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 17:02:56 +0000 (0:00:00.374) 0:00:24.003 ****** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.029060", "end": "2022-08-03 13:02:57.204932", "rc": 0, "start": "2022-08-03 13:02:57.175872" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=78 changed=8 unreachable=0 failed=0 skipped=32 rescued=0 ignored=1 Wednesday 03 August 2022 17:02:57 +0000 (0:00:00.380) 0:00:24.384 ****** =============================================================================== Create test interfaces -------------------------------------------------- 1.51s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.09s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 0.96s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmp0448nu9w/tests/network/tests_bond_deprecated_nm.yml:5 ----------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.87s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.75s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:3 ---------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install dnsmasq --------------------------------------------------------- 0.66s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Install pgrep, sysctl --------------------------------------------------- 0.51s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.50s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 ----------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.45s /tmp/tmp0fvd1p7_/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.44s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.44s /tmp/tmp0fvd1p7_/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.44s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Get stats of system files ----------------------------------------------- 0.42s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 --------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp0448nu9w/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp0448nu9w/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:02:57 +0000 (0:00:00.059) 0:00:24.443 ****** changed: [/cache/rhel-7.qcow2] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007581", "end": "2022-08-03 13:02:57.614908", "rc": 0, "start": "2022-08-03 13:02:57.607327" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=79 changed=9 unreachable=0 failed=0 skipped=32 rescued=0 ignored=1 Wednesday 03 August 2022 17:02:57 +0000 (0:00:00.342) 0:00:24.785 ****** =============================================================================== Create test interfaces -------------------------------------------------- 1.51s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.09s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 0.96s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmp0448nu9w/tests/network/tests_bond_deprecated_nm.yml:5 ----------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.87s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.85s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.75s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmp0448nu9w/tests/network/playbooks/tests_bond_deprecated.yml:3 ---------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Install dnsmasq --------------------------------------------------------- 0.66s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Install pgrep, sysctl --------------------------------------------------- 0.51s /tmp/tmp0448nu9w/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Enable EPEL 7 ----------------------------------------------------------- 0.50s /tmp/tmp0448nu9w/tests/network/tasks/enable_epel.yml:11 ----------------------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.45s /tmp/tmp0fvd1p7_/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.44s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.44s /tmp/tmp0fvd1p7_/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.44s /tmp/tmp0fvd1p7_/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Get stats of system files ----------------------------------------------- 0.42s /tmp/tmp0448nu9w/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.40s /tmp/tmp0448nu9w/tests/network/_backup.yml:19 ---------------------------------