# 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.16p25wij7o/.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.16p25wij7o/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.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:4 Thursday 21 December 2023 15:59:31 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:13 Thursday 21 December 2023 15:59:32 +0000 (0:00:00.867) 0:00:00.879 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:18 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.251) 0:00:01.130 ***** 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.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:21 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.013) 0:00:01.143 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.011) 0:00:01.155 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.008) 0:00:01.163 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.008) 0:00:01.172 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/show_interfaces.yml:3 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.010) 0:00:01.183 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.015) 0:00:01.198 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003412", "end": "2023-12-21 15:59:33.319971", "rc": 0, "start": "2023-12-21 15:59:33.316559" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.257) 0:00:01.456 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/show_interfaces.yml:5 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.010) 0:00:01.466 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 15:59:33 +0000 (0:00:00.009) 0:00:01.476 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 15:59:36 +0000 (0:00:03.200) 0:00:04.676 ***** 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.009774", "end": "2023-12-21 15:59:36.744687", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2023-12-21 15:59:36.734913" } ok: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004032", "end": "2023-12-21 15:59:36.979635", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2023-12-21 15:59:36.975603" } ok: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004377", "end": "2023-12-21 15:59:37.168135", "item": "ip link set testnic1 up", "rc": 0, "start": "2023-12-21 15:59:37.163758" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.628) 0:00:05.304 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.024562", "end": "2023-12-21 15:59:37.385160", "rc": 0, "start": "2023-12-21 15:59:37.360598" } TASK [Delete veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.217) 0:00:05.522 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.008) 0:00:05.530 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.007) 0:00:05.538 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.007) 0:00:05.546 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.007) 0:00:05.553 ***** 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.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:25 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.007) 0:00:05.561 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/assert_device_present.yml:3 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.010) 0:00:05.571 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.009) 0:00:05.580 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703174376.7389205, "block_size": 4096, "blocks": 0, "ctime": 1703174376.7389205, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30176, "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": 1703174376.7389205, "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.16p25wij7o/tests/tasks/assert_device_present.yml:5 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.190) 0:00:05.770 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:39 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.010) 0:00:05.781 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.020) 0:00:05.801 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.014) 0:00:05.815 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.017) 0:00:05.832 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.010) 0:00:05.843 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 15:59:37 +0000 (0:00:00.010) 0:00:05.854 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 15:59:39 +0000 (0:00:01.706) 0:00:07.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 : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 15:59:40 +0000 (0:00:01.498) 0:00:09.059 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 15:59:40 +0000 (0:00:00.026) 0:00:09.086 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 15:59:40 +0000 (0:00:00.022) 0:00:09.109 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 15:59:41 +0000 (0:00:00.021) 0:00:09.131 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 15:59:41 +0000 (0:00:00.054) 0:00:09.185 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 15:59:41 +0000 (0:00:00.020) 0:00:09.205 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 15:59:41 +0000 (0:00:00.020) 0:00:09.226 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 15:59:41 +0000 (0:00:00.031) 0:00:09.258 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 15:59:41 +0000 (0:00:00.568) 0:00:09.827 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 15:59:41 +0000 (0:00:00.056) 0:00:09.884 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 15:59:41 +0000 (0:00:00.024) 0:00:09.908 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 15:59:41 +0000 (0:00:00.024) 0:00:09.933 ***** 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, 75b98381-d68e-4d33-af76-d7ff81cb0514 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.565) 0:00:10.498 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.020) 0:00:10.519 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.020) 0:00:10.540 ***** 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, 75b98381-d68e-4d33-af76-d7ff81cb0514\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.021) 0:00:10.561 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.020) 0:00:10.581 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:43 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.294) 0:00:10.876 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:46 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.020) 0:00:10.896 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.042) 0:00:10.938 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.032) 0:00:10.971 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.032) 0:00:11.003 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.046) 0:00:11.049 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 15:59:42 +0000 (0:00:00.021) 0:00:11.071 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 15:59:44 +0000 (0:00:01.622) 0:00:12.693 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 15:59:45 +0000 (0:00:01.344) 0:00:14.038 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 15:59:45 +0000 (0:00:00.026) 0:00:14.064 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 15:59:45 +0000 (0:00:00.021) 0:00:14.085 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 15:59:45 +0000 (0:00:00.022) 0:00:14.107 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 15:59:46 +0000 (0:00:00.056) 0:00:14.164 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 15:59:46 +0000 (0:00:00.022) 0:00:14.187 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 15:59:46 +0000 (0:00:00.021) 0:00:14.208 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 15:59:46 +0000 (0:00:00.035) 0:00:14.244 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 15:59:46 +0000 (0:00:00.396) 0:00:14.640 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 15:59:46 +0000 (0:00:00.038) 0:00:14.678 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 15:59:46 +0000 (0:00:00.025) 0:00:14.704 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 15:59:46 +0000 (0:00:00.057) 0:00:14.762 ***** 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, 75b98381-d68e-4d33-af76-d7ff81cb0514 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.363) 0:00:15.125 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.022) 0:00:15.148 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.021) 0:00:15.169 ***** 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, 75b98381-d68e-4d33-af76-d7ff81cb0514 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.021) 0:00:15.191 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.020) 0:00:15.212 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:50 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.208) 0:00:15.421 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:63 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.024) 0:00:15.446 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.039) 0:00:15.485 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.062) 0:00:15.547 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.037) 0:00:15.585 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.032) 0:00:15.617 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 15:59:47 +0000 (0:00:00.026) 0:00:15.644 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 15:59:49 +0000 (0:00:01.629) 0:00:17.274 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 15:59:50 +0000 (0:00:01.345) 0:00:18.619 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 15:59:50 +0000 (0:00:00.035) 0:00:18.655 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 15:59:50 +0000 (0:00:00.027) 0:00:18.683 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 15:59:50 +0000 (0:00:00.022) 0:00:18.705 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 15:59:50 +0000 (0:00:00.054) 0:00:18.759 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 15:59:50 +0000 (0:00:00.022) 0:00:18.782 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 15:59:50 +0000 (0:00:00.022) 0:00:18.804 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 15:59:50 +0000 (0:00:00.035) 0:00:18.840 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.394) 0:00:19.235 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.040) 0:00:19.275 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.024) 0:00:19.299 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.024) 0:00:19.324 ***** 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, 75b98381-d68e-4d33-af76-d7ff81cb0514 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 (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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.421) 0:00:19.746 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.025) 0:00:19.771 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 (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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.051) 0:00:19.823 ***** 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, 75b98381-d68e-4d33-af76-d7ff81cb0514\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 (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, 75b98381-d68e-4d33-af76-d7ff81cb0514", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 (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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.022) 0:00:19.845 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.021) 0:00:19.866 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:67 Thursday 21 December 2023 15:59:51 +0000 (0:00:00.227) 0:00:20.094 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:70 Thursday 21 December 2023 15:59:52 +0000 (0:00:00.051) 0:00:20.146 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 15:59:52 +0000 (0:00:00.050) 0:00:20.196 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:59:52 +0000 (0:00:00.038) 0:00:20.235 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 15:59:52 +0000 (0:00:00.035) 0:00:20.271 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 15:59:52 +0000 (0:00:00.022) 0:00:20.293 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 15:59:52 +0000 (0:00:00.020) 0:00:20.313 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 15:59:53 +0000 (0:00:01.643) 0:00:21.957 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 15:59:55 +0000 (0:00:01.406) 0:00:23.364 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.026) 0:00:23.390 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.020) 0:00:23.411 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.020) 0:00:23.431 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.065) 0:00:23.496 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.026) 0:00:23.523 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.025) 0:00:23.549 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.054) 0:00:23.604 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.401) 0:00:24.006 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.038) 0:00:24.044 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.035) 0:00:24.080 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 15:59:55 +0000 (0:00:00.038) 0:00:24.118 ***** 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, 75b98381-d68e-4d33-af76-d7ff81cb0514 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.362) 0:00:24.481 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.023) 0:00:24.504 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.022) 0:00:24.527 ***** 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, 75b98381-d68e-4d33-af76-d7ff81cb0514 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 75b98381-d68e-4d33-af76-d7ff81cb0514 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.020) 0:00:24.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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.047) 0:00:24.595 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:74 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.207) 0:00:24.803 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the network role] ************************************************ task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:82 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.022) 0:00:24.825 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.037) 0:00:24.863 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.036) 0:00:24.899 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.032) 0:00:24.931 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.022) 0:00:24.954 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 15:59:56 +0000 (0:00:00.022) 0:00:24.976 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 15:59:58 +0000 (0:00:01.640) 0:00:26.617 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 15:59:59 +0000 (0:00:01.401) 0:00:28.018 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 15:59:59 +0000 (0:00:00.056) 0:00:28.075 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 15:59:59 +0000 (0:00:00.022) 0:00:28.097 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:00:00 +0000 (0:00:00.024) 0:00:28.122 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:00:00 +0000 (0:00:00.055) 0:00:28.178 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:00:00 +0000 (0:00:00.022) 0:00:28.200 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:00:00 +0000 (0:00:00.024) 0:00:28.225 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:00:00 +0000 (0:00:00.039) 0:00:28.264 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:00:00 +0000 (0:00:00.404) 0:00:28.668 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:00:00 +0000 (0:00:00.043) 0:00:28.712 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:00:00 +0000 (0:00:00.039) 0:00:28.752 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:00:00 +0000 (0:00:00.026) 0:00:28.778 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.466) 0:00:29.245 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.022) 0:00:29.267 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.021) 0:00:29.289 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.021) 0:00:29.311 ***** 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.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.020) 0:00:29.331 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'manage_test_interface.yml'] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:91 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.247) 0:00:29.579 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:3 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.043) 0:00:29.622 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:8 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.029) 0:00:29.652 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:13 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.050) 0:00:29.702 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.040) 0:00:29.743 ***** included: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.044) 0:00:29.787 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003544", "end": "2023-12-21 16:00:01.853363", "rc": 0, "start": "2023-12-21 16:00:01.849819" } STDOUT: bonding_masters eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.222) 0:00:30.010 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.022) 0:00:30.032 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:16 Thursday 21 December 2023 16:00:01 +0000 (0:00:00.020) 0:00:30.052 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:23 Thursday 21 December 2023 16:00:05 +0000 (0:00:03.145) 0:00:33.198 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:31 Thursday 21 December 2023 16:00:05 +0000 (0:00:00.023) 0:00:33.222 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:39 Thursday 21 December 2023 16:00:05 +0000 (0:00:00.018) 0:00:33.240 ***** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.013226", "end": "2023-12-21 16:00:05.309128", "rc": 0, "start": "2023-12-21 16:00:05.295902" } TASK [Create dummy interface testnic1] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:45 Thursday 21 December 2023 16:00:05 +0000 (0:00:00.217) 0:00:33.458 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:50 Thursday 21 December 2023 16:00:05 +0000 (0:00:00.018) 0:00:33.476 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:56 Thursday 21 December 2023 16:00:05 +0000 (0:00:00.041) 0:00:33.518 ***** 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.16p25wij7o/tests/tasks/manage_test_interface.yml:61 Thursday 21 December 2023 16:00:05 +0000 (0:00:00.019) 0:00:33.538 ***** 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:00:05 +0000 (0:00:00.049) 0:00:33.587 ***** =============================================================================== Install iproute --------------------------------------------------------- 3.20s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:16 Install iproute --------------------------------------------------------- 3.15s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:16 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.63s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.62s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.50s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.41s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.40s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.35s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.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.34s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.87s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tests_change_indication_on_repeat_run.yml:4 Create veth interface testnic1 ------------------------------------------ 0.63s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/tests/tasks/manage_test_interface.yml:23 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.57s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.42s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.40s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.40s /WORKDIR/git-ansible-lint-test-2.16p25wij7o/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---