[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. No config file found; using defaults 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 07:13:50 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 07:13:53 -0400 (0:00:02.801) 0:00:02.810 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:13:53 -0400 (0:00:00.021) 0:00:02.831 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 07:13:55 -0400 (0:00:02.048) 0:00:04.880 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 07:13:55 -0400 (0:00:00.502) 0:00:05.383 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 07:13:56 -0400 (0:00:00.025) 0:00:05.408 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 07:13:56 -0400 (0:00:00.014) 0:00:05.423 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 40] ********************************************************** Saturday 06 July 2024 07:13:56 -0400 (0:00:00.031) 0:00:05.455 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 07:13:56 -0400 (0:00:00.014) 0:00:05.469 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 07:13:56 -0400 (0:00:00.013) 0:00:05.483 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 07:13:56 -0400 (0:00:00.013) 0:00:05.496 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 07:13:56 -0400 (0:00:00.013) 0:00:05.509 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution in ['RedHat', 'CentOS']", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Saturday 06 July 2024 07:13:56 -0400 (0:00:00.014) 0:00:05.523 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing bond options] ******************************************* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 07:13:56 -0400 (0:00:00.032) 0:00:05.556 ********* ok: [managed_node1] TASK [Show playbook name] ****************************************************** Saturday 06 July 2024 07:13:58 -0400 (0:00:02.492) 0:00:08.048 ********* ok: [managed_node1] => {} MSG: this is: playbooks/tests_bond_options.yml TASK [Include the task 'run_test.yml'] ***************************************** Saturday 06 July 2024 07:13:58 -0400 (0:00:00.019) 0:00:08.068 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:13:58 -0400 (0:00:00.088) 0:00:08.156 ********* 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 07:13:58 -0400 (0:00:00.020) 0:00:08.177 ********* 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 07:13:58 -0400 (0:00:00.057) 0:00:08.234 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:13:58 -0400 (0:00:00.023) 0:00:08.258 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:13:58 -0400 (0:00:00.023) 0:00:08.281 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003928", "end": "2024-07-06 07:13:59.331288", "rc": 0, "start": "2024-07-06 07:13:59.327360" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 07:13:59 -0400 (0:00:00.509) 0:00:08.791 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 07:13:59 -0400 (0:00:00.021) 0:00:08.812 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 07:13:59 -0400 (0:00:00.019) 0:00:08.832 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml for managed_node1 => (item=tasks/create_test_interfaces_with_dhcp.yml) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_dhcp_device_present.yml for managed_node1 => (item=tasks/assert_dhcp_device_present.yml) TASK [Install dnsmasq] ********************************************************* Saturday 06 July 2024 07:13:59 -0400 (0:00:00.043) 0:00:08.875 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** Saturday 06 July 2024 07:14:01 -0400 (0:00:01.604) 0:00:10.480 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version is version('6', '<=')", "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** Saturday 06 July 2024 07:14:01 -0400 (0:00:00.021) 0:00:10.502 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** Saturday 06 July 2024 07:14:02 -0400 (0:00:01.497) 0:00:11.999 ********* 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.356052", "end": "2024-07-06 07:14:04.303349", "rc": 0, "start": "2024-07-06 07:14:02.947297" } STDERR: + exec + ip link add test1 type veth peer name test1p + ip link add test2 type veth peer name test2p ++ pgrep NetworkManager + '[' -n 186207 ']' + 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 186207 ']' + nmcli d set testbr managed false + ip link set testbr up + timer=0 + ip addr show testbr + grep -q 'inet [1-9]' + 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 ']' + ip addr show testbr + grep -q 'inet [1-9]' + 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 07:14:04 -0400 (0:00:01.764) 0:00:13.764 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:04 -0400 (0:00:00.024) 0:00:13.788 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720264442.9533138, "block_size": 4096, "blocks": 0, "ctime": 1720264442.9533138, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51123, "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": 1720264442.9533138, "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 07:14:04 -0400 (0:00:00.413) 0:00:14.201 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 07:14:04 -0400 (0:00:00.023) 0:00:14.225 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:04 -0400 (0:00:00.023) 0:00:14.249 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720264442.9620621, "block_size": 4096, "blocks": 0, "ctime": 1720264442.9620621, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51529, "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": 1720264442.9620621, "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 07:14:05 -0400 (0:00:00.419) 0:00:14.668 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Saturday 06 July 2024 07:14:05 -0400 (0:00:00.023) 0:00:14.691 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_profile.yml for managed_node1 => (item=tasks/create_bond_profile.yml) TASK [Include network role] **************************************************** Saturday 06 July 2024 07:14:05 -0400 (0:00:00.035) 0:00:14.727 ********* included: fedora.linux_system_roles.network for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:14:05 -0400 (0:00:00.050) 0:00:14.777 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:05 -0400 (0:00:00.039) 0:00:14.817 ********* 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 07:14:05 -0400 (0:00:00.026) 0:00:14.844 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:14:05 -0400 (0:00:00.022) 0:00:14.866 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:14:05 -0400 (0:00:00.022) 0:00:14.888 ********* 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 07:14:08 -0400 (0:00:03.034) 0:00:17.923 ********* 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 07:14:09 -0400 (0:00:01.329) 0:00:19.253 ********* 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 07:14:09 -0400 (0:00:00.045) 0:00:19.298 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 07:14:09 -0400 (0:00:00.045) 0:00:19.344 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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 07:14:09 -0400 (0:00:00.046) 0:00:19.390 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:14:10 -0400 (0:00:00.088) 0:00:19.478 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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 07:14:10 -0400 (0:00:00.046) 0:00:19.525 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 07:14:10 -0400 (0:00:00.064) 0:00:19.589 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 07:14:10 -0400 (0:00:00.118) 0:00:19.708 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:14:10 -0400 (0:00:00.044) 0:00:19.752 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:14:10 -0400 (0:00:00.047) 0:00:19.800 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 07:14:10 -0400 (0:00:00.064) 0:00:19.865 ********* 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 07:14:11 -0400 (0:00:00.927) 0:00:20.792 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:14:11 -0400 (0:00:00.064) 0:00:20.857 ********* 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 07:14:11 -0400 (0:00:00.039) 0:00:20.897 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:14:11 -0400 (0:00:00.040) 0:00:20.937 ********* 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, b8163953-be46-468a-a263-2267de996ecb [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b8163953-be46-468a-a263-2267de996ecb (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:14:12 -0400 (0:00:01.259) 0:00:22.196 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:14:12 -0400 (0:00:00.046) 0:00:22.243 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b8163953-be46-468a-a263-2267de996ecb", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b8163953-be46-468a-a263-2267de996ecb (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:14:12 -0400 (0:00:00.045) 0:00:22.288 ********* 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, b8163953-be46-468a-a263-2267de996ecb\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b8163953-be46-468a-a263-2267de996ecb (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78 (is-modified)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b8163953-be46-468a-a263-2267de996ecb", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b8163953-be46-468a-a263-2267de996ecb (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:14:12 -0400 (0:00:00.048) 0:00:22.336 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:14:13 -0400 (0:00:00.078) 0:00:22.415 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 07:14:13 -0400 (0:00:00.545) 0:00:22.960 ********* 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, b8163953-be46-468a-a263-2267de996ecb\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b8163953-be46-468a-a263-2267de996ecb (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78 (is-modified)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, b8163953-be46-468a-a263-2267de996ecb", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, b8163953-be46-468a-a263-2267de996ecb (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d2dbde42-3fca-48c8-b3a3-d3bb43e394e9 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 19b3a3eb-a5c3-4d10-b194-5722379bda78 (is-modified)" ] } } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 07:14:13 -0400 (0:00:00.047) 0:00:23.008 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_controller_device_present.yml for managed_node1 => (item=tasks/assert_controller_device_present.yml) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_bond_port_profile_present.yml for managed_node1 => (item=tasks/assert_bond_port_profile_present.yml) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_bond_options.yml for managed_node1 => (item=tasks/assert_bond_options.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 07:14:13 -0400 (0:00:00.094) 0:00:23.103 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:13 -0400 (0:00:00.067) 0:00:23.170 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720264452.2980182, "block_size": 4096, "blocks": 0, "ctime": 1720264452.2980182, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 51931, "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": 1720264452.2980182, "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 07:14:14 -0400 (0:00:00.433) 0:00:23.603 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** Saturday 06 July 2024 07:14:14 -0400 (0:00:00.046) 0:00:23.649 ********* [WARNING]: TASK: Include the task 'assert_profile_present.yml': 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-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=bond0) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=bond0.0) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node1 => (item=bond0.1) TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 07:14:14 -0400 (0:00:00.084) 0:00:23.734 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:14 -0400 (0:00:00.075) 0:00:23.809 ********* 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 07:14:14 -0400 (0:00:00.042) 0:00:23.852 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 07:14:14 -0400 (0:00:00.465) 0:00:24.317 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 07:14:14 -0400 (0:00:00.040) 0:00:24.358 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.028374", "end": "2024-07-06 07:14:15.333816", "rc": 0, "start": "2024-07-06 07:14:15.305442" } STDOUT: bond0.0 /etc/NetworkManager/system-connections/bond0.0.nmconnection bond0.1 /etc/NetworkManager/system-connections/bond0.1.nmconnection bond0 /etc/NetworkManager/system-connections/bond0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 07:14:15 -0400 (0:00:00.458) 0:00:24.816 ********* 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 07:14:15 -0400 (0:00:00.045) 0:00:24.861 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** Saturday 06 July 2024 07:14:15 -0400 (0:00:00.041) 0:00:24.903 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0] ****************************** Saturday 06 July 2024 07:14:15 -0400 (0:00:00.040) 0:00:24.943 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0] *************************** Saturday 06 July 2024 07:14:15 -0400 (0:00:00.040) 0:00:24.984 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0'] **************************** Saturday 06 July 2024 07:14:15 -0400 (0:00:00.040) 0:00:25.025 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0'] *********** Saturday 06 July 2024 07:14:15 -0400 (0:00:00.048) 0:00:25.073 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0] ***************** Saturday 06 July 2024 07:14:15 -0400 (0:00:00.048) 0:00:25.122 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 07:14:15 -0400 (0:00:00.046) 0:00:25.168 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:15 -0400 (0:00:00.074) 0:00:25.243 ********* 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 07:14:15 -0400 (0:00:00.043) 0:00:25.286 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 07:14:16 -0400 (0:00:00.477) 0:00:25.763 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 07:14:16 -0400 (0:00:00.039) 0:00:25.803 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.028252", "end": "2024-07-06 07:14:16.779891", "rc": 0, "start": "2024-07-06 07:14:16.751639" } STDOUT: bond0.0 /etc/NetworkManager/system-connections/bond0.0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 07:14:16 -0400 (0:00:00.459) 0:00:26.263 ********* 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 07:14:16 -0400 (0:00:00.046) 0:00:26.310 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* Saturday 06 July 2024 07:14:16 -0400 (0:00:00.042) 0:00:26.352 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0.0] **************************** Saturday 06 July 2024 07:14:16 -0400 (0:00:00.041) 0:00:26.393 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0.0] ************************* Saturday 06 July 2024 07:14:17 -0400 (0:00:00.041) 0:00:26.435 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0.0'] ************************** Saturday 06 July 2024 07:14:17 -0400 (0:00:00.040) 0:00:26.476 ********* 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 07:14:17 -0400 (0:00:00.047) 0:00:26.524 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.0] *************** Saturday 06 July 2024 07:14:17 -0400 (0:00:00.046) 0:00:26.571 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* Saturday 06 July 2024 07:14:17 -0400 (0:00:00.046) 0:00:26.618 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:17 -0400 (0:00:00.075) 0:00:26.693 ********* 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 07:14:17 -0400 (0:00:00.042) 0:00:26.735 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Saturday 06 July 2024 07:14:17 -0400 (0:00:00.433) 0:00:27.169 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Saturday 06 July 2024 07:14:17 -0400 (0:00:00.073) 0:00:27.243 ********* ok: [managed_node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.028685", "end": "2024-07-06 07:14:18.223171", "rc": 0, "start": "2024-07-06 07:14:18.194486" } STDOUT: bond0.1 /etc/NetworkManager/system-connections/bond0.1.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Saturday 06 July 2024 07:14:18 -0400 (0:00:00.462) 0:00:27.706 ********* 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 07:14:18 -0400 (0:00:00.045) 0:00:27.752 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* Saturday 06 July 2024 07:14:18 -0400 (0:00:00.041) 0:00:27.794 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0.1] **************************** Saturday 06 July 2024 07:14:18 -0400 (0:00:00.042) 0:00:27.837 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0.1] ************************* Saturday 06 July 2024 07:14:18 -0400 (0:00:00.042) 0:00:27.879 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0.1'] ************************** Saturday 06 July 2024 07:14:18 -0400 (0:00:00.041) 0:00:27.920 ********* 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 07:14:18 -0400 (0:00:00.048) 0:00:27.969 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.1] *************** Saturday 06 July 2024 07:14:18 -0400 (0:00:00.048) 0:00:28.017 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* Saturday 06 July 2024 07:14:18 -0400 (0:00:00.047) 0:00:28.064 ********* [WARNING]: TASK: ** TEST check bond settings: 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={'key': 'mode', 'value': '802.3ad'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003535", "end": "2024-07-06 07:14:19.017824", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2024-07-06 07:14:19.014289" } STDOUT: 802.3ad 4 ok: [managed_node1] => (item={'key': 'ad_actor_sys_prio', 'value': '65535'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_sys_prio" ], "delta": "0:00:00.003415", "end": "2024-07-06 07:14:19.413027", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2024-07-06 07:14:19.409612" } STDOUT: 65535 ok: [managed_node1] => (item={'key': 'ad_actor_system', 'value': '00:00:5e:00:53:5d'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_system" ], "delta": "0:00:00.003469", "end": "2024-07-06 07:14:19.807100", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2024-07-06 07:14:19.803631" } STDOUT: 00:00:5e:00:53:5d ok: [managed_node1] => (item={'key': 'ad_select', 'value': 'stable'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_select" ], "delta": "0:00:00.003358", "end": "2024-07-06 07:14:20.193235", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2024-07-06 07:14:20.189877" } STDOUT: stable 0 ok: [managed_node1] => (item={'key': 'ad_user_port_key', 'value': '1023'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_user_port_key" ], "delta": "0:00:00.003450", "end": "2024-07-06 07:14:20.583486", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2024-07-06 07:14:20.580036" } STDOUT: 1023 ok: [managed_node1] => (item={'key': 'all_slaves_active', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/all_slaves_active" ], "delta": "0:00:00.003422", "end": "2024-07-06 07:14:20.972655", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2024-07-06 07:14:20.969233" } STDOUT: 1 ok: [managed_node1] => (item={'key': 'downdelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/downdelay" ], "delta": "0:00:00.003519", "end": "2024-07-06 07:14:21.355153", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2024-07-06 07:14:21.351634" } STDOUT: 0 ok: [managed_node1] => (item={'key': 'lacp_rate', 'value': 'slow'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lacp_rate" ], "delta": "0:00:00.003527", "end": "2024-07-06 07:14:21.745020", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2024-07-06 07:14:21.741493" } STDOUT: slow 0 ok: [managed_node1] => (item={'key': 'lp_interval', 'value': '128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lp_interval" ], "delta": "0:00:00.003496", "end": "2024-07-06 07:14:22.136224", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2024-07-06 07:14:22.132728" } STDOUT: 128 ok: [managed_node1] => (item={'key': 'miimon', 'value': '110'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/miimon" ], "delta": "0:00:00.003627", "end": "2024-07-06 07:14:22.531943", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2024-07-06 07:14:22.528316" } STDOUT: 110 ok: [managed_node1] => (item={'key': 'num_grat_arp', 'value': '64'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/num_grat_arp" ], "delta": "0:00:00.003501", "end": "2024-07-06 07:14:22.921495", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2024-07-06 07:14:22.917994" } STDOUT: 64 ok: [managed_node1] => (item={'key': 'resend_igmp', 'value': '225'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/resend_igmp" ], "delta": "0:00:00.003643", "end": "2024-07-06 07:14:23.318737", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2024-07-06 07:14:23.315094" } STDOUT: 225 ok: [managed_node1] => (item={'key': 'updelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/updelay" ], "delta": "0:00:00.003424", "end": "2024-07-06 07:14:23.709645", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2024-07-06 07:14:23.706221" } STDOUT: 0 ok: [managed_node1] => (item={'key': 'use_carrier', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/use_carrier" ], "delta": "0:00:00.003454", "end": "2024-07-06 07:14:24.105419", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2024-07-06 07:14:24.101965" } STDOUT: 1 ok: [managed_node1] => (item={'key': 'xmit_hash_policy', 'value': 'encap2+3'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/xmit_hash_policy" ], "delta": "0:00:00.003577", "end": "2024-07-06 07:14:24.502192", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2024-07-06 07:14:24.498615" } STDOUT: encap2+3 3 TASK [Include the task 'assert_IPv4_present.yml'] ****************************** Saturday 06 July 2024 07:14:24 -0400 (0:00:05.927) 0:00:33.991 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:24 -0400 (0:00:00.067) 0:00:34.059 ********* [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.004329", "end": "2024-07-06 07:14:25.022759", "rc": 0, "start": "2024-07-06 07:14:25.018430" } STDOUT: 98: 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 dynamic noprefixroute nm-bond valid_lft 230sec preferred_lft 230sec TASK [Include the task 'assert_IPv6_present.yml'] ****************************** Saturday 06 July 2024 07:14:25 -0400 (0:00:00.449) 0:00:34.508 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:25 -0400 (0:00:00.105) 0:00:34.614 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.004169", "end": "2024-07-06 07:14:25.569728", "rc": 0, "start": "2024-07-06 07:14:25.565559" } STDOUT: 98: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::1a0/128 scope global dynamic noprefixroute valid_lft 231sec preferred_lft 231sec inet6 2001:db8::74b4:78ff:fe8f:2c60/64 scope global dynamic noprefixroute valid_lft 1800sec preferred_lft 1800sec inet6 fe80::74b4:78ff:fe8f:2c60/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 07:14:25 -0400 (0:00:00.441) 0:00:35.055 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } 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 07:14:25 -0400 (0:00:00.046) 0:00:35.102 ********* 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 07:14:25 -0400 (0:00:00.045) 0:00:35.148 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_bond_profile+device.yml for managed_node1 => (item=tasks/cleanup_bond_profile+device.yml) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml for managed_node1 => (item=tasks/remove_test_interfaces_with_dhcp.yml) TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:14:25 -0400 (0:00:00.116) 0:00:35.264 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:25 -0400 (0:00:00.083) 0:00:35.348 ********* 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 07:14:26 -0400 (0:00:00.056) 0:00:35.405 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:14:26 -0400 (0:00:00.045) 0:00:35.451 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:14:26 -0400 (0:00:00.046) 0:00:35.497 ********* 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 07:14:29 -0400 (0:00:02.911) 0:00:38.409 ********* 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 07:14:30 -0400 (0:00:01.145) 0:00:39.555 ********* 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 07:14:30 -0400 (0:00:00.044) 0:00:39.599 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 07:14:30 -0400 (0:00:00.046) 0:00:39.646 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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 07:14:30 -0400 (0:00:00.046) 0:00:39.692 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:14:30 -0400 (0:00:00.063) 0:00:39.756 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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 07:14:30 -0400 (0:00:00.047) 0:00:39.803 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 07:14:30 -0400 (0:00:00.063) 0:00:39.867 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 07:14:30 -0400 (0:00:00.102) 0:00:39.969 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:14:30 -0400 (0:00:00.046) 0:00:40.016 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:14:30 -0400 (0:00:00.046) 0:00:40.062 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 07:14:30 -0400 (0:00:00.063) 0:00:40.125 ********* 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 07:14:31 -0400 (0:00:00.684) 0:00:40.810 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:14:31 -0400 (0:00:00.061) 0:00:40.871 ********* 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 07:14:31 -0400 (0:00:00.040) 0:00:40.912 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:14:31 -0400 (0:00:00.079) 0:00:40.991 ********* 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 07:14:32 -0400 (0:00:01.099) 0:00:42.091 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:14:32 -0400 (0:00:00.046) 0:00:42.138 ********* 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 07:14:32 -0400 (0:00:00.044) 0:00:42.183 ********* 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 07:14:32 -0400 (0:00:00.047) 0:00:42.230 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:14:32 -0400 (0:00:00.047) 0:00:42.277 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* Saturday 06 July 2024 07:14:33 -0400 (0:00:00.456) 0:00:42.734 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.008961", "end": "2024-07-06 07:14:33.693983", "failed_when_result": false, "rc": 1, "start": "2024-07-06 07:14:33.685022" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** Saturday 06 July 2024 07:14:33 -0400 (0:00:00.442) 0:00:43.176 ********* 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.056823", "end": "2024-07-06 07:14:34.182301", "rc": 0, "start": "2024-07-06 07:14:34.125478" } 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 07:14:34 -0400 (0:00:00.489) 0:00:43.666 ********* 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.019602", "end": "2024-07-06 07:14:34.638683", "rc": 0, "start": "2024-07-06 07:14:34.619081" } 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 07:14:34 -0400 (0:00:00.457) 0:00:44.124 ********* 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 07:14:34 -0400 (0:00:00.043) 0:00:44.168 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:34 -0400 (0:00:00.073) 0:00:44.242 ********* 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 07:14:34 -0400 (0:00:00.045) 0:00:44.287 ********* 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 07:14:35 -0400 (0:00:00.167) 0:00:44.454 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:35 -0400 (0:00:00.070) 0:00:44.524 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:35 -0400 (0:00:00.066) 0:00:44.591 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003874", "end": "2024-07-06 07:14:35.548889", "rc": 0, "start": "2024-07-06 07:14:35.545015" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** Saturday 06 July 2024 07:14:35 -0400 (0:00:00.442) 0:00:45.034 ********* ok: [managed_node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Saturday 06 July 2024 07:14:35 -0400 (0:00:00.045) 0:00:45.079 ********* ok: [managed_node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* Saturday 06 July 2024 07:14:35 -0400 (0:00:00.044) 0:00:45.123 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_test_interfaces_with_dhcp.yml for managed_node1 => (item=tasks/create_test_interfaces_with_dhcp.yml) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_dhcp_device_present.yml for managed_node1 => (item=tasks/assert_dhcp_device_present.yml) TASK [Install dnsmasq] ********************************************************* Saturday 06 July 2024 07:14:35 -0400 (0:00:00.088) 0:00:45.212 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** Saturday 06 July 2024 07:14:37 -0400 (0:00:01.468) 0:00:46.680 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version is version('6', '<=')", "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** Saturday 06 July 2024 07:14:37 -0400 (0:00:00.045) 0:00:46.726 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** Saturday 06 July 2024 07:14:38 -0400 (0:00:01.442) 0:00:48.169 ********* 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.352490", "end": "2024-07-06 07:14:40.468671", "rc": 0, "start": "2024-07-06 07:14:39.116181" } STDERR: + exec + ip link add test1 type veth peer name test1p + ip link add test2 type veth peer name test2p ++ pgrep NetworkManager + '[' -n 186207 ']' + 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 186207 ']' + nmcli d set testbr managed false + ip link set testbr up + timer=0 + ip addr show testbr + grep -q 'inet [1-9]' + 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 ']' + ip addr show testbr + grep -q 'inet [1-9]' + 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 07:14:40 -0400 (0:00:01.782) 0:00:49.952 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:40 -0400 (0:00:00.101) 0:00:50.054 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720264479.1217618, "block_size": 4096, "blocks": 0, "ctime": 1720264479.1217618, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 52445, "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": 1720264479.1217618, "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 07:14:41 -0400 (0:00:00.430) 0:00:50.484 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* Saturday 06 July 2024 07:14:41 -0400 (0:00:00.047) 0:00:50.532 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:41 -0400 (0:00:00.068) 0:00:50.601 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1720264479.1298375, "block_size": 4096, "blocks": 0, "ctime": 1720264479.1298375, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 52851, "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": 1720264479.1298375, "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 07:14:41 -0400 (0:00:00.432) 0:00:51.034 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** Saturday 06 July 2024 07:14:41 -0400 (0:00:00.046) 0:00:51.081 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bond_profile_reconfigure.yml for managed_node1 => (item=tasks/create_bond_profile_reconfigure.yml) TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:14:41 -0400 (0:00:00.103) 0:00:51.184 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:41 -0400 (0:00:00.081) 0:00:51.266 ********* 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 07:14:41 -0400 (0:00:00.057) 0:00:51.323 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:14:41 -0400 (0:00:00.045) 0:00:51.369 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:14:42 -0400 (0:00:00.046) 0:00:51.416 ********* 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 07:14:44 -0400 (0:00:02.983) 0:00:54.400 ********* 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 07:14:46 -0400 (0:00:01.068) 0:00:55.468 ********* 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 07:14:46 -0400 (0:00:00.046) 0:00:55.515 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 07:14:46 -0400 (0:00:00.047) 0:00:55.563 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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 07:14:46 -0400 (0:00:00.046) 0:00:55.610 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:14:46 -0400 (0:00:00.069) 0:00:55.679 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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 07:14:46 -0400 (0:00:00.048) 0:00:55.728 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 07:14:46 -0400 (0:00:00.065) 0:00:55.794 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 07:14:46 -0400 (0:00:00.123) 0:00:55.917 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:14:46 -0400 (0:00:00.047) 0:00:55.964 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:14:46 -0400 (0:00:00.046) 0:00:56.010 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 07:14:46 -0400 (0:00:00.065) 0:00:56.076 ********* 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 07:14:47 -0400 (0:00:00.785) 0:00:56.861 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:14:47 -0400 (0:00:00.069) 0:00:56.930 ********* 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 07:14:47 -0400 (0:00:00.041) 0:00:56.972 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:14:47 -0400 (0:00:00.040) 0:00:57.012 ********* 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, c104fdec-4482-4086-8988-3d62a2c4bf8a [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c104fdec-4482-4086-8988-3d62a2c4bf8a (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 07:14:48 -0400 (0:00:01.059) 0:00:58.072 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:14:48 -0400 (0:00:00.047) 0:00:58.119 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c104fdec-4482-4086-8988-3d62a2c4bf8a", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c104fdec-4482-4086-8988-3d62a2c4bf8a (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 07:14:48 -0400 (0:00:00.046) 0:00:58.166 ********* 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, c104fdec-4482-4086-8988-3d62a2c4bf8a\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c104fdec-4482-4086-8988-3d62a2c4bf8a (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97 (is-modified)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c104fdec-4482-4086-8988-3d62a2c4bf8a", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c104fdec-4482-4086-8988-3d62a2c4bf8a (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 07:14:48 -0400 (0:00:00.047) 0:00:58.213 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:14:48 -0400 (0:00:00.049) 0:00:58.263 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* Saturday 06 July 2024 07:14:49 -0400 (0:00:00.461) 0:00:58.724 ********* 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, c104fdec-4482-4086-8988-3d62a2c4bf8a\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c104fdec-4482-4086-8988-3d62a2c4bf8a (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97 (is-modified)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c104fdec-4482-4086-8988-3d62a2c4bf8a", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c104fdec-4482-4086-8988-3d62a2c4bf8a (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 55f449be-2573-41af-b2fb-e02950cd6f26 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, d2f6fa04-88d4-4180-85a6-42b608838a97 (is-modified)" ] } } TASK [Asserts] ***************************************************************** Saturday 06 July 2024 07:14:49 -0400 (0:00:00.045) 0:00:58.770 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_bond_options.yml for managed_node1 => (item=tasks/assert_bond_options.yml) TASK [** TEST check bond settings] ********************************************* Saturday 06 July 2024 07:14:49 -0400 (0:00:00.093) 0:00:58.864 ********* ok: [managed_node1] => (item={'key': 'mode', 'value': 'active-backup'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003307", "end": "2024-07-06 07:14:49.815951", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2024-07-06 07:14:49.812644" } STDOUT: active-backup 1 ok: [managed_node1] => (item={'key': 'arp_interval', 'value': '60'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_interval" ], "delta": "0:00:00.003328", "end": "2024-07-06 07:14:50.218221", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2024-07-06 07:14:50.214893" } STDOUT: 60 ok: [managed_node1] => (item={'key': 'arp_ip_target', 'value': '192.0.2.128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_ip_target" ], "delta": "0:00:00.003558", "end": "2024-07-06 07:14:50.631214", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2024-07-06 07:14:50.627656" } STDOUT: 192.0.2.128 ok: [managed_node1] => (item={'key': 'arp_validate', 'value': 'none'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_validate" ], "delta": "0:00:00.003444", "end": "2024-07-06 07:14:51.036425", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2024-07-06 07:14:51.032981" } STDOUT: none 0 ok: [managed_node1] => (item={'key': 'primary', 'value': 'test1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/primary" ], "delta": "0:00:00.003382", "end": "2024-07-06 07:14:51.452404", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2024-07-06 07:14:51.449022" } STDOUT: test1 TASK [Include the task 'assert_IPv4_present.yml'] ****************************** Saturday 06 July 2024 07:14:51 -0400 (0:00:02.131) 0:01:00.996 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:51 -0400 (0:00:00.067) 0:01:01.063 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.004501", "end": "2024-07-06 07:14:52.022317", "rc": 0, "start": "2024-07-06 07:14:52.017816" } 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 dynamic noprefixroute nm-bond valid_lft 237sec preferred_lft 237sec TASK [Include the task 'assert_IPv6_present.yml'] ****************************** Saturday 06 July 2024 07:14:52 -0400 (0:00:00.449) 0:01:01.513 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:52 -0400 (0:00:00.070) 0:01:01.583 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.004201", "end": "2024-07-06 07:14:52.542847", "rc": 0, "start": "2024-07-06 07:14:52.538646" } STDOUT: 104: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::1a0/128 scope global tentative dynamic noprefixroute valid_lft 239sec preferred_lft 239sec inet6 2001:db8::74b4:78ff:fe8f:2c60/64 scope global dynamic noprefixroute valid_lft 1798sec preferred_lft 1798sec inet6 fe80::74b4:78ff:fe8f:2c60/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Conditional asserts] ***************************************************** Saturday 06 July 2024 07:14:52 -0400 (0:00:00.451) 0:01:02.034 ********* skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } 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 07:14:52 -0400 (0:00:00.046) 0:01:02.081 ********* 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 07:14:52 -0400 (0:00:00.045) 0:01:02.126 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_bond_profile+device.yml for managed_node1 => (item=tasks/cleanup_bond_profile+device.yml) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_test_interfaces_with_dhcp.yml for managed_node1 => (item=tasks/remove_test_interfaces_with_dhcp.yml) included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 => (item=tasks/check_network_dns.yml) TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 07:14:52 -0400 (0:00:00.131) 0:01:02.258 ********* included: /var/ARTIFACTS/work-generalmrilaeue/plans/general/tree/tmp.XMvRh9TpI5/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 07:14:52 -0400 (0:00:00.082) 0:01:02.341 ********* 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 07:14:52 -0400 (0:00:00.057) 0:01:02.398 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** Saturday 06 July 2024 07:14:53 -0400 (0:00:00.085) 0:01:02.484 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** Saturday 06 July 2024 07:14:53 -0400 (0:00:00.053) 0:01:02.537 ********* 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 07:14:56 -0400 (0:00:03.024) 0:01:05.562 ********* 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 07:14:57 -0400 (0:00:01.100) 0:01:06.663 ********* 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 07:14:57 -0400 (0:00:00.045) 0:01:06.709 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Saturday 06 July 2024 07:14:57 -0400 (0:00:00.046) 0:01:06.755 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "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 07:14:57 -0400 (0:00:00.049) 0:01:06.805 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 07:14:57 -0400 (0:00:00.063) 0:01:06.868 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "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 07:14:57 -0400 (0:00:00.048) 0:01:06.917 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** Saturday 06 July 2024 07:14:57 -0400 (0:00:00.060) 0:01:06.977 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** Saturday 06 July 2024 07:14:57 -0400 (0:00:00.103) 0:01:07.081 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** Saturday 06 July 2024 07:14:57 -0400 (0:00:00.047) 0:01:07.128 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** Saturday 06 July 2024 07:14:57 -0400 (0:00:00.085) 0:01:07.214 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** Saturday 06 July 2024 07:14:57 -0400 (0:00:00.060) 0:01:07.275 ********* 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 07:14:58 -0400 (0:00:00.694) 0:01:07.969 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 07:14:58 -0400 (0:00:00.062) 0:01:08.031 ********* 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 07:14:58 -0400 (0:00:00.041) 0:01:08.072 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 07:14:58 -0400 (0:00:00.040) 0:01:08.113 ********* 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 07:14:59 -0400 (0:00:01.096) 0:01:09.209 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** Saturday 06 July 2024 07:14:59 -0400 (0:00:00.047) 0:01:09.257 ********* 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 07:14:59 -0400 (0:00:00.046) 0:01:09.304 ********* 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 07:14:59 -0400 (0:00:00.046) 0:01:09.350 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 07:14:59 -0400 (0:00:00.050) 0:01:09.401 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* Saturday 06 July 2024 07:15:00 -0400 (0:00:00.459) 0:01:09.860 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.009245", "end": "2024-07-06 07:15:00.822220", "failed_when_result": false, "rc": 1, "start": "2024-07-06 07:15:00.812975" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** Saturday 06 July 2024 07:15:00 -0400 (0:00:00.444) 0:01:10.305 ********* 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.067048", "end": "2024-07-06 07:15:01.327355", "rc": 0, "start": "2024-07-06 07:15:01.260307" } 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 07:15:01 -0400 (0:00:00.507) 0:01:10.812 ********* 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.018895", "end": "2024-07-06 07:15:01.790381", "rc": 0, "start": "2024-07-06 07:15:01.771486" } 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 07:15:01 -0400 (0:00:00.504) 0:01:11.317 ********* 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.010527", "end": "2024-07-06 07:15:02.283093", "rc": 0, "start": "2024-07-06 07:15:02.272566" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:2d:fb:90:9f:a1 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.40.186/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 3477sec preferred_lft 3477sec inet6 fe80::c2d:fbff:fe90:9fa1/64 scope link noprefixroute valid_lft forever preferred_lft forever 19: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether a2:c0:a7:cb:4a:08 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.186 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.186 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* Saturday 06 July 2024 07:15:02 -0400 (0:00:00.450) 0:01:11.768 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_facts[\"distribution\"] == \"CentOS\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed_node1 : ok=147 changed=4 unreachable=0 failed=0 skipped=94 rescued=0 ignored=0 Saturday 06 July 2024 07:15:02 -0400 (0:00:00.118) 0:01:11.886 ********* =============================================================================== ** TEST check bond settings --------------------------------------------- 5.93s fedora.linux_system_roles.network : Check which services are running ---- 3.03s fedora.linux_system_roles.network : Check which services are running ---- 3.02s fedora.linux_system_roles.network : Check which services are running ---- 2.98s fedora.linux_system_roles.network : Check which services are running ---- 2.91s Gathering Facts --------------------------------------------------------- 2.80s Gathering Facts --------------------------------------------------------- 2.49s ** TEST check bond settings --------------------------------------------- 2.13s Gather the minimum subset of ansible_facts required by the network role test --- 2.05s Create test interfaces -------------------------------------------------- 1.78s Create test interfaces -------------------------------------------------- 1.76s Install dnsmasq --------------------------------------------------------- 1.60s Install pgrep, sysctl --------------------------------------------------- 1.50s Install dnsmasq --------------------------------------------------------- 1.47s Install pgrep, sysctl --------------------------------------------------- 1.44s fedora.linux_system_roles.network : Check which packages are installed --- 1.33s fedora.linux_system_roles.network : Configure networking connection profiles --- 1.26s fedora.linux_system_roles.network : Check which packages are installed --- 1.15s fedora.linux_system_roles.network : Check which packages are installed --- 1.10s fedora.linux_system_roles.network : Configure networking connection profiles --- 1.10s