# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] 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.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file statically imported: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml statically imported: /WORKDIR/dist-git-network-woke-action-ogjhja1l/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_cloned_mac_initscripts.yml ******************************** 2 plays in /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_bond_cloned_mac_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_cloned_mac.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_bond_cloned_mac_initscripts.yml:4 Monday 16 January 2023 02:57:31 +0000 (0:00:00.086) 0:00:00.086 ******** ok: [sut] META: ran handlers TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_bond_cloned_mac_initscripts.yml:7 Monday 16 January 2023 02:57:54 +0000 (0:00:23.171) 0:00:23.258 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/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/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:2 Monday 16 January 2023 02:57:55 +0000 (0:00:01.005) 0:00:24.263 ******** ok: [sut] TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:13 Monday 16 January 2023 02:58:00 +0000 (0:00:05.408) 0:00:29.672 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:38 Monday 16 January 2023 02:58:01 +0000 (0:00:00.896) 0:00:30.568 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:4 Monday 16 January 2023 02:58:02 +0000 (0:00:00.867) 0:00:31.436 ******** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:00.644229", "end": "2023-01-16 02:58:14.113863", "rc": 0, "start": "2023-01-16 02:58:13.469634" } STDOUT: Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verifying packages... Preparing packages... epel-release-8-18.el8.noarch Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:19 Monday 16 January 2023 02:58:15 +0000 (0:00:13.446) 0:00:44.882 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:23 Monday 16 January 2023 02:58:16 +0000 (0:00:00.811) 0:00:45.694 ******** changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.547103", "end": "2023-01-16 02:58:19.686737", "rc": 0, "start": "2023-01-16 02:58:18.139634" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:30 Monday 16 January 2023 02:58:20 +0000 (0:00:03.683) 0:00:49.378 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_bond_cloned_mac_initscripts.yml:8 Monday 16 January 2023 02:58:20 +0000 (0:00:00.387) 0:00:49.766 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:3 Monday 16 January 2023 02:58:22 +0000 (0:00:02.243) 0:00:52.009 ******** ok: [sut] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:12 Monday 16 January 2023 02:58:27 +0000 (0:00:04.160) 0:00:56.170 ******** ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 Monday 16 January 2023 02:58:28 +0000 (0:00:01.431) 0:00:57.601 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: dnsmasq-2.79-24.el8.x86_64" ] } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:8 Monday 16 January 2023 02:58:50 +0000 (0:00:21.854) 0:01:19.456 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 Monday 16 January 2023 02:58:52 +0000 (0:00:02.088) 0:01:21.544 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:24 Monday 16 January 2023 02:58:58 +0000 (0:00:05.652) 0:01:27.196 ******** 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.554725", "end": "2023-01-16 02:59:01.179237", "rc": 0, "start": "2023-01-16 02:58:59.624512" } TASK [Backup the /etc/resolv.conf for initscript] ****************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:16 Monday 16 January 2023 02:59:01 +0000 (0:00:03.656) 0:01:30.853 ******** changed: [sut] => { "changed": true, "cmd": [ "cp", "-vf", "/etc/resolv.conf", "/etc/resolv.conf.bak" ], "delta": "0:00:00.005979", "end": "2023-01-16 02:59:04.253887", "rc": 0, "start": "2023-01-16 02:59:04.247908" } STDOUT: '/etc/resolv.conf' -> '/etc/resolv.conf.bak' TASK [TEST Add Bond with 2 ports] ********************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:21 Monday 16 January 2023 02:59:04 +0000 (0:00:02.760) 0:01:33.614 ******** ok: [sut] => {} MSG: ################################################## TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 16 January 2023 02:59:06 +0000 (0:00:02.040) 0:01:35.654 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 16 January 2023 02:59:09 +0000 (0:00:02.392) 0:01:38.047 ******** 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 services are running] **** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Monday 16 January 2023 02:59:13 +0000 (0:00:04.310) 0:01:42.357 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Monday 16 January 2023 02:59:29 +0000 (0:00:15.882) 0:01:58.240 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 16 January 2023 02:59:49 +0000 (0:00:20.738) 0:02:18.978 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 16 January 2023 02:59:53 +0000 (0:00:03.955) 0:02:22.933 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 16 January 2023 02:59:56 +0000 (0:00:02.117) 0:02:25.051 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 16 January 2023 02:59:59 +0000 (0:00:03.064) 0:02:28.115 ******** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.18-1.el8.x86_64", "Installed: network-scripts-team-1.31-4.el8.x86_64" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 16 January 2023 03:00:11 +0000 (0:00:12.613) 0:02:40.728 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 16 January 2023 03:00:11 +0000 (0:00:00.261) 0:02:40.990 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 16 January 2023 03:00:12 +0000 (0:00:00.347) 0:02:41.337 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 16 January 2023 03:00:12 +0000 (0:00:00.507) 0:02:41.844 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 16 January 2023 03:00:13 +0000 (0:00:00.248) 0:02:42.093 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 16 January 2023 03:00:13 +0000 (0:00:00.335) 0:02:42.429 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 16 January 2023 03:00:17 +0000 (0:00:03.823) 0:02:46.252 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-5779f9bacxly/tmpyf1pr_gg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 16 January 2023 03:00:18 +0000 (0:00:01.311) 0:02:47.564 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "cloned_mac": "12:23:34:45:56:60", "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "cloned_mac": "12:23:34:45:56:61", "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": "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 nm-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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 16 January 2023 03:00:26 +0000 (0:00:08.094) 0:02:55.658 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 16 January 2023 03:00:26 +0000 (0:00:00.193) 0:02:55.852 ******** 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 nm-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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 16 January 2023 03:00:27 +0000 (0:00:00.263) 0:02:56.115 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "cloned_mac": "12:23:34:45:56:60", "interface_name": "nm-bond", "ip": { "route_metric4": 65535 }, "name": "bond0", "state": "up", "type": "bond" }, { "cloned_mac": "12:23:34:45:56:61", "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": "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 nm-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 nm-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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 16 January 2023 03:00:27 +0000 (0:00:00.413) 0:02:56.529 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 16 January 2023 03:00:27 +0000 (0:00:00.194) 0:02:56.723 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: role_complete for sut TASK [Verify nmcli cloned-mac-address entry] *********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:54 Monday 16 January 2023 03:00:28 +0000 (0:00:01.261) 0:02:57.985 ******** skipping: [sut] => (item={'name': 'bond0', 'mac': '12:23:34:45:56:60'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mac": "12:23:34:45:56:60", "name": "bond0" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'bond0.0', 'mac': '12:23:34:45:56:61'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mac": "12:23:34:45:56:61", "name": "bond0.0" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'name': 'bond0.1', 'mac': '--'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mac": "--", "name": "bond0.1" }, "skip_reason": "Conditional result was False" } TASK [Assert that cloned-mac-address addresses are configured correctly] ******* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:66 Monday 16 January 2023 03:00:29 +0000 (0:00:00.454) 0:02:58.440 ******** skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': {'name': 'bond0', 'mac': '12:23:34:45:56:60'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": { "mac": "12:23:34:45:56:60", "name": "bond0" }, "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': {'name': 'bond0.0', 'mac': '12:23:34:45:56:61'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": { "mac": "12:23:34:45:56:61", "name": "bond0.0" }, "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': {'name': 'bond0.1', 'mac': '--'}, 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": { "mac": "--", "name": "bond0.1" }, "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [Verify the MAC address in bond0] ***************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:75 Monday 16 January 2023 03:00:29 +0000 (0:00:00.324) 0:02:58.764 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "MACADDR", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:01.004615", "end": "2023-01-16 03:00:31.141772", "rc": 0, "start": "2023-01-16 03:00:30.137157" } STDOUT: MACADDR="12:23:34:45:56:60" TASK [Verify the MAC address in bond0.0] *************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:84 Monday 16 January 2023 03:00:31 +0000 (0:00:01.569) 0:03:00.334 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "MACADDR", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:01.004793", "end": "2023-01-16 03:00:32.864611", "rc": 0, "start": "2023-01-16 03:00:31.859818" } STDOUT: MACADDR="12:23:34:45:56:61" TASK [Assert that MAC addresses are configured correctly for bonding interface] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:93 Monday 16 January 2023 03:00:33 +0000 (0:00:01.794) 0:03:02.129 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 16 January 2023 03:00:33 +0000 (0:00:00.260) 0:03:02.389 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 16 January 2023 03:00:34 +0000 (0:00:00.961) 0:03:03.351 ******** 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 services are running] **** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Monday 16 January 2023 03:00:35 +0000 (0:00:01.329) 0:03:04.681 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Monday 16 January 2023 03:00:40 +0000 (0:00:04.679) 0:03:09.360 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 16 January 2023 03:00:47 +0000 (0:00:06.696) 0:03:16.057 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 16 January 2023 03:00:48 +0000 (0:00:01.597) 0:03:17.654 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 16 January 2023 03:00:50 +0000 (0:00:01.737) 0:03:19.392 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 16 January 2023 03:00:52 +0000 (0:00:01.783) 0:03:21.175 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 16 January 2023 03:00:54 +0000 (0:00:02.120) 0:03:23.296 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 16 January 2023 03:00:55 +0000 (0:00:01.082) 0:03:24.379 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 16 January 2023 03:00:57 +0000 (0:00:02.093) 0:03:26.472 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 16 January 2023 03:01:00 +0000 (0:00:02.573) 0:03:29.046 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 16 January 2023 03:01:01 +0000 (0:00:01.776) 0:03:30.822 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 16 January 2023 03:01:02 +0000 (0:00:01.086) 0:03:31.909 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 16 January 2023 03:01:07 +0000 (0:00:04.493) 0:03:36.402 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-5779f9bacxly/tmpymn3xe3p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 16 January 2023 03:01:12 +0000 (0:00:04.870) 0:03:41.272 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 16 January 2023 03:01:17 +0000 (0:00:05.474) 0:03:46.747 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 16 January 2023 03:01:19 +0000 (0:00:01.714) 0:03:48.461 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 16 January 2023 03:01:21 +0000 (0:00:02.240) 0:03:50.702 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 16 January 2023 03:01:23 +0000 (0:00:02.104) 0:03:52.806 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 16 January 2023 03:01:25 +0000 (0:00:01.443) 0:03:54.250 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: role_complete for sut TASK [command] ***************************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:118 Monday 16 January 2023 03:01:29 +0000 (0:00:03.844) 0:03:58.094 ******** changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.027783", "end": "2023-01-16 03:01:30.630593", "rc": 0, "start": "2023-01-16 03:01:30.602810" } TASK [Remove test interfaces] ************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:3 Monday 16 January 2023 03:01:33 +0000 (0:00:04.194) 0:04:02.289 ******** ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.094606", "end": "2023-01-16 03:01:34.916143", "rc": 0, "start": "2023-01-16 03:01:34.821537" } TASK [Stop dnsmasq/radvd services] ********************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/remove_test_interfaces_with_dhcp.yml:11 Monday 16 January 2023 03:01:35 +0000 (0:00:02.109) 0:04:04.398 ******** 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.019688", "end": "2023-01-16 03:01:36.852197", "rc": 0, "start": "2023-01-16 03:01:36.832509" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:121 Monday 16 January 2023 03:01:38 +0000 (0:00:02.889) 0:04:07.288 ******** changed: [sut] => { "changed": true, "cmd": [ "mv", "-vf", "/etc/resolv.conf.bak", "/etc/resolv.conf" ], "delta": "0:00:00.003924", "end": "2023-01-16 03:01:40.896785", "rc": 0, "start": "2023-01-16 03:01:40.892861" } STDOUT: renamed '/etc/resolv.conf.bak' -> '/etc/resolv.conf' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=44 changed=10 unreachable=0 failed=0 skipped=25 rescued=0 ignored=0 Monday 16 January 2023 03:01:42 +0000 (0:00:04.206) 0:04:11.495 ******** =============================================================================== Gathering Facts -------------------------------------------------------- 23.17s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_bond_cloned_mac_initscripts.yml:4 Install dnsmasq -------------------------------------------------------- 21.85s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which packages are installed -- 20.74s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which services are running --- 15.88s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Create EPEL 8 ---------------------------------------------------------- 13.45s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:4 -- fedora.linux_system_roles.network : Install packages ------------------- 12.61s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Configure networking connection profiles --- 8.09s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 6.70s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Install pgrep, sysctl --------------------------------------------------- 5.65s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:16 fedora.linux_system_roles.network : Configure networking connection profiles --- 5.47s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Gather the minimum subset of ansible_facts required by the network role test --- 5.41s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:2 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 4.87s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 fedora.linux_system_roles.network : Check which services are running ---- 4.68s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Enable network service -------------- 4.49s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 4.31s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Restore the /etc/resolv.conf for initscript ----------------------------- 4.21s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:121 command ----------------------------------------------------------------- 4.19s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:118 Gathering Facts --------------------------------------------------------- 4.16s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_cloned_mac.yml:3 fedora.linux_system_roles.network : Print network provider -------------- 3.93s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 fedora.linux_system_roles.network : Re-test connectivity ---------------- 3.84s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---