Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:51:16 -0400 (0:00:00.025) 0:00:00.025 ********* ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 06:51:17 -0400 (0:00:00.970) 0:00:00.996 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Saturday 06 July 2024 06:51:17 -0400 (0:00:00.095) 0:00:01.091 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:51:18 -0400 (0:00:00.426) 0:00:01.518 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:51:18 -0400 (0:00:00.447) 0:00:01.965 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:51:18 -0400 (0:00:00.051) 0:00:02.017 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 06:51:18 -0400 (0:00:00.047) 0:00:02.065 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 7] *********************************************************** Saturday 06 July 2024 06:51:18 -0400 (0:00:00.085) 0:00:02.150 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 06:51:19 -0400 (0:00:00.388) 0:00:02.539 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 06:51:19 -0400 (0:00:00.778) 0:00:03.318 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.180865", "end": "2024-07-06 06:51:20.329963", "rc": 0, "start": "2024-07-06 06:51:20.149098" } 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] *********************************************************** Saturday 06 July 2024 06:51:20 -0400 (0:00:00.471) 0:00:03.790 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 06:51:20 -0400 (0:00:00.028) 0:00:03.818 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Saturday 06 July 2024 06:51:20 -0400 (0:00:00.026) 0:00:03.844 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing bond options] ******************************************* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:51:20 -0400 (0:00:00.027) 0:00:03.872 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** Saturday 06 July 2024 06:51:21 -0400 (0:00:00.593) 0:00:04.466 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_bond_options.yml TASK [Include the task 'run_test.yml'] ***************************************** Saturday 06 July 2024 06:51:21 -0400 (0:00:00.027) 0:00:04.493 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.] *** Saturday 06 July 2024 06:51:21 -0400 (0:00:00.043) 0:00:04.537 ********* ok: [managed_node1] => {} MSG: ########## Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device. ########## TASK [Show item] *************************************************************** Saturday 06 July 2024 06:51:21 -0400 (0:00:00.029) 0:00:04.566 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device." } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_test_interfaces_with_dhcp.yml", "tasks/assert_dhcp_device_present.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bond_profile.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_controller_device_present.yml", "tasks/assert_bond_port_profile_present.yml", "tasks/assert_bond_options.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_bond_profile+device.yml", "tasks/remove_test_interfaces_with_dhcp.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:51:21 -0400 (0:00:00.084) 0:00:04.651 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:51:21 -0400 (0:00:00.038) 0:00:04.690 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:51:21 -0400 (0:00:00.035) 0:00:04.726 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003449", "end": "2024-07-06 06:51:21.569991", "rc": 0, "start": "2024-07-06 06:51:21.566542" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:51:21 -0400 (0:00:00.300) 0:00:05.027 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:51:21 -0400 (0:00:00.029) 0:00:05.056 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr', u'team0'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 06:51:21 -0400 (0:00:00.029) 0:00:05.085 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml for managed_node1 included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_dhcp_device_present.yml for managed_node1 TASK [Install dnsmasq] ********************************************************* Saturday 06 July 2024 06:51:21 -0400 (0:00:00.072) 0:00:05.158 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "dnsmasq-2.76-17.el7_9.3.x86_64 providing dnsmasq is already installed" ] } TASK [Install pgrep, sysctl] *************************************************** Saturday 06 July 2024 06:51:22 -0400 (0:00:00.609) 0:00:05.767 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** Saturday 06 July 2024 06:51:22 -0400 (0:00:00.027) 0:00:05.795 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "procps-ng-3.3.10-28.el7.x86_64 providing procps-ng is already installed" ] } TASK [Create test interfaces] ************************************************** Saturday 06 July 2024 06:51:23 -0400 (0:00:00.621) 0:00:06.416 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\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\n echo ERROR - could not add testbr\n ip addr\n exit 1\n fi\n sleep 1\n rc=0\n ip addr add 192.0.2.1/24 dev testbr || rc=\"$?\"\n if [ \"$rc\" != 0 ]; then\n echo NOTICE - could not add testbr - error code \"$rc\"\n continue\n fi\n ip -6 addr add 2001:DB8::1/32 dev testbr || rc=\"$?\"\n if [ \"$rc\" != 0 ]; then\n echo NOTICE - could not add testbr - error code \"$rc\"\n continue\n fi\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.256910", "end": "2024-07-06 06:51:24.508575", "rc": 0, "start": "2024-07-06 06:51:23.251665" } STDERR: + exec + ip link add test1 type veth peer name test1p + ip link add test2 type veth peer name test2p ++ pgrep NetworkManager + '[' -n 24137 ']' + nmcli d set test1 managed true + nmcli d set test2 managed true + nmcli d set test1p managed false + nmcli d set test2p managed false + ip link set test1p up + ip link set test2p up + ip link add name testbr type bridge forward_delay 0 ++ pgrep NetworkManager + '[' -n 24137 ']' + nmcli d set testbr managed false + ip link set testbr up + timer=0 + grep -q 'inet [1-9]' + ip addr show testbr + let timer+=1 + '[' 1 -eq 30 ']' + sleep 1 + rc=0 + ip addr add 192.0.2.1/24 dev testbr + '[' 0 '!=' 0 ']' + ip -6 addr add 2001:DB8::1/32 dev testbr + '[' 0 '!=' 0 ']' + grep -q 'inet [1-9]' + ip addr show testbr + grep 'release 6' /etc/redhat-release + ip link set test1p master testbr + ip link set test2p master testbr + 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 TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:51:24 -0400 (0:00:01.552) 0:00:07.968 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface test1] ******************************************** Saturday 06 July 2024 06:51:24 -0400 (0:00:00.038) 0:00:08.007 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263083.2641888, "block_size": 4096, "blocks": 0, "ctime": 1720263083.2631886, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18664, "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": 1720263083.2631886, "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'] ************************** Saturday 06 July 2024 06:51:24 -0400 (0:00:00.296) 0:00:08.304 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:51:24 -0400 (0:00:00.032) 0:00:08.337 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface test2] ******************************************** Saturday 06 July 2024 06:51:24 -0400 (0:00:00.037) 0:00:08.374 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263083.2761886, "block_size": 4096, "blocks": 0, "ctime": 1720263083.2761886, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 19090, "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": 1720263083.2761886, "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'] ************************** Saturday 06 July 2024 06:51:25 -0400 (0:00:00.304) 0:00:08.679 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Saturday 06 July 2024 06:51:25 -0400 (0:00:00.032) 0:00:08.711 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_profile.yml for managed_node1 TASK [Include network role] **************************************************** Saturday 06 July 2024 06:51:25 -0400 (0:00:00.054) 0:00:08.766 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:51:25 -0400 (0:00:00.186) 0:00:08.953 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:51:25 -0400 (0:00:00.058) 0:00:09.012 ********* skipping: [managed_node1] => { "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] *********** Saturday 06 July 2024 06:51:25 -0400 (0:00:00.029) 0:00:09.041 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:51:25 -0400 (0:00:00.026) 0:00:09.068 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:51:25 -0400 (0:00:00.025) 0:00:09.094 ********* ok: [managed_node1] => { "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] *** Saturday 06 July 2024 06:51:26 -0400 (0:00:01.017) 0:00:10.112 ********* ok: [managed_node1] => { "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] ************** Saturday 06 July 2024 06:51:28 -0400 (0:00:01.468) 0:00:11.581 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.072) 0:00:11.653 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.069) 0:00:11.722 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.067) 0:00:11.790 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.100) 0:00:11.890 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.082) 0:00:11.973 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.079) 0:00:12.052 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.125) 0:00:12.178 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.069) 0:00:12.248 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.069) 0:00:12.318 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:51:28 -0400 (0:00:00.078) 0:00:12.396 ********* ok: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:51:29 -0400 (0:00:00.734) 0:00:13.131 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:51:29 -0400 (0:00:00.081) 0:00:13.212 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:51:29 -0400 (0:00:00.068) 0:00:13.281 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:51:29 -0400 (0:00:00.069) 0:00:13.351 ********* changed: [managed_node1] => { "_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, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:51:31 -0400 (0:00:01.170) 0:00:14.521 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:51:31 -0400 (0:00:00.069) 0:00:14.590 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:51:31 -0400 (0:00:00.111) 0:00:14.701 ********* ok: [managed_node1] => { "__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, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:51:31 -0400 (0:00:00.077) 0:00:14.779 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:51:31 -0400 (0:00:00.067) 0:00:14.847 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 06:51:31 -0400 (0:00:00.435) 0:00:15.282 ********* ok: [managed_node1] => { "__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, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b0ea891d-5b9c-40b9-8a9a-b3729fee0ad4 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 15a62063-ceb4-4205-8618-3631d3adb5c9 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, c348062e-af38-4a24-b1ad-556c08d2f249 (not-active)" ] } } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 06:51:31 -0400 (0:00:00.075) 0:00:15.358 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_controller_device_present.yml for managed_node1 included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_bond_port_profile_present.yml for managed_node1 included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_bond_options.yml for managed_node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:51:32 -0400 (0:00:00.164) 0:00:15.523 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface nm-bond] ****************************************** Saturday 06 July 2024 06:51:32 -0400 (0:00:00.121) 0:00:15.644 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263090.7191758, "block_size": 4096, "blocks": 0, "ctime": 1720263090.718176, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 19370, "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": 1720263090.718176, "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'] ************************ Saturday 06 July 2024 06:51:32 -0400 (0:00:00.360) 0:00:16.004 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 06:51:32 -0400 (0:00:00.075) 0:00:16.080 ********* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:51:32 -0400 (0:00:00.151) 0:00:16.232 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:51:32 -0400 (0:00:00.129) 0:00:16.361 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:51:33 -0400 (0:00:00.071) 0:00:16.432 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263090.716176, "block_size": 4096, "blocks": 8, "ctime": 1720263090.716176, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22499, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720263090.716176, "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] ******************** Saturday 06 July 2024 06:51:33 -0400 (0:00:00.362) 0:00:16.795 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:51:33 -0400 (0:00:00.074) 0:00:16.869 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.036545", "end": "2024-07-06 06:51:33.744649", "rc": 0, "start": "2024-07-06 06:51:33.708104" } 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] *** Saturday 06 July 2024 06:51:33 -0400 (0:00:00.377) 0:00:17.247 ********* ok: [managed_node1] => { "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] ************************** Saturday 06 July 2024 06:51:33 -0400 (0:00:00.077) 0:00:17.324 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** Saturday 06 July 2024 06:51:33 -0400 (0:00:00.075) 0:00:17.399 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0] ****************************** Saturday 06 July 2024 06:51:34 -0400 (0:00:00.073) 0:00:17.473 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0] *************************** Saturday 06 July 2024 06:51:34 -0400 (0:00:00.074) 0:00:17.548 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0'] **************************** Saturday 06 July 2024 06:51:34 -0400 (0:00:00.073) 0:00:17.621 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0'] *********** Saturday 06 July 2024 06:51:34 -0400 (0:00:00.076) 0:00:17.698 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0] ***************** Saturday 06 July 2024 06:51:34 -0400 (0:00:00.077) 0:00:17.775 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:51:34 -0400 (0:00:00.074) 0:00:17.849 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:51:34 -0400 (0:00:00.130) 0:00:17.980 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:51:34 -0400 (0:00:00.073) 0:00:18.053 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263090.787176, "block_size": 4096, "blocks": 8, "ctime": 1720263090.787176, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22506, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720263090.787176, "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] ******************** Saturday 06 July 2024 06:51:34 -0400 (0:00:00.343) 0:00:18.397 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:51:35 -0400 (0:00:00.119) 0:00:18.517 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.034633", "end": "2024-07-06 06:51:35.396236", "rc": 0, "start": "2024-07-06 06:51:35.361603" } 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] *** Saturday 06 July 2024 06:51:35 -0400 (0:00:00.381) 0:00:18.898 ********* ok: [managed_node1] => { "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] ************************ Saturday 06 July 2024 06:51:35 -0400 (0:00:00.076) 0:00:18.974 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* Saturday 06 July 2024 06:51:35 -0400 (0:00:00.075) 0:00:19.050 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0.0] **************************** Saturday 06 July 2024 06:51:35 -0400 (0:00:00.075) 0:00:19.126 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0.0] ************************* Saturday 06 July 2024 06:51:35 -0400 (0:00:00.074) 0:00:19.200 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0.0'] ************************** Saturday 06 July 2024 06:51:35 -0400 (0:00:00.074) 0:00:19.274 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.0'] ********* Saturday 06 July 2024 06:51:35 -0400 (0:00:00.076) 0:00:19.351 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.0] *************** Saturday 06 July 2024 06:51:36 -0400 (0:00:00.078) 0:00:19.429 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 06:51:36 -0400 (0:00:00.075) 0:00:19.505 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Saturday 06 July 2024 06:51:36 -0400 (0:00:00.129) 0:00:19.634 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* Saturday 06 July 2024 06:51:36 -0400 (0:00:00.071) 0:00:19.706 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263090.8101757, "block_size": 4096, "blocks": 8, "ctime": 1720263090.8101757, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22507, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1720263090.8101757, "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] ******************** Saturday 06 July 2024 06:51:36 -0400 (0:00:00.358) 0:00:20.065 ********* ok: [managed_node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 06:51:36 -0400 (0:00:00.074) 0:00:20.140 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.035135", "end": "2024-07-06 06:51:37.019038", "rc": 0, "start": "2024-07-06 06:51:36.983903" } 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] *** Saturday 06 July 2024 06:51:37 -0400 (0:00:00.378) 0:00:20.518 ********* ok: [managed_node1] => { "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] ************************ Saturday 06 July 2024 06:51:37 -0400 (0:00:00.122) 0:00:20.641 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* Saturday 06 July 2024 06:51:37 -0400 (0:00:00.077) 0:00:20.718 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0.1] **************************** Saturday 06 July 2024 06:51:37 -0400 (0:00:00.075) 0:00:20.793 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0.1] ************************* Saturday 06 July 2024 06:51:37 -0400 (0:00:00.076) 0:00:20.870 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0.1'] ************************** Saturday 06 July 2024 06:51:37 -0400 (0:00:00.074) 0:00:20.944 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.1'] ********* Saturday 06 July 2024 06:51:37 -0400 (0:00:00.077) 0:00:21.022 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.1] *************** Saturday 06 July 2024 06:51:37 -0400 (0:00:00.076) 0:00:21.098 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* Saturday 06 July 2024 06:51:37 -0400 (0:00:00.074) 0:00:21.172 ********* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout ok: [managed_node1] => (item={u'value': u'802.3ad', u'key': u'mode'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003089", "end": "2024-07-06 06:51:38.014612", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2024-07-06 06:51:38.011523" } STDOUT: 802.3ad 4 ok: [managed_node1] => (item={u'value': u'65535', u'key': u'ad_actor_sys_prio'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_sys_prio" ], "delta": "0:00:00.003234", "end": "2024-07-06 06:51:38.301591", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2024-07-06 06:51:38.298357" } STDOUT: 65535 ok: [managed_node1] => (item={u'value': u'00:00:5e:00:53:5d', u'key': u'ad_actor_system'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_system" ], "delta": "0:00:00.003285", "end": "2024-07-06 06:51:38.593255", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2024-07-06 06:51:38.589970" } STDOUT: 00:00:5e:00:53:5d ok: [managed_node1] => (item={u'value': u'stable', u'key': u'ad_select'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_select" ], "delta": "0:00:00.003377", "end": "2024-07-06 06:51:38.873481", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2024-07-06 06:51:38.870104" } STDOUT: stable 0 ok: [managed_node1] => (item={u'value': u'1023', u'key': u'ad_user_port_key'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_user_port_key" ], "delta": "0:00:00.003216", "end": "2024-07-06 06:51:39.146220", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2024-07-06 06:51:39.143004" } STDOUT: 1023 ok: [managed_node1] => (item={u'value': u'1', u'key': u'all_slaves_active'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/all_slaves_active" ], "delta": "0:00:00.003226", "end": "2024-07-06 06:51:39.423732", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2024-07-06 06:51:39.420506" } STDOUT: 1 ok: [managed_node1] => (item={u'value': u'0', u'key': u'downdelay'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/downdelay" ], "delta": "0:00:00.003282", "end": "2024-07-06 06:51:39.700001", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2024-07-06 06:51:39.696719" } STDOUT: 0 ok: [managed_node1] => (item={u'value': u'slow', u'key': u'lacp_rate'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lacp_rate" ], "delta": "0:00:00.003236", "end": "2024-07-06 06:51:39.985252", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2024-07-06 06:51:39.982016" } STDOUT: slow 0 ok: [managed_node1] => (item={u'value': u'128', u'key': u'lp_interval'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lp_interval" ], "delta": "0:00:00.003219", "end": "2024-07-06 06:51:40.268489", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2024-07-06 06:51:40.265270" } STDOUT: 128 ok: [managed_node1] => (item={u'value': u'110', u'key': u'miimon'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/miimon" ], "delta": "0:00:00.003229", "end": "2024-07-06 06:51:40.556341", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2024-07-06 06:51:40.553112" } STDOUT: 110 ok: [managed_node1] => (item={u'value': u'64', u'key': u'num_grat_arp'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/num_grat_arp" ], "delta": "0:00:00.003250", "end": "2024-07-06 06:51:40.842907", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2024-07-06 06:51:40.839657" } STDOUT: 64 ok: [managed_node1] => (item={u'value': u'225', u'key': u'resend_igmp'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/resend_igmp" ], "delta": "0:00:00.003173", "end": "2024-07-06 06:51:41.166791", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2024-07-06 06:51:41.163618" } STDOUT: 225 ok: [managed_node1] => (item={u'value': u'0', u'key': u'updelay'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/updelay" ], "delta": "0:00:00.003237", "end": "2024-07-06 06:51:41.467308", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2024-07-06 06:51:41.464071" } STDOUT: 0 ok: [managed_node1] => (item={u'value': u'1', u'key': u'use_carrier'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/use_carrier" ], "delta": "0:00:00.003143", "end": "2024-07-06 06:51:41.762529", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2024-07-06 06:51:41.759386" } STDOUT: 1 ok: [managed_node1] => (item={u'value': u'encap2+3', u'key': u'xmit_hash_policy'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/xmit_hash_policy" ], "delta": "0:00:00.003234", "end": "2024-07-06 06:51:42.066926", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2024-07-06 06:51:42.063692" } STDOUT: encap2+3 3 TASK [Include the task 'assert_IPv4_present.yml'] ****************************** Saturday 06 July 2024 06:51:42 -0400 (0:00:04.413) 0:00:25.586 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_IPv4_present.yml for managed_node1 TASK [** TEST check IPv4] ****************************************************** Saturday 06 July 2024 06:51:42 -0400 (0:00:00.123) 0:00:25.710 ********* [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ address }}' in result.stdout ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003997", "end": "2024-07-06 06:51:42.562001", "rc": 0, "start": "2024-07-06 06:51:42.558004" } STDOUT: 98: 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 232sec preferred_lft 232sec TASK [Include the task 'assert_IPv6_present.yml'] ****************************** Saturday 06 July 2024 06:51:42 -0400 (0:00:00.359) 0:00:26.069 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_IPv6_present.yml for managed_node1 TASK [** TEST check IPv6] ****************************************************** Saturday 06 July 2024 06:51:42 -0400 (0:00:00.124) 0:00:26.193 ********* [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ address }}' in result.stdout ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003600", "end": "2024-07-06 06:51:43.040028", "rc": 0, "start": "2024-07-06 06:51:43.036428" } STDOUT: 98: nm-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::1ca/128 scope global noprefixroute dynamic valid_lft 232sec preferred_lft 232sec inet6 2001:db8::adcc:edcc:c104:b05a/64 scope global noprefixroute dynamic valid_lft 1791sec preferred_lft 1791sec inet6 fe80::db48:b8ba:2445:1612/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 06:51:43 -0400 (0:00:00.352) 0:00:26.546 ********* TASK [Success in test 'Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.'] *** Saturday 06 July 2024 06:51:43 -0400 (0:00:00.066) 0:00:26.612 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.' +++++ TASK [Cleanup] ***************************************************************** Saturday 06 July 2024 06:51:43 -0400 (0:00:00.074) 0:00:26.686 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_bond_profile+device.yml for managed_node1 included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:51:43 -0400 (0:00:00.187) 0:00:26.874 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:51:43 -0400 (0:00:00.187) 0:00:27.061 ********* skipping: [managed_node1] => { "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] *********** Saturday 06 July 2024 06:51:43 -0400 (0:00:00.092) 0:00:27.154 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:51:43 -0400 (0:00:00.072) 0:00:27.226 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:51:43 -0400 (0:00:00.071) 0:00:27.297 ********* ok: [managed_node1] => { "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] *** Saturday 06 July 2024 06:51:44 -0400 (0:00:00.968) 0:00:28.266 ********* ok: [managed_node1] => { "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] ************** Saturday 06 July 2024 06:51:46 -0400 (0:00:01.319) 0:00:29.586 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.077) 0:00:29.663 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.074) 0:00:29.737 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.072) 0:00:29.810 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.075) 0:00:29.885 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.081) 0:00:29.967 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.080) 0:00:30.048 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.130) 0:00:30.178 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.070) 0:00:30.249 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.071) 0:00:30.321 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:51:46 -0400 (0:00:00.078) 0:00:30.399 ********* ok: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:51:47 -0400 (0:00:00.542) 0:00:30.942 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:51:47 -0400 (0:00:00.081) 0:00:31.024 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:51:47 -0400 (0:00:00.070) 0:00:31.095 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:51:47 -0400 (0:00:00.072) 0:00:31.167 ********* changed: [managed_node1] => { "_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] ********** Saturday 06 July 2024 06:51:49 -0400 (0:00:01.471) 0:00:32.639 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:51:49 -0400 (0:00:00.070) 0:00:32.710 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:51:49 -0400 (0:00:00.074) 0:00:32.785 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:51:49 -0400 (0:00:00.076) 0:00:32.861 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:51:49 -0400 (0:00:00.071) 0:00:32.933 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* Saturday 06 July 2024 06:51:49 -0400 (0:00:00.329) 0:00:33.263 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.011416", "end": "2024-07-06 06:51:50.129976", "failed_when_result": false, "rc": 1, "start": "2024-07-06 06:51:50.118560" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** Saturday 06 July 2024 06:51:50 -0400 (0:00:00.366) 0:00:33.629 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nrc=0\nip link delete test1 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test1 - error \"$rc\"\nfi\nip link delete test2 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test2 - error \"$rc\"\nfi\nip link delete testbr || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link testbr - error \"$rc\"\nfi\n", "delta": "0:00:00.067153", "end": "2024-07-06 06:51:50.538599", "rc": 0, "start": "2024-07-06 06:51:50.471446" } STDERR: + exec + rc=0 + ip link delete test1 + '[' 0 '!=' 0 ']' + ip link delete test2 + '[' 0 '!=' 0 ']' + ip link delete testbr + '[' 0 '!=' 0 ']' TASK [Stop dnsmasq/radvd services] ********************************************* Saturday 06 July 2024 06:51:50 -0400 (0:00:00.411) 0:00:34.041 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -uxo pipefail\nexec 1>&2\npkill -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\nfi\n", "delta": "0:00:00.025731", "end": "2024-07-06 06:51:50.905819", "rc": 0, "start": "2024-07-06 06:51:50.880088" } STDERR: + exec + pkill -F /run/dhcp_testbr.pid + rm -rf /run/dhcp_testbr.pid + rm -rf /run/dhcp_testbr.lease + grep 'release 6' /etc/redhat-release TASK [Reset bond options to assert] ******************************************** Saturday 06 July 2024 06:51:50 -0400 (0:00:00.365) 0:00:34.406 ********* ok: [managed_node1] => { "ansible_facts": { "bond_options_to_assert": [ { "key": "mode", "value": "active-backup" }, { "key": "arp_interval", "value": "60" }, { "key": "arp_ip_target", "value": "192.0.2.128" }, { "key": "arp_validate", "value": "none" }, { "key": "primary", "value": "test1" } ] }, "changed": false } TASK [Include the task 'run_test.yml'] ***************************************** Saturday 06 July 2024 06:51:51 -0400 (0:00:00.073) 0:00:34.480 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node1 TASK [TEST: Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.] *** Saturday 06 July 2024 06:51:51 -0400 (0:00:00.127) 0:00:34.607 ********* ok: [managed_node1] => {} MSG: ########## Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device. ########## TASK [Show item] *************************************************************** Saturday 06 July 2024 06:51:51 -0400 (0:00:00.120) 0:00:34.728 ********* ok: [managed_node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device." } ok: [managed_node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_test_interfaces_with_dhcp.yml", "tasks/assert_dhcp_device_present.yml" ] } ok: [managed_node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bond_profile_reconfigure.yml" ] } ok: [managed_node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_bond_options.yml" ] } ok: [managed_node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_bond_profile+device.yml", "tasks/remove_test_interfaces_with_dhcp.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** Saturday 06 July 2024 06:51:51 -0400 (0:00:00.132) 0:00:34.861 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** Saturday 06 July 2024 06:51:51 -0400 (0:00:00.125) 0:00:34.986 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node1 TASK [Gather current interface info] ******************************************* Saturday 06 July 2024 06:51:51 -0400 (0:00:00.120) 0:00:35.107 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003580", "end": "2024-07-06 06:51:51.945363", "rc": 0, "start": "2024-07-06 06:51:51.941783" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr team0 TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 06:51:52 -0400 (0:00:00.338) 0:00:35.445 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr", "team0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 06:51:52 -0400 (0:00:00.074) 0:00:35.520 ********* ok: [managed_node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo', u'rpltstbr', u'team0'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 06:51:52 -0400 (0:00:00.072) 0:00:35.592 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml for managed_node1 included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_dhcp_device_present.yml for managed_node1 TASK [Install dnsmasq] ********************************************************* Saturday 06 July 2024 06:51:52 -0400 (0:00:00.159) 0:00:35.751 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "dnsmasq-2.76-17.el7_9.3.x86_64 providing dnsmasq is already installed" ] } TASK [Install pgrep, sysctl] *************************************************** Saturday 06 July 2024 06:51:52 -0400 (0:00:00.579) 0:00:36.331 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** Saturday 06 July 2024 06:51:52 -0400 (0:00:00.074) 0:00:36.406 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "procps-ng-3.3.10-28.el7.x86_64 providing procps-ng is already installed" ] } TASK [Create test interfaces] ************************************************** Saturday 06 July 2024 06:51:53 -0400 (0:00:00.568) 0:00:36.975 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\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\n echo ERROR - could not add testbr\n ip addr\n exit 1\n fi\n sleep 1\n rc=0\n ip addr add 192.0.2.1/24 dev testbr || rc=\"$?\"\n if [ \"$rc\" != 0 ]; then\n echo NOTICE - could not add testbr - error code \"$rc\"\n continue\n fi\n ip -6 addr add 2001:DB8::1/32 dev testbr || rc=\"$?\"\n if [ \"$rc\" != 0 ]; then\n echo NOTICE - could not add testbr - error code \"$rc\"\n continue\n fi\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.242849", "end": "2024-07-06 06:51:55.076427", "rc": 0, "start": "2024-07-06 06:51:53.833578" } STDERR: + exec + ip link add test1 type veth peer name test1p + ip link add test2 type veth peer name test2p ++ pgrep NetworkManager + '[' -n 24137 ']' + nmcli d set test1 managed true + nmcli d set test2 managed true + nmcli d set test1p managed false + nmcli d set test2p managed false + ip link set test1p up + ip link set test2p up + ip link add name testbr type bridge forward_delay 0 ++ pgrep NetworkManager + '[' -n 24137 ']' + nmcli d set testbr managed false + ip link set testbr up + timer=0 + grep -q 'inet [1-9]' + ip addr show testbr + let timer+=1 + '[' 1 -eq 30 ']' + sleep 1 + rc=0 + ip addr add 192.0.2.1/24 dev testbr + '[' 0 '!=' 0 ']' + ip -6 addr add 2001:DB8::1/32 dev testbr + '[' 0 '!=' 0 ']' + grep -q 'inet [1-9]' + ip addr show testbr + grep 'release 6' /etc/redhat-release + ip link set test1p master testbr + ip link set test2p master testbr + 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 TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:51:55 -0400 (0:00:01.601) 0:00:38.576 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface test1] ******************************************** Saturday 06 July 2024 06:51:55 -0400 (0:00:00.122) 0:00:38.699 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263113.8431363, "block_size": 4096, "blocks": 0, "ctime": 1720263113.8421364, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 18663, "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": 1720263113.8421364, "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'] ************************** Saturday 06 July 2024 06:51:55 -0400 (0:00:00.346) 0:00:39.046 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 06:51:55 -0400 (0:00:00.077) 0:00:39.123 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node1 TASK [Get stat for interface test2] ******************************************** Saturday 06 July 2024 06:51:55 -0400 (0:00:00.121) 0:00:39.244 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720263113.8571362, "block_size": 4096, "blocks": 0, "ctime": 1720263113.8561363, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 19089, "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": 1720263113.8561363, "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'] ************************** Saturday 06 July 2024 06:51:56 -0400 (0:00:00.357) 0:00:39.601 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Saturday 06 July 2024 06:51:56 -0400 (0:00:00.077) 0:00:39.679 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_profile_reconfigure.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:51:56 -0400 (0:00:00.166) 0:00:39.846 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:51:56 -0400 (0:00:00.178) 0:00:40.024 ********* skipping: [managed_node1] => { "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] *********** Saturday 06 July 2024 06:51:56 -0400 (0:00:00.093) 0:00:40.118 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:51:56 -0400 (0:00:00.068) 0:00:40.186 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:51:56 -0400 (0:00:00.070) 0:00:40.257 ********* ok: [managed_node1] => { "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] *** Saturday 06 July 2024 06:51:57 -0400 (0:00:00.955) 0:00:41.212 ********* ok: [managed_node1] => { "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] ************** Saturday 06 July 2024 06:51:59 -0400 (0:00:01.288) 0:00:42.501 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.075) 0:00:42.577 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.072) 0:00:42.650 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.071) 0:00:42.721 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.072) 0:00:42.793 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.085) 0:00:42.879 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.081) 0:00:42.961 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.133) 0:00:43.094 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.071) 0:00:43.165 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.071) 0:00:43.237 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:51:59 -0400 (0:00:00.082) 0:00:43.320 ********* ok: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:52:00 -0400 (0:00:00.496) 0:00:43.817 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:52:00 -0400 (0:00:00.083) 0:00:43.900 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:52:00 -0400 (0:00:00.070) 0:00:43.971 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:52:00 -0400 (0:00:00.071) 0:00:44.043 ********* changed: [managed_node1] => { "_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': add connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5 [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:52:01 -0400 (0:00:01.167) 0:00:45.210 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:52:01 -0400 (0:00:00.070) 0:00:45.281 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:52:01 -0400 (0:00:00.077) 0:00:45.358 ********* ok: [managed_node1] => { "__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': add connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:52:02 -0400 (0:00:00.077) 0:00:45.436 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:52:02 -0400 (0:00:00.071) 0:00:45.507 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 06:52:02 -0400 (0:00:00.376) 0:00:45.884 ********* ok: [managed_node1] => { "__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': add connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, dc171429-6d0f-4913-90f4-02792b4feab5 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 446fe127-4163-4bd8-ba00-a91728344d56 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, f19590f3-06c4-4e82-b889-eb6ae29b755a (not-active)" ] } } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 06:52:02 -0400 (0:00:00.077) 0:00:45.962 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_bond_options.yml for managed_node1 TASK [** TEST check bond settings] ********************************************* Saturday 06 July 2024 06:52:02 -0400 (0:00:00.158) 0:00:46.121 ********* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout ok: [managed_node1] => (item={u'key': u'mode', u'value': u'active-backup'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003674", "end": "2024-07-06 06:52:03.002341", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2024-07-06 06:52:02.998667" } STDOUT: active-backup 1 ok: [managed_node1] => (item={u'key': u'arp_interval', u'value': u'60'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_interval" ], "delta": "0:00:00.003282", "end": "2024-07-06 06:52:03.350122", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2024-07-06 06:52:03.346840" } STDOUT: 60 ok: [managed_node1] => (item={u'key': u'arp_ip_target', u'value': u'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.003318", "end": "2024-07-06 06:52:03.674210", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2024-07-06 06:52:03.670892" } STDOUT: 192.0.2.128 ok: [managed_node1] => (item={u'key': u'arp_validate', u'value': u'none'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_validate" ], "delta": "0:00:00.003276", "end": "2024-07-06 06:52:03.980962", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2024-07-06 06:52:03.977686" } STDOUT: none 0 ok: [managed_node1] => (item={u'key': u'primary', u'value': u'test1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/primary" ], "delta": "0:00:00.003543", "end": "2024-07-06 06:52:04.314464", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2024-07-06 06:52:04.310921" } STDOUT: test1 TASK [Include the task 'assert_IPv4_present.yml'] ****************************** Saturday 06 July 2024 06:52:04 -0400 (0:00:01.712) 0:00:47.833 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_IPv4_present.yml for managed_node1 TASK [** TEST check IPv4] ****************************************************** Saturday 06 July 2024 06:52:04 -0400 (0:00:00.163) 0:00:47.997 ********* [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ address }}' in result.stdout ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.013975", "end": "2024-07-06 06:52:04.881994", "rc": 0, "start": "2024-07-06 06:52:04.868019" } STDOUT: 104: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.42/24 brd 192.0.2.255 scope global noprefixroute dynamic nm-bond valid_lft 240sec preferred_lft 240sec TASK [Include the task 'assert_IPv6_present.yml'] ****************************** Saturday 06 July 2024 06:52:04 -0400 (0:00:00.393) 0:00:48.390 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_IPv6_present.yml for managed_node1 TASK [** TEST check IPv6] ****************************************************** Saturday 06 July 2024 06:52:05 -0400 (0:00:00.125) 0:00:48.516 ********* [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ address }}' in result.stdout ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003622", "end": "2024-07-06 06:52:05.385987", "rc": 0, "start": "2024-07-06 06:52:05.382365" } STDOUT: 104: nm-bond: mtu 1500 state UP qlen 1000 inet6 2001:db8::42ae:dd82:4a6f:598c/64 scope global tentative noprefixroute dynamic valid_lft 1798sec preferred_lft 1798sec inet6 fe80::cc49:a857:79a3:7364/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 06:52:05 -0400 (0:00:00.380) 0:00:48.897 ********* TASK [Success in test 'Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.'] *** Saturday 06 July 2024 06:52:05 -0400 (0:00:00.068) 0:00:48.965 ********* ok: [managed_node1] => {} MSG: +++++ Success in test 'Given two DHCP-enabled network interfaces, when creating a bond profile with them, then the controller device and bond port profiles are present and the specified bond options are set for the controller device.' +++++ TASK [Cleanup] ***************************************************************** Saturday 06 July 2024 06:52:05 -0400 (0:00:00.073) 0:00:49.039 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_bond_profile+device.yml for managed_node1 included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml for managed_node1 included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:52:05 -0400 (0:00:00.202) 0:00:49.242 ********* included: /var/ARTIFACTS/work-generalukpimi5l/plans/general/tree/tmp.l3f5UaCnbZ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:52:05 -0400 (0:00:00.144) 0:00:49.386 ********* skipping: [managed_node1] => { "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] *********** Saturday 06 July 2024 06:52:06 -0400 (0:00:00.096) 0:00:49.483 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 06:52:06 -0400 (0:00:00.072) 0:00:49.556 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 06:52:06 -0400 (0:00:00.070) 0:00:49.626 ********* ok: [managed_node1] => { "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] *** Saturday 06 July 2024 06:52:07 -0400 (0:00:01.131) 0:00:50.758 ********* ok: [managed_node1] => { "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] ************** Saturday 06 July 2024 06:52:08 -0400 (0:00:01.324) 0:00:52.082 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:52:08 -0400 (0:00:00.076) 0:00:52.158 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 06:52:08 -0400 (0:00:00.074) 0:00:52.233 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:52:08 -0400 (0:00:00.071) 0:00:52.305 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:52:08 -0400 (0:00:00.074) 0:00:52.379 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:52:09 -0400 (0:00:00.082) 0:00:52.462 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 06:52:09 -0400 (0:00:00.125) 0:00:52.587 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 06:52:09 -0400 (0:00:00.133) 0:00:52.721 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 06:52:09 -0400 (0:00:00.071) 0:00:52.793 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 06:52:09 -0400 (0:00:00.073) 0:00:52.866 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 06:52:09 -0400 (0:00:00.080) 0:00:52.946 ********* ok: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:52:10 -0400 (0:00:00.512) 0:00:53.459 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:52:10 -0400 (0:00:00.083) 0:00:53.542 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:52:10 -0400 (0:00:00.072) 0:00:53.614 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:52:10 -0400 (0:00:00.073) 0:00:53.687 ********* changed: [managed_node1] => { "_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] ********** Saturday 06 July 2024 06:52:11 -0400 (0:00:01.429) 0:00:55.117 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 06:52:11 -0400 (0:00:00.072) 0:00:55.189 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:52:11 -0400 (0:00:00.075) 0:00:55.264 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:52:11 -0400 (0:00:00.122) 0:00:55.387 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:52:12 -0400 (0:00:00.073) 0:00:55.461 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* Saturday 06 July 2024 06:52:12 -0400 (0:00:00.341) 0:00:55.802 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.011734", "end": "2024-07-06 06:52:12.664622", "failed_when_result": false, "rc": 1, "start": "2024-07-06 06:52:12.652888" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** Saturday 06 July 2024 06:52:12 -0400 (0:00:00.364) 0:00:56.167 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euxo pipefail\nexec 1>&2\nrc=0\nip link delete test1 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test1 - error \"$rc\"\nfi\nip link delete test2 || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link test2 - error \"$rc\"\nfi\nip link delete testbr || rc=\"$?\"\nif [ \"$rc\" != 0 ]; then\n echo ERROR - could not delete link testbr - error \"$rc\"\nfi\n", "delta": "0:00:00.059010", "end": "2024-07-06 06:52:13.071625", "rc": 0, "start": "2024-07-06 06:52:13.012615" } STDERR: + exec + rc=0 + ip link delete test1 + '[' 0 '!=' 0 ']' + ip link delete test2 + '[' 0 '!=' 0 ']' + ip link delete testbr + '[' 0 '!=' 0 ']' TASK [Stop dnsmasq/radvd services] ********************************************* Saturday 06 July 2024 06:52:13 -0400 (0:00:00.419) 0:00:56.587 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -uxo pipefail\nexec 1>&2\npkill -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\nfi\n", "delta": "0:00:00.025156", "end": "2024-07-06 06:52:13.454487", "rc": 0, "start": "2024-07-06 06:52:13.429331" } STDERR: + exec + pkill -F /run/dhcp_testbr.pid + rm -rf /run/dhcp_testbr.pid + rm -rf /run/dhcp_testbr.lease + grep 'release 6' /etc/redhat-release TASK [Check routes and DNS] **************************************************** Saturday 06 July 2024 06:52:13 -0400 (0:00:00.370) 0:00:56.957 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008306", "end": "2024-07-06 06:52:18.817736", "rc": 0, "start": "2024-07-06 06:52:18.809430" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:28:e7:9d:f0:91 brd ff:ff:ff:ff:ff:ff inet 10.31.43.76/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3240sec preferred_lft 3240sec inet6 fe80::c28:e7ff:fe9d:f091/64 scope link valid_lft forever preferred_lft forever 10: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether fe:68:9f:79:ef:a1 brd ff:ff:ff:ff:ff:ff 18: team0: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether e2:92:3f:ac:ff:50 brd ff:ff:ff:ff:ff:ff 60: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 02:d3:90:06:94:37 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::d3:90ff:fe06:9437/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.76 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Saturday 06 July 2024 06:52:18 -0400 (0:00:05.362) 0:01:02.319 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.469154", "end": "2024-07-06 06:52:19.662007", "rc": 0, "start": "2024-07-06 06:52:19.192853" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1362 0 --:--:-- --:--:-- --:--:-- 1367 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1298 0 --:--:-- --:--:-- --:--:-- 1304 PLAY RECAP ********************************************************************* managed_node1 : ok=153 changed=4 unreachable=0 failed=0 skipped=87 rescued=0 ignored=0 Saturday 06 July 2024 06:52:19 -0400 (0:00:00.796) 0:01:03.115 ********* =============================================================================== Check routes and DNS ---------------------------------------------------- 5.36s ** TEST check bond settings --------------------------------------------- 4.41s ** TEST check bond settings --------------------------------------------- 1.71s Create test interfaces -------------------------------------------------- 1.60s Create test interfaces -------------------------------------------------- 1.55s fedora.linux_system_roles.network : Check which packages are installed --- 1.47s fedora.linux_system_roles.network : Configure networking connection profiles --- 1.43s fedora.linux_system_roles.network : Check which packages are installed --- 1.32s fedora.linux_system_roles.network : Check which packages are installed --- 1.32s fedora.linux_system_roles.network : Check which packages are installed --- 1.29s fedora.linux_system_roles.network : Configure networking connection profiles --- 1.17s fedora.linux_system_roles.network : Configure networking connection profiles --- 1.17s fedora.linux_system_roles.network : Check which services are running ---- 1.13s fedora.linux_system_roles.network : Check which services are running ---- 1.02s Gathering Facts --------------------------------------------------------- 0.97s fedora.linux_system_roles.network : Check which services are running ---- 0.97s fedora.linux_system_roles.network : Check which services are running ---- 0.96s Verify DNS and network connectivity ------------------------------------- 0.80s Install yum-utils package ----------------------------------------------- 0.78s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.73s