# 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-ansible-lint-test-2.160g_yl_ag/.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-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:4 Thursday 21 December 2023 16:16:35 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:13 Thursday 21 December 2023 16:16:36 +0000 (0:00:00.675) 0:00:00.686 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:18 Thursday 21 December 2023 16:16:36 +0000 (0:00:00.182) 0:00:00.869 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:21 Thursday 21 December 2023 16:16:36 +0000 (0:00:00.013) 0:00:00.882 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:16:36 +0000 (0:00:00.011) 0:00:00.894 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:16:36 +0000 (0:00:00.008) 0:00:00.902 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:16:36 +0000 (0:00:00.007) 0:00:00.909 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:16:36 +0000 (0:00:00.010) 0:00:00.919 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:16:36 +0000 (0:00:00.009) 0:00:00.929 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003654", "end": "2023-12-21 16:16:37.069092", "rc": 0, "start": "2023-12-21 16:16:37.065438" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:16:37 +0000 (0:00:00.180) 0:00:01.109 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:16:37 +0000 (0:00:00.010) 0:00:01.119 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:16:37 +0000 (0:00:00.010) 0:00:01.130 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 16:16:42 +0000 (0:00:05.458) 0:00:06.588 ***** 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.011594", "end": "2023-12-21 16:16:42.683314", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-12-21 16:16:42.671720" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.006559", "end": "2023-12-21 16:16:42.813247", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-12-21 16:16:42.806688" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.007055", "end": "2023-12-21 16:16:42.934720", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-12-21 16:16:42.927665" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 16:16:42 +0000 (0:00:00.390) 0:00:06.978 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.025572", "end": "2023-12-21 16:16:43.084213", "rc": 0, "start": "2023-12-21 16:16:43.058641" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.148) 0:00:07.127 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.008) 0:00:07.135 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.007) 0:00:07.143 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.007) 0:00:07.150 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.007) 0:00:07.158 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:25 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.007) 0:00:07.165 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.009) 0:00:07.175 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.009) 0:00:07.184 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703175402.6863146, "block_size": 4096, "blocks": 0, "ctime": 1703175402.6863146, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17562, "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": 1703175402.6863146, "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-ansible-lint-test-2.160g_yl_ag/tests/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.122) 0:00:07.306 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:39 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.009) 0:00:07.316 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.020) 0:00:07.336 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.014) 0:00:07.351 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.017) 0:00:07.368 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.009) 0:00:07.378 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:16:43 +0000 (0:00:00.009) 0:00:07.388 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:16:44 +0000 (0:00:00.857) 0:00:08.246 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.810) 0:00:09.056 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.023) 0:00:09.080 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.019) 0:00:09.099 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.019) 0:00:09.119 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.054) 0:00:09.173 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.019) 0:00:09.193 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.019) 0:00:09.213 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.030) 0:00:09.243 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.426) 0:00:09.670 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.036) 0:00:09.706 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.021) 0:00:09.727 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:16:45 +0000 (0:00:00.040) 0:00:09.768 ***** 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, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.485) 0:00:10.254 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.019) 0:00:10.274 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.019) 0:00:10.293 ***** 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, b62b6c6c-59b8-43c6-96ce-9c86b1147b27\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.018) 0:00:10.312 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.019) 0:00:10.332 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:43 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.193) 0:00:10.525 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:46 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.020) 0:00:10.545 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.039) 0:00:10.585 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.029) 0:00:10.614 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.027) 0:00:10.642 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.019) 0:00:10.662 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:16:46 +0000 (0:00:00.018) 0:00:10.681 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:16:47 +0000 (0:00:00.790) 0:00:11.471 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.709) 0:00:12.181 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.024) 0:00:12.205 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.019) 0:00:12.224 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.021) 0:00:12.246 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.051) 0:00:12.298 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.019) 0:00:12.317 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.019) 0:00:12.337 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.031) 0:00:12.369 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.251) 0:00:12.620 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.035) 0:00:12.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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.023) 0:00:12.679 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.023) 0:00:12.703 ***** 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, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:16:48 +0000 (0:00:00.313) 0:00:13.016 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.020) 0:00:13.036 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.019) 0:00:13.056 ***** 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, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.019) 0:00:13.075 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.019) 0:00:13.095 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:50 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.164) 0:00:13.259 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:63 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.022) 0:00:13.281 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.035) 0:00:13.316 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.031) 0:00:13.348 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.029) 0:00:13.377 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.019) 0:00:13.397 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:16:49 +0000 (0:00:00.019) 0:00:13.416 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:16:50 +0000 (0:00:00.786) 0:00:14.203 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:16:50 +0000 (0:00:00.672) 0:00:14.876 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:16:50 +0000 (0:00:00.026) 0:00:14.903 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:16:50 +0000 (0:00:00.020) 0:00:14.923 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:16:50 +0000 (0:00:00.020) 0:00:14.943 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:16:50 +0000 (0:00:00.052) 0:00:14.996 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:16:50 +0000 (0:00:00.019) 0:00:15.016 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.019) 0:00:15.035 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.055) 0:00:15.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.248) 0:00:15.339 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.035) 0:00:15.375 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.021) 0:00:15.396 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.020) 0:00:15.417 ***** 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, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 (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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.319) 0:00:15.737 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.019) 0:00:15.756 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 (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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.019) 0:00:15.776 ***** 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, b62b6c6c-59b8-43c6-96ce-9c86b1147b27\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 (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, b62b6c6c-59b8-43c6-96ce-9c86b1147b27", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 (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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.019) 0:00:15.796 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.019) 0:00:15.815 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:67 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.135) 0:00:15.950 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:70 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.020) 0:00:15.971 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:16:51 +0000 (0:00:00.040) 0:00:16.011 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:16:52 +0000 (0:00:00.031) 0:00:16.043 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:16:52 +0000 (0:00:00.031) 0:00:16.074 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:16:52 +0000 (0:00:00.021) 0:00:16.095 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:16:52 +0000 (0:00:00.045) 0:00:16.140 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:16:52 +0000 (0:00:00.782) 0:00:16.923 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:16:53 +0000 (0:00:00.660) 0:00:17.583 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:16:53 +0000 (0:00:00.023) 0:00:17.607 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:16:53 +0000 (0:00:00.019) 0:00:17.627 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:16:53 +0000 (0:00:00.020) 0:00:17.647 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:16:53 +0000 (0:00:00.051) 0:00:17.699 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:16:53 +0000 (0:00:00.020) 0:00:17.719 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:16:53 +0000 (0:00:00.019) 0:00:17.739 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:16:53 +0000 (0:00:00.030) 0:00:17.770 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:16:59 +0000 (0:00:05.276) 0:00:23.047 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.037) 0:00:23.084 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.021) 0:00:23.106 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.022) 0:00:23.129 ***** 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, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.333) 0:00:23.462 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.019) 0:00:23.482 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.043) 0:00:23.526 ***** 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, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, b62b6c6c-59b8-43c6-96ce-9c86b1147b27 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.020) 0:00:23.547 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.019) 0:00:23.567 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:74 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.134) 0:00:23.701 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:82 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.020) 0:00:23.722 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.034) 0:00:23.756 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.030) 0:00:23.786 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.029) 0:00:23.815 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.020) 0:00:23.836 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:16:59 +0000 (0:00:00.019) 0:00:23.855 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:17:00 +0000 (0:00:00.795) 0:00:24.651 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:17:01 +0000 (0:00:00.665) 0:00:25.316 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:17:01 +0000 (0:00:00.025) 0:00:25.342 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:17:01 +0000 (0:00:00.049) 0:00:25.392 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:17:01 +0000 (0:00:00.021) 0:00:25.413 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:17:01 +0000 (0:00:00.054) 0:00:25.468 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:17:01 +0000 (0:00:00.019) 0:00:25.487 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:17:01 +0000 (0:00:00.019) 0:00:25.507 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:17:01 +0000 (0:00:00.030) 0:00:25.538 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:17:06 +0000 (0:00:05.312) 0:00:30.850 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:17:06 +0000 (0:00:00.036) 0:00:30.887 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:17:06 +0000 (0:00:00.022) 0:00:30.909 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:17:06 +0000 (0:00:00.022) 0:00:30.932 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.385) 0:00:31.317 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.020) 0:00:31.337 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.019) 0:00:31.357 ***** 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-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.019) 0:00:31.377 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.019) 0:00:31.396 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:91 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.137) 0:00:31.533 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.030) 0:00:31.564 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.016) 0:00:31.580 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.041) 0:00:31.622 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.027) 0:00:31.649 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.025) 0:00:31.675 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003662", "end": "2023-12-21 16:17:07.758818", "rc": 0, "start": "2023-12-21 16:17:07.755156" } STDOUT: bond0 bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.133) 0:00:31.809 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.018) 0:00:31.828 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:17:07 +0000 (0:00:00.018) 0:00:31.846 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 16:17:08 +0000 (0:00:00.326) 0:00:32.173 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 16:17:08 +0000 (0:00:00.024) 0:00:32.198 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 16:17:08 +0000 (0:00:00.017) 0:00:32.215 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.012660", "end": "2023-12-21 16:17:08.311209", "rc": 0, "start": "2023-12-21 16:17:08.298549" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 16:17:08 +0000 (0:00:00.146) 0:00:32.362 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 16:17:08 +0000 (0:00:00.018) 0:00:32.380 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 16:17:08 +0000 (0:00:00.017) 0:00:32.398 ***** 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-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:17:08 +0000 (0:00:00.017) 0:00:32.416 ***** skipping: [sut] => { "changed": false, "false_condition": "type == 'tap' and state == 'absent' and interface in current_interfaces", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=73 changed=3 unreachable=0 failed=0 skipped=85 rescued=0 ignored=0 Thursday 21 December 2023 16:17:08 +0000 (0:00:00.043) 0:00:32.459 ***** =============================================================================== Install iproute --------------------------------------------------------- 5.46s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 5.31s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 5.28s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Check which services are running ---- 0.86s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.81s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.79s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.79s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.78s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.71s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_change_indication_on_repeat_run.yml:4 fedora.linux_system_roles.network : Check which packages are installed --- 0.67s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.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.67s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.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.66s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.43s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Create veth interface testnic1 ------------------------------------------ 0.39s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.33s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Install iproute --------------------------------------------------------- 0.33s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/manage_test_interface.yml:16 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---