# 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/assert_device_present.yml statically imported: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml statically imported: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.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_deprecated_initscripts.yml ******************************** 2 plays in /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_bond_deprecated_initscripts.yml PLAY [Run playbook 'playbooks/tests_bond_deprecated.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_bond_deprecated_initscripts.yml:4 Monday 16 January 2023 03:16:21 +0000 (0:00:00.202) 0:00:00.202 ******** ok: [sut] META: ran handlers TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_bond_deprecated_initscripts.yml:7 Monday 16 January 2023 03:16:29 +0000 (0:00:07.904) 0:00:08.107 ******** 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 03:16:30 +0000 (0:00:00.446) 0:00:08.554 ******** 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 03:16:32 +0000 (0:00:02.153) 0:00:10.708 ******** 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 03:16:32 +0000 (0:00:00.509) 0:00:11.217 ******** 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 03:16:33 +0000 (0:00:00.658) 0:00:11.960 ******** 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.807564", "end": "2023-01-16 03:16:37.942655", "rc": 0, "start": "2023-01-16 03:16:37.135091" } 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 03:16:38 +0000 (0:00:04.970) 0:00:16.931 ******** 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 03:16:39 +0000 (0:00:00.686) 0:00:17.617 ******** changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.558274", "end": "2023-01-16 03:16:41.706023", "rc": 0, "start": "2023-01-16 03:16:40.147749" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:30 Monday 16 January 2023 03:16:41 +0000 (0:00:02.648) 0:00:20.266 ******** 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_deprecated_initscripts.yml:8 Monday 16 January 2023 03:16:42 +0000 (0:00:00.522) 0:00:20.788 ******** 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_deprecated.yml:3 Monday 16 January 2023 03:16:43 +0000 (0:00:00.764) 0:00:21.552 ******** ok: [sut] META: ran handlers TASK [INIT Prepare setup] ****************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_deprecated.yml:12 Monday 16 January 2023 03:16:44 +0000 (0:00:01.797) 0:00:23.350 ******** 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 03:16:45 +0000 (0:00:00.977) 0:00:24.327 ******** 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 03:17:00 +0000 (0:00:14.210) 0:00:38.538 ******** 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 03:17:00 +0000 (0:00:00.607) 0:00:39.145 ******** 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 03:17:03 +0000 (0:00:03.128) 0:00:42.273 ******** 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.511267", "end": "2023-01-16 03:17:06.602519", "rc": 0, "start": "2023-01-16 03:17:05.091252" } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:3 Monday 16 January 2023 03:17:06 +0000 (0:00:02.931) 0:00:45.205 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 16 January 2023 03:17:07 +0000 (0:00:00.984) 0:00:46.189 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673839025.1313508, "block_size": 4096, "blocks": 0, "ctime": 1673839025.1313508, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22064, "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": 1673839025.1313508, "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 interface test1 is present] ********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:4 Monday 16 January 2023 03:17:11 +0000 (0:00:04.136) 0:00:50.326 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:3 Monday 16 January 2023 03:17:12 +0000 (0:00:01.125) 0:00:51.451 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 16 January 2023 03:17:14 +0000 (0:00:01.399) 0:00:52.851 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673839025.1415482, "block_size": 4096, "blocks": 0, "ctime": 1673839025.1415482, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22650, "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": 1673839025.1415482, "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 interface test2 is present] ********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:4 Monday 16 January 2023 03:17:15 +0000 (0:00:01.177) 0:00:54.028 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [TEST Add Bond with 2 ports using deprecated 'master' argument] *********** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_deprecated.yml:23 Monday 16 January 2023 03:17:16 +0000 (0:00:01.001) 0:00:55.029 ******** 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 03:17:18 +0000 (0:00:01.564) 0:00:56.594 ******** 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:17:18 +0000 (0:00:00.831) 0:00:57.425 ******** 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:17:21 +0000 (0:00:02.102) 0:00:59.528 ******** 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:17:29 +0000 (0:00:08.803) 0:01:08.332 ******** 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:17:44 +0000 (0:00:14.978) 0:01:23.310 ******** 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:17:46 +0000 (0:00:02.067) 0:01:25.377 ******** 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:17:48 +0000 (0:00:01.644) 0:01:27.021 ******** 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:17:52 +0000 (0:00:03.722) 0:01:30.808 ******** 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:17:59 +0000 (0:00:07.484) 0:01:38.293 ******** 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:18:02 +0000 (0:00:02.363) 0:01:40.657 ******** 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:18:04 +0000 (0:00:01.813) 0:01:42.470 ******** 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:18:06 +0000 (0:00:02.913) 0:01:45.384 ******** 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:18:08 +0000 (0:00:01.648) 0:01:47.032 ******** 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:18:10 +0000 (0:00:02.177) 0:01:49.210 ******** 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:18:25 +0000 (0:00:14.811) 0:02:04.021 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-85770kwr7oz6/tmpdsgfgv9k" } 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:18:28 +0000 (0:00:03.425) 0:02:07.447 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 16 January 2023 03:18:43 +0000 (0:00:14.515) 0:02:21.963 ******** 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:18:46 +0000 (0:00:03.074) 0:02:25.038 ******** 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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 16 January 2023 03:18:47 +0000 (0:00:01.226) 0:02:26.264 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 16 January 2023 03:18:49 +0000 (0:00:01.794) 0:02:28.059 ******** 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:18:51 +0000 (0:00:02.265) 0:02:30.325 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: role_complete for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:3 Monday 16 January 2023 03:18:57 +0000 (0:00:06.030) 0:02:36.355 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface deprecated-bond] ********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 16 January 2023 03:19:01 +0000 (0:00:04.094) 0:02:40.450 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673839115.8826044, "block_size": 4096, "blocks": 0, "ctime": 1673839115.8826044, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23379, "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": 1673839115.8826044, "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 interface deprecated-bond is present] ************************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:4 Monday 16 January 2023 03:19:05 +0000 (0:00:03.444) 0:02:43.894 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_deprecated.yml:56 Monday 16 January 2023 03:19:08 +0000 (0:00:03.534) 0:02:47.429 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0) included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.0) included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.1) TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 16 January 2023 03:19:12 +0000 (0:00:03.773) 0:02:51.203 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 16 January 2023 03:19:16 +0000 (0:00:03.303) 0:02:54.507 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:8 Monday 16 January 2023 03:19:17 +0000 (0:00:01.070) 0:02:55.577 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673839115.7109797, "block_size": 4096, "blocks": 8, "ctime": 1673839115.7099798, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3352, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1673839115.7099798, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 208, "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/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:16 Monday 16 January 2023 03:19:19 +0000 (0:00:02.104) 0:02:57.682 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:24 Monday 16 January 2023 03:19:21 +0000 (0:00:01.884) 0:02:59.567 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.027344", "end": "2023-01-16 03:19:23.400979", "rc": 1, "start": "2023-01-16 03:19:23.373635" } 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/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:33 Monday 16 January 2023 03:19:24 +0000 (0:00:03.391) 0:03:02.958 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:43 Monday 16 January 2023 03:19:27 +0000 (0:00:02.794) 0:03:05.753 ******** changed: [sut] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0" ], "delta": "0:00:00.003726", "end": "2023-01-16 03:19:30.830768", "rc": 0, "start": "2023-01-16 03:19:30.827042" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 16 January 2023 03:19:32 +0000 (0:00:04.720) 0:03:10.473 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'bond0' is present] ********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:4 Monday 16 January 2023 03:19:33 +0000 (0:00:01.762) 0:03:12.236 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:9 Monday 16 January 2023 03:19:35 +0000 (0:00:02.219) 0:03:14.455 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 16 January 2023 03:19:37 +0000 (0:00:01.713) 0:03:16.169 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 16 January 2023 03:19:40 +0000 (0:00:02.977) 0:03:19.146 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:8 Monday 16 January 2023 03:19:43 +0000 (0:00:02.401) 0:03:21.548 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673839115.88498, "block_size": 4096, "blocks": 8, "ctime": 1673839115.7109797, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3382, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1673839115.7109797, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 111, "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/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:16 Monday 16 January 2023 03:19:47 +0000 (0:00:04.240) 0:03:25.789 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:24 Monday 16 January 2023 03:19:49 +0000 (0:00:02.058) 0:03:27.847 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.025448", "end": "2023-01-16 03:19:51.706324", "rc": 1, "start": "2023-01-16 03:19:51.680876" } 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/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:33 Monday 16 January 2023 03:19:53 +0000 (0:00:03.672) 0:03:31.519 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:43 Monday 16 January 2023 03:19:55 +0000 (0:00:02.704) 0:03:34.224 ******** changed: [sut] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.0" ], "delta": "0:00:01.004924", "end": "2023-01-16 03:19:58.153200", "rc": 0, "start": "2023-01-16 03:19:57.148276" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 16 January 2023 03:19:59 +0000 (0:00:03.423) 0:03:37.648 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'bond0.0' is present] ******************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:4 Monday 16 January 2023 03:20:01 +0000 (0:00:01.845) 0:03:39.494 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:9 Monday 16 January 2023 03:20:03 +0000 (0:00:02.923) 0:03:42.417 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 16 January 2023 03:20:06 +0000 (0:00:02.068) 0:03:44.486 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 16 January 2023 03:20:07 +0000 (0:00:01.556) 0:03:46.042 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:8 Monday 16 January 2023 03:20:07 +0000 (0:00:00.260) 0:03:46.302 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673839115.88498, "block_size": 4096, "blocks": 8, "ctime": 1673839115.7109797, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 3471, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1673839115.7109797, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 111, "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/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:16 Monday 16 January 2023 03:20:08 +0000 (0:00:00.532) 0:03:46.834 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:24 Monday 16 January 2023 03:20:08 +0000 (0:00:00.285) 0:03:47.120 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.027862", "end": "2023-01-16 03:20:09.140205", "rc": 1, "start": "2023-01-16 03:20:09.112343" } 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/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:33 Monday 16 January 2023 03:20:09 +0000 (0:00:00.655) 0:03:47.775 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:43 Monday 16 January 2023 03:20:09 +0000 (0:00:00.396) 0:03:48.171 ******** changed: [sut] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-bond0.1" ], "delta": "0:00:01.005026", "end": "2023-01-16 03:20:11.533409", "rc": 0, "start": "2023-01-16 03:20:10.528383" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 16 January 2023 03:20:11 +0000 (0:00:02.016) 0:03:50.188 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'bond0.1' is present] ******************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:4 Monday 16 January 2023 03:20:12 +0000 (0:00:00.377) 0:03:50.565 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:9 Monday 16 January 2023 03:20:12 +0000 (0:00:00.407) 0:03:50.973 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_deprecated.yml:63 Monday 16 January 2023 03:20:12 +0000 (0:00:00.346) 0:03:51.319 ******** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/deprecated-bond" ], "delta": "0:00:00.003867", "end": "2023-01-16 03:20:13.239379", "rc": 0, "start": "2023-01-16 03:20:13.235512" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_deprecated.yml:67 Monday 16 January 2023 03:20:13 +0000 (0:00:00.506) 0:03:51.826 ******** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004349", "end": "2023-01-16 03:20:13.739211", "rc": 0, "start": "2023-01-16 03:20:13.734862" } STDOUT: 8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.192/24 brd 192.0.2.255 scope global dynamic deprecated-bond valid_lft 208sec preferred_lft 208sec TASK [** TEST check IPv6] ****************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_deprecated.yml:73 Monday 16 January 2023 03:20:13 +0000 (0:00:00.438) 0:03:52.265 ******** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "deprecated-bond" ], "delta": "0:00:00.004335", "end": "2023-01-16 03:20:14.248577", "rc": 0, "start": "2023-01-16 03:20:14.244242" } STDOUT: 8: deprecated-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::d0d0:31ff:fe69:3e1d/64 scope global dynamic mngtmpaddr valid_lft 1705sec preferred_lft 1705sec inet6 fe80::d0d0:31ff:fe69:3e1d/64 scope link valid_lft forever preferred_lft forever 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:20:14 +0000 (0:00:00.674) 0:03:52.939 ******** 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:20:14 +0000 (0:00:00.309) 0:03:53.248 ******** 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:20:15 +0000 (0:00:00.914) 0:03:54.163 ******** 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:20:18 +0000 (0:00:02.350) 0:03:56.514 ******** 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:20:19 +0000 (0:00:01.859) 0:03:58.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/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 16 January 2023 03:20:20 +0000 (0:00:00.118) 0:03:58.491 ******** 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:20:20 +0000 (0:00:00.149) 0:03:58.641 ******** 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:20:20 +0000 (0:00:00.125) 0:03:58.766 ******** 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:20:20 +0000 (0:00:00.252) 0:03:59.018 ******** 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:20:20 +0000 (0:00:00.261) 0:03:59.279 ******** 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:20:21 +0000 (0:00:00.304) 0:03:59.584 ******** 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:20:21 +0000 (0:00:00.233) 0:03:59.817 ******** 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:20:21 +0000 (0:00:00.154) 0:03:59.971 ******** 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:20:21 +0000 (0:00:00.072) 0:04:00.044 ******** 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:20:22 +0000 (0:00:00.676) 0:04:00.720 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-85770kwr7oz6/tmp2igjunsa" } 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:20:22 +0000 (0:00:00.551) 0:04:01.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:20:24 +0000 (0:00:01.415) 0:04:02.687 ******** 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:20:24 +0000 (0:00:00.077) 0:04:02.765 ******** 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:20:24 +0000 (0:00:00.152) 0:04:02.918 ******** 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:20:24 +0000 (0:00:00.162) 0:04:03.080 ******** 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:20:24 +0000 (0:00:00.138) 0:04:03.219 ******** 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_deprecated.yml:96 Monday 16 January 2023 03:20:25 +0000 (0:00:00.369) 0:04:03.589 ******** changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "deprecated-bond" ], "delta": "0:00:00.018706", "end": "2023-01-16 03:20:25.393154", "rc": 0, "start": "2023-01-16 03:20:25.374448" } 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:20:25 +0000 (0:00:00.321) 0:04:03.910 ******** ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.061436", "end": "2023-01-16 03:20:25.745537", "rc": 0, "start": "2023-01-16 03:20:25.684101" } 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:20:25 +0000 (0:00:00.346) 0:04:04.257 ******** 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.018306", "end": "2023-01-16 03:20:26.057185", "rc": 0, "start": "2023-01-16 03:20:26.038879" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=81 changed=14 unreachable=0 failed=0 skipped=26 rescued=0 ignored=3 Monday 16 January 2023 03:20:26 +0000 (0:00:00.364) 0:04:04.621 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed -- 14.98s /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 : Enable network service ------------- 14.81s /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 : Configure networking connection profiles -- 14.52s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Install dnsmasq -------------------------------------------------------- 14.21s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_test_interfaces_with_dhcp.yml:3 fedora.linux_system_roles.network : Check which services are running ---- 8.80s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 7.90s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_bond_deprecated_initscripts.yml:4 fedora.linux_system_roles.network : Install packages -------------------- 7.48s /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 : Re-test connectivity ---------------- 6.03s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Create EPEL 8 ----------------------------------------------------------- 4.97s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:4 -- Get the ansible_managed comment in ifcfg-bond0 -------------------------- 4.72s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:43 stat profile file ------------------------------------------------------- 4.24s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:8 Get stat for interface test1 -------------------------------------------- 4.14s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 include_tasks ----------------------------------------------------------- 4.09s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:3 include_tasks ----------------------------------------------------------- 3.77s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_bond_deprecated.yml:56 fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 3.72s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Get NM profile info ----------------------------------------------------- 3.67s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:24 assert that interface deprecated-bond is present ------------------------ 3.53s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:4 Get stat for interface deprecated-bond ---------------------------------- 3.44s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 fedora.linux_system_roles.network : Ensure initscripts network file dependency is present --- 3.43s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Get the ansible_managed comment in ifcfg-bond0.0 ------------------------ 3.42s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:43 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---