# 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.16el2pk_r4/.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.16el2pk_r4/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.16el2pk_r4/tests/tests_states_nm.yml:6 Wednesday 20 December 2023 04:03:03 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tests_states_nm.yml:9 Wednesday 20 December 2023 04:03:05 +0000 (0:00:01.926) 0:00:01.938 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 04:03:05 +0000 (0:00:00.013) 0:00:01.952 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:17 Wednesday 20 December 2023 04:03:05 +0000 (0:00:00.388) 0:00:02.340 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:22 Wednesday 20 December 2023 04:03:05 +0000 (0:00:00.281) 0:00:02.621 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/el_repo_setup.yml:26 Wednesday 20 December 2023 04:03:05 +0000 (0:00:00.032) 0:00:02.654 **** 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.16el2pk_r4/tests/tasks/el_repo_setup.yml:51 Wednesday 20 December 2023 04:03:05 +0000 (0:00:00.023) 0:00:02.677 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 04:03:05 +0000 (0:00:00.029) 0:00:02.707 **** 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.16el2pk_r4/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 04:03:06 +0000 (0:00:00.309) 0:00:03.016 **** 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.16el2pk_r4/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 04:03:06 +0000 (0:00:00.011) 0:00:03.027 **** 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.16el2pk_r4/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 04:03:06 +0000 (0:00:00.009) 0:00:03.037 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.261662", "end": "2023-12-20 04:03:06.625090", "rc": 0, "start": "2023-12-20 04:03:06.363428" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 04:03:06 +0000 (0:00:00.517) 0:00:03.554 **** 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.16el2pk_r4/tests/tests_states_nm.yml:11 Wednesday 20 December 2023 04:03:06 +0000 (0:00:00.008) 0:00:03.563 **** 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.16el2pk_r4/tests/playbooks/tests_states.yml:3 Wednesday 20 December 2023 04:03:06 +0000 (0:00:00.016) 0:00:03.579 **** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_states.yml:11 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.744) 0:00:04.324 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tests_states.yml:22 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.010) 0:00:04.334 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.013) 0:00:04.347 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.010) 0:00:04.358 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.027) 0:00:04.386 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.012) 0:00:04.398 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.010) 0:00:04.409 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003982", "end": "2023-12-20 04:03:07.684858", "rc": 0, "start": "2023-12-20 04:03:07.680876" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.206) 0:00:04.615 **** 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.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.011) 0:00:04.627 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.010) 0:00:04.638 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.017) 0:00:04.655 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009251", "end": "2023-12-20 04:03:07.934662", "rc": 1, "start": "2023-12-20 04:03:07.925411" } 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.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.206) 0:00:04.862 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 04:03:07 +0000 (0:00:00.015) 0:00:04.877 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 04:03:08 +0000 (0:00:00.204) 0:00:05.082 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 04:03:08 +0000 (0:00:00.011) 0:00:05.094 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 04:03:08 +0000 (0:00:00.016) 0:00:05.110 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:03:08 +0000 (0:00:00.040) 0:00:05.151 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:03:08 +0000 (0:00:00.023) 0:00:05.175 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:03:08 +0000 (0:00:00.066) 0:00:05.241 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:03:08 +0000 (0:00:00.014) 0:00:05.256 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:03:08 +0000 (0:00:00.024) 0:00:05.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 : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:03:10 +0000 (0:00:02.081) 0:00:07.362 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:03:12 +0000 (0:00:01.630) 0:00:08.992 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:03:12 +0000 (0:00:00.068) 0:00:09.061 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:03:12 +0000 (0:00:00.050) 0:00:09.111 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:03:12 +0000 (0:00:00.031) 0:00:09.143 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:03:12 +0000 (0:00:00.077) 0:00:09.221 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:03:12 +0000 (0:00:00.028) 0:00:09.249 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:03:12 +0000 (0:00:00.029) 0:00:09.279 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:03:12 +0000 (0:00:00.070) 0:00:09.350 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:03:13 +0000 (0:00:00.615) 0:00:09.966 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:03:13 +0000 (0:00:00.037) 0:00:10.004 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:03:13 +0000 (0:00:00.024) 0:00:10.028 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:03:13 +0000 (0:00:00.021) 0:00:10.050 **** 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, 292a396d-4899-4142-9a39-5e5a79ef4085 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:03:13 +0000 (0:00:00.638) 0:00:10.688 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:03:13 +0000 (0:00:00.023) 0:00:10.711 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 292a396d-4899-4142-9a39-5e5a79ef4085" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:03:13 +0000 (0:00:00.027) 0:00:10.739 **** 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, 292a396d-4899-4142-9a39-5e5a79ef4085\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 292a396d-4899-4142-9a39-5e5a79ef4085" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:03:13 +0000 (0:00:00.024) 0:00:10.764 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:03:13 +0000 (0:00:00.023) 0:00:10.788 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.362) 0:00:11.150 **** 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, 292a396d-4899-4142-9a39-5e5a79ef4085\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 292a396d-4899-4142-9a39-5e5a79ef4085" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.035) 0:00:11.185 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.065) 0:00:11.251 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.037) 0:00:11.288 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.051) 0:00:11.339 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044993.7578835, "block_size": 4096, "blocks": 8, "ctime": 1703044993.6898854, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703044993.6898854, "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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.232) 0:00:11.571 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.020) 0:00:11.592 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024643", "end": "2023-12-20 04:03:14.886132", "rc": 0, "start": "2023-12-20 04:03:14.861489" } 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.232) 0:00:11.824 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.022) 0:00:11.847 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.020) 0:00:11.867 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.019) 0:00:11.886 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 04:03:14 +0000 (0:00:00.019) 0:00:11.906 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.021) 0:00:11.927 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.022) 0:00:11.950 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.023) 0:00:11.973 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.021) 0:00:11.995 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.047) 0:00:12.042 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.030) 0:00:12.072 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703044993.6921868, "block_size": 4096, "blocks": 0, "ctime": 1703044993.6921868, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37290, "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": 1703044993.6921868, "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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.269) 0:00:12.342 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.053) 0:00:12.395 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.034) 0:00:12.430 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.051) 0:00:12.482 **** 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.069817", "end": "2023-12-20 04:03:15.867791", "rc": 1, "start": "2023-12-20 04:03:15.797974" } STDOUT: Connection 'statebr' (292a396d-4899-4142-9a39-5e5a79ef4085) 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.16el2pk_r4/tests/playbooks/tests_states.yml:45 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.323) 0:00:12.805 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.031) 0:00:12.837 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.020) 0:00:12.858 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 04:03:15 +0000 (0:00:00.037) 0:00:12.895 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.030) 0:00:12.926 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.029) 0:00:12.955 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004119", "end": "2023-12-20 04:03:16.232284", "rc": 0, "start": "2023-12-20 04:03:16.228165" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.223) 0:00:13.179 **** 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.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.033) 0:00:13.213 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.022) 0:00:13.235 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.063) 0:00:13.298 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007361", "end": "2023-12-20 04:03:16.577873", "rc": 1, "start": "2023-12-20 04:03:16.570512" } 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.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.216) 0:00:13.515 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.031) 0:00:13.546 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.212) 0:00:13.759 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.022) 0:00:13.781 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.035) 0:00:13.816 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.040) 0:00:13.856 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:03:16 +0000 (0:00:00.037) 0:00:13.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:03:17 +0000 (0:00:00.045) 0:00:13.940 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:03:17 +0000 (0:00:00.024) 0:00:13.965 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:03:17 +0000 (0:00:00.030) 0:00:13.996 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:03:18 +0000 (0:00:01.828) 0:00:15.824 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:03:20 +0000 (0:00:01.390) 0:00:17.215 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.022) 0:00:17.237 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.022) 0:00:17.260 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.026) 0:00:17.286 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.068) 0:00:17.354 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.023) 0:00:17.378 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.021) 0:00:17.400 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.035) 0:00:17.435 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.404) 0:00:17.840 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.035) 0:00:17.876 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:03:20 +0000 (0:00:00.022) 0:00:17.898 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.033) 0:00:17.932 **** 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, a8905b8f-75ff-4fbd-9555-3354f60ebc61 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.438) 0:00:18.371 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.050) 0:00:18.421 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8905b8f-75ff-4fbd-9555-3354f60ebc61" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.028) 0:00:18.450 **** 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, a8905b8f-75ff-4fbd-9555-3354f60ebc61\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8905b8f-75ff-4fbd-9555-3354f60ebc61" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.022) 0:00:18.473 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.032) 0:00:18.506 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.222) 0:00:18.728 **** 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, a8905b8f-75ff-4fbd-9555-3354f60ebc61\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8905b8f-75ff-4fbd-9555-3354f60ebc61" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.021) 0:00:18.750 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.036) 0:00:18.786 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 04:03:21 +0000 (0:00:00.029) 0:00:18.816 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.208) 0:00:19.025 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.022) 0:00:19.048 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.034) 0:00:19.083 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.024) 0:00:19.107 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703045001.4116588, "block_size": 4096, "blocks": 8, "ctime": 1703045001.4116588, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703045001.4116588, "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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.255) 0:00:19.362 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.032) 0:00:19.394 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023922", "end": "2023-12-20 04:03:22.703715", "rc": 0, "start": "2023-12-20 04:03:22.679793" } 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.248) 0:00:19.643 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.028) 0:00:19.671 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.037) 0:00:19.708 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.026) 0:00:19.735 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.039) 0:00:19.774 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.036) 0:00:19.811 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.024) 0:00:19.836 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.024) 0:00:19.860 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 04:03:22 +0000 (0:00:00.026) 0:00:19.887 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.065) 0:00:19.953 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.028) 0:00:19.982 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.037) 0:00:20.020 **** 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.048110", "end": "2023-12-20 04:03:23.355917", "rc": 1, "start": "2023-12-20 04:03:23.307807" } STDOUT: Connection 'statebr' (a8905b8f-75ff-4fbd-9555-3354f60ebc61) 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.16el2pk_r4/tests/playbooks/tests_states.yml:65 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.285) 0:00:20.305 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.080) 0:00:20.386 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.025) 0:00:20.411 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.055) 0:00:20.467 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.042) 0:00:20.509 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.033) 0:00:20.543 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003911", "end": "2023-12-20 04:03:23.817870", "rc": 0, "start": "2023-12-20 04:03:23.813959" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.217) 0:00:20.761 **** 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.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.029) 0:00:20.790 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.022) 0:00:20.813 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.034) 0:00:20.847 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:03:23 +0000 (0:00:00.041) 0:00:20.889 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:03:24 +0000 (0:00:00.039) 0:00:20.929 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:03:24 +0000 (0:00:00.101) 0:00:21.030 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:03:24 +0000 (0:00:00.030) 0:00:21.060 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:03:24 +0000 (0:00:00.032) 0:00:21.093 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:03:25 +0000 (0:00:01.797) 0:00:22.891 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:03:27 +0000 (0:00:01.397) 0:00:24.288 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:03:27 +0000 (0:00:00.022) 0:00:24.310 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:03:27 +0000 (0:00:00.022) 0:00:24.333 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:03:27 +0000 (0:00:00.022) 0:00:24.355 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:03:27 +0000 (0:00:00.052) 0:00:24.408 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:03:27 +0000 (0:00:00.022) 0:00:24.431 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:03:27 +0000 (0:00:00.022) 0:00:24.453 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:03:27 +0000 (0:00:00.034) 0:00:24.487 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:03:27 +0000 (0:00:00.402) 0:00:24.890 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.038) 0:00:24.928 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.079) 0:00:25.007 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.026) 0:00:25.034 **** 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, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.412) 0:00:25.446 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.024) 0:00:25.471 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.023) 0:00:25.494 **** 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, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.022) 0:00:25.516 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.027) 0:00:25.543 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.217) 0:00:25.761 **** 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, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.021) 0:00:25.782 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.033) 0:00:25.816 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.039) 0:00:25.856 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:03:28 +0000 (0:00:00.040) 0:00:25.896 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:03:29 +0000 (0:00:00.100) 0:00:25.997 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:03:29 +0000 (0:00:00.026) 0:00:26.023 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:03:29 +0000 (0:00:00.027) 0:00:26.051 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:03:30 +0000 (0:00:01.778) 0:00:27.830 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:03:32 +0000 (0:00:01.371) 0:00:29.201 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:03:32 +0000 (0:00:00.023) 0:00:29.225 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:03:32 +0000 (0:00:00.039) 0:00:29.264 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:03:32 +0000 (0:00:00.028) 0:00:29.293 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:03:32 +0000 (0:00:00.056) 0:00:29.349 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:03:32 +0000 (0:00:00.023) 0:00:29.372 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:03:32 +0000 (0:00:00.026) 0:00:29.399 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:03:32 +0000 (0:00:00.036) 0:00:29.435 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:03:32 +0000 (0:00:00.413) 0:00:29.848 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:03:32 +0000 (0:00:00.043) 0:00:29.891 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.057) 0:00:29.948 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.028) 0:00:29.977 **** 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, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.366) 0:00:30.344 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.033) 0:00:30.378 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.025) 0:00:30.403 **** 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, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8ff7b91b-8057-4f04-abb2-a81d64e4a3d1 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.027) 0:00:30.430 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.027) 0:00:30.458 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.237) 0:00:30.696 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.048) 0:00:30.744 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 04:03:33 +0000 (0:00:00.047) 0:00:30.791 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703045008.4520755, "block_size": 4096, "blocks": 0, "ctime": 1703045008.4520755, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37421, "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": 1703045008.4520755, "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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.247) 0:00:31.038 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.030) 0:00:31.069 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.080) 0:00:31.150 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.031) 0:00:31.181 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703045008.5124502, "block_size": 4096, "blocks": 8, "ctime": 1703045008.450452, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703045008.450452, "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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.214) 0:00:31.396 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.033) 0:00:31.429 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024257", "end": "2023-12-20 04:03:34.738420", "rc": 0, "start": "2023-12-20 04:03:34.714163" } 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.247) 0:00:31.677 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.022) 0:00:31.699 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.021) 0:00:31.721 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.033) 0:00:31.755 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.030) 0:00:31.786 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.023) 0:00:31.809 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.028) 0:00:31.837 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.026) 0:00:31.863 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 04:03:34 +0000 (0:00:00.023) 0:00:31.887 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.035) 0:00:31.923 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.023) 0:00:31.946 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.037) 0:00:31.984 **** 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.069869", "end": "2023-12-20 04:03:35.331193", "rc": 1, "start": "2023-12-20 04:03:35.261324" } STDOUT: Connection 'statebr' (8ff7b91b-8057-4f04-abb2-a81d64e4a3d1) 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.16el2pk_r4/tests/playbooks/tests_states.yml:83 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.343) 0:00:32.327 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.041) 0:00:32.369 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.051) 0:00:32.421 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.045) 0:00:32.466 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.030) 0:00:32.497 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.029) 0:00:32.526 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003841", "end": "2023-12-20 04:03:35.798945", "rc": 0, "start": "2023-12-20 04:03:35.795104" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.228) 0:00:32.754 **** 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.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.034) 0:00:32.789 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.035) 0:00:32.825 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 04:03:35 +0000 (0:00:00.078) 0:00:32.903 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:03:36 +0000 (0:00:00.044) 0:00:32.948 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:03:36 +0000 (0:00:00.088) 0:00:33.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 : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:03:36 +0000 (0:00:00.033) 0:00:33.070 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:03:36 +0000 (0:00:00.023) 0:00:33.093 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:03:36 +0000 (0:00:00.022) 0:00:33.115 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:03:37 +0000 (0:00:01.771) 0:00:34.887 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:03:39 +0000 (0:00:01.388) 0:00:36.275 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:03:39 +0000 (0:00:00.028) 0:00:36.304 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:03:39 +0000 (0:00:00.022) 0:00:36.326 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:03:39 +0000 (0:00:00.026) 0:00:36.353 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:03:39 +0000 (0:00:00.056) 0:00:36.410 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:03:39 +0000 (0:00:00.027) 0:00:36.437 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:03:39 +0000 (0:00:00.024) 0:00:36.462 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:03:39 +0000 (0:00:00.034) 0:00:36.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.460) 0:00:36.957 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.035) 0:00:36.992 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.020) 0:00:37.012 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.020) 0:00:37.033 **** 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, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.428) 0:00:37.462 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.028) 0:00:37.490 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.031) 0:00:37.521 **** 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, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.035) 0:00:37.556 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.024) 0:00:37.581 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.247) 0:00:37.828 **** 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, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 04:03:40 +0000 (0:00:00.030) 0:00:37.859 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:03:41 +0000 (0:00:00.070) 0:00:37.929 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:03:41 +0000 (0:00:00.042) 0:00:37.972 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:03:41 +0000 (0:00:00.134) 0:00:38.106 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:03:41 +0000 (0:00:00.027) 0:00:38.133 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:03:41 +0000 (0:00:00.027) 0:00:38.161 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:03:43 +0000 (0:00:01.788) 0:00:39.949 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:03:44 +0000 (0:00:01.356) 0:00:41.306 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:03:44 +0000 (0:00:00.022) 0:00:41.328 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:03:44 +0000 (0:00:00.022) 0:00:41.351 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:03:44 +0000 (0:00:00.021) 0:00:41.373 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:03:44 +0000 (0:00:00.052) 0:00:41.425 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:03:44 +0000 (0:00:00.023) 0:00:41.449 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:03:44 +0000 (0:00:00.024) 0:00:41.473 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:03:44 +0000 (0:00:00.037) 0:00:41.510 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.400) 0:00:41.910 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.050) 0:00:41.961 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.084) 0:00:42.046 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.025) 0:00:42.072 **** 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, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.363) 0:00:42.435 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.025) 0:00:42.461 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.025) 0:00:42.486 **** 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, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0d39b68a-f30a-49af-8a0e-f4d0ca862dd5 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.025) 0:00:42.512 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.024) 0:00:42.537 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.220) 0:00:42.757 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.034) 0:00:42.792 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.038) 0:00:42.831 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.038) 0:00:42.870 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:03:45 +0000 (0:00:00.033) 0:00:42.904 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:03:46 +0000 (0:00:00.065) 0:00:42.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:03:46 +0000 (0:00:00.050) 0:00:43.020 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:03:47 +0000 (0:00:01.749) 0:00:44.769 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:03:49 +0000 (0:00:01.396) 0:00:46.166 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:03:49 +0000 (0:00:00.051) 0:00:46.217 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:03:49 +0000 (0:00:00.036) 0:00:46.254 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:03:49 +0000 (0:00:00.031) 0:00:46.286 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:03:49 +0000 (0:00:00.077) 0:00:46.363 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:03:49 +0000 (0:00:00.026) 0:00:46.390 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:03:49 +0000 (0:00:00.023) 0:00:46.413 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:03:49 +0000 (0:00:00.036) 0:00:46.449 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:03:49 +0000 (0:00:00.426) 0:00:46.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.044) 0:00:46.920 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.021) 0:00:46.942 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.070) 0:00:47.012 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.390) 0:00:47.403 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.024) 0:00:47.428 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.023) 0:00:47.452 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.024) 0:00:47.476 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.040) 0:00:47.517 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.250) 0:00:47.768 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.062) 0:00:47.830 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 04:03:50 +0000 (0:00:00.057) 0:00:47.888 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703045020.4560447, "block_size": 4096, "blocks": 0, "ctime": 1703045020.4560447, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37552, "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": 1703045020.4560447, "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.16el2pk_r4/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.230) 0:00:48.119 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.025) 0:00:48.145 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.033) 0:00:48.178 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.077) 0:00:48.256 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.210) 0:00:48.466 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.030) 0:00:48.497 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024588", "end": "2023-12-20 04:03:51.796810", "rc": 1, "start": "2023-12-20 04:03:51.772222" } 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.250) 0:00:48.747 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.022) 0:00:48.770 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.021) 0:00:48.791 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.028) 0:00:48.820 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.019) 0:00:48.840 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.020) 0:00:48.860 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 04:03:51 +0000 (0:00:00.022) 0:00:48.883 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.028) 0:00:48.911 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.023) 0:00:48.934 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.044) 0:00:48.979 **** 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.085263", "end": "2023-12-20 04:03:52.335252", "rc": 1, "start": "2023-12-20 04:03:52.249989" } STDOUT: Connection 'statebr' (0d39b68a-f30a-49af-8a0e-f4d0ca862dd5) 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.16el2pk_r4/tests/playbooks/tests_states.yml:102 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.294) 0:00:49.273 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.032) 0:00:49.305 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.050) 0:00:49.355 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.041) 0:00:49.397 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.032) 0:00:49.430 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.034) 0:00:49.464 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004135", "end": "2023-12-20 04:03:52.747866", "rc": 0, "start": "2023-12-20 04:03:52.743731" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.224) 0:00:49.688 **** 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.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.023) 0:00:49.711 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.021) 0:00:49.733 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.041) 0:00:49.774 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.052) 0:00:49.826 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:03:52 +0000 (0:00:00.048) 0:00:49.875 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:03:53 +0000 (0:00:00.036) 0:00:49.912 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:03:53 +0000 (0:00:00.064) 0:00:49.976 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:03:53 +0000 (0:00:00.024) 0:00:50.001 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:03:54 +0000 (0:00:01.809) 0:00:51.810 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:03:56 +0000 (0:00:01.392) 0:00:53.203 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:03:56 +0000 (0:00:00.024) 0:00:53.227 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:03:56 +0000 (0:00:00.025) 0:00:53.252 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:03:56 +0000 (0:00:00.025) 0:00:53.278 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:03:56 +0000 (0:00:00.057) 0:00:53.336 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:03:56 +0000 (0:00:00.022) 0:00:53.359 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:03:56 +0000 (0:00:00.024) 0:00:53.384 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:03:56 +0000 (0:00:00.035) 0:00:53.419 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:03:56 +0000 (0:00:00.395) 0:00:53.815 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:03:56 +0000 (0:00:00.039) 0:00:53.854 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.064) 0:00:53.919 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.021) 0:00:53.941 **** 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, df818454-bda1-4bf1-9676-246a77986bf4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.434) 0:00:54.375 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.040) 0:00:54.416 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, df818454-bda1-4bf1-9676-246a77986bf4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.031) 0:00:54.448 **** 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, df818454-bda1-4bf1-9676-246a77986bf4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, df818454-bda1-4bf1-9676-246a77986bf4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.055) 0:00:54.503 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.031) 0:00:54.535 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.241) 0:00:54.776 **** 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, df818454-bda1-4bf1-9676-246a77986bf4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, df818454-bda1-4bf1-9676-246a77986bf4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.025) 0:00:54.801 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.042) 0:00:54.844 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:03:57 +0000 (0:00:00.043) 0:00:54.888 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:03:58 +0000 (0:00:00.035) 0:00:54.923 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:03:58 +0000 (0:00:00.027) 0:00:54.951 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:03:58 +0000 (0:00:00.025) 0:00:54.976 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:03:59 +0000 (0:00:01.883) 0:00:56.859 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:04:01 +0000 (0:00:01.424) 0:00:58.284 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:04:01 +0000 (0:00:00.024) 0:00:58.308 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:04:01 +0000 (0:00:00.023) 0:00:58.332 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:04:01 +0000 (0:00:00.029) 0:00:58.361 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:04:01 +0000 (0:00:00.059) 0:00:58.421 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:04:01 +0000 (0:00:00.024) 0:00:58.446 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:04:01 +0000 (0:00:00.023) 0:00:58.470 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:04:01 +0000 (0:00:00.042) 0:00:58.513 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.415) 0:00:58.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.045) 0:00:58.973 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.019) 0:00:58.993 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.019) 0:00:59.013 **** 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, df818454-bda1-4bf1-9676-246a77986bf4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.468) 0:00:59.482 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.024) 0:00:59.506 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, df818454-bda1-4bf1-9676-246a77986bf4 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.029) 0:00:59.536 **** 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, df818454-bda1-4bf1-9676-246a77986bf4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, df818454-bda1-4bf1-9676-246a77986bf4 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.031) 0:00:59.567 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.027) 0:00:59.594 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.229) 0:00:59.824 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:04:02 +0000 (0:00:00.050) 0:00:59.875 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:04:03 +0000 (0:00:00.043) 0:00:59.918 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:04:03 +0000 (0:00:00.034) 0:00:59.953 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:04:03 +0000 (0:00:00.024) 0:00:59.977 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:04:03 +0000 (0:00:00.022) 0:01:00.000 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:04:04 +0000 (0:00:01.766) 0:01:01.767 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:04:06 +0000 (0:00:01.473) 0:01:03.240 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.022) 0:01:03.262 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.024) 0:01:03.287 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.026) 0:01:03.313 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.052) 0:01:03.366 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.023) 0:01:03.390 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.023) 0:01:03.413 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.034) 0:01:03.447 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.401) 0:01:03.848 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.035) 0:01:03.884 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:04:06 +0000 (0:00:00.018) 0:01:03.903 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.020) 0:01:03.924 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.405) 0:01:04.329 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.041) 0:01:04.371 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.031) 0:01:04.403 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.065) 0:01:04.468 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.023) 0:01:04.492 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.216) 0:01:04.708 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.035) 0:01:04.744 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.040) 0:01:04.785 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.047) 0:01:04.832 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.034) 0:01:04.867 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:04:07 +0000 (0:00:00.022) 0:01:04.890 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:04:08 +0000 (0:00:00.023) 0:01:04.913 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:04:09 +0000 (0:00:01.821) 0:01:06.734 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:04:11 +0000 (0:00:01.460) 0:01:08.194 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.025) 0:01:08.220 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.023) 0:01:08.243 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.024) 0:01:08.267 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.059) 0:01:08.326 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.022) 0:01:08.349 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.022) 0:01:08.371 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.033) 0:01:08.405 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.398) 0:01:08.804 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.047) 0:01:08.851 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.023) 0:01:08.874 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:04:11 +0000 (0:00:00.020) 0:01:08.895 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:04:12 +0000 (0:00:00.445) 0:01:09.340 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:04:12 +0000 (0:00:00.028) 0:01:09.369 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:04:12 +0000 (0:00:00.024) 0:01:09.393 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:04:12 +0000 (0:00:00.024) 0:01:09.418 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:04:12 +0000 (0:00:00.056) 0:01:09.474 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 04:04:12 +0000 (0:00:00.218) 0:01:09.693 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 04:04:12 +0000 (0:00:00.035) 0:01:09.729 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 04:04:12 +0000 (0:00:00.034) 0:01:09.763 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 04:04:12 +0000 (0:00:00.022) 0:01:09.786 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.210) 0:01:09.996 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.020) 0:01:10.016 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023455", "end": "2023-12-20 04:04:13.309673", "rc": 1, "start": "2023-12-20 04:04:13.286218" } 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.230) 0:01:10.247 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.020) 0:01:10.267 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.019) 0:01:10.287 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.018) 0:01:10.306 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.019) 0:01:10.325 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.019) 0:01:10.344 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.021) 0:01:10.366 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.079) 0:01:10.445 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.031) 0:01:10.477 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.211) 0:01:10.688 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.024) 0:01:10.712 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.021) 0:01:10.734 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 04:04:13 +0000 (0:00:00.037) 0:01:10.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.047962", "end": "2023-12-20 04:04:14.092950", "rc": 1, "start": "2023-12-20 04:04:14.044988" } 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.16el2pk_r4/tests/playbooks/tests_states.yml:124 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.258) 0:01:11.031 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.032) 0:01:11.063 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.020) 0:01:11.084 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.039) 0:01:11.123 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.033) 0:01:11.157 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.068) 0:01:11.226 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004150", "end": "2023-12-20 04:04:14.502708", "rc": 0, "start": "2023-12-20 04:04:14.498558" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.215) 0:01:11.442 **** 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.16el2pk_r4/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.021) 0:01:11.464 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.022) 0:01:11.486 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.048) 0:01:11.535 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.043) 0:01:11.578 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.045) 0:01:11.624 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.040) 0:01:11.664 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.023) 0:01:11.688 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:04:14 +0000 (0:00:00.023) 0:01:11.712 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:04:16 +0000 (0:00:01.841) 0:01:13.553 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:04:18 +0000 (0:00:01.485) 0:01:15.039 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.023) 0:01:15.063 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.025) 0:01:15.088 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.025) 0:01:15.114 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.053) 0:01:15.167 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.022) 0:01:15.189 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.023) 0:01:15.212 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.034) 0:01:15.247 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.402) 0:01:15.649 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.036) 0:01:15.685 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.019) 0:01:15.704 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:04:18 +0000 (0:00:00.019) 0:01:15.724 **** 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, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.416) 0:01:16.140 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.023) 0:01:16.163 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.022) 0:01:16.186 **** 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, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.056) 0:01:16.243 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.023) 0:01:16.266 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.224) 0:01:16.491 **** 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, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.025) 0:01:16.516 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.045) 0:01:16.561 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.043) 0:01:16.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.050) 0:01:16.656 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.025) 0:01:16.681 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:04:19 +0000 (0:00:00.024) 0:01:16.705 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:04:21 +0000 (0:00:01.785) 0:01:18.490 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:04:23 +0000 (0:00:01.440) 0:01:19.930 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.064) 0:01:19.995 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.027) 0:01:20.023 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.027) 0:01:20.050 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.060) 0:01:20.110 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.025) 0:01:20.136 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.022) 0:01:20.159 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.035) 0:01:20.194 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.408) 0:01:20.603 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.037) 0:01:20.641 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.024) 0:01:20.665 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:04:23 +0000 (0:00:00.030) 0:01:20.696 **** 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, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.374) 0:01:21.070 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.029) 0:01:21.100 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.029) 0:01:21.130 **** 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, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 20c4a5dd-da90-44fa-83ac-cc12a0225cc1 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.036) 0:01:21.166 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.025) 0:01:21.192 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.294) 0:01:21.486 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.060) 0:01:21.546 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.040) 0:01:21.586 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.042) 0:01:21.628 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.025) 0:01:21.654 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:04:24 +0000 (0:00:00.023) 0:01:21.678 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:04:26 +0000 (0:00:01.805) 0:01:23.483 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:04:27 +0000 (0:00:01.400) 0:01:24.883 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:04:27 +0000 (0:00:00.024) 0:01:24.907 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.035) 0:01:24.943 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.068) 0:01:25.012 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.087) 0:01:25.099 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.024) 0:01:25.124 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.027) 0:01:25.151 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.045) 0:01:25.196 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.412) 0:01:25.609 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.036) 0:01:25.645 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.019) 0:01:25.664 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:04:28 +0000 (0:00:00.019) 0:01:25.684 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.439) 0:01:26.123 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.022) 0:01:26.146 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.024) 0:01:26.170 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.025) 0:01:26.195 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.026) 0:01:26.222 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.218) 0:01:26.440 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.085) 0:01:26.526 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.049) 0:01:26.575 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.047) 0:01:26.623 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.037) 0:01:26.661 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.024) 0:01:26.686 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 04:04:29 +0000 (0:00:00.029) 0:01:26.715 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 04:04:31 +0000 (0:00:01.789) 0:01:28.505 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 04:04:32 +0000 (0:00:01.402) 0:01:29.907 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.028) 0:01:29.936 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.048) 0:01:29.984 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.032) 0:01:30.017 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.154) 0:01:30.172 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.038) 0:01:30.210 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.030) 0:01:30.240 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.035) 0:01:30.276 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.402) 0:01:30.679 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.041) 0:01:30.720 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.021) 0:01:30.742 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 04:04:33 +0000 (0:00:00.019) 0:01:30.762 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.378) 0:01:31.140 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.025) 0:01:31.165 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.030) 0:01:31.195 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.029) 0:01:31.225 **** 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.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.030) 0:01:31.255 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.215) 0:01:31.471 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.043) 0:01:31.514 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.081) 0:01:31.596 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.024) 0:01:31.620 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.206) 0:01:31.827 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 04:04:34 +0000 (0:00:00.019) 0:01:31.847 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022548", "end": "2023-12-20 04:04:35.139071", "rc": 1, "start": "2023-12-20 04:04:35.116523" } 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 04:04:35 +0000 (0:00:00.229) 0:01:32.076 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 04:04:35 +0000 (0:00:00.021) 0:01:32.097 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 04:04:35 +0000 (0:00:00.030) 0:01:32.128 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 04:04:35 +0000 (0:00:00.020) 0:01:32.148 **** 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.16el2pk_r4/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 04:04:35 +0000 (0:00:00.021) 0:01:32.170 **** 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.16el2pk_r4/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 04:04:35 +0000 (0:00:00.026) 0:01:32.197 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 20 December 2023 04:04:35 +0000 (0:00:00.021) 0:01:32.219 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.951947", "end": "2023-12-20 04:04:36.435221", "rc": 0, "start": "2023-12-20 04:04:35.483274" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 20 December 2023 04:04:36 +0000 (0:00:01.155) 0:01:33.374 **** 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.16el2pk_r4/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 20 December 2023 04:04:36 +0000 (0:00:00.022) 0:01:33.396 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 04:04:36 +0000 (0:00:00.021) 0:01:33.417 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 04:04:36 +0000 (0:00:00.082) 0:01:33.499 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 04:04:36 +0000 (0:00:00.031) 0:01:33.531 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 04:04:36 +0000 (0:00:00.203) 0:01:33.735 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 04:04:36 +0000 (0:00:00.023) 0:01:33.759 **** 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.16el2pk_r4/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 04:04:36 +0000 (0:00:00.026) 0:01:33.785 **** included: /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/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.16el2pk_r4/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 04:04:36 +0000 (0:00:00.039) 0:01:33.825 **** 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.046062", "end": "2023-12-20 04:04:37.145726", "rc": 1, "start": "2023-12-20 04:04:37.099664" } 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 Wednesday 20 December 2023 04:04:37 +0000 (0:00:00.302) 0:01:34.127 **** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.08s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.93s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/tests/tests_states_nm.yml:6 ------- fedora.linux_system_roles.network : Check which services are running ---- 1.88s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.84s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.83s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.82s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.81s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.81s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.80s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.79s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.79s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.79s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.78s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.77s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.77s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.75s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.63s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.49s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.47s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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.46s /WORKDIR/git-ansible-lint-test-2.16el2pk_r4/.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. ---^---^---^---^---^---