# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-route_type4l7lhc2q/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml 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: tests_bond_options_nm.yml ******************************************** 2 plays in /WORKDIR/git-route_type4l7lhc2q/tests/tests_bond_options_nm.yml PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/tests_bond_options_nm.yml:6 Thursday 11 January 2024 00:14:38 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/tests_bond_options_nm.yml:9 Thursday 11 January 2024 00:14:39 +0000 (0:00:00.725) 0:00:00.736 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:14:39 +0000 (0:00:00.011) 0:00:00.747 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:17 Thursday 11 January 2024 00:14:39 +0000 (0:00:00.237) 0:00:00.985 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:22 Thursday 11 January 2024 00:14:39 +0000 (0:00:00.186) 0:00:01.171 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:26 Thursday 11 January 2024 00:14:39 +0000 (0:00:00.014) 0:00:01.186 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/el_repo_setup.yml:51 Thursday 11 January 2024 00:14:39 +0000 (0:00:00.009) 0:00:01.195 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:14:39 +0000 (0:00:00.022) 0:00:01.217 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "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 [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:14:40 +0000 (0:00:00.184) 0:00:01.401 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:14:40 +0000 (0:00:00.421) 0:00:01.823 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179502", "end": "2024-01-11 00:14:40.868343", "rc": 0, "start": "2024-01-11 00:14:40.688841" } 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 = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&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: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:14:40 +0000 (0:00:00.307) 0:00:02.131 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:14:40 +0000 (0:00:00.008) 0:00:02.139 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/tests_bond_options_nm.yml:11 Thursday 11 January 2024 00:14:40 +0000 (0:00:00.007) 0:00:02.147 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing bond options] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:3 Thursday 11 January 2024 00:14:40 +0000 (0:00:00.017) 0:00:02.164 ****** ok: [sut] TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:13 Thursday 11 January 2024 00:14:41 +0000 (0:00:00.522) 0:00:02.687 ****** ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Thursday 11 January 2024 00:14:41 +0000 (0:00:00.011) 0:00:02.698 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "dnsmasq-2.76-17.el7_9.3.x86_64 providing dnsmasq is already installed" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:9 Thursday 11 January 2024 00:14:41 +0000 (0:00:00.310) 0:00:03.009 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version is version('6', '<=')", "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 Thursday 11 January 2024 00:14:41 +0000 (0:00:00.011) 0:00:03.021 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:27 Thursday 11 January 2024 00:14:42 +0000 (0:00:00.312) 0:00:03.333 ****** ok: [sut] => { "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.201484", "end": "2024-01-11 00:14:43.411810", "rc": 0, "start": "2024-01-11 00:14:42.210326" } TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:14:43 +0000 (0:00:01.341) 0:00:04.675 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.013) 0:00:04.688 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932082.2242594, "block_size": 4096, "blocks": 0, "ctime": 1704932082.2242594, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17728, "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": 1704932082.2242594, "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 the interface is present - 'test1'] ************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.140) 0:00:04.829 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.015) 0:00:04.845 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.012) 0:00:04.857 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932082.2352593, "block_size": 4096, "blocks": 0, "ctime": 1704932082.2352593, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17892, "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": 1704932082.2352593, "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 the interface is present - 'test2'] ************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.130) 0:00:04.988 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports] ********************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:28 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.011) 0:00:05.000 ****** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.010) 0:00:05.010 ****** included: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.016) 0:00:05.026 ****** skipping: [sut] => { "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 if system is ostree] *********** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.018) 0:00:05.044 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.012) 0:00:05.056 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 00:14:43 +0000 (0:00:00.011) 0:00:05.068 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 00:14:44 +0000 (0:00:00.891) 0:00:05.959 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 00:14:45 +0000 (0:00:01.116) 0:00:07.075 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 00:14:45 +0000 (0:00:00.021) 0:00:07.097 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 00:14:45 +0000 (0:00:00.029) 0:00:07.126 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 00:14:45 +0000 (0:00:00.032) 0:00:07.159 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 00:14:45 +0000 (0:00:00.062) 0:00:07.221 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 00:14:45 +0000 (0:00:00.022) 0:00:07.243 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 00:14:46 +0000 (0:00:00.021) 0:00:07.265 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 00:14:46 +0000 (0:00:00.035) 0:00:07.300 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 00:14:46 +0000 (0:00:00.432) 0:00:07.732 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 00:14:46 +0000 (0:00:00.055) 0:00:07.788 ****** skipping: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 00:14:46 +0000 (0:00:00.017) 0:00:07.806 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 00:14:46 +0000 (0:00:00.017) 0:00:07.824 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.691) 0:00:08.516 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.036) 0:00:08.552 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.025) 0:00:08.577 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.028) 0:00:08.606 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.026) 0:00:08.632 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.223) 0:00:08.856 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface nm-bond] ****************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.031) 0:00:08.888 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932087.033269, "block_size": 4096, "blocks": 0, "ctime": 1704932087.032269, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18735, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1704932087.032269, "nlink": 1, "path": "/sys/class/net/nm-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'nm-bond'] ************************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.160) 0:00:09.048 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:78 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.020) 0:00:09.069 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0) included: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.0) included: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.1) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.046) 0:00:09.115 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.029) 0:00:09.145 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:14:47 +0000 (0:00:00.018) 0:00:09.163 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932087.029269, "block_size": 4096, "blocks": 8, "ctime": 1704932087.0282688, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704932087.0282688, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 638, "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: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.167) 0:00:09.330 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.021) 0:00:09.352 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.031255", "end": "2024-01-11 00:14:48.261299", "rc": 0, "start": "2024-01-11 00:14:48.230044" } STDOUT: bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.179) 0:00:09.531 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.021) 0:00:09.552 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.018) 0:00:09.571 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0] ****************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.018) 0:00:09.590 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0] *************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.019) 0:00:09.609 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0'] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.021) 0:00:09.631 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0'] *********** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.026) 0:00:09.658 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0] ***************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.027) 0:00:09.685 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.025) 0:00:09.711 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.030) 0:00:09.742 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.018) 0:00:09.761 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932087.083269, "block_size": 4096, "blocks": 8, "ctime": 1704932087.083269, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25416, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704932087.083269, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.170) 0:00:09.931 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.030) 0:00:09.962 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.029472", "end": "2024-01-11 00:14:48.865460", "rc": 0, "start": "2024-01-11 00:14:48.835988" } STDOUT: bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.178) 0:00:10.141 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.038) 0:00:10.179 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:14:48 +0000 (0:00:00.043) 0:00:10.222 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0.0] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.088) 0:00:10.310 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0.0] ************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.026) 0:00:10.337 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0.0'] ************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.028) 0:00:10.365 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.0'] ********* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.031) 0:00:10.396 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.0] *************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.034) 0:00:10.431 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.035) 0:00:10.467 ****** included: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.040) 0:00:10.507 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.025) 0:00:10.532 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932087.102269, "block_size": 4096, "blocks": 8, "ctime": 1704932087.102269, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704932087.102269, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.161) 0:00:10.693 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.020) 0:00:10.714 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.029504", "end": "2024-01-11 00:14:49.611289", "rc": 0, "start": "2024-01-11 00:14:49.581785" } STDOUT: bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.166) 0:00:10.880 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.020) 0:00:10.901 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.017) 0:00:10.918 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0.1] **************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.018) 0:00:10.937 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0.1] ************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.018) 0:00:10.955 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0.1'] ************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.017) 0:00:10.972 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.1'] ********* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.020) 0:00:10.993 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.1] *************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.020) 0:00:11.013 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:87 Thursday 11 January 2024 00:14:49 +0000 (0:00:00.044) 0:00:11.058 ****** ok: [sut] => (item={'key': 'mode', 'value': '802.3ad'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003670", "end": "2024-01-11 00:14:49.929732", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2024-01-11 00:14:49.926062" } STDOUT: 802.3ad 4 ok: [sut] => (item={'key': 'ad_actor_sys_prio', 'value': '65535'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_sys_prio" ], "delta": "0:00:00.003370", "end": "2024-01-11 00:14:50.053410", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2024-01-11 00:14:50.050040" } STDOUT: 65535 ok: [sut] => (item={'key': 'ad_actor_system', 'value': '00:00:5e:00:53:5d'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_system" ], "delta": "0:00:00.003370", "end": "2024-01-11 00:14:50.182132", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2024-01-11 00:14:50.178762" } STDOUT: 00:00:5e:00:53:5d ok: [sut] => (item={'key': 'ad_select', 'value': 'stable'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_select" ], "delta": "0:00:00.003438", "end": "2024-01-11 00:14:50.305028", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2024-01-11 00:14:50.301590" } STDOUT: stable 0 ok: [sut] => (item={'key': 'ad_user_port_key', 'value': '1023'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_user_port_key" ], "delta": "0:00:00.003377", "end": "2024-01-11 00:14:50.428325", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2024-01-11 00:14:50.424948" } STDOUT: 1023 ok: [sut] => (item={'key': 'all_slaves_active', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/all_slaves_active" ], "delta": "0:00:00.003411", "end": "2024-01-11 00:14:50.551182", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2024-01-11 00:14:50.547771" } STDOUT: 1 ok: [sut] => (item={'key': 'downdelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/downdelay" ], "delta": "0:00:00.003408", "end": "2024-01-11 00:14:50.675198", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2024-01-11 00:14:50.671790" } STDOUT: 0 ok: [sut] => (item={'key': 'lacp_rate', 'value': 'slow'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lacp_rate" ], "delta": "0:00:00.003381", "end": "2024-01-11 00:14:50.800273", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2024-01-11 00:14:50.796892" } STDOUT: slow 0 ok: [sut] => (item={'key': 'lp_interval', 'value': '128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lp_interval" ], "delta": "0:00:00.003452", "end": "2024-01-11 00:14:50.927294", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2024-01-11 00:14:50.923842" } STDOUT: 128 ok: [sut] => (item={'key': 'miimon', 'value': '110'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/miimon" ], "delta": "0:00:00.003385", "end": "2024-01-11 00:14:51.049444", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2024-01-11 00:14:51.046059" } STDOUT: 110 ok: [sut] => (item={'key': 'num_grat_arp', 'value': '64'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/num_grat_arp" ], "delta": "0:00:00.003384", "end": "2024-01-11 00:14:51.171670", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2024-01-11 00:14:51.168286" } STDOUT: 64 ok: [sut] => (item={'key': 'resend_igmp', 'value': '225'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/resend_igmp" ], "delta": "0:00:00.003478", "end": "2024-01-11 00:14:51.293905", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2024-01-11 00:14:51.290427" } STDOUT: 225 ok: [sut] => (item={'key': 'updelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/updelay" ], "delta": "0:00:00.003437", "end": "2024-01-11 00:14:51.422761", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2024-01-11 00:14:51.419324" } STDOUT: 0 ok: [sut] => (item={'key': 'use_carrier', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/use_carrier" ], "delta": "0:00:00.003390", "end": "2024-01-11 00:14:51.543739", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2024-01-11 00:14:51.540349" } STDOUT: 1 ok: [sut] => (item={'key': 'xmit_hash_policy', 'value': 'encap2+3'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/xmit_hash_policy" ], "delta": "0:00:00.003399", "end": "2024-01-11 00:14:51.666007", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2024-01-11 00:14:51.662608" } STDOUT: encap2+3 3 TASK [** TEST check IPv4] ****************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:110 Thursday 11 January 2024 00:14:51 +0000 (0:00:01.880) 0:00:12.938 ****** FAILED - RETRYING: [sut]: ** TEST check IPv4 (20 retries left). ok: [sut] => { "attempts": 2, "changed": false, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.004739", "end": "2024-01-11 00:14:53.929836", "rc": 0, "start": "2024-01-11 00:14:53.925097" } STDOUT: 20: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.238/24 brd 192.0.2.255 scope global noprefixroute dynamic nm-bond valid_lft 240sec preferred_lft 240sec TASK [** TEST check IPv6] ****************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:117 Thursday 11 January 2024 00:14:53 +0000 (0:00:02.263) 0:00:15.201 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.004701", "end": "2024-01-11 00:14:54.072555", "rc": 0, "start": "2024-01-11 00:14:54.067854" } STDOUT: 20: nm-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::f9/128 scope global tentative noprefixroute dynamic valid_lft 240sec preferred_lft 240sec inet6 2001:db8::c096:786b:ad91:20de/64 scope global noprefixroute dynamic valid_lft 1797sec preferred_lft 1797sec inet6 fe80::1d53:f8a8:d58f:a4f/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 00:14:54 +0000 (0:00:00.142) 0:00:15.344 ****** included: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:14:54 +0000 (0:00:00.034) 0:00:15.378 ****** skipping: [sut] => { "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 if system is ostree] *********** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 00:14:54 +0000 (0:00:00.033) 0:00:15.411 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 00:14:54 +0000 (0:00:00.026) 0:00:15.438 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 00:14:54 +0000 (0:00:00.024) 0:00:15.463 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 00:14:55 +0000 (0:00:00.806) 0:00:16.269 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 00:14:55 +0000 (0:00:00.966) 0:00:17.236 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.021) 0:00:17.258 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.021) 0:00:17.279 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.020) 0:00:17.300 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.061) 0:00:17.362 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.021) 0:00:17.383 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.046) 0:00:17.430 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.036) 0:00:17.467 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.277) 0:00:17.744 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.038) 0:00:17.782 ****** skipping: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.018) 0:00:17.800 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 00:14:56 +0000 (0:00:00.017) 0:00:17.818 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': update connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 [008] #1, state:up persistent_state:present, 'bond0.0': connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 already up to date [009] #2, state:up persistent_state:present, 'bond0.1': connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af already up to date [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 (is-modified) [011] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'ad_actor_system' bond option (3): {'success': None, 'error': "nm-device-error-quark: Can't reapply 'ad_actor_system' bond option (3)"} [012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 (is-modified) [013] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af (is-modified) [014] #2, state:up persistent_state:present, 'bond0.1': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 00:14:57 +0000 (0:00:00.634) 0:00:18.453 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 00:14:57 +0000 (0:00:00.028) 0:00:18.482 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': update connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4", "[008] #1, state:up persistent_state:present, 'bond0.0': connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 already up to date", "[009] #2, state:up persistent_state:present, 'bond0.1': connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af already up to date", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 (is-modified)", "[011] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'ad_actor_system' bond option (3): {'success': None, 'error': \"nm-device-error-quark: Can't reapply 'ad_actor_system' bond option (3)\"}", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 (is-modified)", "[013] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af (is-modified)", "[014] #2, state:up persistent_state:present, 'bond0.1': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 00:14:57 +0000 (0:00:00.029) 0:00:18.511 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': update connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4\n[008] #1, state:up persistent_state:present, 'bond0.0': connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 already up to date\n[009] #2, state:up persistent_state:present, 'bond0.1': connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af already up to date\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 (is-modified)\n[011] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'ad_actor_system' bond option (3): {'success': None, 'error': \"nm-device-error-quark: Can't reapply 'ad_actor_system' bond option (3)\"}\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 (is-modified)\n[013] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af (is-modified)\n[014] #2, state:up persistent_state:present, 'bond0.1': connection reapplied\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': update connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4", "[008] #1, state:up persistent_state:present, 'bond0.0': connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 already up to date", "[009] #2, state:up persistent_state:present, 'bond0.1': connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af already up to date", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, e013b73b-2274-45df-ab7f-9baf52e055c4 (is-modified)", "[011] #0, state:up persistent_state:present, 'bond0': connection reapply failed: failure to reapply checkpoint: nm-device-error-quark: Can't reapply 'ad_actor_system' bond option (3): {'success': None, 'error': \"nm-device-error-quark: Can't reapply 'ad_actor_system' bond option (3)\"}", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, a318e72f-201c-40f8-8d47-011330c21e12 (is-modified)", "[013] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 564205b0-29fe-4140-bcd6-ffea8c4608af (is-modified)", "[014] #2, state:up persistent_state:present, 'bond0.1': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 00:14:57 +0000 (0:00:00.032) 0:00:18.543 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 00:14:57 +0000 (0:00:00.024) 0:00:18.568 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [** TEST check bond settings] ********************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:155 Thursday 11 January 2024 00:14:57 +0000 (0:00:00.196) 0:00:18.765 ****** ok: [sut] => (item={'key': 'mode', 'value': 'active-backup'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003867", "end": "2024-01-11 00:14:57.688859", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2024-01-11 00:14:57.684992" } STDOUT: active-backup 1 ok: [sut] => (item={'key': 'arp_interval', 'value': '60'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_interval" ], "delta": "0:00:00.003338", "end": "2024-01-11 00:14:57.839301", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2024-01-11 00:14:57.835963" } STDOUT: 60 ok: [sut] => (item={'key': 'arp_ip_target', 'value': '192.0.2.128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_ip_target" ], "delta": "0:00:00.003364", "end": "2024-01-11 00:14:57.962086", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2024-01-11 00:14:57.958722" } STDOUT: 192.0.2.128 ok: [sut] => (item={'key': 'arp_validate', 'value': 'none'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_validate" ], "delta": "0:00:00.003414", "end": "2024-01-11 00:14:58.115404", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2024-01-11 00:14:58.111990" } STDOUT: none 0 ok: [sut] => (item={'key': 'primary', 'value': 'test1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/primary" ], "delta": "0:00:00.003437", "end": "2024-01-11 00:14:58.269395", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2024-01-11 00:14:58.265958" } STDOUT: test1 TASK [** TEST check IPv4] ****************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:167 Thursday 11 January 2024 00:14:58 +0000 (0:00:00.799) 0:00:19.564 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003871", "end": "2024-01-11 00:14:58.451872", "rc": 0, "start": "2024-01-11 00:14:58.448001" } STDOUT: 20: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.238/24 brd 192.0.2.255 scope global noprefixroute dynamic nm-bond valid_lft 239sec preferred_lft 239sec TASK [** TEST check IPv6] ****************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:174 Thursday 11 January 2024 00:14:58 +0000 (0:00:00.165) 0:00:19.730 ****** FAILED - RETRYING: [sut]: ** TEST check IPv6 (20 retries left). ok: [sut] => { "attempts": 2, "changed": false, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003994", "end": "2024-01-11 00:15:00.780342", "rc": 0, "start": "2024-01-11 00:15:00.776348" } STDOUT: 20: nm-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::f9/128 scope global noprefixroute dynamic valid_lft 239sec preferred_lft 239sec inet6 2001:db8::c096:786b:ad91:20de/64 scope global tentative noprefixroute dynamic valid_lft 1799sec preferred_lft 1799sec inet6 fe80::1d53:f8a8:d58f:a4f/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 11 January 2024 00:15:00 +0000 (0:00:02.330) 0:00:22.060 ****** included: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:15:00 +0000 (0:00:00.044) 0:00:22.105 ****** skipping: [sut] => { "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 if system is ostree] *********** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 11 January 2024 00:15:00 +0000 (0:00:00.033) 0:00:22.139 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 11 January 2024 00:15:00 +0000 (0:00:00.047) 0:00:22.186 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 11 January 2024 00:15:00 +0000 (0:00:00.022) 0:00:22.208 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 11 January 2024 00:15:01 +0000 (0:00:00.800) 0:00:23.009 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 11 January 2024 00:15:02 +0000 (0:00:00.981) 0:00:23.990 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 11 January 2024 00:15:02 +0000 (0:00:00.023) 0:00:24.013 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 11 January 2024 00:15:02 +0000 (0:00:00.021) 0:00:24.035 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 11 January 2024 00:15:02 +0000 (0:00:00.020) 0:00:24.056 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 11 January 2024 00:15:02 +0000 (0:00:00.055) 0:00:24.111 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 11 January 2024 00:15:02 +0000 (0:00:00.028) 0:00:24.140 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 11 January 2024 00:15:02 +0000 (0:00:00.030) 0:00:24.170 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 11 January 2024 00:15:02 +0000 (0:00:00.052) 0:00:24.223 ****** ok: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 11 January 2024 00:15:03 +0000 (0:00:00.263) 0:00:24.486 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 11 January 2024 00:15:03 +0000 (0:00:00.037) 0:00:24.523 ****** skipping: [sut] => { "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: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 11 January 2024 00:15:03 +0000 (0:00:00.031) 0:00:24.555 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 11 January 2024 00:15:03 +0000 (0:00:00.020) 0:00:24.576 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 11 January 2024 00:15:04 +0000 (0:00:01.021) 0:00:25.597 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 11 January 2024 00:15:04 +0000 (0:00:00.046) 0:00:25.644 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 11 January 2024 00:15:04 +0000 (0:00:00.021) 0:00:25.666 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 11 January 2024 00:15:04 +0000 (0:00:00.021) 0:00:25.687 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 11 January 2024 00:15:04 +0000 (0:00:00.021) 0:00:25.708 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:202 Thursday 11 January 2024 00:15:04 +0000 (0:00:00.145) 0:00:25.854 ****** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.012236", "end": "2024-01-11 00:15:04.735562", "failed_when_result": false, "rc": 1, "start": "2024-01-11 00:15:04.723326" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Thursday 11 January 2024 00:15:04 +0000 (0:00:00.150) 0:00:26.004 ****** ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.036933", "end": "2024-01-11 00:15:04.912391", "rc": 0, "start": "2024-01-11 00:15:04.875458" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Thursday 11 January 2024 00:15:04 +0000 (0:00:00.181) 0:00:26.186 ****** ok: [sut] => { "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.034129", "end": "2024-01-11 00:15:05.095772", "rc": 0, "start": "2024-01-11 00:15:05.061643" } PLAY RECAP ********************************************************************* sut : ok=91 changed=3 unreachable=0 failed=0 skipped=58 rescued=0 ignored=0 Thursday 11 January 2024 00:15:05 +0000 (0:00:00.207) 0:00:26.393 ****** =============================================================================== ** TEST check IPv6 ------------------------------------------------------ 2.33s /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:174 ---- ** TEST check IPv4 ------------------------------------------------------ 2.26s /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:110 ---- ** TEST check bond settings --------------------------------------------- 1.88s /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:87 ----- Create test interfaces -------------------------------------------------- 1.34s /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.02s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.89s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ** TEST check bond settings --------------------------------------------- 0.80s /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:155 ---- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-route_type4l7lhc2q/tests/tests_bond_options_nm.yml:6 ------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.63s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tests_bond_options.yml:3 ------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.43s /WORKDIR/git-route_type4l7lhc2q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Install yum-utils package ----------------------------------------------- 0.42s /WORKDIR/git-route_type4l7lhc2q/tests/tasks/enable_epel.yml:24 ---------------- Install pgrep, sysctl --------------------------------------------------- 0.31s /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 Install dnsmasq --------------------------------------------------------- 0.31s /WORKDIR/git-route_type4l7lhc2q/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout ---^---^---^---^---^---