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/tmpe4dwqm__ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmplbj_o459/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:6 Wednesday 03 August 2022 17:14:52 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659546892.0264897, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546891.6674898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073084987970", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmplbj_o459/tests/_backup.yml:13 Wednesday 03 August 2022 17:14:53 +0000 (0:00:00.505) 0:00:00.523 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (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': 1659546490.0, 'block_size': 4096, 'inode': 72, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073084987970', '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': 1659546892.0264897, 'isdir': False, 'ctime': 1659546891.6674898, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659546892.0264897, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546891.6674898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546490.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073084987970", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_backup.yml:19 Wednesday 03 August 2022 17:14:53 +0000 (0:00:00.035) 0:00:00.559 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004773", "end": "2022-08-03 17:14:53.281284", "rc": 0, "start": "2022-08-03 17:14:53.276511" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:14:53 +0000 (0:00:00.441) 0:00:01.001 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.44s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmplbj_o459/tests/_backup.yml:13 ----------------------------------------- statically imported: /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmplbj_o459/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_removal_initscripts.yml *********************************** 2 plays in /tmp/tmplbj_o459/tests/tests_bond_removal_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_removal.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_bond_removal_initscripts.yml:4 Wednesday 03 August 2022 17:14:53 +0000 (0:00:00.090) 0:00:01.091 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_bond_removal_initscripts.yml:7 Wednesday 03 August 2022 17:14:54 +0000 (0:00:00.986) 0:00:02.078 ****** included: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:14:54 +0000 (0:00:00.026) 0:00:02.105 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:14:54 +0000 (0:00:00.023) 0:00:02.129 ****** included: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:14:54 +0000 (0:00:00.031) 0:00:02.160 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:14:55 +0000 (0:00:00.306) 0:00:02.466 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.183937", "end": "2022-08-03 17:14:55.248685", "rc": 0, "start": "2022-08-03 17:14:55.064748" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/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/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True 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=genclo&content=centos 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/7/epel pkgdir = /var/cache/yum/x86_64/7/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/tmplbj_o459/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:14:55 +0000 (0:00:00.501) 0:00:02.968 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:14:55 +0000 (0:00:00.023) 0:00:02.992 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmplbj_o459/tests/tests_bond_removal_initscripts.yml:8 Wednesday 03 August 2022 17:14:55 +0000 (0:00:00.022) 0:00:03.014 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:3 Wednesday 03 August 2022 17:14:55 +0000 (0:00:00.051) 0:00:03.066 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:12 Wednesday 03 August 2022 17:14:56 +0000 (0:00:00.744) 0:00:03.810 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:14:56 +0000 (0:00:00.046) 0:00:03.857 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 17:14:57 +0000 (0:00:00.706) 0:00:04.564 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 17:14:57 +0000 (0:00:00.044) 0:00:04.608 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 17:14:57 +0000 (0:00:00.538) 0:00:05.146 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.191909", "end": "2022-08-03 17:14:58.945387", "rc": 0, "start": "2022-08-03 17:14:57.753478" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:14:59 +0000 (0:00:01.523) 0:00:06.670 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:14:59 +0000 (0:00:00.044) 0:00:06.714 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546897.7644897, "block_size": 4096, "blocks": 0, "ctime": 1659546897.7644897, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14791, "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": 1659546897.7644897, "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/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:14:59 +0000 (0:00:00.330) 0:00:07.044 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:14:59 +0000 (0:00:00.047) 0:00:07.092 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:14:59 +0000 (0:00:00.047) 0:00:07.140 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546897.7664897, "block_size": 4096, "blocks": 0, "ctime": 1659546897.7664897, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14956, "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": 1659546897.7664897, "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/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:15:00 +0000 (0:00:00.368) 0:00:07.508 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:22 Wednesday 03 August 2022 17:15:00 +0000 (0:00:00.054) 0:00:07.563 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "cp", "-vf", "/etc/resolv.conf", "/etc/resolv.conf.bak" ], "delta": "0:00:00.004713", "end": "2022-08-03 17:15:00.177675", "rc": 0, "start": "2022-08-03 17:15:00.172962" } STDOUT: ‘/etc/resolv.conf’ -> ‘/etc/resolv.conf.bak’ TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:27 Wednesday 03 August 2022 17:15:00 +0000 (0:00:00.327) 0:00:07.891 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:15:00 +0000 (0:00:00.044) 0:00:07.936 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:15:00 +0000 (0:00:00.058) 0:00:07.994 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:15:01 +0000 (0:00:00.442) 0:00:08.436 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:15:02 +0000 (0:00:01.100) 0:00:09.536 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:15:03 +0000 (0:00:01.139) 0:00:10.675 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.056) 0:00:10.732 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.048) 0:00:10.780 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.049) 0:00:10.829 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.073) 0:00:10.903 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.051) 0:00:10.954 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.048) 0:00:11.003 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.114) 0:00:11.117 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.048) 0:00:11.165 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:15:03 +0000 (0:00:00.045) 0:00:11.211 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:15:04 +0000 (0:00:00.693) 0:00:11.904 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-180715i3yc2256/tmpp1v7i2dh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:15:05 +0000 (0:00:00.343) 0:00:12.248 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0' [008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0' [009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1' [010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active) [011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out=' Determining IP information for nm-bond... done. ', err='' [012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified) [013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err='' [014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified) [015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:15:20 +0000 (0:00:15.473) 0:00:27.722 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:15:20 +0000 (0:00:00.046) 0:00:27.769 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='", "Determining IP information for nm-bond... done.", "', err=''", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:15:20 +0000 (0:00:00.124) 0:00:27.893 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'\n[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='\nDetermining IP information for nm-bond... done.\n', err=''\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='", "Determining IP information for nm-bond... done.", "', err=''", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:15:20 +0000 (0:00:00.059) 0:00:27.953 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:15:20 +0000 (0:00:00.051) 0:00:28.004 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:15:21 +0000 (0:00:00.451) 0:00:28.456 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:15:21 +0000 (0:00:00.066) 0:00:28.523 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546905.2194898, "block_size": 4096, "blocks": 0, "ctime": 1659546905.2154896, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 15789, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1659546905.2154896, "nlink": 1, "path": "/sys/class/net/nm-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface nm-bond is present] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:15:21 +0000 (0:00:00.339) 0:00:28.862 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:58 Wednesday 03 August 2022 17:15:21 +0000 (0:00:00.066) 0:00:28.929 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=bond0) included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=bond0.0) included: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:15:21 +0000 (0:00:00.101) 0:00:29.030 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:15:21 +0000 (0:00:00.067) 0:00:29.098 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:15:21 +0000 (0:00:00.053) 0:00:29.152 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546905.1734898, "block_size": 4096, "blocks": 8, "ctime": 1659546905.1604898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8332, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546905.1604898, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 187, "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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:15:22 +0000 (0:00:00.331) 0:00:29.484 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:15:22 +0000 (0:00:00.104) 0:00:29.589 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.026472", "end": "2022-08-03 17:15:22.220077", "rc": 1, "start": "2022-08-03 17:15:22.193605" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:15:22 +0000 (0:00:00.359) 0:00:29.948 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:15:22 +0000 (0:00:00.052) 0:00:30.001 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:00.004676", "end": "2022-08-03 17:15:22.613652", "rc": 0, "start": "2022-08-03 17:15:22.608976" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:15:23 +0000 (0:00:00.340) 0:00:30.342 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:15:23 +0000 (0:00:00.064) 0:00:30.406 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:15:23 +0000 (0:00:00.063) 0:00:30.470 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:15:23 +0000 (0:00:00.059) 0:00:30.530 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:15:23 +0000 (0:00:00.067) 0:00:30.597 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:15:23 +0000 (0:00:00.058) 0:00:30.656 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546905.2184896, "block_size": 4096, "blocks": 8, "ctime": 1659546905.1604898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546905.1604898, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 103, "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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:15:23 +0000 (0:00:00.335) 0:00:30.992 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:15:23 +0000 (0:00:00.058) 0:00:31.050 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.023294", "end": "2022-08-03 17:15:23.676159", "rc": 1, "start": "2022-08-03 17:15:23.652865" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:15:24 +0000 (0:00:00.349) 0:00:31.400 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:15:24 +0000 (0:00:00.117) 0:00:31.518 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:00.003870", "end": "2022-08-03 17:15:24.133325", "rc": 0, "start": "2022-08-03 17:15:24.129455" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:15:24 +0000 (0:00:00.342) 0:00:31.860 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:15:24 +0000 (0:00:00.060) 0:00:31.921 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:15:24 +0000 (0:00:00.062) 0:00:31.983 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:15:24 +0000 (0:00:00.058) 0:00:32.041 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:15:24 +0000 (0:00:00.063) 0:00:32.105 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:15:24 +0000 (0:00:00.056) 0:00:32.162 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546905.2184896, "block_size": 4096, "blocks": 8, "ctime": 1659546905.1604898, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742161, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546905.1604898, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 103, "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/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:15:25 +0000 (0:00:00.326) 0:00:32.488 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:15:25 +0000 (0:00:00.053) 0:00:32.542 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.023966", "end": "2022-08-03 17:15:25.147352", "rc": 1, "start": "2022-08-03 17:15:25.123386" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:15:25 +0000 (0:00:00.328) 0:00:32.870 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:15:25 +0000 (0:00:00.045) 0:00:32.916 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.1" ], "delta": "0:00:00.004067", "end": "2022-08-03 17:15:25.535949", "rc": 0, "start": "2022-08-03 17:15:25.531882" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:15:26 +0000 (0:00:00.346) 0:00:33.262 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:15:26 +0000 (0:00:00.130) 0:00:33.393 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:15:26 +0000 (0:00:00.060) 0:00:33.453 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:65 Wednesday 03 August 2022 17:15:26 +0000 (0:00:00.057) 0:00:33.511 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/nm-bond" ], "delta": "0:00:00.003984", "end": "2022-08-03 17:15:26.115782", "rc": 0, "start": "2022-08-03 17:15:26.111798" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:70 Wednesday 03 August 2022 17:15:26 +0000 (0:00:00.330) 0:00:33.841 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.004007", "end": "2022-08-03 17:15:26.454180", "rc": 0, "start": "2022-08-03 17:15:26.450173" } STDOUT: 57: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.155/24 brd 192.0.2.255 scope global dynamic nm-bond valid_lft 234sec preferred_lft 234sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:76 Wednesday 03 August 2022 17:15:26 +0000 (0:00:00.343) 0:00:34.184 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.004662", "end": "2022-08-03 17:15:26.799209", "rc": 0, "start": "2022-08-03 17:15:26.794547" } STDOUT: 57: nm-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::44b0:e6ff:fe1f:d9d3/64 scope global mngtmpaddr dynamic valid_lft 1796sec preferred_lft 1796sec inet6 fe80::44b0:e6ff:fe1f:d9d3/64 scope link valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:15:27 +0000 (0:00:00.343) 0:00:34.528 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:15:27 +0000 (0:00:00.068) 0:00:34.596 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:15:27 +0000 (0:00:00.420) 0:00:35.017 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:15:28 +0000 (0:00:00.943) 0:00:35.960 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:15:29 +0000 (0:00:00.903) 0:00:36.863 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:15:29 +0000 (0:00:00.059) 0:00:36.923 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:15:29 +0000 (0:00:00.049) 0:00:36.972 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:15:29 +0000 (0:00:00.046) 0:00:37.019 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:15:29 +0000 (0:00:00.070) 0:00:37.089 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:15:29 +0000 (0:00:00.046) 0:00:37.136 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:15:29 +0000 (0:00:00.048) 0:00:37.184 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:15:30 +0000 (0:00:00.052) 0:00:37.236 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:15:30 +0000 (0:00:00.048) 0:00:37.285 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:15:30 +0000 (0:00:00.045) 0:00:37.331 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:15:30 +0000 (0:00:00.449) 0:00:37.780 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-180715i3yc2256/tmpjkyir4vq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:15:30 +0000 (0:00:00.377) 0:00:38.158 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active) [004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:15:31 +0000 (0:00:00.840) 0:00:38.998 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:15:31 +0000 (0:00:00.049) 0:00:39.048 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:15:31 +0000 (0:00:00.053) 0:00:39.101 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)\n[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:15:31 +0000 (0:00:00.055) 0:00:39.156 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:15:31 +0000 (0:00:00.051) 0:00:39.208 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get the port1 profile "bond0.0" from the active connection] ************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:93 Wednesday 03 August 2022 17:15:32 +0000 (0:00:00.358) 0:00:39.566 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the port2 profile "bond0.1" from the active connection] ************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:101 Wednesday 03 August 2022 17:15:32 +0000 (0:00:00.047) 0:00:39.614 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port1 profile is not activated] ************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:109 Wednesday 03 August 2022 17:15:32 +0000 (0:00:00.059) 0:00:39.673 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port2 profile is not activated] ************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:116 Wednesday 03 August 2022 17:15:32 +0000 (0:00:00.049) 0:00:39.723 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the port1 device state] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:123 Wednesday 03 August 2022 17:15:32 +0000 (0:00:00.045) 0:00:39.768 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "a", "s", "test1" ], "delta": "0:00:00.004044", "end": "2022-08-03 17:15:32.384814", "rc": 0, "start": "2022-08-03 17:15:32.380770" } STDOUT: 53: test1@test1p: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 46:b0:e6:1f:d9:d3 brd ff:ff:ff:ff:ff:ff TASK [Get the port2 device state] ********************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:130 Wednesday 03 August 2022 17:15:32 +0000 (0:00:00.343) 0:00:40.112 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "a", "s", "test2" ], "delta": "0:00:00.003821", "end": "2022-08-03 17:15:32.760751", "rc": 0, "start": "2022-08-03 17:15:32.756930" } STDOUT: 55: test2@test2p: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 4a:0c:2f:d5:e4:cd brd ff:ff:ff:ff:ff:ff TASK [Assert that the port1 device is in DOWN state] *************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:137 Wednesday 03 August 2022 17:15:33 +0000 (0:00:00.373) 0:00:40.486 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the port2 device is in DOWN state] *************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:144 Wednesday 03 August 2022 17:15:33 +0000 (0:00:00.058) 0:00:40.544 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:15:33 +0000 (0:00:00.054) 0:00:40.599 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:15:33 +0000 (0:00:00.078) 0:00:40.678 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:15:33 +0000 (0:00:00.455) 0:00:41.133 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:15:34 +0000 (0:00:00.939) 0:00:42.072 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:15:35 +0000 (0:00:00.947) 0:00:43.020 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:15:35 +0000 (0:00:00.057) 0:00:43.077 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:15:35 +0000 (0:00:00.049) 0:00:43.126 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:15:35 +0000 (0:00:00.045) 0:00:43.172 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:15:36 +0000 (0:00:00.076) 0:00:43.248 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:15:36 +0000 (0:00:00.050) 0:00:43.298 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:15:36 +0000 (0:00:00.047) 0:00:43.346 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:15:36 +0000 (0:00:00.057) 0:00:43.404 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:15:36 +0000 (0:00:00.048) 0:00:43.452 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:15:36 +0000 (0:00:00.044) 0:00:43.497 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:15:36 +0000 (0:00:00.452) 0:00:43.950 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-180715i3yc2256/tmpcqj7iyul" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:15:37 +0000 (0:00:00.357) 0:00:44.307 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0' [008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date [009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date [010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active) [011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out=' Determining IP information for nm-bond... done. ', err='' [012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified) [013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err='' [014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified) [015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:15:40 +0000 (0:00:03.031) 0:00:47.339 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:15:40 +0000 (0:00:00.049) 0:00:47.388 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date", "[009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='", "Determining IP information for nm-bond... done.", "', err=''", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:15:40 +0000 (0:00:00.057) 0:00:47.446 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date\n[009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='\nDetermining IP information for nm-bond... done.\n', err=''\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date", "[009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='", "Determining IP information for nm-bond... done.", "', err=''", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:15:40 +0000 (0:00:00.061) 0:00:47.508 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:15:40 +0000 (0:00:00.050) 0:00:47.559 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:15:40 +0000 (0:00:00.345) 0:00:47.904 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:15:40 +0000 (0:00:00.098) 0:00:48.003 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:15:41 +0000 (0:00:00.432) 0:00:48.435 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:15:42 +0000 (0:00:00.991) 0:00:49.427 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.836) 0:00:50.263 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.055) 0:00:50.319 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.085) 0:00:50.405 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.055) 0:00:50.460 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.073) 0:00:50.533 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.047) 0:00:50.581 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.048) 0:00:50.629 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.050) 0:00:50.680 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.052) 0:00:50.733 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.051) 0:00:50.784 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:15:43 +0000 (0:00:00.448) 0:00:51.233 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-180715i3yc2256/tmp7_a_8ad3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:15:44 +0000 (0:00:00.349) 0:00:51.582 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active) [006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err='' [007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active) [008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err='' [009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0' [010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:15:45 +0000 (0:00:00.678) 0:00:52.260 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:15:45 +0000 (0:00:00.050) 0:00:52.311 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''", "[009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:15:45 +0000 (0:00:00.059) 0:00:52.371 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''\n[007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''\n[009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''", "[009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:15:45 +0000 (0:00:00.156) 0:00:52.527 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:15:45 +0000 (0:00:00.048) 0:00:52.576 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get the controller profile "bond0" from the active connection] *********** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:189 Wednesday 03 August 2022 17:15:45 +0000 (0:00:00.369) 0:00:52.945 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the controller profile is activated] ************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:197 Wednesday 03 August 2022 17:15:45 +0000 (0:00:00.048) 0:00:52.994 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the controller device details] *************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:205 Wednesday 03 August 2022 17:15:45 +0000 (0:00:00.047) 0:00:53.041 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-d", "a", "s", "nm-bond" ], "delta": "0:00:00.004307", "end": "2022-08-03 17:15:45.660376", "rc": 0, "start": "2022-08-03 17:15:45.656069" } STDOUT: 57: nm-bond: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether de:b8:a2:67:e5:ac brd ff:ff:ff:ff:ff:ff promiscuity 0 bond mode active-backup miimon 110 updelay 0 downdelay 0 use_carrier 1 arp_interval 0 arp_validate none arp_all_targets any primary_reselect always fail_over_mac none xmit_hash_policy layer2 resend_igmp 1 num_grat_arp 1 all_slaves_active 0 min_links 0 lp_interval 1 packets_per_slave 1 lacp_rate slow ad_select stable tlb_dynamic_lb 1 numtxqueues 16 numrxqueues 16 gso_max_size 65536 gso_max_segs 65535 inet 192.0.2.155/24 brd 192.0.2.255 scope global dynamic nm-bond valid_lft 234sec preferred_lft 234sec inet6 fe80::44b0:e6ff:fe1f:d9d3/64 scope link valid_lft forever preferred_lft forever TASK [Assert that the controller profile is activated] ************************* task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:212 Wednesday 03 August 2022 17:15:46 +0000 (0:00:00.362) 0:00:53.404 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:15:46 +0000 (0:00:00.074) 0:00:53.479 ****** included: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:15:46 +0000 (0:00:00.082) 0:00:53.561 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:15:46 +0000 (0:00:00.438) 0:00:54.000 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:15:47 +0000 (0:00:00.969) 0:00:54.970 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:15:48 +0000 (0:00:00.872) 0:00:55.842 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:15:48 +0000 (0:00:00.057) 0:00:55.900 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:15:48 +0000 (0:00:00.048) 0:00:55.949 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:15:48 +0000 (0:00:00.048) 0:00:55.998 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:15:48 +0000 (0:00:00.074) 0:00:56.072 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:15:48 +0000 (0:00:00.050) 0:00:56.123 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:15:48 +0000 (0:00:00.053) 0:00:56.177 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:15:48 +0000 (0:00:00.052) 0:00:56.229 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:15:49 +0000 (0:00:00.053) 0:00:56.283 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:15:49 +0000 (0:00:00.056) 0:00:56.339 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:15:49 +0000 (0:00:00.461) 0:00:56.800 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-180715i3yc2256/tmpprauxxjx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:15:49 +0000 (0:00:00.350) 0:00:57.151 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active) [004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:15:50 +0000 (0:00:00.616) 0:00:57.768 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:15:50 +0000 (0:00:00.051) 0:00:57.820 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:15:50 +0000 (0:00:00.062) 0:00:57.883 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)\n[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:15:50 +0000 (0:00:00.060) 0:00:57.944 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:15:50 +0000 (0:00:00.050) 0:00:57.994 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [command] ***************************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:231 Wednesday 03 August 2022 17:15:51 +0000 (0:00:00.359) 0:00:58.353 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.028380", "end": "2022-08-03 17:15:50.990277", "rc": 0, "start": "2022-08-03 17:15:50.961897" } TASK [Remove test interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:15:51 +0000 (0:00:00.369) 0:00:58.723 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.050659", "end": "2022-08-03 17:15:51.389619", "rc": 0, "start": "2022-08-03 17:15:51.338960" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmplbj_o459/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 17:15:51 +0000 (0:00:00.394) 0:00:59.117 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.025139", "end": "2022-08-03 17:15:51.748934", "rc": 0, "start": "2022-08-03 17:15:51.723795" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:234 Wednesday 03 August 2022 17:15:52 +0000 (0:00:00.360) 0:00:59.477 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "mv", "-vf", "/etc/resolv.conf.bak", "/etc/resolv.conf" ], "delta": "0:00:00.004468", "end": "2022-08-03 17:15:52.098935", "rc": 0, "start": "2022-08-03 17:15:52.094467" } STDOUT: ‘/etc/resolv.conf.bak’ -> ‘/etc/resolv.conf’ META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=123 changed=16 unreachable=0 failed=0 skipped=63 rescued=0 ignored=3 Wednesday 03 August 2022 17:15:52 +0000 (0:00:00.373) 0:00:59.851 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles -- 18.51s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create test interfaces -------------------------------------------------- 1.52s /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 linux-system-roles.network : Configure networking connection profiles --- 1.46s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable network service --------------------- 1.15s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which packages are installed --------- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.10s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.99s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmplbj_o459/tests/tests_bond_removal_initscripts.yml:4 ------------------- linux-system-roles.network : Check which services are running ----------- 0.97s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.95s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Enable network service --------------------- 0.91s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which packages are installed --------- 0.90s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.87s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.84s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.80s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:3 --------------------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.73s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.72s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmplbj_o459/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmplbj_o459/tests/_restore.yml:4 Wednesday 03 August 2022 17:15:52 +0000 (0:00:00.038) 0:00:59.890 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006686", "end": "2022-08-03 17:15:52.485151", "rc": 0, "start": "2022-08-03 17:15:52.478465" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=124 changed=17 unreachable=0 failed=0 skipped=63 rescued=0 ignored=3 Wednesday 03 August 2022 17:15:52 +0000 (0:00:00.337) 0:01:00.228 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles -- 18.51s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create test interfaces -------------------------------------------------- 1.52s /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 linux-system-roles.network : Configure networking connection profiles --- 1.46s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable network service --------------------- 1.15s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which packages are installed --------- 1.14s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.10s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.99s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmplbj_o459/tests/tests_bond_removal_initscripts.yml:4 ------------------- linux-system-roles.network : Check which services are running ----------- 0.97s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 0.95s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 0.94s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Enable network service --------------------- 0.91s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Check which packages are installed --------- 0.90s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.87s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.84s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Re-test connectivity ----------------------- 0.80s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- Gathering Facts --------------------------------------------------------- 0.74s /tmp/tmplbj_o459/tests/playbooks/tests_bond_removal.yml:3 --------------------- linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.73s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:107 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.72s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- 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/tmpe4dwqm__ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmppolohs8h/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:40:01 +0000 (0:00:00.020) 0:00:00.020 ****** ok: [/cache/centos-7.qcow2c.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659548401.1363065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548401.0313065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073084987954", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmppolohs8h/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:40:02 +0000 (0:00:00.521) 0:00:00.541 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/centos-7.qcow2c.snap] => (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': 1659548002.0, 'block_size': 4096, 'inode': 72, 'isgid': False, 'size': 61, 'executable': False, 'isuid': False, 'readable': True, 'version': '18446744073084987954', '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': 1659548401.1363065, 'isdir': False, 'ctime': 1659548401.0313065, 'isblk': False, 'wgrp': False, 'checksum': '58d0b40c7f3b3443c40de4c19aee35ddf579fd17', 'dev': 64769, 'roth': True, 'isfifo': False, 'mode': '0644', 'xgrp': False, 'rusr': True, 'attributes': []}, 'changed': False, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659548401.1363065, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548401.0313065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 72, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548002.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 61, "uid": 0, "version": "18446744073084987954", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:40:02 +0000 (0:00:00.035) 0:00:00.576 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.005196", "end": "2022-08-03 17:40:02.678437", "rc": 0, "start": "2022-08-03 17:40:02.673241" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:40:02 +0000 (0:00:00.441) 0:00:01.018 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.52s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.44s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmppolohs8h/tests/network/_backup.yml:13 --------------------------------- statically imported: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml statically imported: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml PLAYBOOK: tests_bond_removal_initscripts.yml *********************************** 2 plays in /tmp/tmppolohs8h/tests/network/tests_bond_removal_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_removal.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_bond_removal_initscripts.yml:4 Wednesday 03 August 2022 17:40:03 +0000 (0:00:00.113) 0:00:01.131 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_bond_removal_initscripts.yml:7 Wednesday 03 August 2022 17:40:04 +0000 (0:00:00.995) 0:00:02.126 ****** included: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml for /cache/centos-7.qcow2c.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:40:04 +0000 (0:00:00.028) 0:00:02.154 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:40:04 +0000 (0:00:00.022) 0:00:02.177 ****** included: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml for /cache/centos-7.qcow2c.snap TASK [Create EPEL 7] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:40:04 +0000 (0:00:00.029) 0:00:02.206 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:40:04 +0000 (0:00:00.317) 0:00:02.524 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.186292", "end": "2022-08-03 17:40:04.683419", "rc": 0, "start": "2022-08-03 17:40:04.497127" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/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/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = True 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=genclo&content=centos 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/7/epel pkgdir = /var/cache/yum/x86_64/7/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/tmppolohs8h/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:40:04 +0000 (0:00:00.497) 0:00:03.021 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:40:05 +0000 (0:00:00.024) 0:00:03.045 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmppolohs8h/tests/network/tests_bond_removal_initscripts.yml:8 Wednesday 03 August 2022 17:40:05 +0000 (0:00:00.022) 0:00:03.068 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:3 Wednesday 03 August 2022 17:40:05 +0000 (0:00:00.053) 0:00:03.121 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:12 Wednesday 03 August 2022 17:40:05 +0000 (0:00:00.786) 0:00:03.907 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:40:05 +0000 (0:00:00.054) 0:00:03.962 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 17:40:06 +0000 (0:00:00.721) 0:00:04.684 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Wednesday 03 August 2022 17:40:06 +0000 (0:00:00.039) 0:00:04.724 ****** ok: [/cache/centos-7.qcow2c.snap] => { "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/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Wednesday 03 August 2022 17:40:07 +0000 (0:00:00.534) 0:00:05.259 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.191451", "end": "2022-08-03 17:40:08.430330", "rc": 0, "start": "2022-08-03 17:40:07.238879" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:40:08 +0000 (0:00:01.512) 0:00:06.771 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface test1] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:40:08 +0000 (0:00:00.045) 0:00:06.817 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548407.2523065, "block_size": 4096, "blocks": 0, "ctime": 1659548407.2523065, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14791, "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": 1659548407.2523065, "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/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:40:09 +0000 (0:00:00.326) 0:00:07.143 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:40:09 +0000 (0:00:00.082) 0:00:07.226 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface test2] ******************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:40:09 +0000 (0:00:00.045) 0:00:07.271 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548407.2553065, "block_size": 4096, "blocks": 0, "ctime": 1659548407.2553065, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14958, "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": 1659548407.2553065, "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/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:40:09 +0000 (0:00:00.322) 0:00:07.593 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:22 Wednesday 03 August 2022 17:40:09 +0000 (0:00:00.046) 0:00:07.640 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "cp", "-vf", "/etc/resolv.conf", "/etc/resolv.conf.bak" ], "delta": "0:00:00.004654", "end": "2022-08-03 17:40:09.624345", "rc": 0, "start": "2022-08-03 17:40:09.619691" } STDOUT: ‘/etc/resolv.conf’ -> ‘/etc/resolv.conf.bak’ TASK [TEST Add Bond with 2 ports] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:27 Wednesday 03 August 2022 17:40:09 +0000 (0:00:00.318) 0:00:07.958 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:40:09 +0000 (0:00:00.043) 0:00:08.001 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:40:10 +0000 (0:00:00.046) 0:00:08.048 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:40:10 +0000 (0:00:00.436) 0:00:08.485 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:40:11 +0000 (0:00:01.066) 0:00:09.552 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:40:12 +0000 (0:00:01.175) 0:00:10.728 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:40:12 +0000 (0:00:00.058) 0:00:10.786 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:40:12 +0000 (0:00:00.048) 0:00:10.835 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:40:12 +0000 (0:00:00.049) 0:00:10.885 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:40:12 +0000 (0:00:00.074) 0:00:10.960 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:40:12 +0000 (0:00:00.052) 0:00:11.012 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:40:13 +0000 (0:00:00.049) 0:00:11.062 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:40:13 +0000 (0:00:00.057) 0:00:11.120 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:40:13 +0000 (0:00:00.047) 0:00:11.168 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:40:13 +0000 (0:00:00.046) 0:00:11.214 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:40:13 +0000 (0:00:00.751) 0:00:11.966 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2241391eezf56s/tmpwn_sshkg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:40:14 +0000 (0:00:00.348) 0:00:12.315 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0' [008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0' [009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1' [010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active) [011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out=' Determining IP information for nm-bond... done. ', err='' [012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified) [013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err='' [014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified) [015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:40:40 +0000 (0:00:26.019) 0:00:38.334 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:40:40 +0000 (0:00:00.050) 0:00:38.385 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='", "Determining IP information for nm-bond... done.", "', err=''", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:40:40 +0000 (0:00:00.056) 0:00:38.442 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'\n[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='\nDetermining IP information for nm-bond... done.\n', err=''\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='", "Determining IP information for nm-bond... done.", "', err=''", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:40:40 +0000 (0:00:00.122) 0:00:38.565 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:40:40 +0000 (0:00:00.049) 0:00:38.614 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:40:41 +0000 (0:00:00.453) 0:00:39.068 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface nm-bond] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:40:41 +0000 (0:00:00.073) 0:00:39.141 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548414.6463065, "block_size": 4096, "blocks": 0, "ctime": 1659548414.6433065, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 15789, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1659548414.6433065, "nlink": 1, "path": "/sys/class/net/nm-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface nm-bond is present] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:40:41 +0000 (0:00:00.332) 0:00:39.474 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:58 Wednesday 03 August 2022 17:40:41 +0000 (0:00:00.059) 0:00:39.534 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=bond0) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=bond0.0) included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/centos-7.qcow2c.snap => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:40:41 +0000 (0:00:00.104) 0:00:39.638 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:40:41 +0000 (0:00:00.071) 0:00:39.710 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:40:41 +0000 (0:00:00.056) 0:00:39.766 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548414.6063066, "block_size": 4096, "blocks": 8, "ctime": 1659548414.5933065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8335, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659548414.5933065, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 187, "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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:40:42 +0000 (0:00:00.325) 0:00:40.092 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:40:42 +0000 (0:00:00.107) 0:00:40.199 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.023817", "end": "2022-08-03 17:40:42.233187", "rc": 1, "start": "2022-08-03 17:40:42.209370" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:40:42 +0000 (0:00:00.378) 0:00:40.578 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:40:42 +0000 (0:00:00.047) 0:00:40.625 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:00.003946", "end": "2022-08-03 17:40:42.633962", "rc": 0, "start": "2022-08-03 17:40:42.630016" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:40:42 +0000 (0:00:00.358) 0:00:40.984 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'bond0' is present] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:40:43 +0000 (0:00:00.064) 0:00:41.049 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:40:43 +0000 (0:00:00.059) 0:00:41.109 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:40:43 +0000 (0:00:00.061) 0:00:41.170 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:40:43 +0000 (0:00:00.066) 0:00:41.237 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:40:43 +0000 (0:00:00.055) 0:00:41.292 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548414.6453066, "block_size": 4096, "blocks": 8, "ctime": 1659548414.5933065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659548414.5933065, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 103, "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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:40:43 +0000 (0:00:00.336) 0:00:41.629 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:40:43 +0000 (0:00:00.056) 0:00:41.685 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.026410", "end": "2022-08-03 17:40:43.693026", "rc": 1, "start": "2022-08-03 17:40:43.666616" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:40:44 +0000 (0:00:00.353) 0:00:42.039 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:40:44 +0000 (0:00:00.047) 0:00:42.087 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:00.004129", "end": "2022-08-03 17:40:44.105745", "rc": 0, "start": "2022-08-03 17:40:44.101616" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:40:44 +0000 (0:00:00.366) 0:00:42.454 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:40:44 +0000 (0:00:00.062) 0:00:42.517 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:40:44 +0000 (0:00:00.058) 0:00:42.575 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:40:44 +0000 (0:00:00.058) 0:00:42.634 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/centos-7.qcow2c.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:40:44 +0000 (0:00:00.067) 0:00:42.701 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:40:44 +0000 (0:00:00.055) 0:00:42.757 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548414.6453066, "block_size": 4096, "blocks": 8, "ctime": 1659548414.5933065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 742161, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659548414.5933065, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 103, "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/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:40:45 +0000 (0:00:00.328) 0:00:43.086 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:40:45 +0000 (0:00:00.057) 0:00:43.143 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.024359", "end": "2022-08-03 17:40:45.145064", "rc": 1, "start": "2022-08-03 17:40:45.120705" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:40:45 +0000 (0:00:00.348) 0:00:43.491 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:40:45 +0000 (0:00:00.048) 0:00:43.539 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.1" ], "delta": "0:00:00.003729", "end": "2022-08-03 17:40:45.537383", "rc": 0, "start": "2022-08-03 17:40:45.533654" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:40:45 +0000 (0:00:00.346) 0:00:43.886 ****** ok: [/cache/centos-7.qcow2c.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:40:45 +0000 (0:00:00.060) 0:00:43.946 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:40:46 +0000 (0:00:00.135) 0:00:44.081 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:65 Wednesday 03 August 2022 17:40:46 +0000 (0:00:00.060) 0:00:44.141 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/nm-bond" ], "delta": "0:00:00.004855", "end": "2022-08-03 17:40:46.130182", "rc": 0, "start": "2022-08-03 17:40:46.125327" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:69 Wednesday 03 August 2022 17:40:46 +0000 (0:00:00.340) 0:00:44.482 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.004593", "end": "2022-08-03 17:40:46.465233", "rc": 0, "start": "2022-08-03 17:40:46.460640" } STDOUT: 57: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.7/24 brd 192.0.2.255 scope global dynamic nm-bond valid_lft 234sec preferred_lft 234sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:75 Wednesday 03 August 2022 17:40:46 +0000 (0:00:00.347) 0:00:44.829 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.004128", "end": "2022-08-03 17:40:46.830169", "rc": 0, "start": "2022-08-03 17:40:46.826041" } STDOUT: 57: nm-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::a492:94ff:fe6b:6f1/64 scope global mngtmpaddr dynamic valid_lft 1790sec preferred_lft 1790sec inet6 fe80::a492:94ff:fe6b:6f1/64 scope link valid_lft forever preferred_lft forever TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:40:47 +0000 (0:00:00.352) 0:00:45.181 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:40:47 +0000 (0:00:00.070) 0:00:45.252 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:40:47 +0000 (0:00:00.429) 0:00:45.682 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:40:48 +0000 (0:00:00.958) 0:00:46.640 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.873) 0:00:47.513 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.058) 0:00:47.572 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.047) 0:00:47.620 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.047) 0:00:47.667 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.071) 0:00:47.738 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.049) 0:00:47.788 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.049) 0:00:47.837 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.055) 0:00:47.893 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.048) 0:00:47.942 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:40:49 +0000 (0:00:00.055) 0:00:47.997 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:40:50 +0000 (0:00:00.498) 0:00:48.495 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2241391eezf56s/tmpldh1id3a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:40:50 +0000 (0:00:00.343) 0:00:48.839 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active) [004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:40:51 +0000 (0:00:00.839) 0:00:49.678 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:40:51 +0000 (0:00:00.051) 0:00:49.729 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:40:51 +0000 (0:00:00.058) 0:00:49.788 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)\n[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:40:51 +0000 (0:00:00.059) 0:00:49.848 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:40:51 +0000 (0:00:00.049) 0:00:49.897 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get the port1 profile "bond0.0" from the active connection] ************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:91 Wednesday 03 August 2022 17:40:52 +0000 (0:00:00.357) 0:00:50.255 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the port2 profile "bond0.1" from the active connection] ************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:98 Wednesday 03 August 2022 17:40:52 +0000 (0:00:00.045) 0:00:50.300 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port1 profile is not activated] ************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:105 Wednesday 03 August 2022 17:40:52 +0000 (0:00:00.040) 0:00:50.341 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port2 profile is not activated] ************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:112 Wednesday 03 August 2022 17:40:52 +0000 (0:00:00.041) 0:00:50.383 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the port1 device state] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:119 Wednesday 03 August 2022 17:40:52 +0000 (0:00:00.041) 0:00:50.424 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "a", "s", "test1" ], "delta": "0:00:00.003853", "end": "2022-08-03 17:40:52.433302", "rc": 0, "start": "2022-08-03 17:40:52.429449" } STDOUT: 53: test1@test1p: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a6:92:94:6b:06:f1 brd ff:ff:ff:ff:ff:ff TASK [Get the port2 device state] ********************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:126 Wednesday 03 August 2022 17:40:52 +0000 (0:00:00.352) 0:00:50.776 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "a", "s", "test2" ], "delta": "0:00:00.003999", "end": "2022-08-03 17:40:52.748866", "rc": 0, "start": "2022-08-03 17:40:52.744867" } STDOUT: 55: test2@test2p: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 3a:16:bc:92:2c:e2 brd ff:ff:ff:ff:ff:ff TASK [Assert that the port1 device is in DOWN state] *************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:133 Wednesday 03 August 2022 17:40:53 +0000 (0:00:00.323) 0:00:51.100 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [Assert that the port2 device is in DOWN state] *************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:140 Wednesday 03 August 2022 17:40:53 +0000 (0:00:00.057) 0:00:51.158 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:40:53 +0000 (0:00:00.054) 0:00:51.212 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:40:53 +0000 (0:00:00.066) 0:00:51.278 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:40:53 +0000 (0:00:00.420) 0:00:51.698 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:40:54 +0000 (0:00:00.933) 0:00:52.632 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.880) 0:00:53.512 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.056) 0:00:53.568 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.050) 0:00:53.619 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.050) 0:00:53.670 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.080) 0:00:53.750 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.048) 0:00:53.799 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.049) 0:00:53.849 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.054) 0:00:53.904 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.054) 0:00:53.958 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:40:55 +0000 (0:00:00.047) 0:00:54.005 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:40:56 +0000 (0:00:00.433) 0:00:54.438 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2241391eezf56s/tmp71oumj75" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:40:56 +0000 (0:00:00.379) 0:00:54.818 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0' [008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date [009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date [010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active) [011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out=' Determining IP information for nm-bond... done. ', err='' [012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified) [013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err='' [014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified) [015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:40:59 +0000 (0:00:02.980) 0:00:57.799 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:40:59 +0000 (0:00:00.048) 0:00:57.848 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date", "[009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='", "Determining IP information for nm-bond... done.", "', err=''", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:40:59 +0000 (0:00:00.062) 0:00:57.910 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date\n[009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='\nDetermining IP information for nm-bond... done.\n', err=''\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': ifcfg-rh profile 'bond0.0' already up to date", "[009] #2, state:up persistent_state:present, 'bond0.1': ifcfg-rh profile 'bond0.1' already up to date", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='", "Determining IP information for nm-bond... done.", "', err=''", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='', err=''", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:40:59 +0000 (0:00:00.060) 0:00:57.971 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:40:59 +0000 (0:00:00.052) 0:00:58.023 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:41:00 +0000 (0:00:00.346) 0:00:58.370 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:41:00 +0000 (0:00:00.092) 0:00:58.462 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:41:00 +0000 (0:00:00.420) 0:00:58.883 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:41:01 +0000 (0:00:00.931) 0:00:59.814 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:41:02 +0000 (0:00:00.850) 0:01:00.665 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:41:02 +0000 (0:00:00.060) 0:01:00.725 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:41:02 +0000 (0:00:00.048) 0:01:00.773 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:41:02 +0000 (0:00:00.078) 0:01:00.852 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:41:02 +0000 (0:00:00.072) 0:01:00.925 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:41:02 +0000 (0:00:00.049) 0:01:00.974 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:41:02 +0000 (0:00:00.046) 0:01:01.020 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:41:03 +0000 (0:00:00.052) 0:01:01.073 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:41:03 +0000 (0:00:00.047) 0:01:01.121 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:41:03 +0000 (0:00:00.047) 0:01:01.168 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:41:03 +0000 (0:00:00.446) 0:01:01.614 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2241391eezf56s/tmpl1fq17wg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:41:03 +0000 (0:00:00.347) 0:01:01.962 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active) [006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err='' [007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active) [008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err='' [009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0' [010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:41:04 +0000 (0:00:00.675) 0:01:02.638 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:41:04 +0000 (0:00:00.046) 0:01:02.685 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''", "[009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:41:04 +0000 (0:00:00.059) 0:01:02.745 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''\n[007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''\n[009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n", "stderr_lines": [ "[005] #0, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[006] #0, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''", "[007] #1, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #1, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''", "[009] #0, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[010] #1, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:41:04 +0000 (0:00:00.087) 0:01:02.832 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:41:04 +0000 (0:00:00.076) 0:01:02.909 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [Get the controller profile "bond0" from the active connection] *********** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:185 Wednesday 03 August 2022 17:41:05 +0000 (0:00:00.355) 0:01:03.265 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the controller profile is activated] ************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:192 Wednesday 03 August 2022 17:41:05 +0000 (0:00:00.045) 0:01:03.310 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the controller device details] *************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:199 Wednesday 03 August 2022 17:41:05 +0000 (0:00:00.045) 0:01:03.355 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": [ "ip", "-d", "a", "s", "nm-bond" ], "delta": "0:00:00.004333", "end": "2022-08-03 17:41:05.348604", "rc": 0, "start": "2022-08-03 17:41:05.344271" } STDOUT: 57: nm-bond: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 7a:ff:80:f4:f4:72 brd ff:ff:ff:ff:ff:ff promiscuity 0 bond mode active-backup miimon 110 updelay 0 downdelay 0 use_carrier 1 arp_interval 0 arp_validate none arp_all_targets any primary_reselect always fail_over_mac none xmit_hash_policy layer2 resend_igmp 1 num_grat_arp 1 all_slaves_active 0 min_links 0 lp_interval 1 packets_per_slave 1 lacp_rate slow ad_select stable tlb_dynamic_lb 1 numtxqueues 16 numrxqueues 16 gso_max_size 65536 gso_max_segs 65535 inet 192.0.2.7/24 brd 192.0.2.255 scope global dynamic nm-bond valid_lft 234sec preferred_lft 234sec inet6 2001:db8::a492:94ff:fe6b:6f1/64 scope global mngtmpaddr dynamic valid_lft 1797sec preferred_lft 1797sec inet6 fe80::a492:94ff:fe6b:6f1/64 scope link valid_lft forever preferred_lft forever TASK [Assert that the controller profile is activated] ************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:206 Wednesday 03 August 2022 17:41:05 +0000 (0:00:00.341) 0:01:03.697 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:41:05 +0000 (0:00:00.062) 0:01:03.759 ****** included: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/centos-7.qcow2c.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:41:05 +0000 (0:00:00.072) 0:01:03.832 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:41:06 +0000 (0:00:00.442) 0:01:04.274 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:41:07 +0000 (0:00:00.980) 0:01:05.255 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.870) 0:01:06.126 ****** ok: [/cache/centos-7.qcow2c.snap] => {} MSG: Using network provider: initscripts 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/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.060) 0:01:06.187 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.053) 0:01:06.240 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.048) 0:01:06.288 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.072) 0:01:06.361 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.050) 0:01:06.411 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.048) 0:01:06.460 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.053) 0:01:06.514 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.048) 0:01:06.562 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:41:08 +0000 (0:00:00.044) 0:01:06.607 ****** ok: [/cache/centos-7.qcow2c.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:41:09 +0000 (0:00:00.480) 0:01:07.088 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-2241391eezf56s/tmplu12mctb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:41:09 +0000 (0:00:00.338) 0:01:07.427 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active) [004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err='' [005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:41:09 +0000 (0:00:00.603) 0:01:08.030 ****** skipping: [/cache/centos-7.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:41:10 +0000 (0:00:00.048) 0:01:08.079 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:41:10 +0000 (0:00:00.058) 0:01:08.138 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)\n[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''\n[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[004] #0, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[005] #0, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:41:10 +0000 (0:00:00.058) 0:01:08.196 ****** skipping: [/cache/centos-7.qcow2c.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:41:10 +0000 (0:00:00.052) 0:01:08.249 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/centos-7.qcow2c.snap TASK [command] ***************************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:224 Wednesday 03 August 2022 17:41:10 +0000 (0:00:00.345) 0:01:08.595 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.023574", "end": "2022-08-03 17:41:10.600101", "rc": 0, "start": "2022-08-03 17:41:10.576527" } TASK [Remove test interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:41:10 +0000 (0:00:00.359) 0:01:08.954 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.062326", "end": "2022-08-03 17:41:10.997103", "rc": 0, "start": "2022-08-03 17:41:10.934777" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Wednesday 03 August 2022 17:41:11 +0000 (0:00:00.425) 0:01:09.379 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.029309", "end": "2022-08-03 17:41:11.396293", "rc": 0, "start": "2022-08-03 17:41:11.366984" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:227 Wednesday 03 August 2022 17:41:11 +0000 (0:00:00.373) 0:01:09.753 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "mv", "-vf", "/etc/resolv.conf.bak", "/etc/resolv.conf" ], "delta": "0:00:00.005682", "end": "2022-08-03 17:41:11.752344", "rc": 0, "start": "2022-08-03 17:41:11.746662" } STDOUT: ‘/etc/resolv.conf.bak’ -> ‘/etc/resolv.conf’ META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=123 changed=16 unreachable=0 failed=0 skipped=63 rescued=0 ignored=3 Wednesday 03 August 2022 17:41:12 +0000 (0:00:00.379) 0:01:10.133 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles -- 29.00s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Create test interfaces -------------------------------------------------- 1.51s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.44s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable network service -------------- 1.18s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 1.18s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmppolohs8h/tests/network/tests_bond_removal_initscripts.yml:4 ----------- fedora.linux_system_roles.network : Check which services are running ---- 0.98s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Enable network service -------------- 0.98s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which services are running ---- 0.96s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.88s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.80s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:3 ------------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.73s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Install dnsmasq --------------------------------------------------------- 0.72s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmppolohs8h/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmppolohs8h/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:41:12 +0000 (0:00:00.037) 0:01:10.171 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006620", "end": "2022-08-03 17:41:12.147157", "rc": 0, "start": "2022-08-03 17:41:12.140537" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=124 changed=17 unreachable=0 failed=0 skipped=63 rescued=0 ignored=3 Wednesday 03 August 2022 17:41:12 +0000 (0:00:00.340) 0:01:10.512 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles -- 29.00s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Create test interfaces -------------------------------------------------- 1.51s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.44s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable network service -------------- 1.18s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 1.18s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running ---- 1.07s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmppolohs8h/tests/network/tests_bond_removal_initscripts.yml:4 ----------- fedora.linux_system_roles.network : Check which services are running ---- 0.98s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Enable network service -------------- 0.98s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which services are running ---- 0.96s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 0.88s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.87s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.85s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.80s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_removal.yml:3 ------------- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.73s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Install dnsmasq --------------------------------------------------------- 0.72s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3