# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_bond_options_nm.yml ******************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tests_bond_options_nm.yml PLAY [Run playbook 'playbooks/tests_bond_options.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tests_bond_options_nm.yml:6 Sunday 18 February 2024 22:37:53 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tests_bond_options_nm.yml:9 Sunday 18 February 2024 22:37:54 +0000 (0:00:00.713) 0:00:00.727 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/el_repo_setup.yml:3 Sunday 18 February 2024 22:37:54 +0000 (0:00:00.021) 0:00:00.749 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/el_repo_setup.yml:19 Sunday 18 February 2024 22:37:54 +0000 (0:00:00.356) 0:00:01.105 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/el_repo_setup.yml:24 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.260) 0:00:01.366 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/el_repo_setup.yml:28 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.020) 0:00:01.386 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/el_repo_setup.yml:53 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.030) 0:00:01.417 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/enable_epel.yml:8 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.043) 0:00:01.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/enable_epel.yml:24 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.009) 0:00:01.471 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/enable_epel.yml:30 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.009) 0:00:01.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/enable_epel.yml:35 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.009) 0:00:01.490 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tasks/enable_epel.yml:40 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.009) 0:00:01.499 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/tests_bond_options_nm.yml:11 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.009) 0:00:01.508 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing bond options] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tests_bond_options.yml:3 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.009) 0:00:01.518 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tests_bond_options.yml:32 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.572) 0:00:02.090 ******* ok: [sut] => {} MSG: this is: playbooks/tests_bond_options.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tests_bond_options.yml:42 Sunday 18 February 2024 22:37:55 +0000 (0:00:00.010) 0:00:02.101 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml for sut 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.] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 22:37:56 +0000 (0:00:00.015) 0:00:02.117 ******* ok: [sut] => {} 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] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 22:37:56 +0000 (0:00:00.010) 0:00:02.127 ******* ok: [sut] => (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: [sut] => (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: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bond_profile.yml" ] } ok: [sut] => (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: [sut] => (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: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 22:37:56 +0000 (0:00:00.031) 0:00:02.159 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 22:37:56 +0000 (0:00:00.015) 0:00:02.174 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 22:37:56 +0000 (0:00:00.012) 0:00:02.187 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003605", "end": "2024-02-18 22:37:56.299366", "rc": 0, "start": "2024-02-18 22:37:56.295761" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 22:37:56 +0000 (0:00:00.241) 0:00:02.428 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 22:37:56 +0000 (0:00:00.012) 0:00:02.441 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 22:37:56 +0000 (0:00:00.010) 0:00:02.451 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml for sut statically imported: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_dhcp_device_present.yml for sut TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Sunday 18 February 2024 22:37:56 +0000 (0:00:00.026) 0:00:02.478 ******* changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: dnsmasq-2.85-14.el9.x86_64" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 Sunday 18 February 2024 22:41:58 +0000 (0:04:02.528) 0:04:05.006 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:28 Sunday 18 February 2024 22:41:58 +0000 (0:00:00.011) 0:04:05.017 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:38 Sunday 18 February 2024 22:45:59 +0000 (0:04:00.994) 0:08:06.011 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.250178", "end": "2024-02-18 22:46:01.324023", "rc": 0, "start": "2024-02-18 22:46:00.073845" } TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 22:46:01 +0000 (0:00:01.443) 0:08:07.455 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.026) 0:08:07.482 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708296360.0796413, "block_size": 4096, "blocks": 0, "ctime": 1708296360.0796413, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24751, "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": 1708296360.0796413, "nlink": 1, "path": "/sys/class/net/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'test1'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.195) 0:08:07.677 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.013) 0:08:07.691 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.015) 0:08:07.706 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708296360.0872858, "block_size": 4096, "blocks": 0, "ctime": 1708296360.0872858, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25337, "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": 1708296360.0872858, "nlink": 1, "path": "/sys/class/net/test2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'test2'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.193) 0:08:07.899 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.013) 0:08:07.913 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_bond_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_bond_profile.yml:3 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.020) 0:08:07.933 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.032) 0:08:07.966 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.069) 0:08:08.035 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.012) 0:08:08.047 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.009) 0:08:08.057 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 22:46:01 +0000 (0:00:00.010) 0:08:08.068 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 22:46:03 +0000 (0:00:01.623) 0:08:09.691 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 22:46:04 +0000 (0:00:01.105) 0:08:10.797 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 22:46:04 +0000 (0:00:00.023) 0:08:10.820 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 22:46:04 +0000 (0:00:00.021) 0:08:10.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 22:46:04 +0000 (0:00:00.037) 0:08:10.880 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 22:46:04 +0000 (0:00:00.046) 0:08:10.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 22:46:04 +0000 (0:00:00.020) 0:08:10.947 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 22:46:04 +0000 (0:00:00.021) 0:08:10.968 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 22:46:04 +0000 (0:00:00.025) 0:08:10.994 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 22:46:05 +0000 (0:00:00.509) 0:08:11.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 22:46:05 +0000 (0:00:00.028) 0:08:11.532 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 22:46:05 +0000 (0:00:00.022) 0:08:11.555 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 22:46:05 +0000 (0:00:00.022) 0:08:11.577 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.749) 0:08:12.327 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.022) 0:08:12.349 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.024) 0:08:12.374 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.023) 0:08:12.398 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.042) 0:08:12.440 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_bond_profile.yml:46 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.246) 0:08:12.687 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "ad_actor_sys_prio": 65535, "ad_actor_system": "00:00:5e:00:53:5d", "ad_select": "stable", "ad_user_port_key": 1023, "all_ports_active": true, "downdelay": 0, "lacp_rate": "slow", "lp_interval": 128, "miimon": 110, "min_links": 0, "mode": "802.3ad", "num_grat_arp": 64, "primary_reselect": "better", "resend_igmp": 225, "updelay": 0, "use_carrier": true, "xmit_hash_policy": "encap2+3" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, c9214101-32ba-42c4-932c-dd9236b9b67b (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, e55922d2-3b50-40c2-beae-b56182b047f4 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 8ca8eaa1-943f-42df-84e8-d1cb7a62b775 (not-active)" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.023) 0:08:12.711 ******* statically imported: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_controller_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_port_profile_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.050) 0:08:12.762 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface nm-bond] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.037) 0:08:12.799 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708296365.9953814, "block_size": 4096, "blocks": 0, "ctime": 1708296365.9953814, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 25885, "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": 1708296365.9953814, "nlink": 1, "path": "/sys/class/net/nm-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'nm-bond'] ************************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.196) 0:08:12.996 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_port_profile_present.yml:3 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.023) 0:08:13.020 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.046) 0:08:13.066 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 22:46:06 +0000 (0:00:00.037) 0:08:13.104 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.021) 0:08:13.126 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.214) 0:08:13.340 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.022) 0:08:13.363 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.133635", "end": "2024-02-18 22:46:07.551691", "rc": 0, "start": "2024-02-18 22:46:07.418056" } 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] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.329) 0:08:13.692 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.024) 0:08:13.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.025) 0:08:13.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.023) 0:08:13.766 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0] *************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.025) 0:08:13.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0'] **************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.024) 0:08:13.815 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0'] *********** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.026) 0:08:13.842 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0] ***************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.024) 0:08:13.867 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.023) 0:08:13.890 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.037) 0:08:13.927 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 22:46:07 +0000 (0:00:00.021) 0:08:13.949 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.197) 0:08:14.147 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.020) 0:08:14.167 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.026427", "end": "2024-02-18 22:46:08.259833", "rc": 0, "start": "2024-02-18 22:46:08.233406" } 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] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.231) 0:08:14.399 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.024) 0:08:14.424 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.023) 0:08:14.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0.0] **************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.022) 0:08:14.471 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0.0] ************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.023) 0:08:14.494 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0.0'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.024) 0:08:14.518 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.0'] ********* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.024) 0:08:14.543 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.0] *************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.024) 0:08:14.568 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.022) 0:08:14.590 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.038) 0:08:14.629 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:9 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.023) 0:08:14.652 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:17 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.199) 0:08:14.851 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:25 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.022) 0:08:14.873 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.026041", "end": "2024-02-18 22:46:08.962892", "rc": 0, "start": "2024-02-18 22:46:08.936851" } 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] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:35 Sunday 18 February 2024 22:46:08 +0000 (0:00:00.230) 0:08:15.103 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 18 February 2024 22:46:09 +0000 (0:00:00.024) 0:08:15.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:56 Sunday 18 February 2024 22:46:09 +0000 (0:00:00.046) 0:08:15.174 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-bond0.1] **************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:62 Sunday 18 February 2024 22:46:09 +0000 (0:00:00.023) 0:08:15.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-bond0.1] ************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_profile_stat.yml:69 Sunday 18 February 2024 22:46:09 +0000 (0:00:00.023) 0:08:15.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'bond0.1'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:5 Sunday 18 February 2024 22:46:09 +0000 (0:00:00.026) 0:08:15.249 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.1'] ********* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:10 Sunday 18 February 2024 22:46:09 +0000 (0:00:00.025) 0:08:15.274 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.1] *************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_profile_present.yml:15 Sunday 18 February 2024 22:46:09 +0000 (0:00:00.025) 0:08:15.300 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [** TEST check bond settings] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml:3 Sunday 18 February 2024 22:46:09 +0000 (0:00:00.031) 0:08:15.332 ******* ok: [sut] => (item={'key': 'mode', 'value': '802.3ad'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003110", "end": "2024-02-18 22:46:09.398691", "item": { "key": "mode", "value": "802.3ad" }, "rc": 0, "start": "2024-02-18 22:46:09.395581" } STDOUT: 802.3ad 4 ok: [sut] => (item={'key': 'ad_actor_sys_prio', 'value': '65535'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_sys_prio" ], "delta": "0:00:00.003174", "end": "2024-02-18 22:46:09.616819", "item": { "key": "ad_actor_sys_prio", "value": "65535" }, "rc": 0, "start": "2024-02-18 22:46:09.613645" } STDOUT: 65535 ok: [sut] => (item={'key': 'ad_actor_system', 'value': '00:00:5e:00:53:5d'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_actor_system" ], "delta": "0:00:00.004716", "end": "2024-02-18 22:46:09.805462", "item": { "key": "ad_actor_system", "value": "00:00:5e:00:53:5d" }, "rc": 0, "start": "2024-02-18 22:46:09.800746" } STDOUT: 00:00:5e:00:53:5d ok: [sut] => (item={'key': 'ad_select', 'value': 'stable'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_select" ], "delta": "0:00:00.003006", "end": "2024-02-18 22:46:10.000574", "item": { "key": "ad_select", "value": "stable" }, "rc": 0, "start": "2024-02-18 22:46:09.997568" } STDOUT: stable 0 ok: [sut] => (item={'key': 'ad_user_port_key', 'value': '1023'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/ad_user_port_key" ], "delta": "0:00:00.003019", "end": "2024-02-18 22:46:10.189634", "item": { "key": "ad_user_port_key", "value": "1023" }, "rc": 0, "start": "2024-02-18 22:46:10.186615" } STDOUT: 1023 ok: [sut] => (item={'key': 'all_slaves_active', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/all_slaves_active" ], "delta": "0:00:00.003041", "end": "2024-02-18 22:46:10.378196", "item": { "key": "all_slaves_active", "value": "1" }, "rc": 0, "start": "2024-02-18 22:46:10.375155" } STDOUT: 1 ok: [sut] => (item={'key': 'downdelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/downdelay" ], "delta": "0:00:00.003253", "end": "2024-02-18 22:46:10.566701", "item": { "key": "downdelay", "value": "0" }, "rc": 0, "start": "2024-02-18 22:46:10.563448" } STDOUT: 0 ok: [sut] => (item={'key': 'lacp_rate', 'value': 'slow'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lacp_rate" ], "delta": "0:00:00.003956", "end": "2024-02-18 22:46:10.759632", "item": { "key": "lacp_rate", "value": "slow" }, "rc": 0, "start": "2024-02-18 22:46:10.755676" } STDOUT: slow 0 ok: [sut] => (item={'key': 'lp_interval', 'value': '128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/lp_interval" ], "delta": "0:00:00.003012", "end": "2024-02-18 22:46:10.948440", "item": { "key": "lp_interval", "value": "128" }, "rc": 0, "start": "2024-02-18 22:46:10.945428" } STDOUT: 128 ok: [sut] => (item={'key': 'miimon', 'value': '110'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/miimon" ], "delta": "0:00:00.003034", "end": "2024-02-18 22:46:11.138570", "item": { "key": "miimon", "value": "110" }, "rc": 0, "start": "2024-02-18 22:46:11.135536" } STDOUT: 110 ok: [sut] => (item={'key': 'num_grat_arp', 'value': '64'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/num_grat_arp" ], "delta": "0:00:00.003476", "end": "2024-02-18 22:46:11.325694", "item": { "key": "num_grat_arp", "value": "64" }, "rc": 0, "start": "2024-02-18 22:46:11.322218" } STDOUT: 64 ok: [sut] => (item={'key': 'resend_igmp', 'value': '225'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/resend_igmp" ], "delta": "0:00:00.003066", "end": "2024-02-18 22:46:11.513820", "item": { "key": "resend_igmp", "value": "225" }, "rc": 0, "start": "2024-02-18 22:46:11.510754" } STDOUT: 225 ok: [sut] => (item={'key': 'updelay', 'value': '0'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/updelay" ], "delta": "0:00:00.003069", "end": "2024-02-18 22:46:11.701187", "item": { "key": "updelay", "value": "0" }, "rc": 0, "start": "2024-02-18 22:46:11.698118" } STDOUT: 0 ok: [sut] => (item={'key': 'use_carrier', 'value': '1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/use_carrier" ], "delta": "0:00:00.003026", "end": "2024-02-18 22:46:11.889489", "item": { "key": "use_carrier", "value": "1" }, "rc": 0, "start": "2024-02-18 22:46:11.886463" } STDOUT: 1 ok: [sut] => (item={'key': 'xmit_hash_policy', 'value': 'encap2+3'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/xmit_hash_policy" ], "delta": "0:00:00.003267", "end": "2024-02-18 22:46:12.076823", "item": { "key": "xmit_hash_policy", "value": "encap2+3" }, "rc": 0, "start": "2024-02-18 22:46:12.073556" } STDOUT: encap2+3 3 TASK [Include the task 'assert_IPv4_present.yml'] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml:10 Sunday 18 February 2024 22:46:12 +0000 (0:00:02.890) 0:08:18.222 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_IPv4_present.yml for sut TASK [** TEST check IPv4] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_IPv4_present.yml:3 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.036) 0:08:18.259 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003511", "end": "2024-02-18 22:46:12.324042", "rc": 0, "start": "2024-02-18 22:46:12.320531" } STDOUT: 13: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.250/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'] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml:15 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.206) 0:08:18.466 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_IPv6_present.yml for sut TASK [** TEST check IPv6] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_IPv6_present.yml:3 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.036) 0:08:18.502 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003447", "end": "2024-02-18 22:46:12.569028", "rc": 0, "start": "2024-02-18 22:46:12.565581" } STDOUT: 13: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::1c6/128 scope global dynamic noprefixroute valid_lft 237sec preferred_lft 237sec inet6 2001:db8::d5b:ee29:9f79:9804/64 scope global dynamic noprefixroute valid_lft 1798sec preferred_lft 1798sec inet6 fe80::7e6c:ab2a:7768:642f/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.209) 0:08:18.711 ******* 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.'] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.020) 0:08:18.732 ******* ok: [sut] => {} 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] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.022) 0:08:18.755 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/cleanup_bond_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.054) 0:08:18.810 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.040) 0:08:18.850 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.051) 0:08:18.902 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.022) 0:08:18.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 22:46:12 +0000 (0:00:00.023) 0:08:18.948 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 22:46:14 +0000 (0:00:01.419) 0:08:20.368 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.936) 0:08:21.304 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.046) 0:08:21.351 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.022) 0:08:21.373 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.022) 0:08:21.396 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.044) 0:08:21.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.022) 0:08:21.464 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.022) 0:08:21.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.025) 0:08:21.512 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.353) 0:08:21.866 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.028) 0:08:21.894 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.022) 0:08:21.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 22:46:15 +0000 (0:00:00.023) 0:08:21.940 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 22:46:16 +0000 (0:00:00.751) 0:08:22.691 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 22:46:16 +0000 (0:00:00.022) 0:08:22.714 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 22:46:16 +0000 (0:00:00.022) 0:08:22.736 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 22:46:16 +0000 (0:00:00.049) 0:08:22.786 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 22:46:16 +0000 (0:00:00.022) 0:08:22.808 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/cleanup_bond_profile+device.yml:22 Sunday 18 February 2024 22:46:16 +0000 (0:00:00.199) 0:08:23.008 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.006983", "end": "2024-02-18 22:46:17.076435", "failed_when_result": false, "rc": 1, "start": "2024-02-18 22:46:17.069452" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Sunday 18 February 2024 22:46:17 +0000 (0:00:00.209) 0:08:23.217 ******* ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.049248", "end": "2024-02-18 22:46:17.328346", "rc": 0, "start": "2024-02-18 22:46:17.279098" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Sunday 18 February 2024 22:46:17 +0000 (0:00:00.255) 0:08:23.473 ******* ok: [sut] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.013921", "end": "2024-02-18 22:46:17.550339", "rc": 0, "start": "2024-02-18 22:46:17.536418" } TASK [Reset bond options to assert] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tests_bond_options.yml:62 Sunday 18 February 2024 22:46:17 +0000 (0:00:00.219) 0:08:23.692 ******* ok: [sut] => { "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'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tests_bond_options.yml:75 Sunday 18 February 2024 22:46:17 +0000 (0:00:00.024) 0:08:23.717 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml for sut 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.] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:5 Sunday 18 February 2024 22:46:17 +0000 (0:00:00.037) 0:08:23.754 ******* ok: [sut] => {} 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] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:9 Sunday 18 February 2024 22:46:17 +0000 (0:00:00.023) 0:08:23.777 ******* ok: [sut] => (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: [sut] => (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: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bond_profile_reconfigure.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_bond_options.yml" ] } ok: [sut] => (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: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:21 Sunday 18 February 2024 22:46:17 +0000 (0:00:00.043) 0:08:23.821 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 18 February 2024 22:46:17 +0000 (0:00:00.035) 0:08:23.857 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 18 February 2024 22:46:17 +0000 (0:00:00.061) 0:08:23.918 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003383", "end": "2024-02-18 22:46:17.983319", "rc": 0, "start": "2024-02-18 22:46:17.979936" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 18 February 2024 22:46:18 +0000 (0:00:00.205) 0:08:24.124 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/show_interfaces.yml:5 Sunday 18 February 2024 22:46:18 +0000 (0:00:00.024) 0:08:24.149 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:24 Sunday 18 February 2024 22:46:18 +0000 (0:00:00.024) 0:08:24.173 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml for sut statically imported: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_dhcp_device_present.yml for sut TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Sunday 18 February 2024 22:46:18 +0000 (0:00:00.048) 0:08:24.222 ******* ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:18 Sunday 18 February 2024 22:50:19 +0000 (0:04:00.976) 0:12:25.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:28 Sunday 18 February 2024 22:50:19 +0000 (0:00:00.025) 0:12:25.223 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:38 Sunday 18 February 2024 22:54:20 +0000 (0:04:00.996) 0:16:26.220 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\nip link add test1 type veth peer name test1p\nip link add test2 type veth peer name test2p\nif [ -n \"$(pgrep NetworkManager)\" ];then\n nmcli d set test1 managed true\n nmcli d set test2 managed true\n # NetworkManager should not manage DHCP server ports\n nmcli d set test1p managed false\n nmcli d set test2p managed false\nfi\nip link set test1p up\nip link set test2p up\n\n# Create the 'testbr' - providing both 10.x ipv4 and 2620:52:0 ipv6 dhcp\nip link add name testbr type bridge forward_delay 0\nif [ -n \"$(pgrep NetworkManager)\" ];then\n # NetworkManager should not manage DHCP server ports\n nmcli d set testbr managed false\nfi\nip link set testbr up\ntimer=0\n# The while loop following is a workaround for the NM bug, which can be\n# tracked in https://bugzilla.redhat.com/show_bug.cgi?id=2079642\nwhile ! ip addr show testbr | grep -q 'inet [1-9]'\ndo\n let \"timer+=1\"\n if [ $timer -eq 30 ]; then break; fi\n sleep 1\n ip addr add 192.0.2.1/24 dev testbr\n ip -6 addr add 2001:DB8::1/32 dev testbr\ndone\n\nif grep 'release 6' /etc/redhat-release; then\n # We need bridge-utils and radvd only in rhel6\n if ! rpm -q --quiet radvd; then yum -y install radvd; fi\n if ! rpm -q --quiet bridge-utils; then yum -y install bridge-utils; fi\n\n # We need to add iptables rule to allow dhcp request\n iptables -I INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\n # Add test1, test2 peers into the testbr\n brctl addif testbr test1p\n brctl addif testbr test2p\n\n # in RHEL6 /run is not present\n mkdir -p /run\n\n # and dnsmasq does not support ipv6\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --interface=testbr --bind-interfaces\n\n # start radvd for ipv6\n echo 'interface testbr {' > /etc/radvd.conf\n echo ' AdvSendAdvert on;' >> /etc/radvd.conf\n echo ' prefix 2001:DB8::/64 { ' >> /etc/radvd.conf\n echo ' AdvOnLink on; }; ' >> /etc/radvd.conf\n echo ' }; ' >> /etc/radvd.conf\n\n # enable ipv6 forwarding\n sysctl -w net.ipv6.conf.all.forwarding=1\n service radvd restart\n\nelse\n ip link set test1p master testbr\n ip link set test2p master testbr\n # Run joint DHCP4/DHCP6 server with RA enabled in veth namespace\n dnsmasq --pid-file=/run/dhcp_testbr.pid --dhcp-leasefile=/run/dhcp_testbr.lease --dhcp-range=192.0.2.1,192.0.2.254,240 --dhcp-range=2001:DB8::10,2001:DB8::1FF,slaac,64,240 --enable-ra --interface=testbr --bind-interfaces\nfi\n", "delta": "0:00:01.237763", "end": "2024-02-18 22:54:21.522236", "rc": 0, "start": "2024-02-18 22:54:20.284473" } TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 22:54:21 +0000 (0:00:01.443) 0:16:27.663 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 22:54:21 +0000 (0:00:00.036) 0:16:27.699 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708296860.289548, "block_size": 4096, "blocks": 0, "ctime": 1708296860.289548, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26549, "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": 1708296860.289548, "nlink": 1, "path": "/sys/class/net/test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'test1'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 22:54:21 +0000 (0:00:00.203) 0:16:27.902 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 18 February 2024 22:54:21 +0000 (0:00:00.045) 0:16:27.947 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 18 February 2024 22:54:21 +0000 (0:00:00.036) 0:16:27.984 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708296860.3009307, "block_size": 4096, "blocks": 0, "ctime": 1708296860.3009307, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27135, "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": 1708296860.3009307, "nlink": 1, "path": "/sys/class/net/test2", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'test2'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_device_present.yml:5 Sunday 18 February 2024 22:54:22 +0000 (0:00:00.203) 0:16:28.187 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:30 Sunday 18 February 2024 22:54:22 +0000 (0:00:00.025) 0:16:28.213 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_bond_profile_reconfigure.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 22:54:22 +0000 (0:00:00.048) 0:16:28.261 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 22:54:22 +0000 (0:00:00.041) 0:16:28.303 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 22:54:22 +0000 (0:00:00.026) 0:16:28.330 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 22:54:22 +0000 (0:00:00.022) 0:16:28.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 22:54:22 +0000 (0:00:00.022) 0:16:28.374 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 22:54:23 +0000 (0:00:01.555) 0:16:29.929 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 22:54:24 +0000 (0:00:00.983) 0:16:30.913 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 22:54:24 +0000 (0:00:00.023) 0:16:30.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 22:54:24 +0000 (0:00:00.021) 0:16:30.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 22:54:24 +0000 (0:00:00.022) 0:16:30.981 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 22:54:24 +0000 (0:00:00.047) 0:16:31.029 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 22:54:24 +0000 (0:00:00.021) 0:16:31.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 22:54:24 +0000 (0:00:00.022) 0:16:31.073 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 22:54:24 +0000 (0:00:00.026) 0:16:31.099 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 22:54:25 +0000 (0:00:00.378) 0:16:31.477 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 22:54:25 +0000 (0:00:00.028) 0:16:31.506 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 22:54:25 +0000 (0:00:00.021) 0:16:31.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 22:54:25 +0000 (0:00:00.022) 0:16:31.550 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 22:54:25 +0000 (0:00:00.507) 0:16:32.058 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 22:54:25 +0000 (0:00:00.021) 0:16:32.080 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 22:54:25 +0000 (0:00:00.023) 0:16:32.104 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 22:54:26 +0000 (0:00:00.023) 0:16:32.127 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 22:54:26 +0000 (0:00:00.022) 0:16:32.149 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_bond_profile_reconfigure.yml:33 Sunday 18 February 2024 22:54:26 +0000 (0:00:00.188) 0:16:32.338 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "arp_interval": 60, "arp_ip_target": "192.0.2.128", "arp_validate": "none", "mode": "active-backup", "primary": "test1" }, "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, f3f30230-8adf-4271-80c8-02afd0c129ff (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 8d478aee-68a5-40db-9463-6644c13814db (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 77ea863d-7bcf-4fb6-9319-8a7d9eb72e39 (not-active)" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:36 Sunday 18 February 2024 22:54:26 +0000 (0:00:00.024) 0:16:32.363 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml for sut TASK [** TEST check bond settings] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml:3 Sunday 18 February 2024 22:54:26 +0000 (0:00:00.046) 0:16:32.410 ******* ok: [sut] => (item={'key': 'mode', 'value': 'active-backup'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/mode" ], "delta": "0:00:00.003305", "end": "2024-02-18 22:54:26.466850", "item": { "key": "mode", "value": "active-backup" }, "rc": 0, "start": "2024-02-18 22:54:26.463545" } STDOUT: active-backup 1 ok: [sut] => (item={'key': 'arp_interval', 'value': '60'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_interval" ], "delta": "0:00:00.002885", "end": "2024-02-18 22:54:26.648244", "item": { "key": "arp_interval", "value": "60" }, "rc": 0, "start": "2024-02-18 22:54:26.645359" } STDOUT: 60 ok: [sut] => (item={'key': 'arp_ip_target', 'value': '192.0.2.128'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_ip_target" ], "delta": "0:00:00.002849", "end": "2024-02-18 22:54:26.825406", "item": { "key": "arp_ip_target", "value": "192.0.2.128" }, "rc": 0, "start": "2024-02-18 22:54:26.822557" } STDOUT: 192.0.2.128 ok: [sut] => (item={'key': 'arp_validate', 'value': 'none'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/arp_validate" ], "delta": "0:00:00.002872", "end": "2024-02-18 22:54:27.001026", "item": { "key": "arp_validate", "value": "none" }, "rc": 0, "start": "2024-02-18 22:54:26.998154" } STDOUT: none 0 ok: [sut] => (item={'key': 'primary', 'value': 'test1'}) => { "ansible_loop_var": "item", "attempts": 1, "changed": false, "cmd": [ "cat", "/sys/class/net/nm-bond/bonding/primary" ], "delta": "0:00:00.002869", "end": "2024-02-18 22:54:27.179070", "item": { "key": "primary", "value": "test1" }, "rc": 0, "start": "2024-02-18 22:54:27.176201" } STDOUT: test1 TASK [Include the task 'assert_IPv4_present.yml'] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml:10 Sunday 18 February 2024 22:54:27 +0000 (0:00:00.910) 0:16:33.320 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_IPv4_present.yml for sut TASK [** TEST check IPv4] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_IPv4_present.yml:3 Sunday 18 February 2024 22:54:27 +0000 (0:00:00.036) 0:16:33.357 ******* FAILED - RETRYING: ** TEST check IPv4 (20 retries left). ok: [sut] => { "attempts": 2, "changed": false, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003381", "end": "2024-02-18 22:54:29.597359", "rc": 0, "start": "2024-02-18 22:54:29.593978" } STDOUT: 19: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.232/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 239sec preferred_lft 239sec TASK [Include the task 'assert_IPv6_present.yml'] ****************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml:15 Sunday 18 February 2024 22:54:29 +0000 (0:00:02.382) 0:16:35.739 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_IPv6_present.yml for sut TASK [** TEST check IPv6] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_IPv6_present.yml:3 Sunday 18 February 2024 22:54:29 +0000 (0:00:00.037) 0:16:35.776 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003236", "end": "2024-02-18 22:54:29.834194", "rc": 0, "start": "2024-02-18 22:54:29.830958" } STDOUT: 19: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::1c6/128 scope global tentative dynamic noprefixroute valid_lft 240sec preferred_lft 240sec inet6 2001:db8::3c3a:36b8:2bad:32c1/64 scope global dynamic noprefixroute valid_lft 1801sec preferred_lft 1801sec inet6 fe80::c5:d6aa:e19b:1db1/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:42 Sunday 18 February 2024 22:54:29 +0000 (0:00:00.223) 0:16:35.999 ******* 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.'] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:47 Sunday 18 February 2024 22:54:29 +0000 (0:00:00.021) 0:16:36.021 ******* ok: [sut] => {} 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] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/run_test.yml:66 Sunday 18 February 2024 22:54:29 +0000 (0:00:00.023) 0:16:36.045 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/cleanup_bond_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml for sut included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/check_network_dns.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:4 Sunday 18 February 2024 22:54:29 +0000 (0:00:00.062) 0:16:36.108 ******* included: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Sunday 18 February 2024 22:54:30 +0000 (0:00:00.041) 0:16:36.149 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Sunday 18 February 2024 22:54:30 +0000 (0:00:00.026) 0:16:36.176 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Sunday 18 February 2024 22:54:30 +0000 (0:00:00.021) 0:16:36.197 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Sunday 18 February 2024 22:54:30 +0000 (0:00:00.022) 0:16:36.220 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Sunday 18 February 2024 22:54:31 +0000 (0:00:01.449) 0:16:37.669 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:7 Sunday 18 February 2024 22:54:32 +0000 (0:00:00.949) 0:16:38.619 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:11 Sunday 18 February 2024 22:54:32 +0000 (0:00:00.023) 0:16:38.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:19 Sunday 18 February 2024 22:54:32 +0000 (0:00:00.022) 0:16:38.665 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:30 Sunday 18 February 2024 22:54:32 +0000 (0:00:00.022) 0:16:38.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:43 Sunday 18 February 2024 22:54:32 +0000 (0:00:00.047) 0:16:38.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:58 Sunday 18 February 2024 22:54:32 +0000 (0:00:00.021) 0:16:38.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:74 Sunday 18 February 2024 22:54:32 +0000 (0:00:00.022) 0:16:38.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:88 Sunday 18 February 2024 22:54:32 +0000 (0:00:00.026) 0:16:38.806 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:99 Sunday 18 February 2024 22:54:33 +0000 (0:00:00.362) 0:16:39.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:108 Sunday 18 February 2024 22:54:33 +0000 (0:00:00.054) 0:16:39.222 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:116 Sunday 18 February 2024 22:54:33 +0000 (0:00:00.022) 0:16:39.245 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:125 Sunday 18 February 2024 22:54:33 +0000 (0:00:00.021) 0:16:39.267 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:137 Sunday 18 February 2024 22:54:33 +0000 (0:00:00.697) 0:16:39.964 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:143 Sunday 18 February 2024 22:54:33 +0000 (0:00:00.022) 0:16:39.987 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:147 Sunday 18 February 2024 22:54:33 +0000 (0:00:00.023) 0:16:40.010 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "bond0.1", "persistent_state": "absent", "state": "down" }, { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:152 Sunday 18 February 2024 22:54:33 +0000 (0:00:00.023) 0:16:40.033 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:158 Sunday 18 February 2024 22:54:33 +0000 (0:00:00.022) 0:16:40.056 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'nm-bond'] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/cleanup_bond_profile+device.yml:22 Sunday 18 February 2024 22:54:34 +0000 (0:00:00.192) 0:16:40.248 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.007430", "end": "2024-02-18 22:54:34.315462", "failed_when_result": false, "rc": 1, "start": "2024-02-18 22:54:34.308032" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Sunday 18 February 2024 22:54:34 +0000 (0:00:00.205) 0:16:40.454 ******* ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.048620", "end": "2024-02-18 22:54:34.554332", "rc": 0, "start": "2024-02-18 22:54:34.505712" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Sunday 18 February 2024 22:54:34 +0000 (0:00:00.241) 0:16:40.695 ******* ok: [sut] => { "changed": false, "cmd": "pkill -F /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.pid\nrm -rf /run/dhcp_testbr.lease\nif grep 'release 6' /etc/redhat-release; then\n # Stop radvd server\n service radvd stop\n iptables -D INPUT -i testbr -p udp --dport 67:68 --sport 67:68 -j ACCEPT\n\nfi\n", "delta": "0:00:00.011226", "end": "2024-02-18 22:54:34.758038", "rc": 0, "start": "2024-02-18 22:54:34.746812" } TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/check_network_dns.yml:6 Sunday 18 February 2024 22:54:34 +0000 (0:00:00.201) 0:16:40.897 ******* ok: [sut] => { "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.008231", "end": "2024-02-18 22:54:34.956731", "rc": 0, "start": "2024-02-18 22:54:34.948500" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:e7:06:f6:fb:e5 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.15.159/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 3135sec preferred_lft 3135sec inet6 fe80::8e7:6ff:fef6:fbe5/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.159 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.159 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/check_network_dns.yml:24 Sunday 18 February 2024 22:54:35 +0000 (0:00:00.224) 0:16:41.122 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.259156", "end": "2024-02-18 22:54:35.438846", "rc": 0, "start": "2024-02-18 22:54:35.179690" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2961 0 --:--:-- --:--:-- --:--:-- 2961 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2204 0 --:--:-- --:--:-- --:--:-- 2204 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=147 changed=5 unreachable=0 failed=0 skipped=81 rescued=0 ignored=0 Sunday 18 February 2024 22:54:35 +0000 (0:00:00.444) 0:16:41.566 ******* =============================================================================== Install dnsmasq ------------------------------------------------------- 242.53s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Install pgrep, sysctl ------------------------------------------------- 241.00s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:28 Install pgrep, sysctl ------------------------------------------------- 240.99s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:28 Install dnsmasq ------------------------------------------------------- 240.98s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 ** TEST check bond settings --------------------------------------------- 2.89s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml:3 ** TEST check IPv4 ------------------------------------------------------ 2.38s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_IPv4_present.yml:3 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.45s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:125 Create test interfaces -------------------------------------------------- 1.44s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:38 Create test interfaces -------------------------------------------------- 1.44s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:38 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ** TEST check bond settings --------------------------------------------- 0.91s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/playbooks/tasks/assert_bond_options.yml:3 linux-system-roles.network : Configure networking connection profiles --- 0.75s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.72s /WORKDIR/git-nm_plugin_hotfixsj4cje9m/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. [WARNING]: 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 [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ address }}' in result.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ address }}' in result.stdout [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ item.value }}' in result.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ address }}' in result.stdout [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: '{{ address }}' in result.stdout ---^---^---^---^---^---