# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_bond_removal.yml' with nm as provider] ***** TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 17:22:16 +0000 (0:00:00.365) 0:00:00.365 ********* ok: [sut] TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:22:31 +0000 (0:00:14.251) 0:00:14.616 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 05 August 2022 17:22:32 +0000 (0:00:01.233) 0:00:15.850 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:22:33 +0000 (0:00:01.316) 0:00:17.167 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** Friday 05 August 2022 17:22:35 +0000 (0:00:01.901) 0:00:19.068 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Friday 05 August 2022 17:22:36 +0000 (0:00:01.107) 0:00:20.175 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 17:22:38 +0000 (0:00:01.978) 0:00:22.154 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 17:22:39 +0000 (0:00:00.914) 0:00:23.069 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 05 August 2022 17:22:40 +0000 (0:00:00.666) 0:00:23.736 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 17:22:42 +0000 (0:00:01.642) 0:00:25.378 ********* ok: [sut] TASK [INIT Prepare setup] ****************************************************** Friday 05 August 2022 17:22:45 +0000 (0:00:03.573) 0:00:28.951 ********* ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* Friday 05 August 2022 17:22:46 +0000 (0:00:00.870) 0:00:29.822 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: dnsmasq-2.85-4.el9.x86_64" ] } TASK [Install pgrep, sysctl] *************************************************** Friday 05 August 2022 17:22:59 +0000 (0:00:12.871) 0:00:42.693 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** Friday 05 August 2022 17:23:00 +0000 (0:00:01.194) 0:00:43.888 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** Friday 05 August 2022 17:23:03 +0000 (0:00:02.618) 0:00:46.507 ********* 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.568657", "end": "2022-08-05 17:23:10.384454", "rc": 0, "start": "2022-08-05 17:23:08.815797" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:23:11 +0000 (0:00:08.084) 0:00:54.591 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** Friday 05 August 2022 17:23:12 +0000 (0:00:01.297) 0:00:55.889 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659720188.8722818, "block_size": 4096, "blocks": 0, "ctime": 1659720188.8722818, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22436, "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": 1659720188.8722818, "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] ********************************** Friday 05 August 2022 17:23:16 +0000 (0:00:04.441) 0:01:00.330 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:23:18 +0000 (0:00:01.318) 0:01:01.649 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** Friday 05 August 2022 17:23:20 +0000 (0:00:02.247) 0:01:03.896 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659720188.8860743, "block_size": 4096, "blocks": 0, "ctime": 1659720188.8860743, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23022, "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": 1659720188.8860743, "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] ********************************** Friday 05 August 2022 17:23:23 +0000 (0:00:02.738) 0:01:06.635 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** Friday 05 August 2022 17:23:24 +0000 (0:00:00.930) 0:01:07.565 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST Add Bond with 2 ports] ********************************************** Friday 05 August 2022 17:23:25 +0000 (0:00:00.831) 0:01:08.397 ********* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 17:23:26 +0000 (0:00:01.374) 0:01:09.772 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 17:23:28 +0000 (0:00:01.701) 0:01:11.473 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 17:23:31 +0000 (0:00:03.510) 0:01:14.984 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 17:23:42 +0000 (0:00:11.110) 0:01:26.115 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 05 August 2022 17:24:05 +0000 (0:00:23.120) 0:01:49.235 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:24:08 +0000 (0:00:02.429) 0:01:51.664 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 17:24:09 +0000 (0:00:01.346) 0:01:53.011 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:24:12 +0000 (0:00:02.905) 0:01:55.916 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:24:17 +0000 (0:00:05.147) 0:02:01.063 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:24:19 +0000 (0:00:01.606) 0:02:02.669 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:24:20 +0000 (0:00:01.245) 0:02:03.915 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:24:23 +0000 (0:00:03.041) 0:02:06.956 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:24:42 +0000 (0:00:19.016) 0:02:25.973 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:24:43 +0000 (0:00:01.197) 0:02:27.170 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:24:44 +0000 (0:00:00.880) 0:02:28.051 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:24:46 +0000 (0:00:01.361) 0:02:29.413 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 15be5cdd-332b-4a4b-bba7-2d833cb17f7c [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 15be5cdd-332b-4a4b-bba7-2d833cb17f7c (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:24:59 +0000 (0:00:13.714) 0:02:43.127 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:25:01 +0000 (0:00:02.094) 0:02:45.221 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 15be5cdd-332b-4a4b-bba7-2d833cb17f7c", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 15be5cdd-332b-4a4b-bba7-2d833cb17f7c (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:25:06 +0000 (0:00:04.772) 0:02:49.994 ********* 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": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 15be5cdd-332b-4a4b-bba7-2d833cb17f7c\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 15be5cdd-332b-4a4b-bba7-2d833cb17f7c (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 15be5cdd-332b-4a4b-bba7-2d833cb17f7c", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 15be5cdd-332b-4a4b-bba7-2d833cb17f7c (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:25:07 +0000 (0:00:00.632) 0:02:50.627 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:25:07 +0000 (0:00:00.387) 0:02:51.014 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:25:08 +0000 (0:00:01.016) 0:02:52.031 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface nm-bond] ****************************************** Friday 05 August 2022 17:25:08 +0000 (0:00:00.264) 0:02:52.295 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659720298.620307, "block_size": 4096, "blocks": 0, "ctime": 1659720298.620307, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23711, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/nm-bond", "lnk_target": "../../devices/virtual/net/nm-bond", "mode": "0777", "mtime": 1659720298.620307, "nlink": 1, "path": "/sys/class/net/nm-bond", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface nm-bond is present] ******************************** Friday 05 August 2022 17:25:09 +0000 (0:00:00.337) 0:02:52.632 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:25:09 +0000 (0:00:00.206) 0:02:52.839 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0) included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.0) included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.1) TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:25:09 +0000 (0:00:00.339) 0:02:53.178 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Friday 05 August 2022 17:25:10 +0000 (0:00:00.230) 0:02:53.409 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* Friday 05 August 2022 17:25:10 +0000 (0:00:00.201) 0:02:53.610 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Friday 05 August 2022 17:25:10 +0000 (0:00:00.555) 0:02:54.166 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Friday 05 August 2022 17:25:11 +0000 (0:00:00.247) 0:02:54.413 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.030466", "end": "2022-08-05 17:25:11.368397", "rc": 0, "start": "2022-08-05 17:25:11.337931" } STDOUT: bond0 /etc/NetworkManager/system-connections/bond0.nmconnection bond0.0 /etc/NetworkManager/system-connections/bond0.0.nmconnection bond0.1 /etc/NetworkManager/system-connections/bond0.1.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 05 August 2022 17:25:11 +0000 (0:00:00.383) 0:02:54.797 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0] ************************** Friday 05 August 2022 17:25:11 +0000 (0:00:00.141) 0:02:54.939 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** Friday 05 August 2022 17:25:11 +0000 (0:00:00.093) 0:02:55.032 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** Friday 05 August 2022 17:25:11 +0000 (0:00:00.146) 0:02:55.179 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** Friday 05 August 2022 17:25:11 +0000 (0:00:00.169) 0:02:55.349 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:25:12 +0000 (0:00:00.154) 0:02:55.503 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Friday 05 August 2022 17:25:12 +0000 (0:00:00.124) 0:02:55.628 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* Friday 05 August 2022 17:25:12 +0000 (0:00:00.092) 0:02:55.720 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Friday 05 August 2022 17:25:12 +0000 (0:00:00.314) 0:02:56.035 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Friday 05 August 2022 17:25:12 +0000 (0:00:00.097) 0:02:56.133 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.027332", "end": "2022-08-05 17:25:13.087786", "rc": 0, "start": "2022-08-05 17:25:13.060454" } STDOUT: bond0.0 /etc/NetworkManager/system-connections/bond0.0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 05 August 2022 17:25:13 +0000 (0:00:00.372) 0:02:56.505 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.0] ************************ Friday 05 August 2022 17:25:13 +0000 (0:00:00.115) 0:02:56.621 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* Friday 05 August 2022 17:25:13 +0000 (0:00:00.071) 0:02:56.692 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** Friday 05 August 2022 17:25:13 +0000 (0:00:00.108) 0:02:56.801 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* Friday 05 August 2022 17:25:13 +0000 (0:00:00.274) 0:02:57.076 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 17:25:13 +0000 (0:00:00.086) 0:02:57.163 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Friday 05 August 2022 17:25:13 +0000 (0:00:00.124) 0:02:57.287 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* Friday 05 August 2022 17:25:14 +0000 (0:00:00.146) 0:02:57.434 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Friday 05 August 2022 17:25:14 +0000 (0:00:00.342) 0:02:57.776 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Friday 05 August 2022 17:25:14 +0000 (0:00:00.081) 0:02:57.857 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.027621", "end": "2022-08-05 17:25:14.783909", "rc": 0, "start": "2022-08-05 17:25:14.756288" } STDOUT: bond0.1 /etc/NetworkManager/system-connections/bond0.1.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 05 August 2022 17:25:14 +0000 (0:00:00.353) 0:02:58.211 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-bond0.1] ************************ Friday 05 August 2022 17:25:14 +0000 (0:00:00.098) 0:02:58.309 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* Friday 05 August 2022 17:25:15 +0000 (0:00:00.062) 0:02:58.372 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** Friday 05 August 2022 17:25:15 +0000 (0:00:00.054) 0:02:58.426 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* Friday 05 August 2022 17:25:15 +0000 (0:00:00.078) 0:02:58.505 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** Friday 05 August 2022 17:25:15 +0000 (0:00:00.107) 0:02:58.612 ********* changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/nm-bond" ], "delta": "0:00:00.003718", "end": "2022-08-05 17:25:15.488364", "rc": 0, "start": "2022-08-05 17:25:15.484646" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** Friday 05 August 2022 17:25:15 +0000 (0:00:00.285) 0:02:58.898 ********* changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.003824", "end": "2022-08-05 17:25:15.773183", "rc": 0, "start": "2022-08-05 17:25:15.769359" } STDOUT: 8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.19/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 226sec preferred_lft 226sec TASK [** TEST check IPv6] ****************************************************** Friday 05 August 2022 17:25:15 +0000 (0:00:00.288) 0:02:59.186 ********* changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.003739", "end": "2022-08-05 17:25:16.141953", "rc": 0, "start": "2022-08-05 17:25:16.138214" } STDOUT: 8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::94/128 scope global dynamic noprefixroute valid_lft 226sec preferred_lft 226sec inet6 2001:db8::114f:1fd3:793:36d9/64 scope global dynamic noprefixroute valid_lft 1786sec preferred_lft 1786sec inet6 fe80::fd8e:316a:4498:7d62/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 17:25:16 +0000 (0:00:00.391) 0:02:59.578 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 17:25:16 +0000 (0:00:00.096) 0:02:59.674 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 17:25:16 +0000 (0:00:00.534) 0:03:00.208 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 17:25:18 +0000 (0:00:01.734) 0:03:01.943 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 05 August 2022 17:25:19 +0000 (0:00:00.748) 0:03:02.691 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:25:19 +0000 (0:00:00.079) 0:03:02.771 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 17:25:19 +0000 (0:00:00.063) 0:03:02.835 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:25:19 +0000 (0:00:00.065) 0:03:02.901 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:25:19 +0000 (0:00:00.218) 0:03:03.119 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:25:19 +0000 (0:00:00.067) 0:03:03.187 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:25:19 +0000 (0:00:00.072) 0:03:03.259 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:25:20 +0000 (0:00:00.126) 0:03:03.386 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:25:20 +0000 (0:00:00.534) 0:03:03.921 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:25:20 +0000 (0:00:00.117) 0:03:04.039 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:25:20 +0000 (0:00:00.077) 0:03:04.116 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:25:20 +0000 (0:00:00.098) 0:03:04.215 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:25:21 +0000 (0:00:00.814) 0:03:05.029 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:25:21 +0000 (0:00:00.058) 0:03:05.088 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:25:21 +0000 (0:00:00.075) 0:03:05.163 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:25:21 +0000 (0:00:00.072) 0:03:05.236 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:25:21 +0000 (0:00:00.059) 0:03:05.295 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the port1 profile "bond0.0" from the active connection] ************** Friday 05 August 2022 17:25:22 +0000 (0:00:00.336) 0:03:05.631 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0.0" ], "delta": "0:00:00.021981", "end": "2022-08-05 17:25:22.524361", "rc": 0, "start": "2022-08-05 17:25:22.502380" } TASK [Get the port2 profile "bond0.1" from the active connection] ************** Friday 05 August 2022 17:25:22 +0000 (0:00:00.303) 0:03:05.935 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0.1" ], "delta": "0:00:00.022369", "end": "2022-08-05 17:25:22.835584", "rc": 0, "start": "2022-08-05 17:25:22.813215" } TASK [Assert that the port1 profile is not activated] ************************** Friday 05 August 2022 17:25:22 +0000 (0:00:00.312) 0:03:06.247 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the port2 profile is not activated] ************************** Friday 05 August 2022 17:25:22 +0000 (0:00:00.101) 0:03:06.349 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the port1 device state] ********************************************** Friday 05 August 2022 17:25:23 +0000 (0:00:00.102) 0:03:06.452 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the port2 device state] ********************************************** Friday 05 August 2022 17:25:23 +0000 (0:00:00.070) 0:03:06.522 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port1 device is in DOWN state] *************************** Friday 05 August 2022 17:25:23 +0000 (0:00:00.091) 0:03:06.614 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port2 device is in DOWN state] *************************** Friday 05 August 2022 17:25:23 +0000 (0:00:00.055) 0:03:06.669 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 17:25:23 +0000 (0:00:00.061) 0:03:06.731 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 17:25:23 +0000 (0:00:00.092) 0:03:06.824 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 17:25:24 +0000 (0:00:00.532) 0:03:07.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 [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 17:25:25 +0000 (0:00:01.830) 0:03:09.187 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 05 August 2022 17:25:26 +0000 (0:00:00.800) 0:03:09.988 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:25:26 +0000 (0:00:00.081) 0:03:10.069 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 17:25:26 +0000 (0:00:00.082) 0:03:10.152 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:25:26 +0000 (0:00:00.068) 0:03:10.220 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:25:27 +0000 (0:00:00.199) 0:03:10.420 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:25:27 +0000 (0:00:00.069) 0:03:10.489 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:25:27 +0000 (0:00:00.117) 0:03:10.607 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:25:27 +0000 (0:00:00.201) 0:03:10.809 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:25:28 +0000 (0:00:00.615) 0:03:11.424 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:25:28 +0000 (0:00:00.129) 0:03:11.554 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:25:28 +0000 (0:00:00.076) 0:03:11.631 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:25:28 +0000 (0:00:00.055) 0:03:11.687 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "bond": { "miimon": 110, "mode": "active-backup" }, "interface_name": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 8bd9f1ee-78f5-43a6-9005-3951a33b3298 [008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 [009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 8bd9f1ee-78f5-43a6-9005-3951a33b3298 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:25:29 +0000 (0:00:00.938) 0:03:12.625 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:25:29 +0000 (0:00:00.070) 0:03:12.695 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 8bd9f1ee-78f5-43a6-9005-3951a33b3298", "[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760", "[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 8bd9f1ee-78f5-43a6-9005-3951a33b3298 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:25:29 +0000 (0:00:00.087) 0:03:12.783 ********* 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": "nm-bond", "name": "bond0", "state": "up", "type": "bond" }, { "controller": "bond0", "interface_name": "test1", "name": "bond0.0", "state": "up", "type": "ethernet" }, { "controller": "bond0", "interface_name": "test2", "name": "bond0.1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 8bd9f1ee-78f5-43a6-9005-3951a33b3298\n[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760\n[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 8bd9f1ee-78f5-43a6-9005-3951a33b3298 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 8bd9f1ee-78f5-43a6-9005-3951a33b3298", "[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760", "[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 8bd9f1ee-78f5-43a6-9005-3951a33b3298 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, 09d19aea-8d45-4b8f-96cc-d402facce760 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, e41dbbf8-c4dc-4724-8585-b4b4b0552699 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:25:29 +0000 (0:00:00.077) 0:03:12.860 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:25:29 +0000 (0:00:00.063) 0:03:12.924 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 17:25:29 +0000 (0:00:00.315) 0:03:13.239 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 17:25:29 +0000 (0:00:00.107) 0:03:13.347 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 17:25:30 +0000 (0:00:00.489) 0:03:13.837 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 17:25:32 +0000 (0:00:01.771) 0:03:15.608 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 05 August 2022 17:25:33 +0000 (0:00:00.840) 0:03:16.449 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:25:33 +0000 (0:00:00.092) 0:03:16.541 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 17:25:33 +0000 (0:00:00.078) 0:03:16.619 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:25:33 +0000 (0:00:00.115) 0:03:16.735 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:25:33 +0000 (0:00:00.200) 0:03:16.936 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:25:33 +0000 (0:00:00.094) 0:03:17.030 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:25:33 +0000 (0:00:00.093) 0:03:17.124 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:25:33 +0000 (0:00:00.132) 0:03:17.256 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:25:34 +0000 (0:00:00.573) 0:03:17.830 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:25:34 +0000 (0:00:00.146) 0:03:17.977 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:25:34 +0000 (0:00:00.110) 0:03:18.087 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:25:34 +0000 (0:00:00.150) 0:03:18.238 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:25:35 +0000 (0:00:00.884) 0:03:19.122 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:25:35 +0000 (0:00:00.134) 0:03:19.257 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:25:36 +0000 (0:00:00.122) 0:03:19.380 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0.0", "persistent_state": "absent", "state": "down" }, { "name": "bond0.1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:25:36 +0000 (0:00:00.096) 0:03:19.476 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:25:36 +0000 (0:00:00.089) 0:03:19.565 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the controller profile "bond0" from the active connection] *********** Friday 05 August 2022 17:25:36 +0000 (0:00:00.363) 0:03:19.929 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0" ], "delta": "0:00:00.034233", "end": "2022-08-05 17:25:36.853496", "rc": 0, "start": "2022-08-05 17:25:36.819263" } STDOUT: connection.id: bond0 connection.uuid: 8bd9f1ee-78f5-43a6-9005-3951a33b3298 connection.stable-id: -- connection.type: bond connection.interface-name: nm-bond connection.autoconnect: yes connection.autoconnect-priority: 0 connection.autoconnect-retries: -1 (default) connection.multi-connect: 0 (default) connection.auth-retries: -1 connection.timestamp: 1659720329 connection.read-only: no connection.permissions: -- connection.zone: -- connection.master: -- connection.slave-type: -- connection.autoconnect-slaves: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout: 0 connection.metered: unknown connection.lldp: default connection.mdns: -1 (default) connection.llmnr: -1 (default) connection.dns-over-tls: -1 (default) connection.wait-device-timeout: -1 connection.wait-activation-delay: -1 ipv4.method: auto ipv4.dns: -- ipv4.dns-search: -- ipv4.dns-options: -- ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes: -- ipv4.route-metric: -1 ipv4.route-table: 0 (unspec) ipv4.routing-rules: -- ipv4.ignore-auto-routes: no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id: -- ipv4.dhcp-iaid: -- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname: yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.dhcp-hostname-flags: 0x0 (none) ipv4.never-default: no ipv4.may-fail: yes ipv4.required-timeout: -1 (default) ipv4.dad-timeout: -1 (default) ipv4.dhcp-vendor-class-identifier: -- ipv4.link-local: 0 (default) ipv4.dhcp-reject-servers: -- ipv6.method: auto ipv6.dns: -- ipv6.dns-search: -- ipv6.dns-options: -- ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes: -- ipv6.route-metric: -1 ipv6.route-table: 0 (unspec) ipv6.routing-rules: -- ipv6.ignore-auto-routes: no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.required-timeout: -1 (default) ipv6.ip6-privacy: -1 (unknown) ipv6.addr-gen-mode: default ipv6.ra-timeout: 0 (default) ipv6.mtu: auto ipv6.dhcp-duid: -- ipv6.dhcp-iaid: -- ipv6.dhcp-timeout: 0 (default) ipv6.dhcp-send-hostname: yes ipv6.dhcp-hostname: -- ipv6.dhcp-hostname-flags: 0x0 (none) ipv6.token: -- bond.options: mode=active-backup,miimon=110 proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: -- GENERAL.NAME: bond0 GENERAL.UUID: 8bd9f1ee-78f5-43a6-9005-3951a33b3298 GENERAL.DEVICES: nm-bond GENERAL.IP-IFACE: nm-bond GENERAL.STATE: activated GENERAL.DEFAULT: no GENERAL.DEFAULT6: no GENERAL.SPEC-OBJECT: -- GENERAL.VPN: no GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/9 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/7 GENERAL.ZONE: -- GENERAL.MASTER-PATH: -- IP4.ADDRESS[1]: 192.0.2.19/24 IP4.GATEWAY: 192.0.2.1 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.0.2.1, mt = 300 IP4.ROUTE[2]: dst = 192.0.2.0/24, nh = 0.0.0.0, mt = 300 IP4.DNS[1]: 192.0.2.1 DHCP4.OPTION[1]: broadcast_address = 192.0.2.255 DHCP4.OPTION[2]: dhcp_lease_time = 240 DHCP4.OPTION[3]: dhcp_server_identifier = 192.0.2.1 DHCP4.OPTION[4]: domain_name_servers = 192.0.2.1 DHCP4.OPTION[5]: expiry = 1659720569 DHCP4.OPTION[6]: host_name = ip-10-31-9-157 DHCP4.OPTION[7]: ip_address = 192.0.2.19 DHCP4.OPTION[8]: next_server = 192.0.2.1 DHCP4.OPTION[9]: requested_broadcast_address = 1 DHCP4.OPTION[10]: requested_domain_name = 1 DHCP4.OPTION[11]: requested_domain_name_servers = 1 DHCP4.OPTION[12]: requested_domain_search = 1 DHCP4.OPTION[13]: requested_host_name = 1 DHCP4.OPTION[14]: requested_interface_mtu = 1 DHCP4.OPTION[15]: requested_ms_classless_static_routes = 1 DHCP4.OPTION[16]: requested_nis_domain = 1 DHCP4.OPTION[17]: requested_nis_servers = 1 DHCP4.OPTION[18]: requested_ntp_servers = 1 DHCP4.OPTION[19]: requested_rfc3442_classless_static_routes = 1 DHCP4.OPTION[20]: requested_root_path = 1 DHCP4.OPTION[21]: requested_routers = 1 DHCP4.OPTION[22]: requested_static_routes = 1 DHCP4.OPTION[23]: requested_subnet_mask = 1 DHCP4.OPTION[24]: requested_time_offset = 1 DHCP4.OPTION[25]: requested_wpad = 1 DHCP4.OPTION[26]: routers = 192.0.2.1 DHCP4.OPTION[27]: subnet_mask = 255.255.255.0 IP6.ADDRESS[1]: 2001:db8::94/128 IP6.ADDRESS[2]: 2001:db8::ee99:a2fb:1ccb:67bd/64 IP6.ADDRESS[3]: fe80::d4f8:eaf8:d003:1a6f/64 IP6.GATEWAY: fe80::8c35:8eff:feaa:2837 IP6.ROUTE[1]: dst = 2001:db8::94/128, nh = ::, mt = 300 IP6.ROUTE[2]: dst = 2001:db8::/64, nh = ::, mt = 300 IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 1024 IP6.ROUTE[4]: dst = ::/0, nh = fe80::8c35:8eff:feaa:2837, mt = 300 IP6.DNS[1]: 2001:db8::94de:76ff:fefd:5951 IP6.DNS[2]: fe80::8c35:8eff:feaa:2837 DHCP6.OPTION[1]: dhcp6_name_servers = 2001:db8::94de:76ff:fefd:5951 DHCP6.OPTION[2]: fqdn_fqdn = ip-10-31-9-157 DHCP6.OPTION[3]: ip6_address = 2001:db8::94 TASK [Assert that the controller profile is activated] ************************* Friday 05 August 2022 17:25:36 +0000 (0:00:00.333) 0:03:20.262 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the controller device details] *************************************** Friday 05 August 2022 17:25:37 +0000 (0:00:00.105) 0:03:20.368 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the controller profile is activated] ************************* Friday 05 August 2022 17:25:37 +0000 (0:00:00.051) 0:03:20.420 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 17:25:37 +0000 (0:00:00.111) 0:03:20.532 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 17:25:37 +0000 (0:00:00.212) 0:03:20.745 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 17:25:38 +0000 (0:00:00.709) 0:03:21.454 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 17:25:39 +0000 (0:00:01.867) 0:03:23.322 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 05 August 2022 17:25:41 +0000 (0:00:01.066) 0:03:24.388 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 17:25:41 +0000 (0:00:00.179) 0:03:24.568 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 17:25:41 +0000 (0:00:00.130) 0:03:24.699 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 17:25:41 +0000 (0:00:00.157) 0:03:24.856 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 17:25:41 +0000 (0:00:00.245) 0:03:25.102 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 17:25:41 +0000 (0:00:00.144) 0:03:25.246 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 17:25:42 +0000 (0:00:00.160) 0:03:25.407 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 17:25:43 +0000 (0:00:01.701) 0:03:27.108 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 05 August 2022 17:25:45 +0000 (0:00:01.852) 0:03:28.960 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 17:25:46 +0000 (0:00:00.826) 0:03:29.787 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 17:25:47 +0000 (0:00:00.770) 0:03:30.558 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 17:25:47 +0000 (0:00:00.595) 0:03:31.153 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 17:25:50 +0000 (0:00:02.700) 0:03:33.854 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 17:25:50 +0000 (0:00:00.521) 0:03:34.375 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 17:25:52 +0000 (0:00:01.174) 0:03:35.549 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "bond0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 17:25:53 +0000 (0:00:00.937) 0:03:36.487 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 17:25:54 +0000 (0:00:01.032) 0:03:37.520 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [command] ***************************************************************** Friday 05 August 2022 17:25:55 +0000 (0:00:01.658) 0:03:39.178 ********* fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.008109", "end": "2022-08-05 17:25:57.127292", "rc": 1, "start": "2022-08-05 17:25:57.119183" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** Friday 05 August 2022 17:25:57 +0000 (0:00:01.809) 0:03:40.988 ********* ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.066147", "end": "2022-08-05 17:25:58.466377", "rc": 0, "start": "2022-08-05 17:25:58.400230" } TASK [Stop dnsmasq/radvd services] ********************************************* Friday 05 August 2022 17:25:58 +0000 (0:00:01.190) 0:03:42.179 ********* 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.065153", "end": "2022-08-05 17:25:59.927288", "rc": 0, "start": "2022-08-05 17:25:59.862135" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** Friday 05 August 2022 17:26:00 +0000 (0:00:01.862) 0:03:44.041 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=105 changed=10 unreachable=0 failed=0 skipped=78 rescued=0 ignored=1 Friday 05 August 2022 17:26:02 +0000 (0:00:02.022) 0:03:46.063 ********* =============================================================================== linux-system-roles.network : Check which packages are installed -------- 23.12s linux-system-roles.network : Enable and start NetworkManager ----------- 19.63s linux-system-roles.network : Configure networking connection profiles -- 14.65s Gathering Facts -------------------------------------------------------- 14.25s Install dnsmasq -------------------------------------------------------- 12.87s linux-system-roles.network : Check which services are running ---------- 11.13s Create test interfaces -------------------------------------------------- 8.08s linux-system-roles.network : Install packages --------------------------- 5.33s linux-system-roles.network : Show stderr messages for the network_connections --- 4.86s Get stat for interface test1 -------------------------------------------- 4.44s Gathering Facts --------------------------------------------------------- 3.57s linux-system-roles.network : Configure networking connection profiles --- 3.51s linux-system-roles.network : Ensure ansible_facts used by role are present --- 3.51s linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces --- 3.24s linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 2.99s Get stat for interface test2 -------------------------------------------- 2.74s Install pgrep, sysctl --------------------------------------------------- 2.62s linux-system-roles.network : Print network provider --------------------- 2.51s linux-system-roles.network : Enable and start NetworkManager ------------ 2.39s include_tasks ----------------------------------------------------------- 2.25s ---^---^---^---^---^--- # 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. ---^---^---^---^---^---