# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-code_refactor804m60nn/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_change_indication_on_repeat_run.yml **************************** 1 plays in /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:4 Thursday 30 November 2023 18:41:46 +0000 (0:00:00.016) 0:00:00.016 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:13 Thursday 30 November 2023 18:41:47 +0000 (0:00:00.834) 0:00:00.850 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:18 Thursday 30 November 2023 18:41:47 +0000 (0:00:00.272) 0:00:01.123 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:21 Thursday 30 November 2023 18:41:47 +0000 (0:00:00.020) 0:00:01.143 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:41:48 +0000 (0:00:00.017) 0:00:01.160 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:41:48 +0000 (0:00:00.012) 0:00:01.172 ***** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:41:48 +0000 (0:00:00.009) 0:00:01.182 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:41:48 +0000 (0:00:00.015) 0:00:01.197 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:41:48 +0000 (0:00:00.016) 0:00:01.214 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003009", "end": "2023-11-30 18:41:48.311651", "rc": 0, "start": "2023-11-30 18:41:48.308642" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:41:48 +0000 (0:00:00.278) 0:00:01.493 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:41:48 +0000 (0:00:00.019) 0:00:01.512 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:41:48 +0000 (0:00:00.017) 0:00:01.530 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:41:49 +0000 (0:00:00.957) 0:00:02.487 ***** 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.009095", "end": "2023-11-30 18:41:49.517139", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-11-30 18:41:49.508044" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003576", "end": "2023-11-30 18:41:49.746947", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-11-30 18:41:49.743371" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004772", "end": "2023-11-30 18:41:49.930070", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-11-30 18:41:49.925298" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:41:49 +0000 (0:00:00.621) 0:00:03.109 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.020956", "end": "2023-11-30 18:41:50.143011", "rc": 0, "start": "2023-11-30 18:41:50.122055" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.216) 0:00:03.326 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.014) 0:00:03.340 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.015) 0:00:03.356 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.013) 0:00:03.369 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.017) 0:00:03.387 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:25 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.011) 0:00:03.398 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.015) 0:00:03.413 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.013) 0:00:03.427 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369709.5119936, "block_size": 4096, "blocks": 0, "ctime": 1701369709.5119936, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 27104, "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": 1701369709.5119936, "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-code_refactor804m60nn/tests/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.187) 0:00:03.614 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:39 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.017) 0:00:03.631 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.032) 0:00:03.664 ***** included: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.022) 0:00:03.687 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.026) 0:00:03.713 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.019) 0:00:03.733 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:41:50 +0000 (0:00:00.016) 0:00:03.750 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:41:52 +0000 (0:00:01.688) 0:00:05.439 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:41:53 +0000 (0:00:00.977) 0:00:06.416 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:41:53 +0000 (0:00:00.030) 0:00:06.447 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:41:53 +0000 (0:00:00.025) 0:00:06.473 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:41:53 +0000 (0:00:00.028) 0:00:06.501 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:41:53 +0000 (0:00:00.071) 0:00:06.572 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:41:53 +0000 (0:00:00.025) 0:00:06.597 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:41:53 +0000 (0:00:00.028) 0:00:06.626 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:41:53 +0000 (0:00:00.050) 0:00:06.677 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:41:54 +0000 (0:00:00.681) 0:00:07.358 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:41:54 +0000 (0:00:00.055) 0:00:07.414 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:41:54 +0000 (0:00:00.064) 0:00:07.478 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:41:54 +0000 (0:00:00.034) 0:00:07.513 ***** 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, 21cf4328-898e-464f-9f1c-e9a12458c9e8 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:41:54 +0000 (0:00:00.591) 0:00:08.105 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:41:54 +0000 (0:00:00.028) 0:00:08.133 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.026) 0:00:08.159 ***** 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, 21cf4328-898e-464f-9f1c-e9a12458c9e8\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.028) 0:00:08.188 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.033) 0:00:08.222 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:43 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.317) 0:00:08.540 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:46 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.042) 0:00:08.582 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.075) 0:00:08.658 ***** included: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.053) 0:00:08.711 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.053) 0:00:08.765 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.028) 0:00:08.793 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:41:55 +0000 (0:00:00.027) 0:00:08.821 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:41:57 +0000 (0:00:01.640) 0:00:10.461 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:41:58 +0000 (0:00:00.780) 0:00:11.242 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:41:58 +0000 (0:00:00.050) 0:00:11.292 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:41:58 +0000 (0:00:00.034) 0:00:11.327 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:41:58 +0000 (0:00:00.033) 0:00:11.360 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:41:58 +0000 (0:00:00.115) 0:00:11.475 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:41:58 +0000 (0:00:00.042) 0:00:11.518 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:41:58 +0000 (0:00:00.040) 0:00:11.559 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:41:58 +0000 (0:00:00.085) 0:00:11.645 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:41:58 +0000 (0:00:00.464) 0:00:12.109 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.069) 0:00:12.178 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.040) 0:00:12.219 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.046) 0:00:12.266 ***** 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, 21cf4328-898e-464f-9f1c-e9a12458c9e8 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.434) 0:00:12.700 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.031) 0:00:12.731 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.035) 0:00:12.767 ***** 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, 21cf4328-898e-464f-9f1c-e9a12458c9e8 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.071) 0:00:12.839 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.037) 0:00:12.876 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:50 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.220) 0:00:13.096 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:63 Thursday 30 November 2023 18:41:59 +0000 (0:00:00.031) 0:00:13.127 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:42:00 +0000 (0:00:00.057) 0:00:13.184 ***** included: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:42:00 +0000 (0:00:00.050) 0:00:13.235 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:42:00 +0000 (0:00:00.062) 0:00:13.297 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:42:00 +0000 (0:00:00.037) 0:00:13.335 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:42:00 +0000 (0:00:00.033) 0:00:13.368 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:42:01 +0000 (0:00:01.609) 0:00:14.977 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:42:02 +0000 (0:00:00.820) 0:00:15.798 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:42:02 +0000 (0:00:00.052) 0:00:15.850 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:42:02 +0000 (0:00:00.080) 0:00:15.931 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:42:02 +0000 (0:00:00.040) 0:00:15.971 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:42:02 +0000 (0:00:00.098) 0:00:16.070 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:42:02 +0000 (0:00:00.033) 0:00:16.104 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:42:02 +0000 (0:00:00.041) 0:00:16.145 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:42:03 +0000 (0:00:00.070) 0:00:16.215 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:42:03 +0000 (0:00:00.441) 0:00:16.657 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:42:03 +0000 (0:00:00.080) 0:00:16.738 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:42:03 +0000 (0:00:00.043) 0:00:16.782 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:42:03 +0000 (0:00:00.048) 0:00:16.830 ***** 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, 21cf4328-898e-464f-9f1c-e9a12458c9e8 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.428) 0:00:17.259 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.033) 0:00:17.293 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.039) 0:00:17.332 ***** 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, 21cf4328-898e-464f-9f1c-e9a12458c9e8\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 (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, 21cf4328-898e-464f-9f1c-e9a12458c9e8", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.041) 0:00:17.374 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.030) 0:00:17.405 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:67 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.219) 0:00:17.625 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:70 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.039) 0:00:17.664 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.103) 0:00:17.768 ***** included: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.055) 0:00:17.824 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.056) 0:00:17.880 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.044) 0:00:17.924 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:42:04 +0000 (0:00:00.030) 0:00:17.955 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:42:06 +0000 (0:00:01.585) 0:00:19.540 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:42:07 +0000 (0:00:00.778) 0:00:20.319 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:42:07 +0000 (0:00:00.044) 0:00:20.364 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:42:07 +0000 (0:00:00.027) 0:00:20.391 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:42:07 +0000 (0:00:00.037) 0:00:20.429 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:42:07 +0000 (0:00:00.093) 0:00:20.522 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:42:07 +0000 (0:00:00.030) 0:00:20.553 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:42:07 +0000 (0:00:00.042) 0:00:20.595 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:42:07 +0000 (0:00:00.054) 0:00:20.650 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:42:07 +0000 (0:00:00.500) 0:00:21.150 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.054) 0:00:21.205 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.033) 0:00:21.239 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.032) 0:00:21.272 ***** 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, 21cf4328-898e-464f-9f1c-e9a12458c9e8 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.412) 0:00:21.685 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.039) 0:00:21.724 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.037) 0:00:21.762 ***** 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, 21cf4328-898e-464f-9f1c-e9a12458c9e8 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 21cf4328-898e-464f-9f1c-e9a12458c9e8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.035) 0:00:21.797 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.035) 0:00:21.833 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:74 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.219) 0:00:22.052 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:82 Thursday 30 November 2023 18:42:08 +0000 (0:00:00.045) 0:00:22.098 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:42:09 +0000 (0:00:00.082) 0:00:22.180 ***** included: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:42:09 +0000 (0:00:00.057) 0:00:22.238 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:42:09 +0000 (0:00:00.057) 0:00:22.295 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:42:09 +0000 (0:00:00.027) 0:00:22.322 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:42:09 +0000 (0:00:00.054) 0:00:22.377 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:42:10 +0000 (0:00:01.589) 0:00:23.966 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:42:11 +0000 (0:00:00.766) 0:00:24.733 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:42:11 +0000 (0:00:00.039) 0:00:24.773 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:42:11 +0000 (0:00:00.034) 0:00:24.807 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:42:11 +0000 (0:00:00.037) 0:00:24.844 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:42:11 +0000 (0:00:00.095) 0:00:24.940 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:42:11 +0000 (0:00:00.035) 0:00:24.975 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:42:11 +0000 (0:00:00.031) 0:00:25.006 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:42:11 +0000 (0:00:00.056) 0:00:25.063 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:42:12 +0000 (0:00:00.426) 0:00:25.489 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:42:12 +0000 (0:00:00.053) 0:00:25.543 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:42:12 +0000 (0:00:00.036) 0:00:25.580 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:42:12 +0000 (0:00:00.032) 0:00:25.613 ***** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:42:12 +0000 (0:00:00.495) 0:00:26.108 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.088) 0:00:26.196 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.035) 0:00:26.232 ***** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.028) 0:00:26.261 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.035) 0:00:26.296 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:91 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.219) 0:00:26.516 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.049) 0:00:26.565 ***** skipping: [sut] => { "changed": false, "false_condition": "state not in [\"present\", \"absent\"]", "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.027) 0:00:26.592 ***** skipping: [sut] => { "changed": false, "false_condition": "type not in [\"dummy\", \"tap\", \"veth\"]", "skip_reason": "Conditional result was False" } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.025) 0:00:26.617 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.052) 0:00:26.670 ***** included: /WORKDIR/git-code_refactor804m60nn/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.040) 0:00:26.711 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003067", "end": "2023-11-30 18:42:13.726126", "rc": 0, "start": "2023-11-30 18:42:13.723059" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.206) 0:00:26.917 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.030) 0:00:26.947 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:42:13 +0000 (0:00:00.034) 0:00:26.981 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:42:14 +0000 (0:00:00.770) 0:00:27.752 ***** skipping: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "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, "false_condition": "type == 'veth' and state == 'present' and interface not in current_interfaces", "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:42:14 +0000 (0:00:00.081) 0:00:27.833 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'veth' and state == 'present'", "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:42:14 +0000 (0:00:00.029) 0:00:27.862 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.018048", "end": "2023-11-30 18:42:14.891944", "rc": 0, "start": "2023-11-30 18:42:14.873896" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:42:14 +0000 (0:00:00.230) 0:00:28.093 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:42:14 +0000 (0:00:00.029) 0:00:28.123 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'dummy' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:42:14 +0000 (0:00:00.030) 0:00:28.153 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'present' and interface not in current_interfaces", "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:42:15 +0000 (0:00:00.027) 0:00:28.180 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=73 changed=3 unreachable=0 failed=0 skipped=85 rescued=0 ignored=0 Thursday 30 November 2023 18:42:15 +0000 (0:00:00.084) 0:00:28.264 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.69s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.96s /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:16 --- Gathering Facts --------------------------------------------------------- 0.83s /WORKDIR/git-code_refactor804m60nn/tests/tests_change_indication_on_repeat_run.yml:4 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.77s /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:16 --- fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.68s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Create veth interface testnic1 ------------------------------------------ 0.62s /WORKDIR/git-code_refactor804m60nn/tests/tasks/manage_test_interface.yml:23 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.50s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.50s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.46s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.44s /WORKDIR/git-code_refactor804m60nn/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---