# 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-tft-tests6kb378cw/.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-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:4 Monday 17 June 2024 14:25:56 +0000 (0:00:00.011) 0:00:00.011 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:13 Monday 17 June 2024 14:25:57 +0000 (0:00:00.996) 0:00:01.007 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:18 Monday 17 June 2024 14:25:57 +0000 (0:00:00.285) 0:00:01.293 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:21 Monday 17 June 2024 14:25:57 +0000 (0:00:00.012) 0:00:01.306 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:25:57 +0000 (0:00:00.011) 0:00:01.317 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:25:57 +0000 (0:00:00.007) 0:00:01.325 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:25:57 +0000 (0:00:00.007) 0:00:01.332 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:25:57 +0000 (0:00:00.009) 0:00:01.341 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:25:57 +0000 (0:00:00.009) 0:00:01.350 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003516", "end": "2024-06-17 14:25:57.647809", "rc": 0, "start": "2024-06-17 14:25:57.644293" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:25:57 +0000 (0:00:00.287) 0:00:01.638 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:25:57 +0000 (0:00:00.010) 0:00:01.648 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:25:57 +0000 (0:00:00.010) 0:00:01.659 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:27 Monday 17 June 2024 14:25:59 +0000 (0:00:02.296) 0:00:03.955 *********** 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.007230", "end": "2024-06-17 14:26:00.203825", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-06-17 14:26:00.196595" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004246", "end": "2024-06-17 14:26:00.491034", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-06-17 14:26:00.486788" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004173", "end": "2024-06-17 14:26:00.720078", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-06-17 14:26:00.715905" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:35 Monday 17 June 2024 14:26:00 +0000 (0:00:00.755) 0:00:04.711 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.022269", "end": "2024-06-17 14:26:00.972288", "rc": 0, "start": "2024-06-17 14:26:00.950019" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:43 Monday 17 June 2024 14:26:00 +0000 (0:00:00.254) 0:00:04.965 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:49 Monday 17 June 2024 14:26:01 +0000 (0:00:00.009) 0:00:04.975 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:54 Monday 17 June 2024 14:26:01 +0000 (0:00:00.010) 0:00:04.986 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:60 Monday 17 June 2024 14:26:01 +0000 (0:00:00.008) 0:00:04.994 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:26:01 +0000 (0:00:00.008) 0:00:05.003 *********** 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-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:25 Monday 17 June 2024 14:26:01 +0000 (0:00:00.007) 0:00:05.010 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:26:01 +0000 (0:00:00.011) 0:00:05.021 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:26:01 +0000 (0:00:00.009) 0:00:05.031 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718634360.2004495, "block_size": 4096, "blocks": 0, "ctime": 1718634360.2004495, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38197, "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": 1718634360.2004495, "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-tft-tests6kb378cw/tests/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:26:01 +0000 (0:00:00.232) 0:00:05.263 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:39 Monday 17 June 2024 14:26:01 +0000 (0:00:00.012) 0:00:05.276 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:26:01 +0000 (0:00:00.021) 0:00:05.298 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:26:01 +0000 (0:00:00.015) 0:00:05.313 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:26:01 +0000 (0:00:00.019) 0:00:05.333 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:26:01 +0000 (0:00:00.011) 0:00:05.344 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:26:01 +0000 (0:00:00.011) 0:00:05.355 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:26:03 +0000 (0:00:02.330) 0:00:07.686 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:26:04 +0000 (0:00:00.966) 0:00:08.652 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:26:04 +0000 (0:00:00.025) 0:00:08.678 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:26:04 +0000 (0:00:00.020) 0:00:08.699 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:26:04 +0000 (0:00:00.021) 0:00:08.720 *********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:26:04 +0000 (0:00:00.034) 0:00:08.754 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:26:04 +0000 (0:00:00.025) 0:00:08.780 *********** 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 : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:26:04 +0000 (0:00:00.032) 0:00:08.813 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:26:04 +0000 (0:00:00.054) 0:00:08.867 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:26:04 +0000 (0:00:00.020) 0:00:08.888 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:26:04 +0000 (0:00:00.038) 0:00:08.926 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:26:04 +0000 (0:00:00.033) 0:00:08.960 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:26:05 +0000 (0:00:00.623) 0:00:09.583 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:26:05 +0000 (0:00:00.038) 0:00:09.622 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:26:05 +0000 (0:00:00.024) 0:00:09.647 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:26:05 +0000 (0:00:00.024) 0:00:09.671 *********** 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, 4a693b5c-abb6-4885-9dad-97d828156396 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:26:06 +0000 (0:00:00.606) 0:00:10.277 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:26:06 +0000 (0:00:00.021) 0:00:10.299 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:26:06 +0000 (0:00:00.020) 0:00:10.320 *********** 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, 4a693b5c-abb6-4885-9dad-97d828156396\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:26:06 +0000 (0:00:00.020) 0:00:10.341 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:26:06 +0000 (0:00:00.020) 0:00:10.362 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:43 Monday 17 June 2024 14:26:06 +0000 (0:00:00.332) 0:00:10.694 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:46 Monday 17 June 2024 14:26:06 +0000 (0:00:00.024) 0:00:10.719 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:26:06 +0000 (0:00:00.045) 0:00:10.765 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:26:06 +0000 (0:00:00.058) 0:00:10.823 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:26:06 +0000 (0:00:00.033) 0:00:10.856 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:26:06 +0000 (0:00:00.021) 0:00:10.877 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:26:06 +0000 (0:00:00.022) 0:00:10.900 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:26:09 +0000 (0:00:02.189) 0:00:13.090 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:26:09 +0000 (0:00:00.811) 0:00:13.901 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:26:09 +0000 (0:00:00.028) 0:00:13.930 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:26:09 +0000 (0:00:00.023) 0:00:13.953 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:26:10 +0000 (0:00:00.025) 0:00:13.978 *********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:26:10 +0000 (0:00:00.037) 0:00:14.016 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:26:10 +0000 (0:00:00.028) 0:00:14.044 *********** 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 : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:26:10 +0000 (0:00:00.035) 0:00:14.080 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:26:10 +0000 (0:00:00.129) 0:00:14.209 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:26:10 +0000 (0:00:00.021) 0:00:14.230 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:26:10 +0000 (0:00:00.024) 0:00:14.255 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:26:10 +0000 (0:00:00.036) 0:00:14.291 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:26:10 +0000 (0:00:00.475) 0:00:14.766 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:26:10 +0000 (0:00:00.039) 0:00:14.805 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:26:10 +0000 (0:00:00.028) 0:00:14.834 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:26:10 +0000 (0:00:00.025) 0:00:14.860 *********** 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, 4a693b5c-abb6-4885-9dad-97d828156396 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:26:11 +0000 (0:00:00.437) 0:00:15.298 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:26:11 +0000 (0:00:00.022) 0:00:15.320 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:26:11 +0000 (0:00:00.025) 0:00:15.345 *********** 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, 4a693b5c-abb6-4885-9dad-97d828156396 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:26:11 +0000 (0:00:00.021) 0:00:15.367 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:26:11 +0000 (0:00:00.022) 0:00:15.390 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:50 Monday 17 June 2024 14:26:11 +0000 (0:00:00.273) 0:00:15.664 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:63 Monday 17 June 2024 14:26:11 +0000 (0:00:00.022) 0:00:15.687 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:26:11 +0000 (0:00:00.066) 0:00:15.754 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:26:11 +0000 (0:00:00.035) 0:00:15.789 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:26:11 +0000 (0:00:00.035) 0:00:15.824 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:26:11 +0000 (0:00:00.021) 0:00:15.845 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:26:11 +0000 (0:00:00.021) 0:00:15.867 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:26:14 +0000 (0:00:02.232) 0:00:18.100 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:26:14 +0000 (0:00:00.818) 0:00:18.918 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:26:14 +0000 (0:00:00.027) 0:00:18.946 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:26:14 +0000 (0:00:00.023) 0:00:18.969 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:26:15 +0000 (0:00:00.021) 0:00:18.991 *********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:26:15 +0000 (0:00:00.035) 0:00:19.026 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:26:15 +0000 (0:00:00.028) 0:00:19.055 *********** 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 : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:26:15 +0000 (0:00:00.089) 0:00:19.144 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:26:15 +0000 (0:00:00.054) 0:00:19.199 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:26:15 +0000 (0:00:00.022) 0:00:19.221 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:26:15 +0000 (0:00:00.028) 0:00:19.249 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:26:15 +0000 (0:00:00.042) 0:00:19.292 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:26:15 +0000 (0:00:00.469) 0:00:19.761 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:26:15 +0000 (0:00:00.038) 0:00:19.800 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:26:15 +0000 (0:00:00.026) 0:00:19.827 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:26:15 +0000 (0:00:00.028) 0:00:19.856 *********** 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, 4a693b5c-abb6-4885-9dad-97d828156396 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 (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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:26:16 +0000 (0:00:00.481) 0:00:20.337 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:26:16 +0000 (0:00:00.022) 0:00:20.360 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 (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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:26:16 +0000 (0:00:00.021) 0:00:20.382 *********** 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, 4a693b5c-abb6-4885-9dad-97d828156396\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 (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, 4a693b5c-abb6-4885-9dad-97d828156396", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 (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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:26:16 +0000 (0:00:00.021) 0:00:20.403 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:26:16 +0000 (0:00:00.021) 0:00:20.425 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:67 Monday 17 June 2024 14:26:16 +0000 (0:00:00.248) 0:00:20.674 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:70 Monday 17 June 2024 14:26:16 +0000 (0:00:00.048) 0:00:20.722 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:26:16 +0000 (0:00:00.049) 0:00:20.771 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:26:16 +0000 (0:00:00.035) 0:00:20.806 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:26:16 +0000 (0:00:00.033) 0:00:20.840 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:26:16 +0000 (0:00:00.033) 0:00:20.874 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:26:16 +0000 (0:00:00.026) 0:00:20.900 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:26:19 +0000 (0:00:02.202) 0:00:23.102 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:26:19 +0000 (0:00:00.814) 0:00:23.917 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:26:19 +0000 (0:00:00.028) 0:00:23.945 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:26:19 +0000 (0:00:00.022) 0:00:23.968 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:26:20 +0000 (0:00:00.023) 0:00:23.991 *********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:26:20 +0000 (0:00:00.066) 0:00:24.058 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:26:20 +0000 (0:00:00.029) 0:00:24.087 *********** 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 : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:26:20 +0000 (0:00:00.033) 0:00:24.121 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:26:20 +0000 (0:00:00.059) 0:00:24.181 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:26:20 +0000 (0:00:00.024) 0:00:24.206 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:26:20 +0000 (0:00:00.029) 0:00:24.235 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:26:20 +0000 (0:00:00.039) 0:00:24.275 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:26:20 +0000 (0:00:00.503) 0:00:24.779 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:26:20 +0000 (0:00:00.042) 0:00:24.822 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:26:20 +0000 (0:00:00.032) 0:00:24.855 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:26:20 +0000 (0:00:00.042) 0:00:24.897 *********** 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, 4a693b5c-abb6-4885-9dad-97d828156396 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:26:21 +0000 (0:00:00.468) 0:00:25.365 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:26:21 +0000 (0:00:00.024) 0:00:25.390 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:26:21 +0000 (0:00:00.023) 0:00:25.413 *********** 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, 4a693b5c-abb6-4885-9dad-97d828156396 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 4a693b5c-abb6-4885-9dad-97d828156396 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:26:21 +0000 (0:00:00.023) 0:00:25.437 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:26:21 +0000 (0:00:00.024) 0:00:25.462 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:74 Monday 17 June 2024 14:26:21 +0000 (0:00:00.278) 0:00:25.740 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:82 Monday 17 June 2024 14:26:21 +0000 (0:00:00.024) 0:00:25.764 *********** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 17 June 2024 14:26:21 +0000 (0:00:00.039) 0:00:25.804 *********** included: /WORKDIR/git-tft-tests6kb378cw/.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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 17 June 2024 14:26:21 +0000 (0:00:00.034) 0:00:25.839 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 17 June 2024 14:26:21 +0000 (0:00:00.033) 0:00:25.872 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 17 June 2024 14:26:21 +0000 (0:00:00.023) 0:00:25.896 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 17 June 2024 14:26:21 +0000 (0:00:00.024) 0:00:25.920 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 17 June 2024 14:26:24 +0000 (0:00:02.255) 0:00:28.176 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 17 June 2024 14:26:25 +0000 (0:00:00.819) 0:00:28.996 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 17 June 2024 14:26:25 +0000 (0:00:00.030) 0:00:29.026 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 17 June 2024 14:26:25 +0000 (0:00:00.055) 0:00:29.081 *********** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 17 June 2024 14:26:25 +0000 (0:00:00.023) 0:00:29.105 *********** 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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:37 Monday 17 June 2024 14:26:25 +0000 (0:00:00.035) 0:00:29.140 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:49 Monday 17 June 2024 14:26:25 +0000 (0:00:00.028) 0:00:29.169 *********** 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 : Install packages] ******************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Monday 17 June 2024 14:26:25 +0000 (0:00:00.034) 0:00:29.203 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:74 Monday 17 June 2024 14:26:25 +0000 (0:00:00.056) 0:00:29.260 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 17 June 2024 14:26:25 +0000 (0:00:00.024) 0:00:29.284 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:98 Monday 17 June 2024 14:26:25 +0000 (0:00:00.023) 0:00:29.308 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 Monday 17 June 2024 14:26:25 +0000 (0:00:00.034) 0:00:29.343 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 17 June 2024 14:26:25 +0000 (0:00:00.483) 0:00:29.826 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 17 June 2024 14:26:25 +0000 (0:00:00.043) 0:00:29.870 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 17 June 2024 14:26:25 +0000 (0:00:00.028) 0:00:29.898 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 Monday 17 June 2024 14:26:25 +0000 (0:00:00.027) 0:00:29.926 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Monday 17 June 2024 14:26:26 +0000 (0:00:00.531) 0:00:30.458 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:166 Monday 17 June 2024 14:26:26 +0000 (0:00:00.026) 0:00:30.485 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:170 Monday 17 June 2024 14:26:26 +0000 (0:00:00.038) 0:00:30.523 *********** 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-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Monday 17 June 2024 14:26:26 +0000 (0:00:00.034) 0:00:30.557 *********** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 17 June 2024 14:26:26 +0000 (0:00:00.070) 0:00:30.628 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:91 Monday 17 June 2024 14:26:26 +0000 (0:00:00.252) 0:00:30.880 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:3 Monday 17 June 2024 14:26:26 +0000 (0:00:00.040) 0:00:30.921 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:8 Monday 17 June 2024 14:26:26 +0000 (0:00:00.022) 0:00:30.944 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:13 Monday 17 June 2024 14:26:26 +0000 (0:00:00.020) 0:00:30.964 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:26:27 +0000 (0:00:00.033) 0:00:30.998 *********** included: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:26:27 +0000 (0:00:00.037) 0:00:31.036 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003728", "end": "2024-06-17 14:26:27.282198", "rc": 0, "start": "2024-06-17 14:26:27.278470" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:26:27 +0000 (0:00:00.253) 0:00:31.289 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:26:27 +0000 (0:00:00.023) 0:00:31.313 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:16 Monday 17 June 2024 14:26:27 +0000 (0:00:00.022) 0:00:31.335 *********** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:27 Monday 17 June 2024 14:26:29 +0000 (0:00:02.339) 0:00:33.674 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:35 Monday 17 June 2024 14:26:29 +0000 (0:00:00.025) 0:00:33.700 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:43 Monday 17 June 2024 14:26:29 +0000 (0:00:00.045) 0:00:33.745 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.009170", "end": "2024-06-17 14:26:29.999196", "rc": 0, "start": "2024-06-17 14:26:29.990026" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:49 Monday 17 June 2024 14:26:30 +0000 (0:00:00.266) 0:00:34.011 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:54 Monday 17 June 2024 14:26:30 +0000 (0:00:00.020) 0:00:34.032 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:60 Monday 17 June 2024 14:26:30 +0000 (0:00:00.019) 0:00:34.051 *********** 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-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:65 Monday 17 June 2024 14:26:30 +0000 (0:00:00.019) 0:00:34.071 *********** 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=100 rescued=0 ignored=0 Monday 17 June 2024 14:26:30 +0000 (0:00:00.050) 0:00:34.121 *********** =============================================================================== Install iproute --------------------------------------------------------- 2.34s /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:16 ------- fedora.linux_system_roles.network : Check which services are running ---- 2.33s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Install iproute --------------------------------------------------------- 2.30s /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:16 ------- fedora.linux_system_roles.network : Check which services are running ---- 2.26s /WORKDIR/git-tft-tests6kb378cw/.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.23s /WORKDIR/git-tft-tests6kb378cw/.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.20s /WORKDIR/git-tft-tests6kb378cw/.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.19s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-tft-tests6kb378cw/tests/tests_change_indication_on_repeat_run.yml:4 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-tft-tests6kb378cw/.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.82s /WORKDIR/git-tft-tests6kb378cw/.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.82s /WORKDIR/git-tft-tests6kb378cw/.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.81s /WORKDIR/git-tft-tests6kb378cw/.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.81s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Create veth interface testnic1 ------------------------------------------ 0.76s /WORKDIR/git-tft-tests6kb378cw/tests/tasks/manage_test_interface.yml:27 ------- fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.62s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.61s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.53s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.50s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.48s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:111 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.48s /WORKDIR/git-tft-tests6kb378cw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:148 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---