# 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 20:21:28 +0000 (0:00:00.199) 0:00:00.199 ********* ok: [sut] TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:21:34 +0000 (0:00:06.057) 0:00:06.256 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 05 August 2022 20:21:35 +0000 (0:00:00.407) 0:00:06.664 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:21:36 +0000 (0:00:00.621) 0:00:07.285 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** Friday 05 August 2022 20:21:36 +0000 (0:00:00.932) 0:00:08.218 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Friday 05 August 2022 20:21:37 +0000 (0:00:00.686) 0:00:08.905 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 20:21:38 +0000 (0:00:00.816) 0:00:09.721 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 20:21:39 +0000 (0:00:00.593) 0:00:10.315 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 05 August 2022 20:21:39 +0000 (0:00:00.548) 0:00:10.864 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 20:21:41 +0000 (0:00:01.490) 0:00:12.379 ********* ok: [sut] TASK [Show test banner] ******************************************************** Friday 05 August 2022 20:21:43 +0000 (0:00:02.533) 0:00:14.912 ********* ok: [sut] => {} MSG: Inside states tests TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:21:44 +0000 (0:00:00.972) 0:00:15.885 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:21:45 +0000 (0:00:00.818) 0:00:16.703 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 05 August 2022 20:21:46 +0000 (0:00:01.094) 0:00:17.797 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003525", "end": "2022-08-05 20:21:52.767024", "rc": 0, "start": "2022-08-05 20:21:52.763499" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 05 August 2022 20:21:53 +0000 (0:00:06.493) 0:00:24.291 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 05 August 2022 20:21:55 +0000 (0:00:02.056) 0:00:26.416 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:21:55 +0000 (0:00:00.756) 0:00:27.172 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:21:56 +0000 (0:00:00.547) 0:00:27.720 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface rpltstbr] ***************************************** Friday 05 August 2022 20:21:57 +0000 (0:00:01.216) 0:00:28.936 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface rpltstbr is absent] ******************************** Friday 05 August 2022 20:22:05 +0000 (0:00:07.584) 0:00:36.521 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 20:22:07 +0000 (0:00:01.954) 0:00:38.475 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 20:22:08 +0000 (0:00:01.041) 0:00:39.516 ********* 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 20:22:11 +0000 (0:00:03.041) 0:00:42.558 ********* 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 20:22:20 +0000 (0:00:08.856) 0:00:51.415 ********* 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 20:22:30 +0000 (0:00:10.014) 0:01:01.429 ********* 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 20:22:31 +0000 (0:00:01.664) 0:01:03.094 ********* 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 20:22:32 +0000 (0:00:00.639) 0:01:03.734 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 20:22:33 +0000 (0:00:00.926) 0:01:04.660 ********* 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 20:22:36 +0000 (0:00:03.130) 0:01:07.791 ********* 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 20:22:37 +0000 (0:00:00.976) 0:01:08.767 ********* 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 20:22:38 +0000 (0:00:00.801) 0:01:09.569 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 20:22:39 +0000 (0:00:01.441) 0:01:11.011 ********* 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 20:22:53 +0000 (0:00:13.815) 0:01:24.826 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 20:22:55 +0000 (0:00:01.651) 0:01:26.477 ********* 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 20:22:56 +0000 (0:00:01.333) 0:01:27.811 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 20:22:57 +0000 (0:00:01.154) 0:01:28.965 ********* 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 20:23:09 +0000 (0:00:11.646) 0:01:40.612 ********* 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 20:23:11 +0000 (0:00:02.370) 0:01:43.179 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 20:23:13 +0000 (0:00:01.912) 0:01:45.092 ********* 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 20:23:15 +0000 (0:00:01.219) 0:01:46.311 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 20:23:16 +0000 (0:00:01.228) 0:01:47.540 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Friday 05 August 2022 20:23:26 +0000 (0:00:10.048) 0:01:57.588 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 20:23:28 +0000 (0:00:02.515) 0:02:00.104 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 20:23:31 +0000 (0:00:02.776) 0:02:02.881 ********* 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 20:23:34 +0000 (0:00:03.117) 0:02:05.998 ********* 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 20:23:39 +0000 (0:00:04.393) 0:02:10.391 ********* 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 20:23:44 +0000 (0:00:05.472) 0:02:15.864 ********* 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 20:23:46 +0000 (0:00:01.556) 0:02:17.421 ********* 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 20:23:47 +0000 (0:00:01.724) 0:02:19.145 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 20:23:49 +0000 (0:00:01.292) 0:02:20.438 ********* 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 20:23:50 +0000 (0:00:01.276) 0:02:21.715 ********* 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 20:23:51 +0000 (0:00:01.449) 0:02:23.164 ********* 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 20:23:53 +0000 (0:00:01.238) 0:02:24.402 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 20:23:55 +0000 (0:00:02.305) 0:02:26.708 ********* 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 20:24:04 +0000 (0:00:08.997) 0:02:35.705 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 20:24:06 +0000 (0:00:02.215) 0:02:37.921 ********* 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 20:24:08 +0000 (0:00:01.480) 0:02:39.402 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 20:24:09 +0000 (0:00:01.236) 0:02:40.639 ********* 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, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 20:24:13 +0000 (0:00:04.438) 0:02:45.078 ********* 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 20:24:15 +0000 (0:00:02.122) 0:02:47.200 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 20:24:17 +0000 (0:00:01.936) 0:02:49.137 ********* 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, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 20:24:19 +0000 (0:00:01.851) 0:02:50.988 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 20:24:21 +0000 (0:00:01.558) 0:02:52.547 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:24:24 +0000 (0:00:03.069) 0:02:55.616 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:24:26 +0000 (0:00:01.921) 0:02:57.537 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface rpltstbr] ***************************************** Friday 05 August 2022 20:24:28 +0000 (0:00:02.385) 0:02:59.923 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659731053.272169, "block_size": 4096, "blocks": 0, "ctime": 1659731053.272169, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22252, "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": 1659731053.272169, "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 20:24:31 +0000 (0:00:02.615) 0:03:02.538 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:24:32 +0000 (0:00:01.424) 0:03:03.962 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 20:24:33 +0000 (0:00:01.161) 0:03:05.124 ********* included: /WORKDIR/dist-git-network-idempotent_fix-KIFB8a/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Friday 05 August 2022 20:24:35 +0000 (0:00:01.334) 0:03:06.458 ********* 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 20:24:36 +0000 (0:00:01.091) 0:03:07.550 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Friday 05 August 2022 20:24:38 +0000 (0:00:01.790) 0:03:09.340 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Friday 05 August 2022 20:24:39 +0000 (0:00:01.107) 0:03:10.448 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep rpltstbr | grep /etc", "delta": "0:00:00.152476", "end": "2022-08-05 20:24:40.674976", "rc": 0, "start": "2022-08-05 20:24:40.522500" } STDOUT: rpltstbr /etc/NetworkManager/system-connections/rpltstbr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 05 August 2022 20:24:41 +0000 (0:00:02.721) 0:03:13.170 ********* 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 20:24:43 +0000 (0:00:01.812) 0:03:14.983 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-rpltstbr] ******************** Friday 05 August 2022 20:24:44 +0000 (0:00:01.103) 0:03:16.087 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'rpltstbr' is present] ******************************* Friday 05 August 2022 20:24:46 +0000 (0:00:01.557) 0:03:17.644 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'rpltstbr' is present] ************ Friday 05 August 2022 20:24:48 +0000 (0:00:01.889) 0:03:19.534 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get network_connections output] ****************************************** Friday 05 August 2022 20:24:49 +0000 (0:00:01.200) 0:03:20.734 ********* 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, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a (is-modified) [005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied TASK [Show test_module_run] **************************************************** Friday 05 August 2022 20:24:51 +0000 (0:00:02.438) 0:03:23.173 ********* 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, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a (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, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 1a1be31e-5962-4d5f-9cb8-53f1e03cbe0a (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 20:24:55 +0000 (0:00:03.951) 0:03:27.124 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [network_connections] ***************************************************** Friday 05 August 2022 20:24:57 +0000 (0:00:01.193) 0:03:28.318 ********* fatal: [sut]: FAILED! => { "changed": false } MSG: missing required arguments: __header ...ignoring TASK [command] ***************************************************************** Friday 05 August 2022 20:24:59 +0000 (0:00:02.281) 0:03:30.600 ********* changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "rpltstbr" ], "delta": "0:00:00.022044", "end": "2022-08-05 20:25:00.216877", "rc": 0, "start": "2022-08-05 20:25:00.194833" } PLAY RECAP ********************************************************************* sut : ok=52 changed=3 unreachable=0 failed=0 skipped=30 rescued=0 ignored=1 Friday 05 August 2022 20:25:01 +0000 (0:00:02.387) 0:03:32.987 ********* =============================================================================== linux-system-roles.network : Enable and start NetworkManager ----------- 13.82s linux-system-roles.network : Configure networking connection profiles -- 11.65s linux-system-roles.network : Re-test connectivity ---------------------- 10.05s linux-system-roles.network : Check which packages are installed -------- 10.01s linux-system-roles.network : Enable and start NetworkManager ------------ 9.00s linux-system-roles.network : Check which services are running ----------- 8.86s Get stat for interface rpltstbr ----------------------------------------- 7.58s Gather current interface info ------------------------------------------- 6.49s Gathering Facts --------------------------------------------------------- 6.06s linux-system-roles.network : Check which packages are installed --------- 5.47s linux-system-roles.network : Configure networking connection profiles --- 4.44s linux-system-roles.network : Check which services are running ----------- 4.39s Show test_module_run ---------------------------------------------------- 3.95s linux-system-roles.network : Install packages --------------------------- 3.13s linux-system-roles.network : Ensure ansible_facts used by role are present --- 3.12s linux-system-roles.network : Re-test connectivity ----------------------- 3.07s linux-system-roles.network : Ensure ansible_facts used by role are present --- 3.04s linux-system-roles.network : Ensure ansible_facts used by role ---------- 2.78s Get NM profile info ----------------------------------------------------- 2.72s Get stat for interface rpltstbr ----------------------------------------- 2.62s ---^---^---^---^---^--- # 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. ---^---^---^---^---^---