# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_bond_deprecated_initscripts.yml ******************************** 2 plays in /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_bond_deprecated_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_bond_deprecated_initscripts.yml:5 Monday 12 February 2024 23:32:46 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_bond_deprecated_initscripts.yml:8 Monday 12 February 2024 23:32:48 +0000 (0:00:02.009) 0:00:02.021 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/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-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:3 Monday 12 February 2024 23:32:48 +0000 (0:00:00.010) 0:00:02.032 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:17 Monday 12 February 2024 23:32:48 +0000 (0:00:00.367) 0:00:02.399 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:22 Monday 12 February 2024 23:32:48 +0000 (0:00:00.248) 0:00:02.648 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:26 Monday 12 February 2024 23:32:48 +0000 (0:00:00.013) 0:00:02.661 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:51 Monday 12 February 2024 23:32:48 +0000 (0:00:00.007) 0:00:02.669 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:8 Monday 12 February 2024 23:32:48 +0000 (0:00:00.021) 0:00:02.691 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:24 Monday 12 February 2024 23:32:49 +0000 (0:00:00.250) 0:00:02.942 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:30 Monday 12 February 2024 23:32:49 +0000 (0:00:00.008) 0:00:02.950 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:35 Monday 12 February 2024 23:32:49 +0000 (0:00:00.008) 0:00:02.958 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.264968", "end": "2024-02-12 23:32:49.558796", "rc": 0, "start": "2024-02-12 23:32:49.293828" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:40 Monday 12 February 2024 23:32:49 +0000 (0:00:00.458) 0:00:03.417 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_bond_deprecated_initscripts.yml:10 Monday 12 February 2024 23:32:49 +0000 (0:00:00.008) 0:00:03.426 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing bond device using deprecated 'master' argument] ********* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:3 Monday 12 February 2024 23:32:49 +0000 (0:00:00.015) 0:00:03.442 ******* ok: [sut] TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:13 Monday 12 February 2024 23:32:50 +0000 (0:00:00.863) 0:00:04.305 ******* ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Monday 12 February 2024 23:32:50 +0000 (0:00:00.017) 0:00:04.323 ******* changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: dnsmasq-2.79-32.el8.x86_64" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:17 Monday 12 February 2024 23:32:54 +0000 (0:00:04.333) 0:00:08.656 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version is version('6', '<=')", "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:26 Monday 12 February 2024 23:32:54 +0000 (0:00:00.018) 0:00:08.675 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:35 Monday 12 February 2024 23:32:57 +0000 (0:00:02.800) 0:00:11.476 ******* 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.420543", "end": "2024-02-12 23:32:59.243536", "rc": 0, "start": "2024-02-12 23:32:57.822993" } TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 23:32:59 +0000 (0:00:01.628) 0:00:13.104 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:32:59 +0000 (0:00:00.019) 0:00:13.124 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707780777.8371997, "block_size": 4096, "blocks": 0, "ctime": 1707780777.8371997, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21663, "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": 1707780777.8371997, "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-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 23:32:59 +0000 (0:00:00.208) 0:00:13.332 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 23:32:59 +0000 (0:00:00.020) 0:00:13.353 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:32:59 +0000 (0:00:00.018) 0:00:13.372 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707780777.8460739, "block_size": 4096, "blocks": 0, "ctime": 1707780777.8460739, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22249, "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": 1707780777.8460739, "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-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 23:32:59 +0000 (0:00:00.206) 0:00:13.579 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:26 Monday 12 February 2024 23:32:59 +0000 (0:00:00.019) 0:00:13.598 ******* ok: [sut] => { "changed": false, "cmd": [ "cp", "-vf", "/etc/resolv.conf", "/etc/resolv.conf.bak" ], "delta": "0:00:00.004337", "end": "2024-02-12 23:32:59.950957", "rc": 0, "start": "2024-02-12 23:32:59.946620" } STDOUT: '/etc/resolv.conf' -> '/etc/resolv.conf.bak' TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:33 Monday 12 February 2024 23:32:59 +0000 (0:00:00.213) 0:00:13.811 ******* ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:32:59 +0000 (0:00:00.017) 0:00:13.829 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:33:00 +0000 (0:00:00.023) 0:00:13.852 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:33:00 +0000 (0:00:00.018) 0:00:13.870 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:33:00 +0000 (0:00:00.018) 0:00:13.889 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:33:00 +0000 (0:00:00.018) 0:00:13.907 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:33:01 +0000 (0:00:01.887) 0:00:15.795 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:33:03 +0000 (0:00:01.578) 0:00:17.373 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:33:03 +0000 (0:00:00.028) 0:00:17.402 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:33:03 +0000 (0:00:00.027) 0:00:17.430 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:33:03 +0000 (0:00:00.027) 0:00:17.457 ******* changed: [sut] => { "attempts": 1, "changed": true, "rc": 0, "results": [ "Installed: network-scripts-team-1.31-4.el8.x86_64", "Installed: network-scripts-10.00.18-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:33:08 +0000 (0:00:04.419) 0:00:21.877 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:33:08 +0000 (0:00:00.028) 0:00:21.905 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:33:08 +0000 (0:00:00.028) 0:00:21.933 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:33:08 +0000 (0:00:00.034) 0:00:21.968 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:33:08 +0000 (0:00:00.029) 0:00:21.998 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:33:08 +0000 (0:00:00.043) 0:00:22.041 ******* changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:33:09 +0000 (0:00:00.870) 0:00:22.912 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-8747b1tb_s7g/tmp5c7se_8d" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:33:09 +0000 (0:00:00.323) 0:00:23.235 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0' [008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0' [009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1' [010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active) [011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b'\nDetermining IP information for deprecated-bond... done.\n'', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified) [013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified) [015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:33:16 +0000 (0:00:06.895) 0:00:30.130 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:33:16 +0000 (0:00:00.028) 0:00:30.159 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b'\\nDetermining IP information for deprecated-bond... done.\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:33:16 +0000 (0:00:00.029) 0:00:30.188 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "deprecated-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "interface_name": "test1", "master": "bond0", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "interface_name": "test2", "master": "bond0", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'\n[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'\n[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)\n[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b'\\nDetermining IP information for deprecated-bond... done.\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)\n[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)\n[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add ifcfg-rh profile 'bond0'", "[008] #1, state:up persistent_state:present, 'bond0.0': add ifcfg-rh profile 'bond0.0'", "[009] #2, state:up persistent_state:present, 'bond0.1': add ifcfg-rh profile 'bond0.1'", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0 (not-active)", "[011] #0, state:up persistent_state:present, 'bond0': call 'ifup bond0': rc=0, out='b'\\nDetermining IP information for deprecated-bond... done.\\n'', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[012] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0 (is-modified)", "[013] #1, state:up persistent_state:present, 'bond0.0': call 'ifup bond0.0': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[014] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1 (is-modified)", "[015] #2, state:up persistent_state:present, 'bond0.1': call 'ifup bond0.1': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:33:16 +0000 (0:00:00.029) 0:00:30.218 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:33:16 +0000 (0:00:00.030) 0:00:30.248 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:3 Monday 12 February 2024 23:33:16 +0000 (0:00:00.283) 0:00:30.531 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface deprecated-bond] ********************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 12 February 2024 23:33:16 +0000 (0:00:00.037) 0:00:30.569 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707780789.8815732, "block_size": 4096, "blocks": 0, "ctime": 1707780789.8815732, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22983, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/deprecated-bond", "lnk_target": "../../devices/virtual/net/deprecated-bond", "mode": "0777", "mtime": 1707780789.8815732, "nlink": 1, "path": "/sys/class/net/deprecated-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'deprecated-bond'] **************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_device_present.yml:5 Monday 12 February 2024 23:33:16 +0000 (0:00:00.230) 0:00:30.799 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:67 Monday 12 February 2024 23:33:16 +0000 (0:00:00.029) 0:00:30.828 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0) included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.0) included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.1) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 23:33:17 +0000 (0:00:00.050) 0:00:30.879 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 23:33:17 +0000 (0:00:00.038) 0:00:30.917 ******* 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-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 23:33:17 +0000 (0:00:00.048) 0:00:30.966 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707780789.8235195, "block_size": 4096, "blocks": 8, "ctime": 1707780789.8015203, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5899596, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707780789.8015203, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 230, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 23:33:17 +0000 (0:00:00.237) 0:00:31.203 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 23:33:17 +0000 (0:00:00.027) 0:00:31.230 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.025240", "end": "2024-02-12 23:33:17.605238", "rc": 1, "start": "2024-02-12 23:33:17.579998" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 23:33:17 +0000 (0:00:00.243) 0:00:31.474 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 23:33:17 +0000 (0:00:00.027) 0:00:31.501 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:00.003745", "end": "2024-02-12 23:33:17.856080", "rc": 0, "start": "2024-02-12 23:33:17.852335" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 23:33:17 +0000 (0:00:00.223) 0:00:31.724 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-bond0] ****************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 23:33:17 +0000 (0:00:00.031) 0:00:31.756 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:00.003778", "end": "2024-02-12 23:33:18.114205", "rc": 0, "start": "2024-02-12 23:33:18.110427" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-bond0] *************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 23:33:18 +0000 (0:00:00.226) 0:00:31.982 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'bond0'] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 23:33:18 +0000 (0:00:00.030) 0:00:32.013 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0'] *********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 23:33:18 +0000 (0:00:00.028) 0:00:32.042 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0] ***************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 23:33:18 +0000 (0:00:00.029) 0:00:32.072 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 23:33:18 +0000 (0:00:00.028) 0:00:32.100 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 23:33:18 +0000 (0:00:00.039) 0:00:32.139 ******* 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-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 23:33:18 +0000 (0:00:00.026) 0:00:32.166 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707780789.8895173, "block_size": 4096, "blocks": 8, "ctime": 1707780789.8015203, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5998982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707780789.8015203, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 133, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 23:33:18 +0000 (0:00:00.231) 0:00:32.398 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 23:33:18 +0000 (0:00:00.027) 0:00:32.425 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.025536", "end": "2024-02-12 23:33:18.812431", "rc": 1, "start": "2024-02-12 23:33:18.786895" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 23:33:18 +0000 (0:00:00.256) 0:00:32.682 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 23:33:18 +0000 (0:00:00.049) 0:00:32.731 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:00.003989", "end": "2024-02-12 23:33:19.101532", "rc": 0, "start": "2024-02-12 23:33:19.097543" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 23:33:19 +0000 (0:00:00.240) 0:00:32.972 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-bond0.0] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 23:33:19 +0000 (0:00:00.031) 0:00:33.003 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:00.004257", "end": "2024-02-12 23:33:19.372588", "rc": 0, "start": "2024-02-12 23:33:19.368331" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-bond0.0] ************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 23:33:19 +0000 (0:00:00.239) 0:00:33.242 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'bond0.0'] ************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 23:33:19 +0000 (0:00:00.032) 0:00:33.275 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.0'] ********* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 23:33:19 +0000 (0:00:00.029) 0:00:33.305 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.0] *************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 23:33:19 +0000 (0:00:00.028) 0:00:33.334 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 12 February 2024 23:33:19 +0000 (0:00:00.028) 0:00:33.363 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 12 February 2024 23:33:19 +0000 (0:00:00.037) 0:00:33.400 ******* 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-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 12 February 2024 23:33:19 +0000 (0:00:00.027) 0:00:33.427 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707780789.8895173, "block_size": 4096, "blocks": 8, "ctime": 1707780789.8015203, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5998989, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707780789.8015203, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 133, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 12 February 2024 23:33:19 +0000 (0:00:00.229) 0:00:33.657 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 12 February 2024 23:33:19 +0000 (0:00:00.029) 0:00:33.686 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.025601", "end": "2024-02-12 23:33:20.071299", "rc": 1, "start": "2024-02-12 23:33:20.045698" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 12 February 2024 23:33:20 +0000 (0:00:00.253) 0:00:33.940 ******* skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 12 February 2024 23:33:20 +0000 (0:00:00.027) 0:00:33.967 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.1" ], "delta": "0:00:00.003903", "end": "2024-02-12 23:33:20.332179", "rc": 0, "start": "2024-02-12 23:33:20.328276" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 12 February 2024 23:33:20 +0000 (0:00:00.235) 0:00:34.202 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-bond0.1] **************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 12 February 2024 23:33:20 +0000 (0:00:00.030) 0:00:34.232 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-bond0.1" ], "delta": "0:00:00.003984", "end": "2024-02-12 23:33:20.597534", "rc": 0, "start": "2024-02-12 23:33:20.593550" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-bond0.1] ************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 12 February 2024 23:33:20 +0000 (0:00:00.235) 0:00:34.468 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'bond0.1'] ************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 12 February 2024 23:33:20 +0000 (0:00:00.031) 0:00:34.499 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'bond0.1'] ********* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 12 February 2024 23:33:20 +0000 (0:00:00.054) 0:00:34.553 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in bond0.1] *************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 12 February 2024 23:33:20 +0000 (0:00:00.031) 0:00:34.585 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:75 Monday 12 February 2024 23:33:20 +0000 (0:00:00.028) 0:00:34.614 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.004248", "end": "2024-02-12 23:33:20.978993", "rc": 0, "start": "2024-02-12 23:33:20.974745" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:80 Monday 12 February 2024 23:33:21 +0000 (0:00:00.234) 0:00:34.849 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004650", "end": "2024-02-12 23:33:21.214144", "rc": 0, "start": "2024-02-12 23:33:21.209494" } STDOUT: 8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.73/24 brd 192.0.2.255 scope global dynamic deprecated-bond valid_lft 295sec preferred_lft 295sec TASK [** TEST check IPv6] ****************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:87 Monday 12 February 2024 23:33:21 +0000 (0:00:00.235) 0:00:35.084 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004553", "end": "2024-02-12 23:33:21.440296", "rc": 0, "start": "2024-02-12 23:33:21.435743" } STDOUT: 8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::f46c:f6ff:feba:6d47/64 scope global dynamic mngtmpaddr valid_lft 1793sec preferred_lft 1793sec inet6 fe80::f46c:f6ff:feba:6d47/64 scope link valid_lft forever preferred_lft forever TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 February 2024 23:33:21 +0000 (0:00:00.225) 0:00:35.310 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 February 2024 23:33:21 +0000 (0:00:00.042) 0:00:35.352 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 February 2024 23:33:21 +0000 (0:00:00.032) 0:00:35.384 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 February 2024 23:33:21 +0000 (0:00:00.029) 0:00:35.414 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 February 2024 23:33:21 +0000 (0:00:00.028) 0:00:35.442 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 February 2024 23:33:23 +0000 (0:00:01.892) 0:00:37.335 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 February 2024 23:33:24 +0000 (0:00:01.410) 0:00:38.745 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 February 2024 23:33:24 +0000 (0:00:00.030) 0:00:38.775 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 February 2024 23:33:24 +0000 (0:00:00.029) 0:00:38.805 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 12 February 2024 23:33:25 +0000 (0:00:00.054) 0:00:38.859 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Monday 12 February 2024 23:33:25 +0000 (0:00:00.054) 0:00:38.914 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Monday 12 February 2024 23:33:25 +0000 (0:00:00.028) 0:00:38.942 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 12 February 2024 23:33:25 +0000 (0:00:00.028) 0:00:38.970 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Monday 12 February 2024 23:33:25 +0000 (0:00:00.033) 0:00:39.004 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Monday 12 February 2024 23:33:25 +0000 (0:00:00.030) 0:00:39.034 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Monday 12 February 2024 23:33:25 +0000 (0:00:00.026) 0:00:39.061 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Monday 12 February 2024 23:33:25 +0000 (0:00:00.401) 0:00:39.463 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-8747b1tb_s7g/tmpc5gqt35o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Monday 12 February 2024 23:33:25 +0000 (0:00:00.316) 0:00:39.779 ******* 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": "initscripts" } }, "changed": true } STDERR: [007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active) [008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active) [010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active) [012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' [013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1' [014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0' [015] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 12 February 2024 23:33:26 +0000 (0:00:01.028) 0:00:40.807 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Monday 12 February 2024 23:33:26 +0000 (0:00:00.029) 0:00:40.836 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[015] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Monday 12 February 2024 23:33:27 +0000 (0:00:00.030) 0:00:40.867 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)\n[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)\n[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active)\n[012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n[013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'\n[014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'\n[015] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'\n", "stderr_lines": [ "[007] #0, state:down persistent_state:absent, 'bond0.1': up connection bond0.1 (active)", "[008] #0, state:down persistent_state:absent, 'bond0.1': call 'ifdown bond0.1': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[009] #1, state:down persistent_state:absent, 'bond0.0': up connection bond0.0 (active)", "[010] #1, state:down persistent_state:absent, 'bond0.0': call 'ifdown bond0.0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[011] #2, state:down persistent_state:absent, 'bond0': up connection bond0 (active)", "[012] #2, state:down persistent_state:absent, 'bond0': call 'ifdown bond0': rc=0, out='b''', err='b\"WARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\nWARN : [ifdown] You are using 'ifdown' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifdown] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifdown] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'", "[013] #0, state:down persistent_state:absent, 'bond0.1': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.1'", "[014] #1, state:down persistent_state:absent, 'bond0.0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0.0'", "[015] #2, state:down persistent_state:absent, 'bond0': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-bond0'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 12 February 2024 23:33:27 +0000 (0:00:00.030) 0:00:40.898 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Monday 12 February 2024 23:33:27 +0000 (0:00:00.031) 0:00:40.930 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Delete the device 'deprecated-bond'] ************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:114 Monday 12 February 2024 23:33:27 +0000 (0:00:00.223) 0:00:41.153 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.020895", "end": "2024-02-12 23:33:27.521152", "failed_when_result": false, "rc": 0, "start": "2024-02-12 23:33:27.500257" } TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Monday 12 February 2024 23:33:27 +0000 (0:00:00.239) 0:00:41.393 ******* ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.043593", "end": "2024-02-12 23:33:27.780576", "rc": 0, "start": "2024-02-12 23:33:27.736983" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Monday 12 February 2024 23:33:27 +0000 (0:00:00.256) 0:00:41.649 ******* 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.017754", "end": "2024-02-12 23:33:28.015808", "rc": 0, "start": "2024-02-12 23:33:27.998054" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:120 Monday 12 February 2024 23:33:28 +0000 (0:00:00.257) 0:00:41.907 ******* ok: [sut] => { "changed": false, "cmd": [ "mv", "-vf", "/etc/resolv.conf.bak", "/etc/resolv.conf" ], "delta": "0:00:00.004371", "end": "2024-02-12 23:33:28.260461", "rc": 0, "start": "2024-02-12 23:33:28.256090" } STDOUT: renamed '/etc/resolv.conf.bak' -> '/etc/resolv.conf' TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:125 Monday 12 February 2024 23:33:28 +0000 (0:00:00.220) 0:00:42.128 ******* included: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/check_network_dns.yml:6 Monday 12 February 2024 23:33:28 +0000 (0:00:00.040) 0:00:42.168 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip 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\ntype -p resolvectl && resolvectl\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.018093", "end": "2024-02-12 23:33:28.536583", "rc": 1, "start": "2024-02-12 23:33:28.518490" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:95:df:ae:45:bf brd ff:ff:ff:ff:ff:ff inet 10.31.40.253/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2778sec preferred_lft 2778sec inet6 fe80::c95:dfff:feae:45bf/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.253 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.253 metric 100 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 /usr/bin/resolvectl STDERR: Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found. MSG: non-zero return code to retry, use: --limit @/tmp/tests_bond_deprecated_initscripts.retry PLAY RECAP ********************************************************************* sut : ok=93 changed=5 unreachable=0 failed=1 skipped=33 rescued=0 ignored=3 Monday 12 February 2024 23:33:28 +0000 (0:00:00.223) 0:00:42.392 ******* =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 6.90s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Install packages -------------------- 4.42s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Install dnsmasq --------------------------------------------------------- 4.33s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Install pgrep, sysctl --------------------------------------------------- 2.80s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:26 Gathering Facts --------------------------------------------------------- 2.01s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tests_bond_deprecated_initscripts.yml:5 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Create test interfaces -------------------------------------------------- 1.63s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:35 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.03s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Enable network service -------------- 0.87s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tests_bond_deprecated.yml:3 Enable EPEL 8 ----------------------------------------------------------- 0.46s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/enable_epel.yml:35 ------ fedora.linux_system_roles.network : Enable network service -------------- 0.40s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Gather the minimum subset of ansible_facts required by the network role test --- 0.37s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/tasks/el_repo_setup.yml:3 ----- fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.32s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 0.32s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.28s /WORKDIR/git-bond_options_rewritep6fl2l2k/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Stop dnsmasq/radvd services --------------------------------------------- 0.26s /WORKDIR/git-bond_options_rewritep6fl2l2k/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---