# 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 15:06:29 +0000 (0:00:00.287) 0:00:00.287 ********* ok: [sut] TASK [include_tasks] *********************************************************** Friday 05 August 2022 15:06:36 +0000 (0:00:06.711) 0:00:06.999 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 05 August 2022 15:06:36 +0000 (0:00:00.504) 0:00:07.504 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 15:06:37 +0000 (0:00:00.449) 0:00:07.954 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 05 August 2022 15:06:37 +0000 (0:00:00.558) 0:00:08.512 ********* changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.426715", "end": "2022-08-05 15:06:43.083249", "rc": 0, "start": "2022-08-05 15:06:40.656534" } STDOUT: Last metadata expiration check: 0:01:00 ago on Fri Aug 5 15:05:41 2022. epel-release-latest-8.noarch.rpm 179 kB/s | 24 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: epel-release noarch 8-16.el8 @commandline 24 k Transaction Summary ================================================================================ Install 1 Package Total size: 24 k Installed size: 34 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : epel-release-8-16.el8.noarch 1/1 Running scriptlet: epel-release-8-16.el8.noarch 1/1 Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. Verifying : epel-release-8-16.el8.noarch 1/1 Installed: epel-release-8-16.el8.noarch Complete! TASK [Enable EPEL 7] *********************************************************** Friday 05 August 2022 15:06:43 +0000 (0:00:05.498) 0:00:14.011 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 15:06:43 +0000 (0:00:00.545) 0:00:14.557 ********* changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.546143", "end": "2022-08-05 15:06:45.484667", "rc": 0, "start": "2022-08-05 15:06:44.938524" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 15:06:45 +0000 (0:00:01.817) 0:00:16.374 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 05 August 2022 15:06:46 +0000 (0:00:00.392) 0:00:16.767 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 15:06:47 +0000 (0:00:01.118) 0:00:17.885 ********* ok: [sut] TASK [INIT Prepare setup] ****************************************************** Friday 05 August 2022 15:06:49 +0000 (0:00:02.408) 0:00:20.294 ********* ok: [sut] => {} MSG: ################################################## TASK [Install dnsmasq] ********************************************************* Friday 05 August 2022 15:06:50 +0000 (0:00:00.857) 0:00:21.151 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: dnsmasq-2.79-23.el8.x86_64" ] } TASK [Install pgrep, sysctl] *************************************************** Friday 05 August 2022 15:07:06 +0000 (0:00:15.628) 0:00:36.780 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install pgrep, sysctl] *************************************************** Friday 05 August 2022 15:07:07 +0000 (0:00:01.081) 0:00:37.861 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create test interfaces] ************************************************** Friday 05 August 2022 15:07:10 +0000 (0:00:03.215) 0:00:41.076 ********* 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.449323", "end": "2022-08-05 15:07:13.235214", "rc": 0, "start": "2022-08-05 15:07:11.785891" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 15:07:13 +0000 (0:00:03.334) 0:00:44.411 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test1] ******************************************** Friday 05 August 2022 15:07:14 +0000 (0:00:00.927) 0:00:45.339 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659712031.8055615, "block_size": 4096, "blocks": 0, "ctime": 1659712031.8055615, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22088, "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": 1659712031.8055615, "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 15:07:18 +0000 (0:00:03.563) 0:00:48.903 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 15:07:19 +0000 (0:00:01.388) 0:00:50.291 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface test2] ******************************************** Friday 05 August 2022 15:07:20 +0000 (0:00:00.877) 0:00:51.169 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659712031.8101923, "block_size": 4096, "blocks": 0, "ctime": 1659712031.8101923, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22674, "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": 1659712031.8101923, "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 15:07:22 +0000 (0:00:01.759) 0:00:52.928 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Backup the /etc/resolv.conf for initscript] ****************************** Friday 05 August 2022 15:07:23 +0000 (0:00:00.976) 0:00:53.905 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [TEST Add Bond with 2 ports] ********************************************** Friday 05 August 2022 15:07:24 +0000 (0:00:01.082) 0:00:54.987 ********* ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 15:07:25 +0000 (0:00:01.297) 0:00:56.285 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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 15:07:26 +0000 (0:00:01.095) 0:00:57.381 ********* 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 15:07:29 +0000 (0:00:02.928) 0:01:00.310 ********* 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 15:07:36 +0000 (0:00:06.528) 0:01:06.838 ********* 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 15:07:50 +0000 (0:00:14.755) 0:01:21.594 ********* 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 15:07:53 +0000 (0:00:02.341) 0:01:23.936 ********* 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 15:07:54 +0000 (0:00:01.563) 0:01:25.499 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 15:07:56 +0000 (0:00:01.685) 0:01:27.185 ********* 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 15:07:58 +0000 (0:00:01.577) 0:01:28.763 ********* 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 15:07:59 +0000 (0:00:01.179) 0:01:29.942 ********* 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 15:08:00 +0000 (0:00:01.060) 0:01:31.002 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 15:08:01 +0000 (0:00:01.565) 0:01:32.568 ********* 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 15:08:11 +0000 (0:00:09.513) 0:01:42.081 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 15:08:12 +0000 (0:00:01.051) 0:01:43.133 ********* 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 15:08:13 +0000 (0:00:00.774) 0:01:43.907 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 15:08:14 +0000 (0:00:00.882) 0:01:44.789 ********* 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, 48490401-018c-489d-8465-2370d41f858a [008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 [009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 48490401-018c-489d-8465-2370d41f858a (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 15:08:22 +0000 (0:00:08.088) 0:01:52.878 ********* 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 15:08:23 +0000 (0:00:01.423) 0:01:54.302 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 48490401-018c-489d-8465-2370d41f858a", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 48490401-018c-489d-8465-2370d41f858a (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 15:08:25 +0000 (0:00:01.433) 0:01:55.735 ********* 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, 48490401-018c-489d-8465-2370d41f858a\n[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371\n[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 48490401-018c-489d-8465-2370d41f858a (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 48490401-018c-489d-8465-2370d41f858a", "[008] #1, state:up persistent_state:present, 'bond0.0': add connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371", "[009] #2, state:up persistent_state:present, 'bond0.1': add connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 48490401-018c-489d-8465-2370d41f858a (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 15:08:28 +0000 (0:00:03.458) 0:01:59.193 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 15:08:29 +0000 (0:00:01.382) 0:02:00.575 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 15:08:34 +0000 (0:00:04.956) 0:02:05.532 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface nm-bond] ****************************************** Friday 05 August 2022 15:08:35 +0000 (0:00:00.940) 0:02:06.473 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659712101.337174, "block_size": 4096, "blocks": 0, "ctime": 1659712101.337174, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 23403, "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": 1659712101.337174, "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 15:08:37 +0000 (0:00:01.415) 0:02:07.888 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 15:08:38 +0000 (0:00:01.012) 0:02:08.901 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0) included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.0) included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=bond0.1) TASK [include_tasks] *********************************************************** Friday 05 August 2022 15:08:39 +0000 (0:00:01.369) 0:02:10.270 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Friday 05 August 2022 15:08:42 +0000 (0:00:02.429) 0:02:12.700 ********* 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 15:08:42 +0000 (0:00:00.571) 0:02:13.271 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659712101.3035138, "block_size": 4096, "blocks": 8, "ctime": 1659712101.3025138, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798013, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659712101.3025138, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 335, "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] ******************** Friday 05 August 2022 15:08:44 +0000 (0:00:01.714) 0:02:14.986 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Friday 05 August 2022 15:08:45 +0000 (0:00:01.161) 0:02:16.148 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0 | grep /etc", "delta": "0:00:00.032027", "end": "2022-08-05 15:08:47.703579", "rc": 0, "start": "2022-08-05 15:08:47.671552" } STDOUT: bond0 /etc/sysconfig/network-scripts/ifcfg-bond0 bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 05 August 2022 15:08:48 +0000 (0:00:03.239) 0:02:19.387 ********* 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 15:08:50 +0000 (0:00:01.851) 0:02:21.239 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0] *********************** Friday 05 August 2022 15:08:51 +0000 (0:00:01.061) 0:02:22.300 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0' is present] ********************************** Friday 05 August 2022 15:08:52 +0000 (0:00:00.913) 0:02:23.214 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0' is present] *************** Friday 05 August 2022 15:08:54 +0000 (0:00:01.521) 0:02:24.735 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 15:08:54 +0000 (0:00:00.632) 0:02:25.368 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Friday 05 August 2022 15:08:55 +0000 (0:00:01.015) 0:02:26.384 ********* 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 15:08:56 +0000 (0:00:01.176) 0:02:27.560 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659712101.410516, "block_size": 4096, "blocks": 8, "ctime": 1659712101.410516, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798103, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659712101.410516, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "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] ******************** Friday 05 August 2022 15:08:59 +0000 (0:00:02.224) 0:02:29.784 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Friday 05 August 2022 15:09:00 +0000 (0:00:01.082) 0:02:30.867 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.0 | grep /etc", "delta": "0:00:00.031279", "end": "2022-08-05 15:09:01.410692", "rc": 0, "start": "2022-08-05 15:09:01.379413" } STDOUT: bond0.0 /etc/sysconfig/network-scripts/ifcfg-bond0.0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 05 August 2022 15:09:01 +0000 (0:00:01.507) 0:02:32.374 ********* 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 15:09:03 +0000 (0:00:01.455) 0:02:33.829 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.0] ********************* Friday 05 August 2022 15:09:04 +0000 (0:00:00.876) 0:02:34.706 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.0' is present] ******************************** Friday 05 August 2022 15:09:04 +0000 (0:00:00.855) 0:02:35.562 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.0' is present] ************* Friday 05 August 2022 15:09:06 +0000 (0:00:01.629) 0:02:37.191 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 15:09:07 +0000 (0:00:01.084) 0:02:38.276 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Friday 05 August 2022 15:09:08 +0000 (0:00:01.110) 0:02:39.387 ********* 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 15:09:09 +0000 (0:00:00.597) 0:02:39.985 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659712101.4235163, "block_size": 4096, "blocks": 8, "ctime": 1659712101.4235163, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659712101.4235163, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-bond0.1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 167, "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] ******************** Friday 05 August 2022 15:09:10 +0000 (0:00:01.316) 0:02:41.301 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Friday 05 August 2022 15:09:11 +0000 (0:00:00.838) 0:02:42.140 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep bond0.1 | grep /etc", "delta": "0:00:00.030740", "end": "2022-08-05 15:09:12.375953", "rc": 0, "start": "2022-08-05 15:09:12.345213" } STDOUT: bond0.1 /etc/sysconfig/network-scripts/ifcfg-bond0.1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 05 August 2022 15:09:12 +0000 (0:00:01.465) 0:02:43.605 ********* 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 15:09:13 +0000 (0:00:00.735) 0:02:44.361 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-bond0.1] ********************* Friday 05 August 2022 15:09:14 +0000 (0:00:00.677) 0:02:45.038 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'bond0.1' is present] ******************************** Friday 05 August 2022 15:09:15 +0000 (0:00:01.086) 0:02:46.125 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'bond0.1' is present] ************* Friday 05 August 2022 15:09:16 +0000 (0:00:01.344) 0:02:47.470 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [** TEST check polling interval] ****************************************** Friday 05 August 2022 15:09:17 +0000 (0:00:01.038) 0:02:48.509 ********* changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "grep", "Polling Interval", "/proc/net/bonding/nm-bond" ], "delta": "0:00:00.003791", "end": "2022-08-05 15:09:18.623635", "rc": 0, "start": "2022-08-05 15:09:18.619844" } STDOUT: MII Polling Interval (ms): 110 TASK [** TEST check IPv4] ****************************************************** Friday 05 August 2022 15:09:19 +0000 (0:00:01.575) 0:02:50.084 ********* changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-4", "a", "s", "nm-bond" ], "delta": "0:00:00.004262", "end": "2022-08-05 15:09:20.222446", "rc": 0, "start": "2022-08-05 15:09:20.218184" } STDOUT: 8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet 192.0.2.167/24 brd 192.0.2.255 scope global dynamic noprefixroute nm-bond valid_lft 184sec preferred_lft 184sec TASK [** TEST check IPv6] ****************************************************** Friday 05 August 2022 15:09:21 +0000 (0:00:01.600) 0:02:51.684 ********* changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "ip", "-6", "a", "s", "nm-bond" ], "delta": "0:00:00.004440", "end": "2022-08-05 15:09:22.722588", "rc": 0, "start": "2022-08-05 15:09:22.718148" } STDOUT: 8: nm-bond: mtu 1500 qdisc noqueue state UP group default qlen 1000 inet6 2001:db8::de/128 scope global dynamic noprefixroute valid_lft 182sec preferred_lft 182sec inet6 2001:db8::e223:b017:55e3:2f3e/64 scope global dynamic noprefixroute valid_lft 1742sec preferred_lft 1742sec inet6 fe80::e6f7:daf6:edf3:3562/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 15:09:23 +0000 (0:00:02.098) 0:02:53.782 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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 15:09:24 +0000 (0:00:01.069) 0:02:54.851 ********* 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 15:09:26 +0000 (0:00:02.161) 0:02:57.013 ********* 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 15:09:29 +0000 (0:00:03.424) 0:03:00.438 ********* 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 15:09:33 +0000 (0:00:04.065) 0:03:04.503 ********* 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 15:09:34 +0000 (0:00:00.809) 0:03:05.313 ********* 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 15:09:35 +0000 (0:00:00.721) 0:03:06.034 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 15:09:36 +0000 (0:00:00.713) 0:03:06.748 ********* 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 15:09:38 +0000 (0:00:02.375) 0:03:09.123 ********* 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 15:09:39 +0000 (0:00:00.935) 0:03:10.059 ********* 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 15:09:40 +0000 (0:00:01.485) 0:03:11.544 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 15:09:42 +0000 (0:00:01.150) 0:03:12.695 ********* 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 15:09:44 +0000 (0:00:02.912) 0:03:15.607 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 15:09:46 +0000 (0:00:01.399) 0:03:17.006 ********* 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 15:09:47 +0000 (0:00:00.768) 0:03:17.774 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 15:09:47 +0000 (0:00:00.559) 0:03:18.334 ********* 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 15:09:50 +0000 (0:00:02.365) 0:03:20.699 ********* 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 15:09:50 +0000 (0:00:00.945) 0:03:21.645 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 15:09:52 +0000 (0:00:01.053) 0:03:22.698 ********* 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 15:09:52 +0000 (0:00:00.859) 0:03:23.559 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 15:09:53 +0000 (0:00:00.488) 0:03:24.047 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the port1 profile "bond0.0" from the active connection] ************** Friday 05 August 2022 15:09:54 +0000 (0:00:01.321) 0:03:25.369 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0.0" ], "delta": "0:00:00.027367", "end": "2022-08-05 15:09:56.161206", "rc": 0, "start": "2022-08-05 15:09:56.133839" } TASK [Get the port2 profile "bond0.1" from the active connection] ************** Friday 05 August 2022 15:09:56 +0000 (0:00:01.910) 0:03:27.279 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0.1" ], "delta": "0:00:00.025949", "end": "2022-08-05 15:09:58.700802", "rc": 0, "start": "2022-08-05 15:09:58.674853" } TASK [Assert that the port1 profile is not activated] ************************** Friday 05 August 2022 15:09:59 +0000 (0:00:03.136) 0:03:30.416 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the port2 profile is not activated] ************************** Friday 05 August 2022 15:10:01 +0000 (0:00:01.393) 0:03:31.809 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the port1 device state] ********************************************** Friday 05 August 2022 15:10:02 +0000 (0:00:01.691) 0:03:33.501 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the port2 device state] ********************************************** Friday 05 August 2022 15:10:03 +0000 (0:00:00.384) 0:03:33.885 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port1 device is in DOWN state] *************************** Friday 05 August 2022 15:10:04 +0000 (0:00:00.956) 0:03:34.862 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the port2 device is in DOWN state] *************************** Friday 05 August 2022 15:10:04 +0000 (0:00:00.482) 0:03:35.344 ********* 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 15:10:05 +0000 (0:00:00.450) 0:03:35.795 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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 15:10:06 +0000 (0:00:01.168) 0:03:36.963 ********* 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 15:10:07 +0000 (0:00:00.978) 0:03:37.942 ********* 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 15:10:09 +0000 (0:00:02.023) 0:03:39.965 ********* 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 15:10:10 +0000 (0:00:01.659) 0:03:41.624 ********* 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 15:10:11 +0000 (0:00:00.107) 0:03:41.732 ********* 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 15:10:11 +0000 (0:00:00.106) 0:03:41.838 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 15:10:11 +0000 (0:00:00.089) 0:03:41.928 ********* 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 15:10:11 +0000 (0:00:00.166) 0:03:42.094 ********* 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 15:10:11 +0000 (0:00:00.074) 0:03:42.169 ********* 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 15:10:11 +0000 (0:00:00.068) 0:03:42.238 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 15:10:11 +0000 (0:00:00.092) 0:03:42.331 ********* 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 15:10:12 +0000 (0:00:00.528) 0:03:42.859 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 15:10:12 +0000 (0:00:00.095) 0:03:42.954 ********* 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 15:10:12 +0000 (0:00:00.066) 0:03:43.021 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 15:10:12 +0000 (0:00:00.133) 0:03:43.155 ********* 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, 86da48d7-b44e-464f-a645-0d3e7ef6d5c3 [008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 [009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e [010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 86da48d7-b44e-464f-a645-0d3e7ef6d5c3 (is-modified) [011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 (not-active) [012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 15:10:13 +0000 (0:00:00.919) 0:03:44.074 ********* 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 15:10:13 +0000 (0:00:00.089) 0:03:44.163 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 86da48d7-b44e-464f-a645-0d3e7ef6d5c3", "[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371", "[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 86da48d7-b44e-464f-a645-0d3e7ef6d5c3 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 15:10:13 +0000 (0:00:00.106) 0:03:44.270 ********* 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, 86da48d7-b44e-464f-a645-0d3e7ef6d5c3\n[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371\n[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e\n[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 86da48d7-b44e-464f-a645-0d3e7ef6d5c3 (is-modified)\n[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 (not-active)\n[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e (not-active)\n", "stderr_lines": [ "[007] #0, state:up persistent_state:present, 'bond0': add connection bond0, 86da48d7-b44e-464f-a645-0d3e7ef6d5c3", "[008] #1, state:up persistent_state:present, 'bond0.0': update connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371", "[009] #2, state:up persistent_state:present, 'bond0.1': update connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e", "[010] #0, state:up persistent_state:present, 'bond0': up connection bond0, 86da48d7-b44e-464f-a645-0d3e7ef6d5c3 (is-modified)", "[011] #1, state:up persistent_state:present, 'bond0.0': up connection bond0.0, d13b44d8-967e-40d8-ad46-fd6ff995d371 (not-active)", "[012] #2, state:up persistent_state:present, 'bond0.1': up connection bond0.1, 15016435-58ed-484a-87b8-73fc2113422e (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 15:10:13 +0000 (0:00:00.128) 0:03:44.399 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 15:10:13 +0000 (0:00:00.071) 0:03:44.471 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 15:10:14 +0000 (0:00:00.346) 0:03:44.817 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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 15:10:14 +0000 (0:00:00.159) 0:03:44.976 ********* 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 15:10:14 +0000 (0:00:00.576) 0:03:45.553 ********* 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 15:10:16 +0000 (0:00:02.018) 0:03:47.572 ********* 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 15:10:18 +0000 (0:00:01.635) 0:03:49.208 ********* 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 15:10:18 +0000 (0:00:00.119) 0:03:49.327 ********* 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 15:10:18 +0000 (0:00:00.075) 0:03:49.402 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 15:10:18 +0000 (0:00:00.076) 0:03:49.479 ********* 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 15:10:18 +0000 (0:00:00.126) 0:03:49.606 ********* 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 15:10:19 +0000 (0:00:00.062) 0:03:49.668 ********* 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 15:10:19 +0000 (0:00:00.063) 0:03:49.732 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 15:10:19 +0000 (0:00:00.082) 0:03:49.815 ********* 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 15:10:19 +0000 (0:00:00.556) 0:03:50.371 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 15:10:19 +0000 (0:00:00.089) 0:03:50.460 ********* 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 15:10:19 +0000 (0:00:00.060) 0:03:50.521 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 15:10:19 +0000 (0:00:00.068) 0:03:50.589 ********* 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 15:10:20 +0000 (0:00:00.897) 0:03:51.486 ********* 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 15:10:20 +0000 (0:00:00.061) 0:03:51.548 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 15:10:20 +0000 (0:00:00.079) 0:03:51.628 ********* 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 15:10:21 +0000 (0:00:00.076) 0:03:51.705 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 15:10:21 +0000 (0:00:00.060) 0:03:51.765 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get the controller profile "bond0" from the active connection] *********** Friday 05 August 2022 15:10:21 +0000 (0:00:00.324) 0:03:52.090 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "c", "show", "--active", "bond0" ], "delta": "0:00:00.028856", "end": "2022-08-05 15:10:21.709770", "rc": 0, "start": "2022-08-05 15:10:21.680914" } STDOUT: connection.id: bond0 connection.uuid: 86da48d7-b44e-464f-a645-0d3e7ef6d5c3 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: 1659712213 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: 86da48d7-b44e-464f-a645-0d3e7ef6d5c3 GENERAL.DEVICES: nm-bond GENERAL.IP-IFACE: nm-bond GENERAL.STATE: activated GENERAL.DEFAULT: no GENERAL.DEFAULT6: yes GENERAL.SPEC-OBJECT: -- GENERAL.VPN: no GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/9 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/8 GENERAL.ZONE: -- GENERAL.MASTER-PATH: -- IP4.ADDRESS[1]: 192.0.2.167/24 IP4.GATEWAY: 192.0.2.1 IP4.ROUTE[1]: dst = 192.0.2.0/24, nh = 0.0.0.0, mt = 300 IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = 192.0.2.1, 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 = 1659712453 DHCP4.OPTION[6]: host_name = ip-10-31-8-143 DHCP4.OPTION[7]: ip_address = 192.0.2.167 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::de/128 IP6.ADDRESS[2]: 2001:db8::ee1:42f8:4d1b:2e8e/64 IP6.ADDRESS[3]: fe80::79e8:ebcd:5b6b:d512/64 IP6.GATEWAY: fe80::94d5:2eff:fe50:4b3e IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 1024 IP6.ROUTE[2]: dst = 2001:db8::/64, nh = ::, mt = 300 IP6.ROUTE[3]: dst = ::/0, nh = fe80::94d5:2eff:fe50:4b3e, mt = 300 IP6.ROUTE[4]: dst = 2001:db8::de/128, nh = ::, mt = 300 IP6.DNS[1]: 2001:db8::182a:22ff:fe6d:1289 IP6.DNS[2]: fe80::94d5:2eff:fe50:4b3e DHCP6.OPTION[1]: dhcp6_name_servers = 2001:db8::182a:22ff:fe6d:1289 DHCP6.OPTION[2]: ip6_address = 2001:db8::de TASK [Assert that the controller profile is activated] ************************* Friday 05 August 2022 15:10:21 +0000 (0:00:00.322) 0:03:52.412 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get the controller device details] *************************************** Friday 05 August 2022 15:10:21 +0000 (0:00:00.105) 0:03:52.517 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the controller profile is activated] ************************* Friday 05 August 2022 15:10:21 +0000 (0:00:00.065) 0:03:52.583 ********* 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 15:10:22 +0000 (0:00:00.095) 0:03:52.679 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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 15:10:22 +0000 (0:00:00.095) 0:03:52.774 ********* 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 15:10:22 +0000 (0:00:00.559) 0:03:53.333 ********* 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 15:10:24 +0000 (0:00:01.987) 0:03:55.321 ********* 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 15:10:26 +0000 (0:00:01.564) 0:03:56.885 ********* 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 15:10:26 +0000 (0:00:00.165) 0:03:57.051 ********* 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 15:10:26 +0000 (0:00:00.068) 0:03:57.119 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 15:10:26 +0000 (0:00:00.067) 0:03:57.187 ********* 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 15:10:26 +0000 (0:00:00.120) 0:03:57.307 ********* 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 15:10:26 +0000 (0:00:00.063) 0:03:57.371 ********* 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 15:10:26 +0000 (0:00:00.060) 0:03:57.431 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 15:10:26 +0000 (0:00:00.088) 0:03:57.519 ********* 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 15:10:27 +0000 (0:00:00.520) 0:03:58.039 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 15:10:27 +0000 (0:00:00.092) 0:03:58.132 ********* 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 15:10:27 +0000 (0:00:00.067) 0:03:58.199 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 15:10:27 +0000 (0:00:00.056) 0:03:58.255 ********* 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 15:10:28 +0000 (0:00:00.656) 0:03:58.912 ********* 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 15:10:28 +0000 (0:00:00.064) 0:03:58.977 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 15:10:28 +0000 (0:00:00.079) 0:03:59.057 ********* 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 15:10:28 +0000 (0:00:00.185) 0:03:59.242 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 15:10:28 +0000 (0:00:00.075) 0:03:59.318 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [command] ***************************************************************** Friday 05 August 2022 15:10:28 +0000 (0:00:00.304) 0:03:59.622 ********* fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "ip", "link", "del", "nm-bond" ], "delta": "0:00:00.007661", "end": "2022-08-05 15:10:29.217135", "rc": 1, "start": "2022-08-05 15:10:29.209474" } STDERR: Cannot find device "nm-bond" MSG: non-zero return code ...ignoring TASK [Remove test interfaces] ************************************************** Friday 05 August 2022 15:10:29 +0000 (0:00:00.286) 0:03:59.909 ********* ok: [sut] => { "changed": false, "cmd": "ip link delete test1\nip link delete test2\nip link delete testbr\n", "delta": "0:00:00.100584", "end": "2022-08-05 15:10:29.596603", "rc": 0, "start": "2022-08-05 15:10:29.496019" } TASK [Stop dnsmasq/radvd services] ********************************************* Friday 05 August 2022 15:10:29 +0000 (0:00:00.387) 0:04:00.296 ********* 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.019656", "end": "2022-08-05 15:10:29.898829", "rc": 0, "start": "2022-08-05 15:10:29.879173" } TASK [Restore the /etc/resolv.conf for initscript] ***************************** Friday 05 August 2022 15:10:29 +0000 (0:00:00.296) 0:04:00.592 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=110 changed=12 unreachable=0 failed=0 skipped=73 rescued=0 ignored=1 Friday 05 August 2022 15:10:30 +0000 (0:00:00.095) 0:04:00.687 ********* =============================================================================== Install dnsmasq -------------------------------------------------------- 15.63s linux-system-roles.network : Check which packages are installed -------- 14.76s linux-system-roles.network : Enable and start NetworkManager ----------- 10.04s linux-system-roles.network : Configure networking connection profiles --- 9.01s Gathering Facts --------------------------------------------------------- 6.71s linux-system-roles.network : Check which services are running ----------- 6.53s Create EPEL 8 ----------------------------------------------------------- 5.50s linux-system-roles.network : Re-test connectivity ----------------------- 5.30s linux-system-roles.network : Check which packages are installed --------- 4.07s linux-system-roles.network : Show debug messages for the network_connections --- 3.59s Get stat for interface test1 -------------------------------------------- 3.56s linux-system-roles.network : Enable and start NetworkManager ------------ 3.43s linux-system-roles.network : Check which services are running ----------- 3.42s Create test interfaces -------------------------------------------------- 3.33s Get NM profile info ----------------------------------------------------- 3.22s Install pgrep, sysctl --------------------------------------------------- 3.22s Get the port2 profile "bond0.1" from the active connection -------------- 3.14s linux-system-roles.network : Configure networking connection profiles --- 3.02s linux-system-roles.network : Ensure ansible_facts used by role are present --- 2.93s linux-system-roles.network : Install packages --------------------------- 2.50s ---^---^---^---^---^--- # 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. ---^---^---^---^---^---