# 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-bond_options_rewriteywx070s0/.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-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:4 Wednesday 31 January 2024 21:37:15 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:13 Wednesday 31 January 2024 21:37:15 +0000 (0:00:00.836) 0:00:00.852 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:18 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.259) 0:00:01.111 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:21 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.018) 0:00:01.129 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.015) 0:00:01.144 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.010) 0:00:01.155 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.011) 0:00:01.166 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.017) 0:00:01.184 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.012) 0:00:01.196 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003407", "end": "2024-01-31 21:37:16.461205", "rc": 0, "start": "2024-01-31 21:37:16.457798" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.271) 0:00:01.467 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.012) 0:00:01.480 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 21:37:16 +0000 (0:00:00.011) 0:00:01.491 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 21:37:17 +0000 (0:00:00.993) 0:00:02.485 ***** 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.009015", "end": "2024-01-31 21:37:17.679427", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2024-01-31 21:37:17.670412" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003680", "end": "2024-01-31 21:37:17.900625", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2024-01-31 21:37:17.896945" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004135", "end": "2024-01-31 21:37:18.086963", "item": "ip link set testnic1 up", "rc": 0, "start": "2024-01-31 21:37:18.082828" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.610) 0:00:03.096 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.022682", "end": "2024-01-31 21:37:18.299803", "rc": 0, "start": "2024-01-31 21:37:18.277121" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.212) 0:00:03.308 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.010) 0:00:03.318 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.009) 0:00:03.327 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.009) 0:00:03.337 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.009) 0:00:03.346 ***** 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-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:25 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.008) 0:00:03.354 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/assert_device_present.yml:3 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.012) 0:00:03.366 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/get_interface_stat.yml:3 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.012) 0:00:03.379 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1706737037.673932, "block_size": 4096, "blocks": 0, "ctime": 1706737037.673932, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31338, "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": 1706737037.673932, "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-bond_options_rewriteywx070s0/tests/tasks/assert_device_present.yml:5 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.189) 0:00:03.568 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:39 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.012) 0:00:03.581 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.026) 0:00:03.607 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/.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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.018) 0:00:03.626 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.020) 0:00:03.647 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.012) 0:00:03.659 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 21:37:18 +0000 (0:00:00.012) 0:00:03.672 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 21:37:20 +0000 (0:00:01.505) 0:00:05.177 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 21:37:21 +0000 (0:00:01.154) 0:00:06.332 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 21:37:21 +0000 (0:00:00.030) 0:00:06.362 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 21:37:21 +0000 (0:00:00.024) 0:00:06.386 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 21:37:21 +0000 (0:00:00.025) 0:00:06.411 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 21:37:21 +0000 (0:00:00.067) 0:00:06.479 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 21:37:21 +0000 (0:00:00.024) 0:00:06.503 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 21:37:21 +0000 (0:00:00.023) 0:00:06.527 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 21:37:21 +0000 (0:00:00.038) 0:00:06.565 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 21:37:22 +0000 (0:00:00.608) 0:00:07.173 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 21:37:22 +0000 (0:00:00.045) 0:00:07.219 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 21:37:22 +0000 (0:00:00.028) 0:00:07.247 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 21:37:22 +0000 (0:00:00.070) 0:00:07.318 ***** 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, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 21:37:22 +0000 (0:00:00.589) 0:00:07.907 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 21:37:22 +0000 (0:00:00.024) 0:00:07.931 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 21:37:22 +0000 (0:00:00.023) 0:00:07.955 ***** 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, 77b8d03b-e4b4-43ed-b43d-5ed372761d48\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 21:37:22 +0000 (0:00:00.023) 0:00:07.979 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 21:37:23 +0000 (0:00:00.023) 0:00:08.002 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:43 Wednesday 31 January 2024 21:37:23 +0000 (0:00:00.277) 0:00:08.280 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:46 Wednesday 31 January 2024 21:37:23 +0000 (0:00:00.024) 0:00:08.304 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 21:37:23 +0000 (0:00:00.049) 0:00:08.354 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/.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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 21:37:23 +0000 (0:00:00.037) 0:00:08.392 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 21:37:23 +0000 (0:00:00.035) 0:00:08.428 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 21:37:23 +0000 (0:00:00.023) 0:00:08.451 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 21:37:23 +0000 (0:00:00.022) 0:00:08.474 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 21:37:24 +0000 (0:00:01.452) 0:00:09.926 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 21:37:25 +0000 (0:00:01.025) 0:00:10.951 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 21:37:25 +0000 (0:00:00.034) 0:00:10.986 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.023) 0:00:11.009 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.023) 0:00:11.033 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.067) 0:00:11.100 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.025) 0:00:11.126 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.024) 0:00:11.150 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.040) 0:00:11.191 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.418) 0:00:11.610 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.046) 0:00:11.656 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.030) 0:00:11.687 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 21:37:26 +0000 (0:00:00.026) 0:00:11.714 ***** 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, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.381) 0:00:12.096 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.026) 0:00:12.122 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.024) 0:00:12.146 ***** 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, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.024) 0:00:12.171 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.025) 0:00:12.197 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:50 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.231) 0:00:12.429 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:63 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.027) 0:00:12.456 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.042) 0:00:12.499 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/.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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.039) 0:00:12.539 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.036) 0:00:12.575 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.035) 0:00:12.611 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 21:37:27 +0000 (0:00:00.035) 0:00:12.646 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 21:37:29 +0000 (0:00:01.436) 0:00:14.083 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.959) 0:00:15.042 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.031) 0:00:15.074 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.024) 0:00:15.098 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.024) 0:00:15.123 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.090) 0:00:15.214 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.024) 0:00:15.238 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.023) 0:00:15.262 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.036) 0:00:15.299 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.402) 0:00:15.701 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.045) 0:00:15.746 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.028) 0:00:15.775 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 21:37:30 +0000 (0:00:00.027) 0:00:15.803 ***** 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, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 (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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.395) 0:00:16.198 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.024) 0:00:16.223 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 (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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.024) 0:00:16.247 ***** 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, 77b8d03b-e4b4-43ed-b43d-5ed372761d48\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 (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, 77b8d03b-e4b4-43ed-b43d-5ed372761d48", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 (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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.023) 0:00:16.271 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.024) 0:00:16.295 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:67 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.204) 0:00:16.500 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:70 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.025) 0:00:16.526 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.051) 0:00:16.578 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/.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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.065) 0:00:16.643 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.037) 0:00:16.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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.025) 0:00:16.706 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 21:37:31 +0000 (0:00:00.024) 0:00:16.731 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 21:37:33 +0000 (0:00:01.483) 0:00:18.214 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.978) 0:00:19.193 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.040) 0:00:19.233 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.036) 0:00:19.270 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.026) 0:00:19.296 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.070) 0:00:19.367 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.025) 0:00:19.393 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.024) 0:00:19.417 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.038) 0:00:19.455 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.394) 0:00:19.849 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.045) 0:00:19.894 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.050) 0:00:19.945 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 21:37:34 +0000 (0:00:00.027) 0:00:19.973 ***** 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, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.380) 0:00:20.353 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.026) 0:00:20.380 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.025) 0:00:20.406 ***** 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, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 77b8d03b-e4b4-43ed-b43d-5ed372761d48 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.025) 0:00:20.431 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.026) 0:00:20.457 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:74 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.205) 0:00:20.662 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:82 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.026) 0:00:20.689 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.048) 0:00:20.737 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/.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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.040) 0:00:20.778 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.038) 0:00:20.816 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.025) 0:00:20.842 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 31 January 2024 21:37:35 +0000 (0:00:00.025) 0:00:20.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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 31 January 2024 21:37:37 +0000 (0:00:01.440) 0:00:22.308 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 31 January 2024 21:37:38 +0000 (0:00:01.014) 0:00:23.322 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 31 January 2024 21:37:38 +0000 (0:00:00.032) 0:00:23.354 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 31 January 2024 21:37:38 +0000 (0:00:00.023) 0:00:23.377 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 31 January 2024 21:37:38 +0000 (0:00:00.023) 0:00:23.401 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:39 Wednesday 31 January 2024 21:37:38 +0000 (0:00:00.064) 0:00:23.465 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:50 Wednesday 31 January 2024 21:37:38 +0000 (0:00:00.027) 0:00:23.493 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:62 Wednesday 31 January 2024 21:37:38 +0000 (0:00:00.028) 0:00:23.522 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 Wednesday 31 January 2024 21:37:38 +0000 (0:00:00.039) 0:00:23.561 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:86 Wednesday 31 January 2024 21:37:38 +0000 (0:00:00.415) 0:00:23.977 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:95 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.045) 0:00:24.023 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:103 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.027) 0:00:24.051 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.027) 0:00:24.078 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.442) 0:00:24.520 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:130 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.034) 0:00:24.554 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:134 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.032) 0:00:24.587 ***** 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-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.028) 0:00:24.616 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:145 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.025) 0:00:24.641 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:91 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.230) 0:00:24.872 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:3 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.039) 0:00:24.911 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:8 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.020) 0:00:24.932 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:13 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.021) 0:00:24.953 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/show_interfaces.yml:3 Wednesday 31 January 2024 21:37:39 +0000 (0:00:00.035) 0:00:24.988 ***** included: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/get_current_interfaces.yml:3 Wednesday 31 January 2024 21:37:40 +0000 (0:00:00.033) 0:00:25.022 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003443", "end": "2024-01-31 21:37:40.207956", "rc": 0, "start": "2024-01-31 21:37:40.204513" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/get_current_interfaces.yml:9 Wednesday 31 January 2024 21:37:40 +0000 (0:00:00.210) 0:00:25.233 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/show_interfaces.yml:5 Wednesday 31 January 2024 21:37:40 +0000 (0:00:00.033) 0:00:25.266 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:16 Wednesday 31 January 2024 21:37:40 +0000 (0:00:00.024) 0:00:25.291 ***** ok: [sut] => { "attempts": 1, "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:27 Wednesday 31 January 2024 21:37:41 +0000 (0:00:00.890) 0:00:26.181 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:35 Wednesday 31 January 2024 21:37:41 +0000 (0:00:00.028) 0:00:26.210 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:43 Wednesday 31 January 2024 21:37:41 +0000 (0:00:00.021) 0:00:26.231 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.018477", "end": "2024-01-31 21:37:41.429794", "rc": 0, "start": "2024-01-31 21:37:41.411317" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:49 Wednesday 31 January 2024 21:37:41 +0000 (0:00:00.218) 0:00:26.450 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:54 Wednesday 31 January 2024 21:37:41 +0000 (0:00:00.022) 0:00:26.472 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:60 Wednesday 31 January 2024 21:37:41 +0000 (0:00:00.046) 0:00:26.519 ***** 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-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:65 Wednesday 31 January 2024 21:37:41 +0000 (0:00:00.022) 0:00:26.541 ***** 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 Wednesday 31 January 2024 21:37:41 +0000 (0:00:00.056) 0:00:26.597 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.51s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.48s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.99s /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-bond_options_rewriteywx070s0/.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.96s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install iproute --------------------------------------------------------- 0.89s /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:16 Gathering Facts --------------------------------------------------------- 0.84s /WORKDIR/git-bond_options_rewriteywx070s0/tests/tests_change_indication_on_repeat_run.yml:4 Create veth interface testnic1 ------------------------------------------ 0.61s /WORKDIR/git-bond_options_rewriteywx070s0/tests/tasks/manage_test_interface.yml:27 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.61s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.59s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:112 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.42s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.42s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.40s /WORKDIR/git-bond_options_rewriteywx070s0/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:75 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---