# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_change_indication_on_repeat_run.yml **************************** 1 plays in /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:4 Wednesday 03 July 2024 22:59:22 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:13 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.515) 0:00:00.528 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:18 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.204) 0:00:00.732 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:21 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.020) 0:00:00.752 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:3 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.022) 0:00:00.775 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:8 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.018) 0:00:00.794 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:13 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.018) 0:00:00.812 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.011) 0:00:00.823 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.011) 0:00:00.835 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002932", "end": "2024-07-03 18:59:23.613815", "rc": 0, "start": "2024-07-03 18:59:23.610883" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.181) 0:00:01.016 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.018) 0:00:01.035 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:16 Wednesday 03 July 2024 22:59:23 +0000 (0:00:00.018) 0:00:01.054 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:28 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.458) 0:00:01.512 ******** ok: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.011302", "end": "2024-07-03 18:59:24.256030", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-07-03 18:59:24.244728" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003657", "end": "2024-07-03 18:59:24.370927", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-07-03 18:59:24.367270" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004363", "end": "2024-07-03 18:59:24.477405", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-07-03 18:59:24.473042" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:37 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.370) 0:00:01.883 ******** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.039766", "end": "2024-07-03 18:59:24.632992", "rc": 0, "start": "2024-07-03 18:59:24.593226" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:45 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.155) 0:00:02.038 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:52 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.010) 0:00:02.049 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:58 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.009) 0:00:02.058 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:65 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.009) 0:00:02.068 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:71 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.010) 0:00:02.079 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:25 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.015) 0:00:02.094 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/assert_device_present.yml:3 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.013) 0:00:02.107 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/get_interface_stat.yml:3 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.014) 0:00:02.122 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1720047564.2603202, "block_size": 4096, "blocks": 0, "ctime": 1720047564.2603202, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17722, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1720047564.2603202, "nlink": 1, "path": "/sys/class/net/testnic1", "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 the interface is present - 'testnic1'] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/assert_device_present.yml:5 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.124) 0:00:02.246 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:39 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.011) 0:00:02.258 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.079) 0:00:02.338 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.020) 0:00:02.358 ******** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.010) 0:00:02.368 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:59:24 +0000 (0:00:00.010) 0:00:02.379 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:59:25 +0000 (0:00:00.009) 0:00:02.389 ******** 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] ********* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:59:25 +0000 (0:00:00.682) 0:00:03.072 ******** 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] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.959) 0:00:04.031 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.024) 0:00:04.056 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.019) 0:00:04.076 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.019) 0:00:04.095 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.039) 0:00:04.135 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.035) 0:00:04.171 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.027) 0:00:04.199 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.022) 0:00:04.221 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.044) 0:00:04.266 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.019) 0:00:04.285 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.018) 0:00:04.304 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:59:26 +0000 (0:00:00.022) 0:00:04.326 ******** 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] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:59:27 +0000 (0:00:00.353) 0:00:04.680 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:59:27 +0000 (0:00:00.029) 0:00:04.709 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:59:27 +0000 (0:00:00.039) 0:00:04.749 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:59:27 +0000 (0:00:00.037) 0:00:04.786 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:59:27 +0000 (0:00:00.443) 0:00:05.230 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:59:27 +0000 (0:00:00.019) 0:00:05.250 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:59:27 +0000 (0:00:00.024) 0:00:05.274 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:59:27 +0000 (0:00:00.043) 0:00:05.318 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:59:27 +0000 (0:00:00.020) 0:00:05.338 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:43 Wednesday 03 July 2024 22:59:28 +0000 (0:00:00.173) 0:00:05.512 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:46 Wednesday 03 July 2024 22:59:28 +0000 (0:00:00.024) 0:00:05.536 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:59:28 +0000 (0:00:00.053) 0:00:05.590 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:59:28 +0000 (0:00:00.038) 0:00:05.628 ******** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:59:28 +0000 (0:00:00.028) 0:00:05.656 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:59:28 +0000 (0:00:00.020) 0:00:05.676 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:59:28 +0000 (0:00:00.019) 0:00:05.696 ******** 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] ********* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:59:28 +0000 (0:00:00.618) 0:00:06.314 ******** 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] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.851) 0:00:07.165 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.024) 0:00:07.190 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.018) 0:00:07.208 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.017) 0:00:07.226 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.017) 0:00:07.244 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.018) 0:00:07.262 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.022) 0:00:07.285 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.021) 0:00:07.306 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.043) 0:00:07.349 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.017) 0:00:07.367 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:59:29 +0000 (0:00:00.017) 0:00:07.385 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.023) 0:00:07.408 ******** 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] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.231) 0:00:07.640 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.034) 0:00:07.674 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.027) 0:00:07.701 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.026) 0:00:07.728 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.334) 0:00:08.063 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.026) 0:00:08.089 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.032) 0:00:08.122 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.026) 0:00:08.149 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.026) 0:00:08.175 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:50 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.124) 0:00:08.299 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:63 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.020) 0:00:08.320 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.028) 0:00:08.349 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:59:30 +0000 (0:00:00.031) 0:00:08.381 ******** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:59:31 +0000 (0:00:00.038) 0:00:08.419 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:59:31 +0000 (0:00:00.042) 0:00:08.461 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:59:31 +0000 (0:00:00.021) 0:00:08.483 ******** 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] ********* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:59:31 +0000 (0:00:00.613) 0:00:09.096 ******** 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] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.844) 0:00:09.940 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.025) 0:00:09.966 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.019) 0:00:09.986 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.018) 0:00:10.004 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.018) 0:00:10.023 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.019) 0:00:10.043 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.023) 0:00:10.066 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.022) 0:00:10.089 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.043) 0:00:10.132 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.018) 0:00:10.150 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.017) 0:00:10.168 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:59:32 +0000 (0:00:00.021) 0:00:10.190 ******** 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] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.215) 0:00:10.406 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.056) 0:00:10.462 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.025) 0:00:10.488 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.025) 0:00:10.513 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.293) 0:00:10.807 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.020) 0:00:10.827 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.021) 0:00:10.848 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.024) 0:00:10.872 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.020) 0:00:10.893 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:67 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.119) 0:00:11.013 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:70 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.020) 0:00:11.034 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.032) 0:00:11.066 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.031) 0:00:11.098 ******** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.025) 0:00:11.123 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.033) 0:00:11.157 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:59:33 +0000 (0:00:00.020) 0:00:11.177 ******** 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] ********* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:59:34 +0000 (0:00:00.621) 0:00:11.799 ******** 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] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.822) 0:00:12.621 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.026) 0:00:12.647 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.019) 0:00:12.667 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.018) 0:00:12.685 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.022) 0:00:12.708 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.020) 0:00:12.728 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.023) 0:00:12.751 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.031) 0:00:12.783 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.086) 0:00:12.870 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.021) 0:00:12.892 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.019) 0:00:12.911 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.045) 0:00:12.957 ******** 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] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.223) 0:00:13.181 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.038) 0:00:13.219 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.026) 0:00:13.246 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:59:35 +0000 (0:00:00.034) 0:00:13.280 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.300) 0:00:13.580 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.025) 0:00:13.605 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.020) 0:00:13.626 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fc1aacc3-f8f9-4f7b-8f15-024489e77e7b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.020) 0:00:13.647 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.019) 0:00:13.666 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:74 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.116) 0:00:13.782 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:82 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.021) 0:00:13.804 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.034) 0:00:13.839 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.039) 0:00:13.878 ******** 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.053) 0:00:13.931 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.019) 0:00:13.951 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 03 July 2024 22:59:36 +0000 (0:00:00.019) 0:00:13.970 ******** 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] ********* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 03 July 2024 22:59:37 +0000 (0:00:00.606) 0:00:14.577 ******** 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] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.826) 0:00:15.403 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.029) 0:00:15.433 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.019) 0:00:15.453 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.019) 0:00:15.473 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.019) 0:00:15.492 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.021) 0:00:15.513 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.023) 0:00:15.536 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.047) 0:00:15.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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.046) 0:00:15.630 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.019) 0:00:15.650 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.019) 0:00:15.669 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.022) 0:00:15.691 ******** 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] ************ task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.214) 0:00:15.906 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.028) 0:00:15.935 ******** 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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.022) 0:00:15.958 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.024) 0:00:15.982 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "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] ***************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 03 July 2024 22:59:38 +0000 (0:00:00.401) 0:00:16.383 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.019) 0:00:16.403 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.022) 0:00:16.425 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "testnic1", "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] *** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.021) 0:00:16.447 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.019) 0:00:16.466 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:91 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.120) 0:00:16.587 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:3 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.055) 0:00:16.642 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:8 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.018) 0:00:16.661 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:13 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.018) 0:00:16.679 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/show_interfaces.yml:3 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.028) 0:00:16.708 ******** included: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/get_current_interfaces.yml:3 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.027) 0:00:16.736 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002827", "end": "2024-07-03 18:59:39.452353", "rc": 0, "start": "2024-07-03 18:59:39.449526" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/get_current_interfaces.yml:9 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.128) 0:00:16.864 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/show_interfaces.yml:5 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.020) 0:00:16.884 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:16 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.019) 0:00:16.903 ******** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:28 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.326) 0:00:17.230 ******** skipping: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:37 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.034) 0:00:17.264 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:45 Wednesday 03 July 2024 22:59:39 +0000 (0:00:00.025) 0:00:17.290 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.011583", "end": "2024-07-03 18:59:40.020378", "rc": 0, "start": "2024-07-03 18:59:40.008795" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:52 Wednesday 03 July 2024 22:59:40 +0000 (0:00:00.146) 0:00:17.437 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:58 Wednesday 03 July 2024 22:59:40 +0000 (0:00:00.023) 0:00:17.460 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:65 Wednesday 03 July 2024 22:59:40 +0000 (0:00:00.031) 0:00:17.491 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:71 Wednesday 03 July 2024 22:59:40 +0000 (0:00:00.029) 0:00:17.520 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=73 changed=3 unreachable=0 failed=0 skipped=105 rescued=0 ignored=0 Wednesday 03 July 2024 22:59:40 +0000 (0:00:00.016) 0:00:17.537 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.37s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable and start NetworkManager ------------ 1.02s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.83s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.82s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.68s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.62s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.62s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.61s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.61s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 0.53s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:221 Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tests_change_indication_on_repeat_run.yml:4 Install iproute --------------------------------------------------------- 0.46s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:16 linux-system-roles.network : Configure networking connection profiles --- 0.40s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:188 Create veth interface testnic1 ------------------------------------------ 0.37s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:28 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/tasks/manage_test_interface.yml:16 linux-system-roles.network : Install packages --------------------------- 0.22s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:92 linux-system-roles.network : Enable and start NetworkManager ------------ 0.21s /WORKDIR/git-network-state-in-defaults827u9lzb/tests/roles/linux-system-roles.network/tasks/main.yml:151 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---