# 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.16t_odk5db/.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_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_states_nm.yml:5 Tuesday 19 December 2023 16:01:05 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_states_nm.yml:9 Tuesday 19 December 2023 16:01:06 +0000 (0:00:00.870) 0:00:00.881 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 16:01:06 +0000 (0:00:00.011) 0:00:00.892 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:17 Tuesday 19 December 2023 16:01:06 +0000 (0:00:00.343) 0:00:01.236 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:22 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.244) 0:00:01.480 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:26 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.013) 0:00:01.494 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/el_repo_setup.yml:51 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.007) 0:00:01.502 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.020) 0:00:01.522 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.244) 0:00:01.766 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.008) 0:00:01.775 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.008) 0:00:01.783 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244503", "end": "2023-12-19 16:01:07.821883", "rc": 0, "start": "2023-12-19 16:01:07.577380" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.434) 0:00:02.218 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/tests_states_nm.yml:11 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.007) 0:00:02.225 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_states.yml:3 Tuesday 19 December 2023 16:01:07 +0000 (0:00:00.014) 0:00:02.240 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_states.yml:11 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.708) 0:00:02.949 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_states.yml:22 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.010) 0:00:02.959 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.013) 0:00:02.972 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.009) 0:00:02.982 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.028) 0:00:03.011 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.011) 0:00:03.023 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.015) 0:00:03.038 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003272", "end": "2023-12-19 16:01:08.834919", "rc": 0, "start": "2023-12-19 16:01:08.831647" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.191) 0:00:03.230 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.009) 0:00:03.240 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.009) 0:00:03.249 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 16:01:08 +0000 (0:00:00.014) 0:00:03.264 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008044", "end": "2023-12-19 16:01:09.062911", "rc": 1, "start": "2023-12-19 16:01:09.054867" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.193) 0:00:03.457 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.011) 0:00:03.469 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.189) 0:00:03.658 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.010) 0:00:03.669 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.014) 0:00:03.684 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.022) 0:00:03.706 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.018) 0:00:03.724 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.017) 0:00:03.742 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.010) 0:00:03.753 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:09 +0000 (0:00:00.010) 0:00:03.763 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:11 +0000 (0:00:01.678) 0:00:05.442 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:01:12 +0000 (0:00:01.478) 0:00:06.920 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:01:12 +0000 (0:00:00.021) 0:00:06.942 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:01:12 +0000 (0:00:00.021) 0:00:06.963 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:01:12 +0000 (0:00:00.022) 0:00:06.986 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:01:12 +0000 (0:00:00.050) 0:00:07.036 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:01:12 +0000 (0:00:00.021) 0:00:07.058 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:01:12 +0000 (0:00:00.021) 0:00:07.079 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:01:12 +0000 (0:00:00.052) 0:00:07.132 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:01:13 +0000 (0:00:00.539) 0:00:07.672 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:01:13 +0000 (0:00:00.035) 0:00:07.707 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:01:13 +0000 (0:00:00.018) 0:00:07.726 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:01:13 +0000 (0:00:00.017) 0:00:07.743 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4945d11e-122e-49d5-9c7e-e2614a65c8e5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:01:13 +0000 (0:00:00.512) 0:00:08.255 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:01:13 +0000 (0:00:00.021) 0:00:08.277 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4945d11e-122e-49d5-9c7e-e2614a65c8e5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:01:13 +0000 (0:00:00.021) 0:00:08.299 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4945d11e-122e-49d5-9c7e-e2614a65c8e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4945d11e-122e-49d5-9c7e-e2614a65c8e5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:01:13 +0000 (0:00:00.022) 0:00:08.322 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:01:13 +0000 (0:00:00.022) 0:00:08.344 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.293) 0:00:08.637 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4945d11e-122e-49d5-9c7e-e2614a65c8e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4945d11e-122e-49d5-9c7e-e2614a65c8e5" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.021) 0:00:08.658 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.034) 0:00:08.693 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.033) 0:00:08.726 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.044) 0:00:08.771 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001673.8475404, "block_size": 4096, "blocks": 8, "ctime": 1703001673.7915406, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991250, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703001673.7915406, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.200) 0:00:08.972 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.020) 0:00:08.992 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023118", "end": "2023-12-19 16:01:14.807329", "rc": 0, "start": "2023-12-19 16:01:14.784211" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.220) 0:00:09.212 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.022) 0:00:09.235 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.019) 0:00:09.254 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.020) 0:00:09.274 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.020) 0:00:09.295 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.024) 0:00:09.319 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.022) 0:00:09.341 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 16:01:14 +0000 (0:00:00.024) 0:00:09.365 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.021) 0:00:09.386 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml for sut => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.047) 0:00:09.433 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.030) 0:00:09.464 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001673.793924, "block_size": 4096, "blocks": 0, "ctime": 1703001673.793924, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40726, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1703001673.793924, "nlink": 1, "path": "/sys/class/net/statebr", "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 - 'statebr'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.229) 0:00:09.693 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.021) 0:00:09.714 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.020) 0:00:09.735 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.037) 0:00:09.772 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.061444", "end": "2023-12-19 16:01:15.626617", "rc": 1, "start": "2023-12-19 16:01:15.565173" } STDOUT: Connection 'statebr' (4945d11e-122e-49d5-9c7e-e2614a65c8e5) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_states.yml:45 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.259) 0:00:10.032 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.030) 0:00:10.062 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.020) 0:00:10.083 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.037) 0:00:10.121 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.029) 0:00:10.151 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 16:01:15 +0000 (0:00:00.028) 0:00:10.179 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003399", "end": "2023-12-19 16:01:15.976289", "rc": 0, "start": "2023-12-19 16:01:15.972890" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.201) 0:00:10.381 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.020) 0:00:10.401 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.018) 0:00:10.420 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.056) 0:00:10.476 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006265", "end": "2023-12-19 16:01:16.275540", "rc": 1, "start": "2023-12-19 16:01:16.269275" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.202) 0:00:10.679 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.030) 0:00:10.709 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.197) 0:00:10.906 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.021) 0:00:10.927 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.033) 0:00:10.961 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.039) 0:00:11.000 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.036) 0:00:11.037 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.032) 0:00:11.069 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.021) 0:00:11.090 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:16 +0000 (0:00:00.020) 0:00:11.111 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:18 +0000 (0:00:01.638) 0:00:12.750 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:01:19 +0000 (0:00:01.326) 0:00:14.076 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:01:19 +0000 (0:00:00.021) 0:00:14.097 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:01:19 +0000 (0:00:00.023) 0:00:14.121 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:01:19 +0000 (0:00:00.023) 0:00:14.144 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:01:19 +0000 (0:00:00.056) 0:00:14.201 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:01:19 +0000 (0:00:00.023) 0:00:14.224 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:01:19 +0000 (0:00:00.022) 0:00:14.247 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:01:19 +0000 (0:00:00.033) 0:00:14.281 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:01:20 +0000 (0:00:00.380) 0:00:14.661 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:01:20 +0000 (0:00:00.033) 0:00:14.695 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:01:20 +0000 (0:00:00.018) 0:00:14.714 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:01:20 +0000 (0:00:00.018) 0:00:14.732 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c713e98-d0d8-457b-a1ce-836a2f1775a4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:01:20 +0000 (0:00:00.382) 0:00:15.114 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:01:20 +0000 (0:00:00.080) 0:00:15.195 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c713e98-d0d8-457b-a1ce-836a2f1775a4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:01:20 +0000 (0:00:00.022) 0:00:15.218 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c713e98-d0d8-457b-a1ce-836a2f1775a4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c713e98-d0d8-457b-a1ce-836a2f1775a4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:01:20 +0000 (0:00:00.021) 0:00:15.239 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:01:20 +0000 (0:00:00.023) 0:00:15.262 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.206) 0:00:15.469 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c713e98-d0d8-457b-a1ce-836a2f1775a4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c713e98-d0d8-457b-a1ce-836a2f1775a4" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.021) 0:00:15.490 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.038) 0:00:15.529 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.030) 0:00:15.560 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.197) 0:00:15.758 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.020) 0:00:15.778 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.032) 0:00:15.810 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.019) 0:00:15.830 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001680.693497, "block_size": 4096, "blocks": 8, "ctime": 1703001680.693497, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991250, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703001680.693497, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.228) 0:00:16.058 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.021) 0:00:16.080 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023057", "end": "2023-12-19 16:01:21.894689", "rc": 0, "start": "2023-12-19 16:01:21.871632" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.220) 0:00:16.300 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.021) 0:00:16.321 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.019) 0:00:16.341 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 16:01:21 +0000 (0:00:00.018) 0:00:16.360 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.019) 0:00:16.379 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.019) 0:00:16.398 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.021) 0:00:16.420 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.021) 0:00:16.441 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.020) 0:00:16.462 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.024) 0:00:16.487 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.020) 0:00:16.507 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.036) 0:00:16.543 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043895", "end": "2023-12-19 16:01:22.379727", "rc": 1, "start": "2023-12-19 16:01:22.335832" } STDOUT: Connection 'statebr' (8c713e98-d0d8-457b-a1ce-836a2f1775a4) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_states.yml:65 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.241) 0:00:16.785 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.054) 0:00:16.839 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.021) 0:00:16.861 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.037) 0:00:16.898 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.030) 0:00:16.929 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.029) 0:00:16.958 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003163", "end": "2023-12-19 16:01:22.753593", "rc": 0, "start": "2023-12-19 16:01:22.750430" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.200) 0:00:17.159 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.020) 0:00:17.179 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.019) 0:00:17.198 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.032) 0:00:17.231 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.038) 0:00:17.269 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:22 +0000 (0:00:00.036) 0:00:17.306 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:23 +0000 (0:00:00.084) 0:00:17.390 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:23 +0000 (0:00:00.023) 0:00:17.413 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:23 +0000 (0:00:00.022) 0:00:17.436 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:24 +0000 (0:00:01.594) 0:00:19.030 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:01:25 +0000 (0:00:01.334) 0:00:20.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.022) 0:00:20.387 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.022) 0:00:20.409 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.021) 0:00:20.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.050) 0:00:20.482 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.022) 0:00:20.505 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.022) 0:00:20.527 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.032) 0:00:20.559 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.377) 0:00:20.937 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.063) 0:00:21.000 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.019) 0:00:21.019 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:01:26 +0000 (0:00:00.019) 0:00:21.039 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.400) 0:00:21.439 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.022) 0:00:21.461 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.021) 0:00:21.483 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.022) 0:00:21.505 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.021) 0:00:21.527 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.207) 0:00:21.734 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.022) 0:00:21.757 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.034) 0:00:21.792 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.039) 0:00:21.832 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.062) 0:00:21.894 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.032) 0:00:21.926 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.022) 0:00:21.949 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:27 +0000 (0:00:00.022) 0:00:21.971 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:29 +0000 (0:00:01.590) 0:00:23.561 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:01:30 +0000 (0:00:01.333) 0:00:24.895 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:01:30 +0000 (0:00:00.021) 0:00:24.916 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:01:30 +0000 (0:00:00.023) 0:00:24.940 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:01:30 +0000 (0:00:00.021) 0:00:24.962 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:01:30 +0000 (0:00:00.050) 0:00:25.012 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:01:30 +0000 (0:00:00.023) 0:00:25.036 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:01:30 +0000 (0:00:00.021) 0:00:25.057 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:01:30 +0000 (0:00:00.032) 0:00:25.089 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.379) 0:00:25.469 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.062) 0:00:25.532 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.018) 0:00:25.551 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.019) 0:00:25.570 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.344) 0:00:25.916 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.022) 0:00:25.938 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.022) 0:00:25.960 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 86477f26-db59-4a66-97fc-1b38d21fab41 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.022) 0:00:25.983 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.021) 0:00:26.004 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.207) 0:00:26.211 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.036) 0:00:26.248 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:01:31 +0000 (0:00:00.030) 0:00:26.279 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001686.9730263, "block_size": 4096, "blocks": 0, "ctime": 1703001686.9730263, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1703001686.9730263, "nlink": 1, "path": "/sys/class/net/statebr", "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 - 'statebr'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.201) 0:00:26.480 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.020) 0:00:26.501 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.058) 0:00:26.559 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.020) 0:00:26.580 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001686.9714572, "block_size": 4096, "blocks": 8, "ctime": 1703001686.9704573, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991250, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703001686.9704573, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.199) 0:00:26.780 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.021) 0:00:26.801 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022754", "end": "2023-12-19 16:01:32.617606", "rc": 0, "start": "2023-12-19 16:01:32.594852" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.222) 0:00:27.024 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.021) 0:00:27.046 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.020) 0:00:27.066 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.019) 0:00:27.086 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.019) 0:00:27.105 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.019) 0:00:27.125 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.021) 0:00:27.147 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.021) 0:00:27.168 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.020) 0:00:27.189 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.027) 0:00:27.216 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.020) 0:00:27.237 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 16:01:32 +0000 (0:00:00.060) 0:00:27.298 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.064019", "end": "2023-12-19 16:01:33.155524", "rc": 1, "start": "2023-12-19 16:01:33.091505" } STDOUT: Connection 'statebr' (86477f26-db59-4a66-97fc-1b38d21fab41) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_states.yml:83 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.263) 0:00:27.561 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.033) 0:00:27.594 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.021) 0:00:27.616 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.041) 0:00:27.657 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.031) 0:00:27.689 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.030) 0:00:27.719 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003270", "end": "2023-12-19 16:01:33.515705", "rc": 0, "start": "2023-12-19 16:01:33.512435" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.201) 0:00:27.921 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.021) 0:00:27.942 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.020) 0:00:27.962 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.034) 0:00:27.996 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.064) 0:00:28.061 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.036) 0:00:28.098 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.032) 0:00:28.131 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.022) 0:00:28.153 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:33 +0000 (0:00:00.022) 0:00:28.175 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:35 +0000 (0:00:01.588) 0:00:29.764 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:01:36 +0000 (0:00:01.331) 0:00:31.096 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:01:36 +0000 (0:00:00.021) 0:00:31.118 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:01:36 +0000 (0:00:00.021) 0:00:31.139 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:01:36 +0000 (0:00:00.021) 0:00:31.161 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:01:36 +0000 (0:00:00.051) 0:00:31.212 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:01:36 +0000 (0:00:00.021) 0:00:31.234 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:01:36 +0000 (0:00:00.021) 0:00:31.256 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:01:36 +0000 (0:00:00.064) 0:00:31.320 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:01:37 +0000 (0:00:00.380) 0:00:31.701 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:01:37 +0000 (0:00:00.035) 0:00:31.736 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:01:37 +0000 (0:00:00.019) 0:00:31.756 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:01:37 +0000 (0:00:00.020) 0:00:31.776 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:01:37 +0000 (0:00:00.401) 0:00:32.177 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:01:37 +0000 (0:00:00.023) 0:00:32.201 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:01:37 +0000 (0:00:00.023) 0:00:32.225 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:01:37 +0000 (0:00:00.022) 0:00:32.248 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:01:37 +0000 (0:00:00.023) 0:00:32.271 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 16:01:38 +0000 (0:00:00.208) 0:00:32.479 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 16:01:38 +0000 (0:00:00.021) 0:00:32.501 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:38 +0000 (0:00:00.038) 0:00:32.539 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:38 +0000 (0:00:00.065) 0:00:32.605 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:38 +0000 (0:00:00.033) 0:00:32.639 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:38 +0000 (0:00:00.023) 0:00:32.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:38 +0000 (0:00:00.023) 0:00:32.686 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:39 +0000 (0:00:01.607) 0:00:34.293 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:01:41 +0000 (0:00:01.333) 0:00:35.627 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.022) 0:00:35.649 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.022) 0:00:35.672 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.022) 0:00:35.695 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.051) 0:00:35.746 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.022) 0:00:35.769 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.022) 0:00:35.791 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.033) 0:00:35.825 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.380) 0:00:36.205 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.065) 0:00:36.270 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.020) 0:00:36.291 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:01:41 +0000 (0:00:00.019) 0:00:36.311 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.344) 0:00:36.655 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.021) 0:00:36.677 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.021) 0:00:36.699 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 75e02600-b60e-4eda-ae0d-14db64a69c0b 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.021) 0:00:36.720 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.021) 0:00:36.742 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.207) 0:00:36.950 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.034) 0:00:36.984 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.042) 0:00:37.027 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.037) 0:00:37.065 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.063) 0:00:37.128 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.022) 0:00:37.151 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:42 +0000 (0:00:00.022) 0:00:37.174 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:44 +0000 (0:00:01.625) 0:00:38.799 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:01:45 +0000 (0:00:01.331) 0:00:40.131 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:01:45 +0000 (0:00:00.022) 0:00:40.154 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:01:45 +0000 (0:00:00.022) 0:00:40.176 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:01:45 +0000 (0:00:00.022) 0:00:40.199 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:01:45 +0000 (0:00:00.052) 0:00:40.251 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:01:45 +0000 (0:00:00.022) 0:00:40.274 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:01:45 +0000 (0:00:00.022) 0:00:40.296 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:01:45 +0000 (0:00:00.034) 0:00:40.331 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:01:46 +0000 (0:00:00.380) 0:00:40.711 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:01:46 +0000 (0:00:00.033) 0:00:40.745 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:01:46 +0000 (0:00:00.048) 0:00:40.794 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:01:46 +0000 (0:00:00.019) 0:00:40.813 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:01:46 +0000 (0:00:00.372) 0:00:41.186 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:01:46 +0000 (0:00:00.022) 0:00:41.209 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:01:46 +0000 (0:00:00.022) 0:00:41.231 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:01:46 +0000 (0:00:00.022) 0:00:41.254 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:01:46 +0000 (0:00:00.022) 0:00:41.276 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.205) 0:00:41.482 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.037) 0:00:41.520 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.030) 0:00:41.550 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703001697.7150218, "block_size": 4096, "blocks": 0, "ctime": 1703001697.7150218, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 40988, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1703001697.7150218, "nlink": 1, "path": "/sys/class/net/statebr", "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 - 'statebr'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.198) 0:00:41.749 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.020) 0:00:41.770 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.060) 0:00:41.831 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.021) 0:00:41.852 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.197) 0:00:42.050 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.019) 0:00:42.069 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022596", "end": "2023-12-19 16:01:47.890353", "rc": 1, "start": "2023-12-19 16:01:47.867757" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.225) 0:00:42.295 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.020) 0:00:42.315 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.019) 0:00:42.335 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.019) 0:00:42.354 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 16:01:47 +0000 (0:00:00.019) 0:00:42.374 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.019) 0:00:42.394 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.021) 0:00:42.416 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.026) 0:00:42.442 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.021) 0:00:42.463 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.034) 0:00:42.498 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.076685", "end": "2023-12-19 16:01:48.368864", "rc": 1, "start": "2023-12-19 16:01:48.292179" } STDOUT: Connection 'statebr' (75e02600-b60e-4eda-ae0d-14db64a69c0b) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_states.yml:102 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.277) 0:00:42.775 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.060) 0:00:42.836 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.021) 0:00:42.858 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.038) 0:00:42.896 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.031) 0:00:42.927 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.029) 0:00:42.956 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003408", "end": "2023-12-19 16:01:48.753757", "rc": 0, "start": "2023-12-19 16:01:48.750349" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.203) 0:00:43.159 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.020) 0:00:43.180 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.020) 0:00:43.200 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.037) 0:00:43.238 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.040) 0:00:43.278 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.037) 0:00:43.315 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:48 +0000 (0:00:00.060) 0:00:43.375 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:49 +0000 (0:00:00.023) 0:00:43.399 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:49 +0000 (0:00:00.022) 0:00:43.421 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:50 +0000 (0:00:01.595) 0:00:45.017 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:01:51 +0000 (0:00:01.326) 0:00:46.344 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:01:51 +0000 (0:00:00.022) 0:00:46.366 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.022) 0:00:46.389 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.021) 0:00:46.411 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.051) 0:00:46.462 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.022) 0:00:46.485 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.022) 0:00:46.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.034) 0:00:46.542 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.378) 0:00:46.920 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.033) 0:00:46.954 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.054) 0:00:47.008 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:01:52 +0000 (0:00:00.019) 0:00:47.028 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.393) 0:00:47.422 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.024) 0:00:47.446 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.023) 0:00:47.469 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.023) 0:00:47.493 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.023) 0:00:47.516 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.207) 0:00:47.723 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.021) 0:00:47.745 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.038) 0:00:47.784 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.036) 0:00:47.820 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.032) 0:00:47.852 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.021) 0:00:47.874 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:53 +0000 (0:00:00.057) 0:00:47.932 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:55 +0000 (0:00:01.593) 0:00:49.525 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:01:56 +0000 (0:00:01.329) 0:00:50.854 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:01:56 +0000 (0:00:00.022) 0:00:50.877 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:01:56 +0000 (0:00:00.022) 0:00:50.900 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:01:56 +0000 (0:00:00.022) 0:00:50.922 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:01:56 +0000 (0:00:00.052) 0:00:50.975 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:01:56 +0000 (0:00:00.022) 0:00:50.998 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:01:56 +0000 (0:00:00.022) 0:00:51.020 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:01:56 +0000 (0:00:00.034) 0:00:51.055 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.385) 0:00:51.440 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.035) 0:00:51.475 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.020) 0:00:51.496 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.021) 0:00:51.517 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.425) 0:00:51.943 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.031) 0:00:51.974 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.024) 0:00:51.999 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e01a1542-c79d-4709-b6ac-ec049952051b 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.024) 0:00:52.023 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.025) 0:00:52.049 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.216) 0:00:52.265 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.043) 0:00:52.308 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:01:57 +0000 (0:00:00.039) 0:00:52.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:01:58 +0000 (0:00:00.036) 0:00:52.385 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:01:58 +0000 (0:00:00.024) 0:00:52.409 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:01:58 +0000 (0:00:00.024) 0:00:52.434 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:01:59 +0000 (0:00:01.587) 0:00:54.021 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:02:01 +0000 (0:00:01.388) 0:00:55.410 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.022) 0:00:55.433 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.022) 0:00:55.455 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.021) 0:00:55.477 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.053) 0:00:55.530 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.023) 0:00:55.554 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.023) 0:00:55.577 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.035) 0:00:55.613 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.386) 0:00:56.000 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.036) 0:00:56.036 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.027) 0:00:56.064 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:02:01 +0000 (0:00:00.021) 0:00:56.085 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.382) 0:00:56.467 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.023) 0:00:56.491 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.022) 0:00:56.513 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.054) 0:00:56.568 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.024) 0:00:56.593 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.206) 0:00:56.799 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.035) 0:00:56.835 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.038) 0:00:56.874 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.038) 0:00:56.913 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.033) 0:00:56.946 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.023) 0:00:56.969 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:02:02 +0000 (0:00:00.025) 0:00:56.994 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:02:04 +0000 (0:00:01.602) 0:00:58.597 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:02:05 +0000 (0:00:01.388) 0:00:59.985 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:02:05 +0000 (0:00:00.022) 0:01:00.008 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:02:05 +0000 (0:00:00.022) 0:01:00.030 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:02:05 +0000 (0:00:00.022) 0:01:00.053 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:02:05 +0000 (0:00:00.051) 0:01:00.104 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:02:05 +0000 (0:00:00.023) 0:01:00.127 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:02:05 +0000 (0:00:00.023) 0:01:00.150 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:02:05 +0000 (0:00:00.033) 0:01:00.183 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:02:06 +0000 (0:00:00.385) 0:01:00.569 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:02:06 +0000 (0:00:00.036) 0:01:00.605 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:02:06 +0000 (0:00:00.019) 0:01:00.625 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:02:06 +0000 (0:00:00.020) 0:01:00.646 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:02:06 +0000 (0:00:00.425) 0:01:01.071 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:02:06 +0000 (0:00:00.022) 0:01:01.094 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:02:06 +0000 (0:00:00.022) 0:01:01.117 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:02:06 +0000 (0:00:00.057) 0:01:01.174 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:02:06 +0000 (0:00:00.022) 0:01:01.197 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.207) 0:01:01.404 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.037) 0:01:01.442 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.033) 0:01:01.475 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.020) 0:01:01.495 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.199) 0:01:01.695 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.018) 0:01:01.714 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022201", "end": "2023-12-19 16:02:07.529092", "rc": 1, "start": "2023-12-19 16:02:07.506891" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.220) 0:01:01.935 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.020) 0:01:01.956 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.019) 0:01:01.975 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.019) 0:01:01.995 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.020) 0:01:02.016 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.019) 0:01:02.036 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.053) 0:01:02.089 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.046) 0:01:02.135 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.032) 0:01:02.167 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 16:02:07 +0000 (0:00:00.199) 0:01:02.367 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.022) 0:01:02.389 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.020) 0:01:02.410 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.035) 0:01:02.445 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043721", "end": "2023-12-19 16:02:08.282172", "rc": 1, "start": "2023-12-19 16:02:08.238451" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tests_states.yml:124 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.242) 0:01:02.688 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.032) 0:01:02.720 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.021) 0:01:02.741 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.037) 0:01:02.779 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.060) 0:01:02.840 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.029) 0:01:02.870 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003283", "end": "2023-12-19 16:02:08.666569", "rc": 0, "start": "2023-12-19 16:02:08.663286" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.202) 0:01:03.072 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.020) 0:01:03.093 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.020) 0:01:03.114 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.037) 0:01:03.151 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.039) 0:01:03.191 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.037) 0:01:03.228 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.033) 0:01:03.262 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.022) 0:01:03.285 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:02:08 +0000 (0:00:00.022) 0:01:03.307 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:02:10 +0000 (0:00:01.595) 0:01:04.903 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:02:11 +0000 (0:00:01.389) 0:01:06.293 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:02:11 +0000 (0:00:00.022) 0:01:06.316 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:02:11 +0000 (0:00:00.024) 0:01:06.340 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:02:11 +0000 (0:00:00.023) 0:01:06.363 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:02:12 +0000 (0:00:00.054) 0:01:06.418 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:02:12 +0000 (0:00:00.023) 0:01:06.441 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:02:12 +0000 (0:00:00.021) 0:01:06.463 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:02:12 +0000 (0:00:00.034) 0:01:06.497 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:02:12 +0000 (0:00:00.378) 0:01:06.875 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:02:12 +0000 (0:00:00.036) 0:01:06.912 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:02:12 +0000 (0:00:00.019) 0:01:06.932 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:02:12 +0000 (0:00:00.019) 0:01:06.951 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.432) 0:01:07.384 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.024) 0:01:07.408 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.062) 0:01:07.470 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.023) 0:01:07.494 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.023) 0:01:07.517 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.208) 0:01:07.726 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.022) 0:01:07.749 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.040) 0:01:07.790 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.038) 0:01:07.828 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.033) 0:01:07.862 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.022) 0:01:07.884 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:02:13 +0000 (0:00:00.023) 0:01:07.908 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:02:15 +0000 (0:00:01.588) 0:01:09.497 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:02:16 +0000 (0:00:01.407) 0:01:10.904 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:02:16 +0000 (0:00:00.023) 0:01:10.928 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:02:16 +0000 (0:00:00.023) 0:01:10.951 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:02:16 +0000 (0:00:00.024) 0:01:10.975 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:02:16 +0000 (0:00:00.054) 0:01:11.030 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:02:16 +0000 (0:00:00.023) 0:01:11.053 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:02:16 +0000 (0:00:00.024) 0:01:11.077 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:02:16 +0000 (0:00:00.034) 0:01:11.112 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.375) 0:01:11.487 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.036) 0:01:11.524 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.022) 0:01:11.546 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.020) 0:01:11.566 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.338) 0:01:11.905 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.022) 0:01:11.927 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.022) 0:01:11.950 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b964b96b-e64e-41d5-ba5a-b1e59fe7e19e 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.024) 0:01:11.974 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.068) 0:01:12.043 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.207) 0:01:12.250 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.042) 0:01:12.293 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.038) 0:01:12.332 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:02:17 +0000 (0:00:00.032) 0:01:12.365 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:02:18 +0000 (0:00:00.022) 0:01:12.387 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:02:18 +0000 (0:00:00.022) 0:01:12.409 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:02:19 +0000 (0:00:01.583) 0:01:13.992 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:02:20 +0000 (0:00:01.323) 0:01:15.315 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:02:20 +0000 (0:00:00.022) 0:01:15.338 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.056) 0:01:15.394 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.022) 0:01:15.417 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.054) 0:01:15.471 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.023) 0:01:15.495 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.022) 0:01:15.517 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.033) 0:01:15.551 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.377) 0:01:15.928 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.034) 0:01:15.963 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.019) 0:01:15.982 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:02:21 +0000 (0:00:00.019) 0:01:16.001 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.415) 0:01:16.417 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.022) 0:01:16.440 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.022) 0:01:16.463 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.022) 0:01:16.485 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.022) 0:01:16.508 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.204) 0:01:16.713 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.069) 0:01:16.782 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.040) 0:01:16.823 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.038) 0:01:16.861 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.033) 0:01:16.895 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.022) 0:01:16.918 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 16:02:22 +0000 (0:00:00.022) 0:01:16.940 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 16:02:24 +0000 (0:00:01.583) 0:01:18.524 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 16:02:25 +0000 (0:00:01.331) 0:01:19.856 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 16:02:25 +0000 (0:00:00.022) 0:01:19.878 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 16:02:25 +0000 (0:00:00.023) 0:01:19.901 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 16:02:25 +0000 (0:00:00.061) 0:01:19.963 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 16:02:25 +0000 (0:00:00.052) 0:01:20.016 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 16:02:25 +0000 (0:00:00.024) 0:01:20.040 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 16:02:25 +0000 (0:00:00.023) 0:01:20.063 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 16:02:25 +0000 (0:00:00.034) 0:01:20.098 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.381) 0:01:20.479 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.034) 0:01:20.514 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.018) 0:01:20.533 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.019) 0:01:20.552 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.366) 0:01:20.918 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.022) 0:01:20.940 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.023) 0:01:20.964 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.023) 0:01:20.987 ****** 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.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.022) 0:01:21.009 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.209) 0:01:21.218 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.081) 0:01:21.299 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.034) 0:01:21.334 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 16:02:26 +0000 (0:00:00.021) 0:01:21.355 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 16:02:27 +0000 (0:00:00.199) 0:01:21.554 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 16:02:27 +0000 (0:00:00.018) 0:01:21.573 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021603", "end": "2023-12-19 16:02:27.387181", "rc": 1, "start": "2023-12-19 16:02:27.365578" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 16:02:27 +0000 (0:00:00.219) 0:01:21.793 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 16:02:27 +0000 (0:00:00.021) 0:01:21.814 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 16:02:27 +0000 (0:00:00.020) 0:01:21.834 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 16:02:27 +0000 (0:00:00.020) 0:01:21.855 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 16:02:27 +0000 (0:00:00.020) 0:01:21.876 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 16:02:27 +0000 (0:00:00.021) 0:01:21.897 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 19 December 2023 16:02:27 +0000 (0:00:00.023) 0:01:21.920 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.942969", "end": "2023-12-19 16:02:28.656504", "rc": 0, "start": "2023-12-19 16:02:27.713535" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 19 December 2023 16:02:28 +0000 (0:00:01.144) 0:01:23.064 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 19 December 2023 16:02:28 +0000 (0:00:00.020) 0:01:23.085 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 16:02:28 +0000 (0:00:00.020) 0:01:23.106 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml for sut => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 16:02:28 +0000 (0:00:00.081) 0:01:23.187 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 16:02:28 +0000 (0:00:00.031) 0:01:23.219 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 16:02:29 +0000 (0:00:00.198) 0:01:23.417 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 16:02:29 +0000 (0:00:00.022) 0:01:23.439 ****** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 16:02:29 +0000 (0:00:00.021) 0:01:23.461 ****** included: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16t_odk5db/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 16:02:29 +0000 (0:00:00.035) 0:01:23.496 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043293", "end": "2023-12-19 16:02:29.333585", "rc": 1, "start": "2023-12-19 16:02:29.290292" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Tuesday 19 December 2023 16:02:29 +0000 (0:00:00.274) 0:01:23.771 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.68s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.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.16t_odk5db/.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.61s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.60s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.60s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.60s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.59s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.59s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.59s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.59s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.59s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.59s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.58s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.58s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.48s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.16t_odk5db/.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.39s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.39s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.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.39s /WORKDIR/git-ansible-lint-test-2.16t_odk5db/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---