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:12:09 +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": 1659546727.8954897, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546727.8954897, "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": "18446744073084987911", "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:12:09 +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': '18446744073084987911', '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': 1659546727.8954897, 'isdir': False, 'ctime': 1659546727.8954897, '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": 1659546727.8954897, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659546727.8954897, "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": "18446744073084987911", "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:12:09 +0000 (0:00:00.033) 0:00:00.556 ****** 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.004677", "end": "2022-08-03 17:12:09.545689", "rc": 0, "start": "2022-08-03 17:12:09.541012" } 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:12:10 +0000 (0:00:00.414) 0:00:00.971 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.41s /tmp/tmplbj_o459/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /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_deprecated_initscripts.yml ******************************** 2 plays in /tmp/tmplbj_o459/tests/tests_bond_deprecated_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmplbj_o459/tests/tests_bond_deprecated_initscripts.yml:4 Wednesday 03 August 2022 17:12:10 +0000 (0:00:00.049) 0:00:01.020 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/tests_bond_deprecated_initscripts.yml:7 Wednesday 03 August 2022 17:12:11 +0000 (0:00:00.960) 0:00:01.981 ****** 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:12:11 +0000 (0:00:00.025) 0:00:02.006 ****** 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:12:11 +0000 (0:00:00.020) 0:00:02.027 ****** 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:12:11 +0000 (0:00:00.027) 0:00:02.055 ****** 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:12:11 +0000 (0:00:00.302) 0:00:02.357 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.173114", "end": "2022-08-03 17:12:11.425087", "rc": 0, "start": "2022-08-03 17:12:11.251973" } 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:12:11 +0000 (0:00:00.493) 0:00:02.851 ****** 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:12:11 +0000 (0:00:00.023) 0:00:02.875 ****** 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_deprecated_initscripts.yml:8 Wednesday 03 August 2022 17:12:11 +0000 (0:00:00.023) 0:00:02.898 ****** 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_deprecated.yml:3 Wednesday 03 August 2022 17:12:12 +0000 (0:00:00.054) 0:00:02.953 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_deprecated.yml:12 Wednesday 03 August 2022 17:12:12 +0000 (0:00:00.726) 0:00:03.679 ****** 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:12:12 +0000 (0:00:00.046) 0:00:03.725 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "dnsmasq" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.umd.edu\n * epel: dl.fedoraproject.org\n * extras: mirror.math.princeton.edu\n * updates: mirror.cs.uwp.edu\nResolving Dependencies\n--> Running transaction check\n---> Package dnsmasq.x86_64 0:2.76-17.el7_9.3 will be installed\n--> Processing Dependency: libnettle.so.4()(64bit) for package: dnsmasq-2.76-17.el7_9.3.x86_64\n--> Running transaction check\n---> Package nettle.x86_64 0:2.7.1-9.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n dnsmasq x86_64 2.76-17.el7_9.3 updates 281 k\nInstalling for dependencies:\n nettle x86_64 2.7.1-9.el7_9 updates 328 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 608 k\nInstalled size: 1.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 112 kB/s | 608 kB 00:05 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : nettle-2.7.1-9.el7_9.x86_64 1/2 \n Installing : dnsmasq-2.76-17.el7_9.3.x86_64 2/2 \n Verifying : dnsmasq-2.76-17.el7_9.3.x86_64 1/2 \n Verifying : nettle-2.7.1-9.el7_9.x86_64 2/2 \n\nInstalled:\n dnsmasq.x86_64 0:2.76-17.el7_9.3 \n\nDependency Installed:\n nettle.x86_64 0:2.7.1-9.el7_9 \n\nComplete!\n" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 17:12:20 +0000 (0:00:08.126) 0:00:11.852 ****** 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:12:20 +0000 (0:00:00.044) 0:00:11.897 ****** 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:12:21 +0000 (0:00:00.550) 0:00:12.447 ****** 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.211703", "end": "2022-08-03 17:12:22.570811", "rc": 0, "start": "2022-08-03 17:12:21.359108" } TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:12:23 +0000 (0:00:01.554) 0:00:14.002 ****** 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:12:23 +0000 (0:00:00.046) 0:00:14.048 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546741.3734899, "block_size": 4096, "blocks": 0, "ctime": 1659546741.3734899, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14784, "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": 1659546741.3734899, "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:12:23 +0000 (0:00:00.331) 0:00:14.379 ****** 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:12:23 +0000 (0:00:00.078) 0:00:14.458 ****** 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:12:23 +0000 (0:00:00.045) 0:00:14.504 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546741.3794897, "block_size": 4096, "blocks": 0, "ctime": 1659546741.3784897, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14950, "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": 1659546741.3784897, "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:12:23 +0000 (0:00:00.326) 0:00:14.830 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_deprecated.yml:23 Wednesday 03 August 2022 17:12:23 +0000 (0:00:00.046) 0:00:14.876 ****** 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:12:23 +0000 (0:00:00.043) 0:00:14.920 ****** 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:12:24 +0000 (0:00:00.046) 0:00:14.966 ****** 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:12:24 +0000 (0:00:00.446) 0:00:15.413 ****** 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:12:25 +0000 (0:00:01.081) 0:00:16.495 ****** 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:12:26 +0000 (0:00:01.134) 0:00:17.630 ****** 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:12:26 +0000 (0:00:00.058) 0:00:17.688 ****** 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:12:26 +0000 (0:00:00.047) 0:00:17.735 ****** 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:12:26 +0000 (0:00:00.046) 0:00:17.782 ****** 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:12:26 +0000 (0:00:00.074) 0:00:17.856 ****** 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:12:26 +0000 (0:00:00.060) 0:00:17.917 ****** 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:12:27 +0000 (0:00:00.056) 0:00:17.974 ****** 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:12:27 +0000 (0:00:00.054) 0:00:18.029 ****** 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:12:27 +0000 (0:00:00.045) 0:00:18.075 ****** 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:12:27 +0000 (0:00:00.043) 0:00:18.118 ****** 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:12:27 +0000 (0:00:00.714) 0:00:18.832 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17634637wuke6a/tmpwsujuw1e" } 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:12:28 +0000 (0:00:00.346) 0:00:19.178 ****** 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": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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 deprecated-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:12:33 +0000 (0:00:05.763) 0:00:24.942 ****** 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:12:34 +0000 (0:00:00.048) 0:00:24.990 ****** 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 deprecated-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:12:34 +0000 (0:00:00.059) 0:00:25.049 ****** 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": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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 deprecated-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 deprecated-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:12:34 +0000 (0:00:00.057) 0:00:25.107 ****** 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:12:34 +0000 (0:00:00.044) 0:00:25.151 ****** 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:12:34 +0000 (0:00:00.489) 0:00:25.641 ****** included: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:12:34 +0000 (0:00:00.065) 0:00:25.706 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546748.4284897, "block_size": 4096, "blocks": 0, "ctime": 1659546748.4244897, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 15788, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/deprecated-bond", "lnk_target": "../../devices/virtual/net/deprecated-bond", "mode": "0777", "mtime": 1659546748.4244897, "nlink": 1, "path": "/sys/class/net/deprecated-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface deprecated-bond is present] ************************ task path: /tmp/tmplbj_o459/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:12:35 +0000 (0:00:00.336) 0:00:26.043 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_deprecated.yml:54 Wednesday 03 August 2022 17:12:35 +0000 (0:00:00.055) 0:00:26.099 ****** 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:12:35 +0000 (0:00:00.082) 0:00:26.182 ****** 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:12:35 +0000 (0:00:00.066) 0:00:26.248 ****** 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:12:35 +0000 (0:00:00.053) 0:00:26.301 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546748.3534896, "block_size": 4096, "blocks": 8, "ctime": 1659546748.3524897, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8327, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546748.3524897, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 195, "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:12:35 +0000 (0:00:00.331) 0:00:26.633 ****** 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:12:35 +0000 (0:00:00.060) 0:00:26.694 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.026300", "end": "2022-08-03 17:12:35.618217", "rc": 1, "start": "2022-08-03 17:12:35.591917" } 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:12:36 +0000 (0:00:00.361) 0:00:27.056 ****** 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:12:36 +0000 (0:00:00.104) 0:00:27.161 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:00.004370", "end": "2022-08-03 17:12:36.062726", "rc": 0, "start": "2022-08-03 17:12:36.058356" } 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:12:36 +0000 (0:00:00.340) 0:00:27.501 ****** 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:12:36 +0000 (0:00:00.057) 0:00:27.559 ****** 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:12:36 +0000 (0:00:00.087) 0:00:27.646 ****** 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:12:36 +0000 (0:00:00.066) 0:00:27.712 ****** 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:12:36 +0000 (0:00:00.067) 0:00:27.779 ****** 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:12:36 +0000 (0:00:00.057) 0:00:27.836 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546748.4264898, "block_size": 4096, "blocks": 8, "ctime": 1659546748.3534896, "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": 1659546748.3534896, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 111, "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:12:37 +0000 (0:00:00.340) 0:00:28.177 ****** 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:12:37 +0000 (0:00:00.056) 0:00:28.234 ****** 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.025261", "end": "2022-08-03 17:12:37.158964", "rc": 1, "start": "2022-08-03 17:12:37.133703" } 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:12:37 +0000 (0:00:00.358) 0:00:28.592 ****** 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:12:37 +0000 (0:00:00.044) 0:00:28.636 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:01.005252", "end": "2022-08-03 17:12:38.537586", "rc": 0, "start": "2022-08-03 17:12:37.532334" } 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:12:39 +0000 (0:00:01.337) 0:00:29.974 ****** 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:12:39 +0000 (0:00:00.062) 0:00:30.036 ****** 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:12:39 +0000 (0:00:00.057) 0:00:30.093 ****** 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:12:39 +0000 (0:00:00.054) 0:00:30.148 ****** 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:12:39 +0000 (0:00:00.069) 0:00:30.218 ****** 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:12:39 +0000 (0:00:00.057) 0:00:30.275 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659546748.4264898, "block_size": 4096, "blocks": 8, "ctime": 1659546748.3534896, "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": 1659546748.3534896, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 111, "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:12:39 +0000 (0:00:00.330) 0:00:30.606 ****** 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:12:39 +0000 (0:00:00.057) 0:00:30.663 ****** 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.027501", "end": "2022-08-03 17:12:39.583657", "rc": 1, "start": "2022-08-03 17:12:39.556156" } 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:12:40 +0000 (0:00:00.355) 0:00:31.018 ****** 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:12:40 +0000 (0:00:00.047) 0:00:31.065 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.1" ], "delta": "0:00:01.005203", "end": "2022-08-03 17:12:41.008894", "rc": 0, "start": "2022-08-03 17:12:40.003691" } 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:12:41 +0000 (0:00:01.382) 0:00:32.448 ****** 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:12:41 +0000 (0:00:00.061) 0:00:32.510 ****** 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:12:41 +0000 (0:00:00.067) 0:00:32.577 ****** 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_deprecated.yml:61 Wednesday 03 August 2022 17:12:41 +0000 (0:00:00.060) 0:00:32.638 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.004507", "end": "2022-08-03 17:12:41.544595", "rc": 0, "start": "2022-08-03 17:12:41.540088" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_deprecated.yml:66 Wednesday 03 August 2022 17:12:42 +0000 (0:00:00.348) 0:00:32.986 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004551", "end": "2022-08-03 17:12:41.891774", "rc": 0, "start": "2022-08-03 17:12:41.887223" } STDOUT: 27: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.135/24 brd 192.0.2.255 scope global dynamic deprecated-bond valid_lft 232sec preferred_lft 232sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tests_bond_deprecated.yml:72 Wednesday 03 August 2022 17:12:42 +0000 (0:00:00.342) 0:00:33.329 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.003915", "end": "2022-08-03 17:12:42.230097", "rc": 0, "start": "2022-08-03 17:12:42.226182" } STDOUT: 27: deprecated-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::ec8d:baff:feb1:e2f8/64 scope global mngtmpaddr dynamic valid_lft 1799sec preferred_lft 1799sec inet6 fe80::ec8d:baff:feb1:e2f8/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:12:42 +0000 (0:00:00.337) 0:00:33.666 ****** 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:12:42 +0000 (0:00:00.099) 0:00:33.766 ****** 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:12:43 +0000 (0:00:00.437) 0:00:34.204 ****** 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:12:44 +0000 (0:00:00.961) 0:00:35.166 ****** 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:12:45 +0000 (0:00:00.909) 0:00:36.075 ****** 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:12:45 +0000 (0:00:00.053) 0:00:36.129 ****** 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:12:45 +0000 (0:00:00.048) 0:00:36.177 ****** 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:12:45 +0000 (0:00:00.092) 0:00:36.269 ****** 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:12:45 +0000 (0:00:00.071) 0:00:36.340 ****** 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:12:45 +0000 (0:00:00.047) 0:00:36.388 ****** 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:12:45 +0000 (0:00:00.049) 0:00:36.437 ****** 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:12:45 +0000 (0:00:00.051) 0:00:36.489 ****** 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:12:45 +0000 (0:00:00.047) 0:00:36.537 ****** 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:12:45 +0000 (0:00:00.047) 0:00:36.585 ****** 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:12:46 +0000 (0:00:00.440) 0:00:37.025 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17634637wuke6a/tmpym0lq8sb" } 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:12:46 +0000 (0:00:00.343) 0:00:37.369 ****** 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.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active) [008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err='' [009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active) [010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err='' [011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active) [012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err='' [013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1' [014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0' [015] #2, 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:12:47 +0000 (0:00:01.017) 0:00:38.386 ****** 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:12:47 +0000 (0:00:00.048) 0:00:38.435 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''", "[011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[015] #2, 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:12:47 +0000 (0:00:00.084) 0:00:38.519 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''\n[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''\n[011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active)\n[012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''\n[013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n[014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[015] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''", "[011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[015] #2, 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:12:47 +0000 (0:00:00.054) 0:00:38.574 ****** 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:12:47 +0000 (0:00:00.044) 0:00:38.618 ****** 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_deprecated.yml:95 Wednesday 03 August 2022 17:12:48 +0000 (0:00:00.349) 0:00:38.967 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.015760", "end": "2022-08-03 17:12:47.882789", "rc": 0, "start": "2022-08-03 17:12:47.867029" } TASK [Remove test interfaces] ************************************************** task path: /tmp/tmplbj_o459/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:12:48 +0000 (0:00:00.351) 0:00:39.318 ****** 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.053551", "end": "2022-08-03 17:12:48.269671", "rc": 0, "start": "2022-08-03 17:12:48.216120" } 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:12:48 +0000 (0:00:00.385) 0:00:39.704 ****** 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.024800", "end": "2022-08-03 17:12:48.636311", "rc": 0, "start": "2022-08-03 17:12:48.611511" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=82 changed=12 unreachable=0 failed=0 skipped=27 rescued=0 ignored=3 Wednesday 03 August 2022 17:12:49 +0000 (0:00:00.385) 0:00:40.090 ****** =============================================================================== Install dnsmasq --------------------------------------------------------- 8.13s /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Configure networking connection profiles --- 5.76s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create test interfaces -------------------------------------------------- 1.55s /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Get the ansible_managed comment in ifcfg-bond0.1 ------------------------ 1.38s /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 ---------------- Get the ansible_managed comment in ifcfg-bond0.0 ------------------------ 1.34s /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 ---------------- linux-system-roles.network : Check which packages are installed --------- 1.13s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.08s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.02s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 0.96s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmplbj_o459/tests/tests_bond_deprecated_initscripts.yml:4 ---------------- linux-system-roles.network : Check which packages are installed --------- 0.91s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmplbj_o459/tests/playbooks/tests_bond_deprecated.yml:3 ------------------ linux-system-roles.network : Enable network service --------------------- 0.71s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Install pgrep, sysctl --------------------------------------------------- 0.55s /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.49s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.45s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Enable network service --------------------- 0.44s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.44s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - 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:12:49 +0000 (0:00:00.037) 0:00:40.127 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007126", "end": "2022-08-03 17:12:49.015330", "rc": 0, "start": "2022-08-03 17:12:49.008204" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=83 changed=13 unreachable=0 failed=0 skipped=27 rescued=0 ignored=3 Wednesday 03 August 2022 17:12:49 +0000 (0:00:00.369) 0:00:40.497 ****** =============================================================================== Install dnsmasq --------------------------------------------------------- 8.13s /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 - linux-system-roles.network : Configure networking connection profiles --- 5.76s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Create test interfaces -------------------------------------------------- 1.55s /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Get the ansible_managed comment in ifcfg-bond0.1 ------------------------ 1.38s /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 ---------------- Get the ansible_managed comment in ifcfg-bond0.0 ------------------------ 1.34s /tmp/tmplbj_o459/tests/playbooks/tasks/get_profile_stat.yml:43 ---------------- linux-system-roles.network : Check which packages are installed --------- 1.13s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which services are running ----------- 1.08s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 1.02s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 0.96s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 0.96s /tmp/tmplbj_o459/tests/tests_bond_deprecated_initscripts.yml:4 ---------------- linux-system-roles.network : Check which packages are installed --------- 0.91s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.73s /tmp/tmplbj_o459/tests/playbooks/tests_bond_deprecated.yml:3 ------------------ linux-system-roles.network : Enable network service --------------------- 0.71s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Install pgrep, sysctl --------------------------------------------------- 0.55s /tmp/tmplbj_o459/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Get stats of system files ----------------------------------------------- 0.51s /tmp/tmplbj_o459/tests/_backup.yml:6 ------------------------------------------ Enable EPEL 7 ----------------------------------------------------------- 0.49s /tmp/tmplbj_o459/tests/tasks/enable_epel.yml:11 ------------------------------- linux-system-roles.network : Re-test connectivity ----------------------- 0.49s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.45s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - linux-system-roles.network : Enable network service --------------------- 0.44s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.44s /tmp/tmplbj_o459/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/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:37:22 +0000 (0:00:00.019) 0:00:00.019 ****** 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": 1659548241.5193064, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548241.5193064, "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": "18446744073084987911", "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:37:23 +0000 (0:00:00.519) 0:00:00.538 ****** [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': '18446744073084987911', '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': 1659548241.5193064, 'isdir': False, 'ctime': 1659548241.5193064, '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": 1659548241.5193064, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58d0b40c7f3b3443c40de4c19aee35ddf579fd17", "ctime": 1659548241.5193064, "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": "18446744073084987911", "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:37:23 +0000 (0:00:00.036) 0:00:00.575 ****** 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.004613", "end": "2022-08-03 17:37:23.169834", "rc": 0, "start": "2022-08-03 17:37:23.165221" } 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:37:23 +0000 (0:00:00.429) 0:00:01.005 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.52s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.43s /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_deprecated_initscripts.yml ******************************** 2 plays in /tmp/tmppolohs8h/tests/network/tests_bond_deprecated_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppolohs8h/tests/network/tests_bond_deprecated_initscripts.yml:4 Wednesday 03 August 2022 17:37:23 +0000 (0:00:00.060) 0:00:01.065 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/tests_bond_deprecated_initscripts.yml:7 Wednesday 03 August 2022 17:37:25 +0000 (0:00:01.971) 0:00:03.037 ****** 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:37:25 +0000 (0:00:00.026) 0:00:03.063 ****** 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:37:25 +0000 (0:00:00.022) 0:00:03.086 ****** 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:37:25 +0000 (0:00:00.029) 0:00:03.115 ****** 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:37:25 +0000 (0:00:00.310) 0:00:03.426 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.173443", "end": "2022-08-03 17:37:26.074703", "rc": 0, "start": "2022-08-03 17:37:25.901260" } 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:37:26 +0000 (0:00:00.481) 0:00:03.908 ****** 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:37:26 +0000 (0:00:00.022) 0:00:03.931 ****** 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_deprecated_initscripts.yml:8 Wednesday 03 August 2022 17:37:26 +0000 (0:00:00.021) 0:00:03.952 ****** 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_deprecated.yml:3 Wednesday 03 August 2022 17:37:26 +0000 (0:00:00.049) 0:00:04.002 ****** ok: [/cache/centos-7.qcow2c.snap] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_deprecated.yml:12 Wednesday 03 August 2022 17:37:27 +0000 (0:00:00.724) 0:00:04.727 ****** 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:37:27 +0000 (0:00:00.042) 0:00:04.770 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "changes": { "installed": [ "dnsmasq" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.umd.edu\n * epel: dl.fedoraproject.org\n * extras: mirror.math.princeton.edu\n * updates: mirror.cs.uwp.edu\nResolving Dependencies\n--> Running transaction check\n---> Package dnsmasq.x86_64 0:2.76-17.el7_9.3 will be installed\n--> Processing Dependency: libnettle.so.4()(64bit) for package: dnsmasq-2.76-17.el7_9.3.x86_64\n--> Running transaction check\n---> Package nettle.x86_64 0:2.7.1-9.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n dnsmasq x86_64 2.76-17.el7_9.3 updates 281 k\nInstalling for dependencies:\n nettle x86_64 2.7.1-9.el7_9 updates 328 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 608 k\nInstalled size: 1.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.8 MB/s | 608 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : nettle-2.7.1-9.el7_9.x86_64 1/2 \n Installing : dnsmasq-2.76-17.el7_9.3.x86_64 2/2 \n Verifying : dnsmasq-2.76-17.el7_9.3.x86_64 1/2 \n Verifying : nettle-2.7.1-9.el7_9.x86_64 2/2 \n\nInstalled:\n dnsmasq.x86_64 0:2.76-17.el7_9.3 \n\nDependency Installed:\n nettle.x86_64 0:2.7.1-9.el7_9 \n\nComplete!\n" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Wednesday 03 August 2022 17:37:29 +0000 (0:00:02.689) 0:00:07.459 ****** 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:37:29 +0000 (0:00:00.042) 0:00:07.502 ****** 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:37:30 +0000 (0:00:00.532) 0:00:08.034 ****** 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.188605", "end": "2022-08-03 17:37:31.712103", "rc": 0, "start": "2022-08-03 17:37:30.523498" } TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:37:32 +0000 (0:00:01.520) 0:00:09.555 ****** 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:37:32 +0000 (0:00:00.047) 0:00:09.602 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548250.5393066, "block_size": 4096, "blocks": 0, "ctime": 1659548250.5393066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14784, "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": 1659548250.5393066, "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:37:32 +0000 (0:00:00.326) 0:00:09.929 ****** 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:37:32 +0000 (0:00:00.046) 0:00:09.975 ****** 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:37:32 +0000 (0:00:00.044) 0:00:10.020 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548250.5423064, "block_size": 4096, "blocks": 0, "ctime": 1659548250.5423064, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 14950, "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": 1659548250.5423064, "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:37:32 +0000 (0:00:00.318) 0:00:10.338 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_deprecated.yml:23 Wednesday 03 August 2022 17:37:32 +0000 (0:00:00.047) 0:00:10.385 ****** 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:37:32 +0000 (0:00:00.080) 0:00:10.466 ****** 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:37:32 +0000 (0:00:00.047) 0:00:10.513 ****** 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:37:33 +0000 (0:00:00.432) 0:00:10.946 ****** 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:37:34 +0000 (0:00:01.100) 0:00:12.046 ****** 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:37:35 +0000 (0:00:01.146) 0:00:13.193 ****** 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:37:35 +0000 (0:00:00.059) 0:00:13.252 ****** 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:37:35 +0000 (0:00:00.049) 0:00:13.301 ****** 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:37:35 +0000 (0:00:00.052) 0:00:13.354 ****** 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:37:35 +0000 (0:00:00.073) 0:00:13.428 ****** 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:37:35 +0000 (0:00:00.048) 0:00:13.476 ****** 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:37:35 +0000 (0:00:00.049) 0:00:13.525 ****** 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:37:36 +0000 (0:00:00.054) 0:00:13.580 ****** 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:37:36 +0000 (0:00:00.050) 0:00:13.630 ****** 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:37:36 +0000 (0:00:00.047) 0:00:13.677 ****** 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:37:36 +0000 (0:00:00.688) 0:00:14.366 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-219776ycs64ozy/tmpgl7dmigm" } 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:37:37 +0000 (0:00:00.361) 0:00:14.727 ****** 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": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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 deprecated-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:37:43 +0000 (0:00:06.453) 0:00:21.181 ****** 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:37:43 +0000 (0:00:00.046) 0:00:21.227 ****** 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 deprecated-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:37:43 +0000 (0:00:00.056) 0:00:21.284 ****** 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": "deprecated-bond", "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "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 deprecated-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 deprecated-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:37:43 +0000 (0:00:00.054) 0:00:21.338 ****** 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:37:43 +0000 (0:00:00.047) 0:00:21.386 ****** 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:37:44 +0000 (0:00:00.466) 0:00:21.853 ****** included: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/centos-7.qcow2c.snap TASK [Get stat for interface deprecated-bond] ********************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:37:44 +0000 (0:00:00.098) 0:00:21.951 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548257.6143064, "block_size": 4096, "blocks": 0, "ctime": 1659548257.6083066, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 15788, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/deprecated-bond", "lnk_target": "../../devices/virtual/net/deprecated-bond", "mode": "0777", "mtime": 1659548257.6083066, "nlink": 1, "path": "/sys/class/net/deprecated-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface deprecated-bond is present] ************************ task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:37:44 +0000 (0:00:00.333) 0:00:22.285 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_deprecated.yml:54 Wednesday 03 August 2022 17:37:44 +0000 (0:00:00.056) 0:00:22.342 ****** 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:37:44 +0000 (0:00:00.083) 0:00:22.425 ****** 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:37:44 +0000 (0:00:00.065) 0:00:22.491 ****** 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:37:45 +0000 (0:00:00.054) 0:00:22.545 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548257.5323064, "block_size": 4096, "blocks": 8, "ctime": 1659548257.5313065, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8327, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659548257.5313065, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 195, "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:37:45 +0000 (0:00:00.330) 0:00:22.876 ****** 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:37:45 +0000 (0:00:00.056) 0:00:22.932 ****** fatal: [/cache/centos-7.qcow2c.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.026676", "end": "2022-08-03 17:37:45.447635", "rc": 1, "start": "2022-08-03 17:37:45.420959" } 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:37:45 +0000 (0:00:00.365) 0:00:23.298 ****** 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:37:45 +0000 (0:00:00.049) 0:00:23.347 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:00.003919", "end": "2022-08-03 17:37:45.843772", "rc": 0, "start": "2022-08-03 17:37:45.839853" } 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:37:46 +0000 (0:00:00.342) 0:00:23.690 ****** 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:37:46 +0000 (0:00:00.097) 0:00:23.787 ****** 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:37:46 +0000 (0:00:00.060) 0:00:23.848 ****** 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:37:46 +0000 (0:00:00.054) 0:00:23.903 ****** 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:37:46 +0000 (0:00:00.065) 0:00:23.969 ****** 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:37:46 +0000 (0:00:00.054) 0:00:24.024 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548257.6113064, "block_size": 4096, "blocks": 8, "ctime": 1659548257.5323064, "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": 1659548257.5323064, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 111, "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:37:46 +0000 (0:00:00.338) 0:00:24.362 ****** 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:37:46 +0000 (0:00:00.056) 0:00:24.419 ****** 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.026921", "end": "2022-08-03 17:37:46.952722", "rc": 1, "start": "2022-08-03 17:37:46.925801" } 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:37:47 +0000 (0:00:00.377) 0:00:24.797 ****** 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:37:47 +0000 (0:00:00.056) 0:00:24.853 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:00.005444", "end": "2022-08-03 17:37:47.382387", "rc": 0, "start": "2022-08-03 17:37:47.376943" } 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:37:47 +0000 (0:00:00.379) 0:00:25.232 ****** 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:37:47 +0000 (0:00:00.061) 0:00:25.294 ****** 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:37:47 +0000 (0:00:00.064) 0:00:25.358 ****** 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:37:47 +0000 (0:00:00.109) 0:00:25.468 ****** 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:37:48 +0000 (0:00:00.135) 0:00:25.603 ****** 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:37:48 +0000 (0:00:00.055) 0:00:25.659 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "stat": { "atime": 1659548257.6113064, "block_size": 4096, "blocks": 8, "ctime": 1659548257.5323064, "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": 1659548257.5323064, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 111, "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:37:48 +0000 (0:00:00.340) 0:00:25.999 ****** 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:37:48 +0000 (0:00:00.056) 0:00:26.055 ****** 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.028706", "end": "2022-08-03 17:37:48.570439", "rc": 1, "start": "2022-08-03 17:37:48.541733" } 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:37:48 +0000 (0:00:00.357) 0:00:26.413 ****** 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:37:48 +0000 (0:00:00.047) 0:00:26.461 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.1" ], "delta": "0:00:00.003873", "end": "2022-08-03 17:37:48.953243", "rc": 0, "start": "2022-08-03 17:37:48.949370" } 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:37:49 +0000 (0:00:00.339) 0:00:26.801 ****** 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:37:49 +0000 (0:00:00.072) 0:00:26.873 ****** 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:37:49 +0000 (0:00:00.062) 0:00:26.935 ****** 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_deprecated.yml:61 Wednesday 03 August 2022 17:37:49 +0000 (0:00:00.060) 0:00:26.996 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.004603", "end": "2022-08-03 17:37:49.495050", "rc": 0, "start": "2022-08-03 17:37:49.490447" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_deprecated.yml:65 Wednesday 03 August 2022 17:37:49 +0000 (0:00:00.346) 0:00:27.343 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.003936", "end": "2022-08-03 17:37:49.881271", "rc": 0, "start": "2022-08-03 17:37:49.877335" } STDOUT: 27: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.77/24 brd 192.0.2.255 scope global dynamic deprecated-bond valid_lft 234sec preferred_lft 234sec TASK [** TEST check IPv6] ****************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_deprecated.yml:71 Wednesday 03 August 2022 17:37:50 +0000 (0:00:00.380) 0:00:27.724 ****** changed: [/cache/centos-7.qcow2c.snap] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004875", "end": "2022-08-03 17:37:50.218523", "rc": 0, "start": "2022-08-03 17:37:50.213648" } STDOUT: 27: deprecated-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::f44d:a4ff:fe13:573d/64 scope global mngtmpaddr dynamic valid_lft 1800sec preferred_lft 1800sec inet6 fe80::f44d:a4ff:fe13:573d/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:37:50 +0000 (0:00:00.338) 0:00:28.062 ****** 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:37:50 +0000 (0:00:00.070) 0:00:28.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 [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:37:51 +0000 (0:00:00.434) 0:00:28.568 ****** 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:37:51 +0000 (0:00:00.961) 0:00:29.529 ****** 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:37:52 +0000 (0:00:00.929) 0:00:30.459 ****** 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:37:52 +0000 (0:00:00.056) 0:00:30.516 ****** 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:37:53 +0000 (0:00:00.049) 0:00:30.565 ****** 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:37:53 +0000 (0:00:00.047) 0:00:30.613 ****** 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:37:53 +0000 (0:00:00.072) 0:00:30.686 ****** 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:37:53 +0000 (0:00:00.047) 0:00:30.733 ****** 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:37:53 +0000 (0:00:00.050) 0:00:30.783 ****** 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:37:53 +0000 (0:00:00.056) 0:00:30.840 ****** 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:37:53 +0000 (0:00:00.054) 0:00:30.894 ****** 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:37:53 +0000 (0:00:00.045) 0:00:30.939 ****** 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:37:53 +0000 (0:00:00.450) 0:00:31.390 ****** ok: [/cache/centos-7.qcow2c.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-219776ycs64ozy/tmpqx2d1cj2" } 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:37:54 +0000 (0:00:00.348) 0:00:31.738 ****** changed: [/cache/centos-7.qcow2c.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active) [008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err='' [009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active) [010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err='' [011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active) [012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err='' [013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1' [014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0' [015] #2, 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:37:55 +0000 (0:00:01.078) 0:00:32.817 ****** 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:37:55 +0000 (0:00:00.049) 0:00:32.866 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''", "[011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[015] #2, 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:37:55 +0000 (0:00:00.055) 0:00:32.922 ****** ok: [/cache/centos-7.qcow2c.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''\n[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''\n[011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active)\n[012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''\n[013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n[014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[015] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='', err=''", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='', err=''", "[011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='', err=''", "[013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[015] #2, 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:37:55 +0000 (0:00:00.054) 0:00:32.976 ****** 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:37:55 +0000 (0:00:00.044) 0:00:33.021 ****** 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_deprecated.yml:94 Wednesday 03 August 2022 17:37:55 +0000 (0:00:00.356) 0:00:33.377 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.019758", "end": "2022-08-03 17:37:55.890074", "rc": 0, "start": "2022-08-03 17:37:55.870316" } TASK [Remove test interfaces] ************************************************** task path: /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Wednesday 03 August 2022 17:37:56 +0000 (0:00:00.356) 0:00:33.733 ****** 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.053888", "end": "2022-08-03 17:37:56.271070", "rc": 0, "start": "2022-08-03 17:37:56.217182" } 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:37:56 +0000 (0:00:00.381) 0:00:34.115 ****** 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.025103", "end": "2022-08-03 17:37:56.626690", "rc": 0, "start": "2022-08-03 17:37:56.601587" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=82 changed=12 unreachable=0 failed=0 skipped=27 rescued=0 ignored=3 Wednesday 03 August 2022 17:37:56 +0000 (0:00:00.377) 0:00:34.492 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.45s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install dnsmasq --------------------------------------------------------- 2.69s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts --------------------------------------------------------- 1.97s /tmp/tmppolohs8h/tests/network/tests_bond_deprecated_initscripts.yml:4 -------- Create test interfaces -------------------------------------------------- 1.52s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /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.10s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.08s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 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 packages are installed --- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_deprecated.yml:3 ---------- fedora.linux_system_roles.network : Enable network service -------------- 0.69s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Install pgrep, sysctl --------------------------------------------------- 0.53s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Get stats of system files ----------------------------------------------- 0.52s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Enable EPEL 7 ----------------------------------------------------------- 0.48s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 ----------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.47s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable network service -------------- 0.45s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.43s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.43s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.43s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Remove test interfaces -------------------------------------------------- 0.38s /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_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:37:57 +0000 (0:00:00.097) 0:00:34.590 ****** changed: [/cache/centos-7.qcow2c.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006577", "end": "2022-08-03 17:37:57.069911", "rc": 0, "start": "2022-08-03 17:37:57.063334" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-7.qcow2c.snap : ok=83 changed=13 unreachable=0 failed=0 skipped=27 rescued=0 ignored=3 Wednesday 03 August 2022 17:37:57 +0000 (0:00:00.338) 0:00:34.928 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.45s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install dnsmasq --------------------------------------------------------- 2.69s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Gathering Facts --------------------------------------------------------- 1.97s /tmp/tmppolohs8h/tests/network/tests_bond_deprecated_initscripts.yml:4 -------- Create test interfaces -------------------------------------------------- 1.52s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /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.10s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.08s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 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 packages are installed --- 0.93s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.72s /tmp/tmppolohs8h/tests/network/playbooks/tests_bond_deprecated.yml:3 ---------- fedora.linux_system_roles.network : Enable network service -------------- 0.69s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Install pgrep, sysctl --------------------------------------------------- 0.53s /tmp/tmppolohs8h/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Get stats of system files ----------------------------------------------- 0.52s /tmp/tmppolohs8h/tests/network/_backup.yml:6 ---------------------------------- Enable EPEL 7 ----------------------------------------------------------- 0.48s /tmp/tmppolohs8h/tests/network/tasks/enable_epel.yml:11 ----------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.47s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Enable network service -------------- 0.45s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.43s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.43s /tmp/tmpe4dwqm__/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.43s /tmp/tmppolohs8h/tests/network/_backup.yml:19 --------------------------------- Remove test interfaces -------------------------------------------------- 0.38s /tmp/tmppolohs8h/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3