# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_reapply.yml' with nm as provider] ********** TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 18:47:45 +0000 (0:00:00.635) 0:00:00.635 ********* ok: [sut] TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:47:57 +0000 (0:00:11.390) 0:00:12.025 ********* 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 18:47:58 +0000 (0:00:00.897) 0:00:12.923 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:47:58 +0000 (0:00:00.581) 0:00:13.505 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 05 August 2022 18:48:00 +0000 (0:00:01.480) 0:00:14.986 ********* changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.669114", "end": "2022-08-05 18:48:09.205243", "rc": 0, "start": "2022-08-05 18:48:06.536129" } STDOUT: Last metadata expiration check: 0:01:34 ago on Fri Aug 5 18:46:33 2022. epel-release-latest-8.noarch.rpm 61 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 18:48:09 +0000 (0:00:09.524) 0:00:24.511 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 18:48:10 +0000 (0:00:00.682) 0:00:25.193 ********* changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.546176", "end": "2022-08-05 18:48:12.236999", "rc": 0, "start": "2022-08-05 18:48:11.690823" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 18:48:12 +0000 (0:00:02.223) 0:00:27.416 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 05 August 2022 18:48:13 +0000 (0:00:01.158) 0:00:28.575 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 18:48:15 +0000 (0:00:01.213) 0:00:29.789 ********* ok: [sut] TASK [Show test banner] ******************************************************** Friday 05 August 2022 18:48:17 +0000 (0:00:02.544) 0:00:32.334 ********* ok: [sut] => {} MSG: Inside states tests TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:48:19 +0000 (0:00:01.610) 0:00:33.944 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:48:20 +0000 (0:00:00.836) 0:00:34.780 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 05 August 2022 18:48:21 +0000 (0:00:01.173) 0:00:35.954 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003774", "end": "2022-08-05 18:48:22.711051", "rc": 0, "start": "2022-08-05 18:48:22.707277" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 05 August 2022 18:48:23 +0000 (0:00:02.071) 0:00:38.025 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 05 August 2022 18:48:24 +0000 (0:00:01.032) 0:00:39.058 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:48:26 +0000 (0:00:02.666) 0:00:41.724 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:48:30 +0000 (0:00:03.308) 0:00:45.033 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface rpltstbr] ***************************************** Friday 05 August 2022 18:48:31 +0000 (0:00:01.336) 0:00:46.410 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface rpltstbr is absent] ******************************** Friday 05 August 2022 18:48:37 +0000 (0:00:05.993) 0:00:52.404 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:48:40 +0000 (0:00:02.362) 0:00:54.766 ********* 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 18:48:42 +0000 (0:00:02.866) 0:00:57.632 ********* 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 18:48:45 +0000 (0:00:02.616) 0:01:00.249 ********* 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 18:48:53 +0000 (0:00:07.610) 0:01:07.860 ********* 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 18:49:07 +0000 (0:00:14.795) 0:01:22.656 ********* 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 18:49:08 +0000 (0:00:00.981) 0:01:23.637 ********* 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 18:49:09 +0000 (0:00:00.911) 0:01:24.549 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:49:10 +0000 (0:00:00.961) 0:01:25.510 ********* 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 18:49:13 +0000 (0:00:02.546) 0:01:28.056 ********* 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 18:49:14 +0000 (0:00:01.291) 0:01:29.348 ********* 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 18:49:15 +0000 (0:00:00.964) 0:01:30.312 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:49:17 +0000 (0:00:01.668) 0:01:31.981 ********* 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 18:49:28 +0000 (0:00:11.462) 0:01:43.444 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:49:30 +0000 (0:00:01.787) 0:01:45.232 ********* 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 18:49:31 +0000 (0:00:01.098) 0:01:46.331 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:49:32 +0000 (0:00:01.420) 0:01:47.752 ********* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 18:49:42 +0000 (0:00:09.261) 0:01:57.013 ********* 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 18:49:44 +0000 (0:00:01.877) 0:01:58.907 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 18:49:46 +0000 (0:00:02.281) 0:02:01.236 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 18:49:47 +0000 (0:00:01.115) 0:02:02.352 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:49:48 +0000 (0:00:00.904) 0:02:03.256 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Friday 05 August 2022 18:49:58 +0000 (0:00:10.310) 0:02:13.567 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:50:01 +0000 (0:00:02.324) 0:02:15.891 ********* 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 18:50:04 +0000 (0:00:02.900) 0:02:18.792 ********* 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 18:50:07 +0000 (0:00:03.912) 0:02:22.727 ********* 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 18:50:10 +0000 (0:00:02.208) 0:02:24.936 ********* 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 18:50:12 +0000 (0:00:02.072) 0:02:27.009 ********* 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 18:50:12 +0000 (0:00:00.245) 0:02:27.255 ********* 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 18:50:12 +0000 (0:00:00.160) 0:02:27.416 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:50:12 +0000 (0:00:00.168) 0:02:27.584 ********* 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 18:50:13 +0000 (0:00:00.326) 0:02:27.911 ********* 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 18:50:13 +0000 (0:00:00.669) 0:02:28.581 ********* 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 18:50:14 +0000 (0:00:00.324) 0:02:28.905 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:50:14 +0000 (0:00:00.468) 0:02:29.374 ********* 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 18:50:15 +0000 (0:00:00.668) 0:02:30.043 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:50:15 +0000 (0:00:00.313) 0:02:30.357 ********* 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 18:50:15 +0000 (0:00:00.355) 0:02:30.713 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:50:16 +0000 (0:00:00.328) 0:02:31.042 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 18:50:17 +0000 (0:00:01.414) 0:02:32.456 ********* 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 18:50:18 +0000 (0:00:00.426) 0:02:32.882 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 18:50:18 +0000 (0:00:00.373) 0:02:33.256 ********* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 18:50:18 +0000 (0:00:00.473) 0:02:33.730 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:50:19 +0000 (0:00:00.301) 0:02:34.031 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:50:20 +0000 (0:00:00.874) 0:02:34.905 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:50:20 +0000 (0:00:00.363) 0:02:35.269 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface rpltstbr] ***************************************** Friday 05 August 2022 18:50:20 +0000 (0:00:00.133) 0:02:35.402 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659725417.3266976, "block_size": 4096, "blocks": 0, "ctime": 1659725417.3266976, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21902, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/rpltstbr", "lnk_target": "../../devices/virtual/net/rpltstbr", "mode": "0777", "mtime": 1659725417.3266976, "nlink": 1, "path": "/sys/class/net/rpltstbr", "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 rpltstbr is present] ******************************* Friday 05 August 2022 18:50:21 +0000 (0:00:00.412) 0:02:35.815 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:50:21 +0000 (0:00:00.098) 0:02:35.913 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:50:21 +0000 (0:00:00.142) 0:02:36.056 ********* 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 18:50:21 +0000 (0:00:00.198) 0:02:36.255 ********* 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 18:50:21 +0000 (0:00:00.101) 0:02:36.356 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659725417.4077709, "block_size": 4096, "blocks": 8, "ctime": 1659725417.2197673, "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": 1659725417.2197673, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-rpltstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 223, "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 18:50:21 +0000 (0:00:00.405) 0:02:36.762 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Friday 05 August 2022 18:50:22 +0000 (0:00:00.121) 0:02:36.884 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep rpltstbr | grep /etc", "delta": "0:00:00.081896", "end": "2022-08-05 18:50:22.501209", "rc": 0, "start": "2022-08-05 18:50:22.419313" } STDOUT: rpltstbr /etc/sysconfig/network-scripts/ifcfg-rpltstbr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 05 August 2022 18:50:22 +0000 (0:00:00.487) 0:02:37.372 ********* 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-rpltstbr] *********************** Friday 05 August 2022 18:50:22 +0000 (0:00:00.172) 0:02:37.547 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-rpltstbr] ******************** Friday 05 August 2022 18:50:23 +0000 (0:00:00.345) 0:02:37.892 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'rpltstbr' is present] ******************************* Friday 05 August 2022 18:50:23 +0000 (0:00:00.168) 0:02:38.061 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'rpltstbr' is present] ************ Friday 05 August 2022 18:50:23 +0000 (0:00:00.361) 0:02:38.422 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get network_connections output] ****************************************** Friday 05 August 2022 18:50:23 +0000 (0:00:00.293) 0:02:38.715 ********* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de (is-modified) [005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied TASK [Show test_module_run] **************************************************** Friday 05 August 2022 18:50:24 +0000 (0:00:00.507) 0:02:39.222 ********* ok: [sut] => { "test_module_run": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de (is-modified)\n[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 9bb1f1bd-8b2e-4aad-a4d9-ec844e6b58de (is-modified)", "[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied" ] } } TASK [Assert that reapply is found in log output] ****************************** Friday 05 August 2022 18:50:24 +0000 (0:00:00.175) 0:02:39.398 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [network_connections] ***************************************************** Friday 05 August 2022 18:50:24 +0000 (0:00:00.230) 0:02:39.629 ********* fatal: [sut]: FAILED! => { "changed": false } MSG: missing required arguments: __header ...ignoring TASK [command] ***************************************************************** Friday 05 August 2022 18:50:25 +0000 (0:00:00.590) 0:02:40.220 ********* changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "rpltstbr" ], "delta": "0:00:00.016232", "end": "2022-08-05 18:50:25.709239", "rc": 0, "start": "2022-08-05 18:50:25.693007" } PLAY RECAP ********************************************************************* sut : ok=55 changed=5 unreachable=0 failed=0 skipped=27 rescued=0 ignored=1 Friday 05 August 2022 18:50:25 +0000 (0:00:00.370) 0:02:40.590 ********* =============================================================================== linux-system-roles.network : Check which packages are installed -------- 14.80s linux-system-roles.network : Enable and start NetworkManager ----------- 11.46s Gathering Facts -------------------------------------------------------- 11.39s linux-system-roles.network : Re-test connectivity ---------------------- 10.31s Create EPEL 8 ----------------------------------------------------------- 9.52s linux-system-roles.network : Configure networking connection profiles --- 9.26s linux-system-roles.network : Check which services are running ----------- 7.61s Get stat for interface rpltstbr ----------------------------------------- 5.99s linux-system-roles.network : Ensure ansible_facts used by role are present --- 3.94s include_tasks ----------------------------------------------------------- 3.31s linux-system-roles.network : Ensure ansible_facts used by role ---------- 2.90s linux-system-roles.network : Ensure ansible_facts used by role ---------- 2.87s Show current_interfaces ------------------------------------------------- 2.67s linux-system-roles.network : Ensure ansible_facts used by role are present --- 2.62s linux-system-roles.network : Install packages --------------------------- 2.55s Gathering Facts --------------------------------------------------------- 2.54s assert that interface rpltstbr is absent -------------------------------- 2.36s Include network role ---------------------------------------------------- 2.32s linux-system-roles.network : Show stderr messages for the network_connections --- 2.28s Enable EPEL 8 ----------------------------------------------------------- 2.22s ---^---^---^---^---^--- # 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. ---^---^---^---^---^---