# 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_refactorxa2seqc9/.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_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:4 Thursday 30 November 2023 18:13:53 +0000 (0:00:00.019) 0:00:00.019 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:13 Thursday 30 November 2023 18:13:54 +0000 (0:00:01.013) 0:00:01.033 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:18 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.311) 0:00:01.344 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:21 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.018) 0:00:01.363 ***** included: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.016) 0:00:01.379 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.011) 0:00:01.391 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.009) 0:00:01.400 ***** included: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.014) 0:00:01.415 ***** included: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.014) 0:00:01.430 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004358", "end": "2023-11-30 18:13:54.872031", "rc": 0, "start": "2023-11-30 18:13:54.867673" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.344) 0:00:01.775 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.015) 0:00:01.790 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:13:54 +0000 (0:00:00.015) 0:00:01.805 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:13:57 +0000 (0:00:02.590) 0:00:04.395 ***** 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.007967", "end": "2023-11-30 18:13:57.736641", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-11-30 18:13:57.728674" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004679", "end": "2023-11-30 18:13:58.021739", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-11-30 18:13:58.017060" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004454", "end": "2023-11-30 18:13:58.251510", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-11-30 18:13:58.247056" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.758) 0:00:05.154 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.024921", "end": "2023-11-30 18:13:58.510440", "rc": 0, "start": "2023-11-30 18:13:58.485519" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.259) 0:00:05.413 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.011) 0:00:05.425 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.012) 0:00:05.438 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.013) 0:00:05.451 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.012) 0:00:05.464 ***** 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_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:25 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.010) 0:00:05.475 ***** included: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.016) 0:00:05.491 ***** included: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.016) 0:00:05.508 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701368037.7334197, "block_size": 4096, "blocks": 0, "ctime": 1701368037.7334197, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32032, "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": 1701368037.7334197, "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_refactorxa2seqc9/tests/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.237) 0:00:05.746 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:39 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.019) 0:00:05.765 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.042) 0:00:05.807 ***** included: /WORKDIR/git-code_refactorxa2seqc9/.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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.029) 0:00:05.837 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:13:58 +0000 (0:00:00.032) 0:00:05.869 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:13:59 +0000 (0:00:00.016) 0:00:05.886 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:13:59 +0000 (0:00:00.018) 0:00:05.904 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:14:01 +0000 (0:00:02.694) 0:00:08.599 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:14:02 +0000 (0:00:01.085) 0:00:09.684 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:14:02 +0000 (0:00:00.032) 0:00:09.717 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:14:02 +0000 (0:00:00.030) 0:00:09.747 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:14:02 +0000 (0:00:00.028) 0:00:09.776 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:14:02 +0000 (0:00:00.082) 0:00:09.858 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:14:03 +0000 (0:00:00.032) 0:00:09.891 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:14:03 +0000 (0:00:00.030) 0:00:09.921 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:14:03 +0000 (0:00:00.060) 0:00:09.982 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:14:03 +0000 (0:00:00.787) 0:00:10.770 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:14:04 +0000 (0:00:00.112) 0:00:10.882 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:14:04 +0000 (0:00:00.039) 0:00:10.922 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:14:04 +0000 (0:00:00.038) 0:00:10.960 ***** 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, fe5794ef-66c0-474d-99af-174d3107225b [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:14:04 +0000 (0:00:00.705) 0:00:11.666 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:14:04 +0000 (0:00:00.039) 0:00:11.705 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:14:04 +0000 (0:00:00.030) 0:00:11.736 ***** 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, fe5794ef-66c0-474d-99af-174d3107225b\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:14:04 +0000 (0:00:00.029) 0:00:11.765 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:14:04 +0000 (0:00:00.028) 0:00:11.793 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:43 Thursday 30 November 2023 18:14:05 +0000 (0:00:00.362) 0:00:12.156 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:46 Thursday 30 November 2023 18:14:05 +0000 (0:00:00.030) 0:00:12.186 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:14:05 +0000 (0:00:00.063) 0:00:12.250 ***** included: /WORKDIR/git-code_refactorxa2seqc9/.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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:14:05 +0000 (0:00:00.061) 0:00:12.311 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:14:05 +0000 (0:00:00.043) 0:00:12.355 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:14:05 +0000 (0:00:00.074) 0:00:12.430 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:14:05 +0000 (0:00:00.044) 0:00:12.475 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:14:08 +0000 (0:00:02.673) 0:00:15.148 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:14:09 +0000 (0:00:00.880) 0:00:16.029 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:14:09 +0000 (0:00:00.049) 0:00:16.079 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:14:09 +0000 (0:00:00.038) 0:00:16.117 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:14:09 +0000 (0:00:00.039) 0:00:16.156 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:14:09 +0000 (0:00:00.111) 0:00:16.268 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:14:09 +0000 (0:00:00.033) 0:00:16.301 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:14:09 +0000 (0:00:00.033) 0:00:16.334 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:14:09 +0000 (0:00:00.061) 0:00:16.396 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:14:10 +0000 (0:00:00.519) 0:00:16.916 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:14:10 +0000 (0:00:00.055) 0:00:16.972 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:14:10 +0000 (0:00:00.074) 0:00:17.046 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:14:10 +0000 (0:00:00.033) 0:00:17.080 ***** 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, fe5794ef-66c0-474d-99af-174d3107225b already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:14:10 +0000 (0:00:00.455) 0:00:17.536 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:14:10 +0000 (0:00:00.032) 0:00:17.568 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:14:10 +0000 (0:00:00.041) 0:00:17.610 ***** 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, fe5794ef-66c0-474d-99af-174d3107225b already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:14:10 +0000 (0:00:00.044) 0:00:17.654 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:14:10 +0000 (0:00:00.037) 0:00:17.692 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:50 Thursday 30 November 2023 18:14:11 +0000 (0:00:00.278) 0:00:17.970 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:63 Thursday 30 November 2023 18:14:11 +0000 (0:00:00.038) 0:00:18.009 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:14:11 +0000 (0:00:00.057) 0:00:18.066 ***** included: /WORKDIR/git-code_refactorxa2seqc9/.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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:14:11 +0000 (0:00:00.053) 0:00:18.119 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:14:11 +0000 (0:00:00.059) 0:00:18.178 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:14:11 +0000 (0:00:00.042) 0:00:18.220 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:14:11 +0000 (0:00:00.090) 0:00:18.311 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:14:14 +0000 (0:00:02.670) 0:00:20.982 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:14:14 +0000 (0:00:00.838) 0:00:21.821 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:14:14 +0000 (0:00:00.036) 0:00:21.857 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:14:15 +0000 (0:00:00.041) 0:00:21.899 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:14:15 +0000 (0:00:00.038) 0:00:21.937 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:14:15 +0000 (0:00:00.119) 0:00:22.057 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:14:15 +0000 (0:00:00.045) 0:00:22.102 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:14:15 +0000 (0:00:00.041) 0:00:22.144 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:14:15 +0000 (0:00:00.069) 0:00:22.213 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:14:15 +0000 (0:00:00.537) 0:00:22.751 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:14:15 +0000 (0:00:00.068) 0:00:22.819 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:14:15 +0000 (0:00:00.044) 0:00:22.864 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:14:16 +0000 (0:00:00.042) 0:00:22.907 ***** 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, fe5794ef-66c0-474d-99af-174d3107225b [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b (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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:14:16 +0000 (0:00:00.543) 0:00:23.450 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:14:16 +0000 (0:00:00.031) 0:00:23.482 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b (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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:14:16 +0000 (0:00:00.028) 0:00:23.510 ***** 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, fe5794ef-66c0-474d-99af-174d3107225b\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b (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, fe5794ef-66c0-474d-99af-174d3107225b", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b (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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:14:16 +0000 (0:00:00.031) 0:00:23.542 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:14:16 +0000 (0:00:00.039) 0:00:23.581 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:67 Thursday 30 November 2023 18:14:16 +0000 (0:00:00.267) 0:00:23.849 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:70 Thursday 30 November 2023 18:14:17 +0000 (0:00:00.042) 0:00:23.892 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:14:17 +0000 (0:00:00.093) 0:00:23.985 ***** included: /WORKDIR/git-code_refactorxa2seqc9/.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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:14:17 +0000 (0:00:00.059) 0:00:24.045 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:14:17 +0000 (0:00:00.044) 0:00:24.089 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:14:17 +0000 (0:00:00.031) 0:00:24.121 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:14:17 +0000 (0:00:00.029) 0:00:24.151 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:14:19 +0000 (0:00:02.677) 0:00:26.829 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:14:20 +0000 (0:00:00.862) 0:00:27.691 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:14:20 +0000 (0:00:00.039) 0:00:27.731 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:14:20 +0000 (0:00:00.029) 0:00:27.760 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:14:20 +0000 (0:00:00.026) 0:00:27.787 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:14:20 +0000 (0:00:00.067) 0:00:27.854 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:14:21 +0000 (0:00:00.024) 0:00:27.879 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:14:21 +0000 (0:00:00.024) 0:00:27.903 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:14:21 +0000 (0:00:00.047) 0:00:27.951 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:14:21 +0000 (0:00:00.495) 0:00:28.447 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:14:21 +0000 (0:00:00.067) 0:00:28.514 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:14:21 +0000 (0:00:00.033) 0:00:28.548 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:14:21 +0000 (0:00:00.035) 0:00:28.583 ***** 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, fe5794ef-66c0-474d-99af-174d3107225b already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.486) 0:00:29.069 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.066) 0:00:29.136 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.026) 0:00:29.162 ***** 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, fe5794ef-66c0-474d-99af-174d3107225b already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, fe5794ef-66c0-474d-99af-174d3107225b skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.026) 0:00:29.188 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.026) 0:00:29.215 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:74 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.273) 0:00:29.488 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:82 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.037) 0:00:29.526 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.060) 0:00:29.587 ***** included: /WORKDIR/git-code_refactorxa2seqc9/.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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.044) 0:00:29.632 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.049) 0:00:29.681 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.033) 0:00:29.715 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:14:22 +0000 (0:00:00.029) 0:00:29.745 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:14:25 +0000 (0:00:02.664) 0:00:32.410 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:14:26 +0000 (0:00:00.916) 0:00:33.327 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:14:26 +0000 (0:00:00.037) 0:00:33.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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:14:26 +0000 (0:00:00.034) 0:00:33.398 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:14:26 +0000 (0:00:00.034) 0:00:33.433 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:14:26 +0000 (0:00:00.092) 0:00:33.525 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:14:26 +0000 (0:00:00.035) 0:00:33.561 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:14:26 +0000 (0:00:00.033) 0:00:33.594 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:14:26 +0000 (0:00:00.048) 0:00:33.642 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:14:27 +0000 (0:00:00.518) 0:00:34.160 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:14:27 +0000 (0:00:00.058) 0:00:34.218 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:14:27 +0000 (0:00:00.038) 0:00:34.257 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:14:27 +0000 (0:00:00.032) 0:00:34.290 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:14:27 +0000 (0:00:00.541) 0:00:34.831 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:14:27 +0000 (0:00:00.035) 0:00:34.866 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.031) 0:00:34.898 ***** 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_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.068) 0:00:34.966 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.034) 0:00:35.001 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:91 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.266) 0:00:35.267 ***** included: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:3 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.048) 0:00:35.316 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:8 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.022) 0:00:35.338 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:13 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.030) 0:00:35.369 ***** included: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.038) 0:00:35.408 ***** included: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.036) 0:00:35.445 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004403", "end": "2023-11-30 18:14:28.778530", "rc": 0, "start": "2023-11-30 18:14:28.774127" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.253) 0:00:35.698 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.039) 0:00:35.737 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:16 Thursday 30 November 2023 18:14:28 +0000 (0:00:00.038) 0:00:35.775 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:23 Thursday 30 November 2023 18:14:31 +0000 (0:00:02.468) 0:00:38.244 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:31 Thursday 30 November 2023 18:14:31 +0000 (0:00:00.111) 0:00:38.355 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:39 Thursday 30 November 2023 18:14:31 +0000 (0:00:00.051) 0:00:38.406 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.012480", "end": "2023-11-30 18:14:31.757643", "rc": 0, "start": "2023-11-30 18:14:31.745163" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:45 Thursday 30 November 2023 18:14:31 +0000 (0:00:00.278) 0:00:38.685 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:50 Thursday 30 November 2023 18:14:31 +0000 (0:00:00.023) 0:00:38.709 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:56 Thursday 30 November 2023 18:14:31 +0000 (0:00:00.022) 0:00:38.731 ***** 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_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:61 Thursday 30 November 2023 18:14:31 +0000 (0:00:00.024) 0:00:38.755 ***** 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:14:31 +0000 (0:00:00.077) 0:00:38.832 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.69s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.68s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.67s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.67s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.66s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.59s /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:16 --- Install iproute --------------------------------------------------------- 2.47s /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:16 --- fedora.linux_system_roles.network : Check which packages are installed --- 1.09s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.01s /WORKDIR/git-code_refactorxa2seqc9/tests/tests_change_indication_on_repeat_run.yml:4 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /WORKDIR/git-code_refactorxa2seqc9/.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.88s /WORKDIR/git-code_refactorxa2seqc9/.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.86s /WORKDIR/git-code_refactorxa2seqc9/.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.84s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.79s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Create veth interface testnic1 ------------------------------------------ 0.76s /WORKDIR/git-code_refactorxa2seqc9/tests/tasks/manage_test_interface.yml:23 --- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.71s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.54s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.54s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.54s /WORKDIR/git-code_refactorxa2seqc9/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.52s /WORKDIR/git-code_refactorxa2seqc9/.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. ---^---^---^---^---^---