# 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.163w4dodog/.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.163w4dodog/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.163w4dodog/tests/tests_states_nm.yml:6 Saturday 23 December 2023 21:30:01 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tests_states_nm.yml:9 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.776) 0:00:00.787 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/tasks/el_repo_setup.yml:3 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.011) 0:00:00.799 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tasks/el_repo_setup.yml:17 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.355) 0:00:01.154 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tasks/el_repo_setup.yml:22 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.241) 0:00:01.395 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tasks/el_repo_setup.yml:26 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.013) 0:00:01.409 ***** 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.163w4dodog/tests/tasks/el_repo_setup.yml:51 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.008) 0:00:01.417 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tasks/enable_epel.yml:8 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.021) 0:00:01.439 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tasks/enable_epel.yml:24 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.007) 0:00:01.446 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tasks/enable_epel.yml:30 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.007) 0:00:01.454 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tasks/enable_epel.yml:35 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.007) 0:00:01.462 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/tasks/enable_epel.yml:40 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.007) 0:00:01.469 ***** 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.163w4dodog/tests/tests_states_nm.yml:11 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.007) 0:00:01.476 ***** 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.163w4dodog/tests/playbooks/tests_states.yml:3 Saturday 23 December 2023 21:30:02 +0000 (0:00:00.014) 0:00:01.491 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tests_states.yml:11 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.609) 0:00:02.101 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tests_states.yml:22 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.009) 0:00:02.110 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.013) 0:00:02.124 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.009) 0:00:02.133 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.027) 0:00:02.161 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.011) 0:00:02.172 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.010) 0:00:02.183 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003285", "end": "2023-12-23 21:30:03.754544", "rc": 0, "start": "2023-12-23 21:30:03.751259" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.245) 0:00:02.428 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.010) 0:00:02.438 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.009) 0:00:02.448 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/delete_interface.yml:3 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.015) 0:00:02.463 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007303", "end": "2023-12-23 21:30:03.982454", "rc": 1, "start": "2023-12-23 21:30:03.975151" } 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.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:30:03 +0000 (0:00:00.192) 0:00:02.655 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:30:04 +0000 (0:00:00.011) 0:00:02.666 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:30:04 +0000 (0:00:00.184) 0:00:02.851 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:30:04 +0000 (0:00:00.012) 0:00:02.864 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:30:04 +0000 (0:00:00.019) 0:00:02.883 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:04 +0000 (0:00:00.024) 0:00:02.908 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:04 +0000 (0:00:00.018) 0:00:02.927 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:04 +0000 (0:00:00.018) 0:00:02.946 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:04 +0000 (0:00:00.011) 0:00:02.957 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:04 +0000 (0:00:00.010) 0:00:02.968 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:05 +0000 (0:00:01.507) 0:00:04.475 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:06 +0000 (0:00:01.075) 0:00:05.550 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:06 +0000 (0:00:00.019) 0:00:05.570 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:06 +0000 (0:00:00.019) 0:00:05.590 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:06 +0000 (0:00:00.019) 0:00:05.609 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:07 +0000 (0:00:00.049) 0:00:05.659 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:07 +0000 (0:00:00.020) 0:00:05.680 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:07 +0000 (0:00:00.021) 0:00:05.701 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:07 +0000 (0:00:00.032) 0:00:05.733 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:07 +0000 (0:00:00.549) 0:00:06.283 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:07 +0000 (0:00:00.052) 0:00:06.336 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:07 +0000 (0:00:00.017) 0:00:06.354 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:07 +0000 (0:00:00.018) 0:00:06.372 ***** 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, a577a490-2752-4981-b357-c9399a14c025 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.530) 0:00:06.903 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.021) 0:00:06.924 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a577a490-2752-4981-b357-c9399a14c025" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.021) 0:00:06.946 ***** 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, a577a490-2752-4981-b357-c9399a14c025\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a577a490-2752-4981-b357-c9399a14c025" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.021) 0:00:06.967 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.021) 0:00:06.988 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.260) 0:00:07.249 ***** 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, a577a490-2752-4981-b357-c9399a14c025\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a577a490-2752-4981-b357-c9399a14c025" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.020) 0:00:07.270 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.035) 0:00:07.305 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.033) 0:00:07.339 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.020) 0:00:07.359 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.215) 0:00:07.575 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:30:08 +0000 (0:00:00.018) 0:00:07.593 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020440", "end": "2023-12-23 21:30:09.129893", "rc": 0, "start": "2023-12-23 21:30:09.109453" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.221) 0:00:07.814 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.044) 0:00:07.858 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.019) 0:00:07.878 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.018) 0:00:07.896 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.018) 0:00:07.915 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.018) 0:00:07.933 ***** 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.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.021) 0:00:07.955 ***** 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.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.021) 0:00:07.976 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.019) 0:00:07.996 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.043) 0:00:08.039 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.028) 0:00:08.068 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367008.1587846, "block_size": 4096, "blocks": 0, "ctime": 1703367008.1587846, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30744, "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": 1703367008.1587846, "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.163w4dodog/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.196) 0:00:08.264 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.020) 0:00:08.285 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.018) 0:00:08.303 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.033) 0:00:08.336 ***** 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.059858", "end": "2023-12-23 21:30:09.910937", "rc": 1, "start": "2023-12-23 21:30:09.851079" } STDOUT: Connection 'statebr' (a577a490-2752-4981-b357-c9399a14c025) 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.163w4dodog/tests/playbooks/tests_states.yml:45 Saturday 23 December 2023 21:30:09 +0000 (0:00:00.256) 0:00:08.593 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.065) 0:00:08.659 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.020) 0:00:08.679 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.037) 0:00:08.717 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.029) 0:00:08.746 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.028) 0:00:08.774 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003293", "end": "2023-12-23 21:30:10.291772", "rc": 0, "start": "2023-12-23 21:30:10.288479" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.200) 0:00:08.975 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.019) 0:00:08.995 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.019) 0:00:09.015 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/delete_interface.yml:3 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.032) 0:00:09.047 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006130", "end": "2023-12-23 21:30:10.567498", "rc": 1, "start": "2023-12-23 21:30:10.561368" } 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.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.203) 0:00:09.251 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.029) 0:00:09.281 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.200) 0:00:09.481 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.020) 0:00:09.501 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.053) 0:00:09.555 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.037) 0:00:09.593 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:10 +0000 (0:00:00.035) 0:00:09.628 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:11 +0000 (0:00:00.030) 0:00:09.658 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:11 +0000 (0:00:00.020) 0:00:09.679 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:11 +0000 (0:00:00.020) 0:00:09.699 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:12 +0000 (0:00:01.463) 0:00:11.163 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:13 +0000 (0:00:00.937) 0:00:12.100 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:13 +0000 (0:00:00.021) 0:00:12.122 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:13 +0000 (0:00:00.021) 0:00:12.143 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:13 +0000 (0:00:00.020) 0:00:12.163 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:13 +0000 (0:00:00.050) 0:00:12.213 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:13 +0000 (0:00:00.020) 0:00:12.234 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:13 +0000 (0:00:00.045) 0:00:12.280 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:13 +0000 (0:00:00.033) 0:00:12.313 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.383) 0:00:12.697 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.034) 0:00:12.731 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.018) 0:00:12.749 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.018) 0:00:12.768 ***** 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, 160870ae-5530-4750-8162-bdfa924849b8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.359) 0:00:13.128 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.023) 0:00:13.151 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 160870ae-5530-4750-8162-bdfa924849b8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.021) 0:00:13.172 ***** 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, 160870ae-5530-4750-8162-bdfa924849b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 160870ae-5530-4750-8162-bdfa924849b8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.021) 0:00:13.193 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.021) 0:00:13.215 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.204) 0:00:13.419 ***** 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, 160870ae-5530-4750-8162-bdfa924849b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 160870ae-5530-4750-8162-bdfa924849b8" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.022) 0:00:13.441 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.036) 0:00:13.478 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:30:14 +0000 (0:00:00.029) 0:00:13.507 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.195) 0:00:13.703 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.046) 0:00:13.749 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.033) 0:00:13.782 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.019) 0:00:13.802 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.194) 0:00:13.997 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.018) 0:00:14.015 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019493", "end": "2023-12-23 21:30:15.546746", "rc": 0, "start": "2023-12-23 21:30:15.527253" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.216) 0:00:14.231 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.020) 0:00:14.252 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.019) 0:00:14.272 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.019) 0:00:14.291 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.019) 0:00:14.310 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.019) 0:00:14.329 ***** 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.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.020) 0:00:14.350 ***** 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.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.021) 0:00:14.371 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.020) 0:00:14.391 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.026) 0:00:14.418 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.019) 0:00:14.437 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:30:15 +0000 (0:00:00.057) 0:00:14.495 ***** 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.038595", "end": "2023-12-23 21:30:16.046860", "rc": 1, "start": "2023-12-23 21:30:16.008265" } STDOUT: Connection 'statebr' (160870ae-5530-4750-8162-bdfa924849b8) 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.163w4dodog/tests/playbooks/tests_states.yml:65 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.233) 0:00:14.729 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.030) 0:00:14.760 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.018) 0:00:14.779 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.037) 0:00:14.816 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.028) 0:00:14.845 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.030) 0:00:14.875 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2023-12-23 21:30:16.391726", "rc": 0, "start": "2023-12-23 21:30:16.388274" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.200) 0:00:15.076 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.019) 0:00:15.096 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.019) 0:00:15.115 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.031) 0:00:15.147 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.037) 0:00:15.184 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.057) 0:00:15.242 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.031) 0:00:15.273 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.021) 0:00:15.294 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:16 +0000 (0:00:00.020) 0:00:15.315 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:18 +0000 (0:00:01.423) 0:00:16.739 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.929) 0:00:17.669 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.021) 0:00:17.690 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.021) 0:00:17.712 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.023) 0:00:17.735 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.052) 0:00:17.787 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.022) 0:00:17.810 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.022) 0:00:17.832 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.032) 0:00:17.865 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.378) 0:00:18.244 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.033) 0:00:18.278 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.017) 0:00:18.295 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:19 +0000 (0:00:00.047) 0:00:18.343 ***** 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, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.404) 0:00:18.748 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.021) 0:00:18.769 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.020) 0:00:18.790 ***** 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, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.021) 0:00:18.811 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.021) 0:00:18.833 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.201) 0:00:19.035 ***** 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, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.021) 0:00:19.056 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.034) 0:00:19.090 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.038) 0:00:19.129 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.036) 0:00:19.165 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.032) 0:00:19.198 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.021) 0:00:19.219 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:20 +0000 (0:00:00.021) 0:00:19.241 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:22 +0000 (0:00:01.449) 0:00:20.690 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:22 +0000 (0:00:00.928) 0:00:21.619 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:22 +0000 (0:00:00.022) 0:00:21.641 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.021) 0:00:21.662 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.021) 0:00:21.684 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.049) 0:00:21.734 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.022) 0:00:21.757 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.021) 0:00:21.779 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.031) 0:00:21.811 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.378) 0:00:22.189 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.033) 0:00:22.223 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.018) 0:00:22.241 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.018) 0:00:22.260 ***** 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, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.344) 0:00:22.604 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.022) 0:00:22.626 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:23 +0000 (0:00:00.020) 0:00:22.647 ***** 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, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3cd68c7a-7778-4fbf-9c2f-a15059a60a90 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.050) 0:00:22.697 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.022) 0:00:22.719 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.203) 0:00:22.923 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.035) 0:00:22.959 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.029) 0:00:22.988 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367020.0068882, "block_size": 4096, "blocks": 0, "ctime": 1703367020.0068882, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30875, "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": 1703367020.0068882, "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.163w4dodog/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.198) 0:00:23.186 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.020) 0:00:23.207 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.031) 0:00:23.239 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.020) 0:00:23.259 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.194) 0:00:23.454 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:30:24 +0000 (0:00:00.017) 0:00:23.471 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020149", "end": "2023-12-23 21:30:25.004181", "rc": 0, "start": "2023-12-23 21:30:24.984032" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.217) 0:00:23.689 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.021) 0:00:23.711 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.020) 0:00:23.731 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.020) 0:00:23.751 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.047) 0:00:23.799 ***** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.019) 0:00:23.818 ***** 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.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.022) 0:00:23.841 ***** 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.163w4dodog/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.023) 0:00:23.864 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.021) 0:00:23.885 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.026) 0:00:23.911 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.020) 0:00:23.932 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.034) 0:00:23.966 ***** 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.059633", "end": "2023-12-23 21:30:25.538097", "rc": 1, "start": "2023-12-23 21:30:25.478464" } STDOUT: Connection 'statebr' (3cd68c7a-7778-4fbf-9c2f-a15059a60a90) 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.163w4dodog/tests/playbooks/tests_states.yml:83 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.254) 0:00:24.221 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.030) 0:00:24.251 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.018) 0:00:24.270 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.037) 0:00:24.308 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.029) 0:00:24.337 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.028) 0:00:24.365 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003561", "end": "2023-12-23 21:30:25.879730", "rc": 0, "start": "2023-12-23 21:30:25.876169" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.224) 0:00:24.589 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.020) 0:00:24.610 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:30:25 +0000 (0:00:00.019) 0:00:24.629 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:30:26 +0000 (0:00:00.032) 0:00:24.662 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:26 +0000 (0:00:00.037) 0:00:24.700 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:26 +0000 (0:00:00.034) 0:00:24.735 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:26 +0000 (0:00:00.032) 0:00:24.767 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:26 +0000 (0:00:00.024) 0:00:24.791 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:26 +0000 (0:00:00.022) 0:00:24.814 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:27 +0000 (0:00:01.408) 0:00:26.222 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:28 +0000 (0:00:00.926) 0:00:27.148 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:28 +0000 (0:00:00.020) 0:00:27.169 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:28 +0000 (0:00:00.048) 0:00:27.218 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:28 +0000 (0:00:00.021) 0:00:27.240 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:28 +0000 (0:00:00.051) 0:00:27.292 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:28 +0000 (0:00:00.021) 0:00:27.313 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:28 +0000 (0:00:00.021) 0:00:27.334 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:28 +0000 (0:00:00.032) 0:00:27.366 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.377) 0:00:27.744 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.033) 0:00:27.778 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.018) 0:00:27.796 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.018) 0:00:27.815 ***** 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, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.397) 0:00:28.212 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.021) 0:00:28.234 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.021) 0:00:28.255 ***** 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, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.021) 0:00:28.276 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.021) 0:00:28.298 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.202) 0:00:28.501 ***** 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, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.021) 0:00:28.523 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.065) 0:00:28.588 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:29 +0000 (0:00:00.037) 0:00:28.626 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:30 +0000 (0:00:00.032) 0:00:28.658 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:30 +0000 (0:00:00.021) 0:00:28.680 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:30 +0000 (0:00:00.021) 0:00:28.701 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:31 +0000 (0:00:01.423) 0:00:30.125 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:32 +0000 (0:00:00.931) 0:00:31.056 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:32 +0000 (0:00:00.021) 0:00:31.078 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:32 +0000 (0:00:00.021) 0:00:31.099 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:32 +0000 (0:00:00.020) 0:00:31.120 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:32 +0000 (0:00:00.050) 0:00:31.170 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:32 +0000 (0:00:00.021) 0:00:31.192 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:32 +0000 (0:00:00.021) 0:00:31.213 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:32 +0000 (0:00:00.033) 0:00:31.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:32 +0000 (0:00:00.407) 0:00:31.655 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.034) 0:00:31.689 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.018) 0:00:31.708 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.017) 0:00:31.725 ***** 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, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.351) 0:00:32.077 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.024) 0:00:32.102 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.022) 0:00:32.124 ***** 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, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 46f0bf7d-cb2a-4271-81f8-3c72c392cb44 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.023) 0:00:32.147 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.022) 0:00:32.169 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.202) 0:00:32.372 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/remove_profile.yml:3 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.035) 0:00:32.408 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.040) 0:00:32.448 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.038) 0:00:32.486 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.033) 0:00:32.520 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.021) 0:00:32.542 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:33 +0000 (0:00:00.053) 0:00:32.596 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:35 +0000 (0:00:01.445) 0:00:34.042 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.936) 0:00:34.978 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.021) 0:00:35.000 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.023) 0:00:35.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.022) 0:00:35.045 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.050) 0:00:35.096 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.022) 0:00:35.118 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.021) 0:00:35.139 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.035) 0:00:35.175 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.379) 0:00:35.554 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.034) 0:00:35.589 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.019) 0:00:35.608 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:36 +0000 (0:00:00.019) 0:00:35.627 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:37 +0000 (0:00:00.415) 0:00:36.043 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:37 +0000 (0:00:00.022) 0:00:36.065 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:37 +0000 (0:00:00.052) 0:00:36.118 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:37 +0000 (0:00:00.023) 0:00:36.142 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:37 +0000 (0:00:00.022) 0:00:36.164 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:30:37 +0000 (0:00:00.205) 0:00:36.370 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:30:37 +0000 (0:00:00.036) 0:00:36.406 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:30:37 +0000 (0:00:00.030) 0:00:36.437 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367029.4760365, "block_size": 4096, "blocks": 0, "ctime": 1703367029.4760365, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31006, "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": 1703367029.4760365, "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.163w4dodog/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:30:37 +0000 (0:00:00.200) 0:00:36.637 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.021) 0:00:36.659 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.031) 0:00:36.691 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.020) 0:00:36.711 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.197) 0:00:36.908 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.018) 0:00:36.927 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020129", "end": "2023-12-23 21:30:38.461475", "rc": 1, "start": "2023-12-23 21:30:38.441346" } 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.218) 0:00:37.145 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.018) 0:00:37.163 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.046) 0:00:37.210 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.018) 0:00:37.229 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.019) 0:00:37.248 ***** 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.163w4dodog/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.018) 0:00:37.266 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.020) 0:00:37.287 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.025) 0:00:37.312 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.019) 0:00:37.332 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.033) 0:00:37.365 ***** 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.064384", "end": "2023-12-23 21:30:38.942917", "rc": 1, "start": "2023-12-23 21:30:38.878533" } STDOUT: Connection 'statebr' (46f0bf7d-cb2a-4271-81f8-3c72c392cb44) 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.163w4dodog/tests/playbooks/tests_states.yml:102 Saturday 23 December 2023 21:30:38 +0000 (0:00:00.261) 0:00:37.627 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.030) 0:00:37.658 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.020) 0:00:37.678 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.037) 0:00:37.715 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.029) 0:00:37.745 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.027) 0:00:37.773 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003288", "end": "2023-12-23 21:30:39.288770", "rc": 0, "start": "2023-12-23 21:30:39.285482" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.198) 0:00:37.971 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.047) 0:00:38.019 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.020) 0:00:38.039 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.037) 0:00:38.076 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.038) 0:00:38.115 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.037) 0:00:38.153 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.033) 0:00:38.186 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.022) 0:00:38.209 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:39 +0000 (0:00:00.020) 0:00:38.229 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:41 +0000 (0:00:01.442) 0:00:39.672 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:41 +0000 (0:00:00.933) 0:00:40.605 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:41 +0000 (0:00:00.022) 0:00:40.628 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:41 +0000 (0:00:00.020) 0:00:40.649 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.050) 0:00:40.699 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.051) 0:00:40.750 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.022) 0:00:40.773 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.022) 0:00:40.795 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.039) 0:00:40.835 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.388) 0:00:41.224 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.033) 0:00:41.257 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.018) 0:00:41.276 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:42 +0000 (0:00:00.018) 0:00:41.295 ***** 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, eb81037c-c142-49eb-a6e7-20374c26d553 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.399) 0:00:41.694 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.023) 0:00:41.717 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb81037c-c142-49eb-a6e7-20374c26d553" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.022) 0:00:41.740 ***** 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, eb81037c-c142-49eb-a6e7-20374c26d553\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb81037c-c142-49eb-a6e7-20374c26d553" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.024) 0:00:41.765 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.021) 0:00:41.787 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.203) 0:00:41.990 ***** 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, eb81037c-c142-49eb-a6e7-20374c26d553\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, eb81037c-c142-49eb-a6e7-20374c26d553" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.020) 0:00:42.010 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.066) 0:00:42.077 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.036) 0:00:42.114 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.031) 0:00:42.145 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.021) 0:00:42.166 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:43 +0000 (0:00:00.021) 0:00:42.188 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:44 +0000 (0:00:01.434) 0:00:43.623 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.932) 0:00:44.556 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.022) 0:00:44.578 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.022) 0:00:44.601 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:45 +0000 (0:00:00.021) 0:00:44.623 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.052) 0:00:44.675 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.021) 0:00:44.697 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.021) 0:00:44.718 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.032) 0:00:44.751 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.381) 0:00:45.132 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.064) 0:00:45.197 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.018) 0:00:45.216 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.018) 0:00:45.234 ***** 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, eb81037c-c142-49eb-a6e7-20374c26d553 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.348) 0:00:45.583 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.024) 0:00:45.608 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eb81037c-c142-49eb-a6e7-20374c26d553 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.022) 0:00:45.631 ***** 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, eb81037c-c142-49eb-a6e7-20374c26d553 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, eb81037c-c142-49eb-a6e7-20374c26d553 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:46 +0000 (0:00:00.023) 0:00:45.654 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:47 +0000 (0:00:00.022) 0:00:45.676 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/remove_profile.yml:3 Saturday 23 December 2023 21:30:47 +0000 (0:00:00.202) 0:00:45.879 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:47 +0000 (0:00:00.039) 0:00:45.919 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:47 +0000 (0:00:00.037) 0:00:45.956 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:47 +0000 (0:00:00.032) 0:00:45.989 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:47 +0000 (0:00:00.023) 0:00:46.013 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:47 +0000 (0:00:00.021) 0:00:46.034 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:48 +0000 (0:00:01.421) 0:00:47.456 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:49 +0000 (0:00:00.990) 0:00:48.447 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:49 +0000 (0:00:00.022) 0:00:48.469 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:49 +0000 (0:00:00.021) 0:00:48.491 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:49 +0000 (0:00:00.022) 0:00:48.514 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:49 +0000 (0:00:00.051) 0:00:48.565 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:49 +0000 (0:00:00.021) 0:00:48.586 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:49 +0000 (0:00:00.022) 0:00:48.608 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:49 +0000 (0:00:00.032) 0:00:48.640 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.380) 0:00:49.020 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.034) 0:00:49.055 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.018) 0:00:49.073 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.018) 0:00:49.092 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.374) 0:00:49.466 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.022) 0:00:49.488 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.021) 0:00:49.510 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.021) 0:00:49.532 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:50 +0000 (0:00:00.052) 0:00:49.584 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:30:51 +0000 (0:00:00.203) 0:00:49.788 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 21:30:51 +0000 (0:00:00.035) 0:00:49.823 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:51 +0000 (0:00:00.038) 0:00:49.862 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:51 +0000 (0:00:00.037) 0:00:49.899 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:51 +0000 (0:00:00.031) 0:00:49.931 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:51 +0000 (0:00:00.022) 0:00:49.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 : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:51 +0000 (0:00:00.022) 0:00:49.975 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:52 +0000 (0:00:01.420) 0:00:51.396 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.937) 0:00:52.333 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.022) 0:00:52.355 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.021) 0:00:52.377 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.055) 0:00:52.432 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.052) 0:00:52.485 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.021) 0:00:52.506 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.022) 0:00:52.529 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:53 +0000 (0:00:00.032) 0:00:52.561 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:54 +0000 (0:00:00.379) 0:00:52.940 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:54 +0000 (0:00:00.034) 0:00:52.975 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:54 +0000 (0:00:00.018) 0:00:52.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:54 +0000 (0:00:00.018) 0:00:53.012 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:30:54 +0000 (0:00:00.420) 0:00:53.433 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:30:54 +0000 (0:00:00.023) 0:00:53.456 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:30:54 +0000 (0:00:00.022) 0:00:53.478 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:30:54 +0000 (0:00:00.021) 0:00:53.500 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:30:54 +0000 (0:00:00.022) 0:00:53.522 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.200) 0:00:53.723 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.033) 0:00:53.757 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.060) 0:00:53.817 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.019) 0:00:53.837 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.192) 0:00:54.030 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.018) 0:00:54.048 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019944", "end": "2023-12-23 21:30:55.578718", "rc": 1, "start": "2023-12-23 21:30:55.558774" } 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.215) 0:00:54.263 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.019) 0:00:54.282 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.019) 0:00:54.302 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.018) 0:00:54.321 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.019) 0:00:54.341 ***** 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.163w4dodog/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.019) 0:00:54.360 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.020) 0:00:54.380 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.044) 0:00:54.425 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.029) 0:00:54.454 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:30:55 +0000 (0:00:00.195) 0:00:54.649 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.021) 0:00:54.671 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.018) 0:00:54.690 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.064) 0:00:54.754 ***** 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.037506", "end": "2023-12-23 21:30:56.304658", "rc": 1, "start": "2023-12-23 21:30:56.267152" } 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.163w4dodog/tests/playbooks/tests_states.yml:124 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.233) 0:00:54.988 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.030) 0:00:55.019 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.020) 0:00:55.039 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.037) 0:00:55.077 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.028) 0:00:55.106 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.027) 0:00:55.134 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003318", "end": "2023-12-23 21:30:56.648232", "rc": 0, "start": "2023-12-23 21:30:56.644914" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.197) 0:00:55.331 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.020) 0:00:55.351 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.019) 0:00:55.371 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.035) 0:00:55.406 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.037) 0:00:55.444 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.065) 0:00:55.509 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.032) 0:00:55.541 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.022) 0:00:55.564 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:30:56 +0000 (0:00:00.021) 0:00:55.585 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:30:58 +0000 (0:00:01.425) 0:00:57.011 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.929) 0:00:57.940 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.022) 0:00:57.962 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.021) 0:00:57.983 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.021) 0:00:58.005 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.050) 0:00:58.055 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.022) 0:00:58.077 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.022) 0:00:58.100 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.032) 0:00:58.132 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.379) 0:00:58.511 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.033) 0:00:58.545 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.050) 0:00:58.595 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:30:59 +0000 (0:00:00.019) 0:00:58.615 ***** 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, 4037a02b-0997-4de3-bbe9-a9dff33811f7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.397) 0:00:59.012 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.022) 0:00:59.035 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4037a02b-0997-4de3-bbe9-a9dff33811f7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.021) 0:00:59.056 ***** 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, 4037a02b-0997-4de3-bbe9-a9dff33811f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4037a02b-0997-4de3-bbe9-a9dff33811f7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.022) 0:00:59.079 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.021) 0:00:59.100 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.203) 0:00:59.303 ***** 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, 4037a02b-0997-4de3-bbe9-a9dff33811f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4037a02b-0997-4de3-bbe9-a9dff33811f7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.020) 0:00:59.324 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.038) 0:00:59.362 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.035) 0:00:59.397 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.030) 0:00:59.428 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.022) 0:00:59.450 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:31:00 +0000 (0:00:00.022) 0:00:59.473 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:31:02 +0000 (0:00:01.469) 0:01:00.942 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.927) 0:01:01.869 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.021) 0:01:01.891 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.022) 0:01:01.913 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.021) 0:01:01.935 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.051) 0:01:01.986 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.022) 0:01:02.009 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.021) 0:01:02.030 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.032) 0:01:02.063 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.379) 0:01:02.443 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.035) 0:01:02.479 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.019) 0:01:02.498 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:31:03 +0000 (0:00:00.018) 0:01:02.517 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4037a02b-0997-4de3-bbe9-a9dff33811f7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.346) 0:01:02.863 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.021) 0:01:02.885 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4037a02b-0997-4de3-bbe9-a9dff33811f7 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.021) 0:01:02.907 ***** 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, 4037a02b-0997-4de3-bbe9-a9dff33811f7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4037a02b-0997-4de3-bbe9-a9dff33811f7 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.021) 0:01:02.929 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.092) 0:01:03.022 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.203) 0:01:03.225 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.039) 0:01:03.265 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.037) 0:01:03.302 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.031) 0:01:03.334 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.022) 0:01:03.356 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:31:04 +0000 (0:00:00.022) 0:01:03.378 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:31:06 +0000 (0:00:01.415) 0:01:04.794 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.927) 0:01:05.721 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.021) 0:01:05.743 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.022) 0:01:05.765 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.021) 0:01:05.787 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.122) 0:01:05.909 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.023) 0:01:05.932 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.022) 0:01:05.954 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.033) 0:01:05.988 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.386) 0:01:06.374 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.034) 0:01:06.409 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.018) 0:01:06.427 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:31:07 +0000 (0:00:00.018) 0:01:06.446 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.432) 0:01:06.878 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.022) 0:01:06.900 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.022) 0:01:06.923 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.022) 0:01:06.945 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.022) 0:01:06.967 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.205) 0:01:07.173 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.034) 0:01:07.207 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.069) 0:01:07.277 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.037) 0:01:07.315 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.032) 0:01:07.348 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.021) 0:01:07.370 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:31:08 +0000 (0:00:00.022) 0:01:07.392 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:31:10 +0000 (0:00:01.448) 0:01:08.840 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.936) 0:01:09.776 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.021) 0:01:09.798 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.022) 0:01:09.820 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.021) 0:01:09.842 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.051) 0:01:09.893 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.022) 0:01:09.915 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.021) 0:01:09.937 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.032) 0:01:09.970 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.380) 0:01:10.350 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.069) 0:01:10.419 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.019) 0:01:10.439 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:31:11 +0000 (0:00:00.018) 0:01:10.457 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.367) 0:01:10.824 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.022) 0:01:10.847 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.022) 0:01:10.869 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.021) 0:01:10.891 ***** 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.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.022) 0:01:10.913 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.203) 0:01:11.116 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.036) 0:01:11.153 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.031) 0:01:11.185 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.019) 0:01:11.204 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.197) 0:01:11.401 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.017) 0:01:11.419 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018104", "end": "2023-12-23 21:31:12.950337", "rc": 1, "start": "2023-12-23 21:31:12.932233" } 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.214) 0:01:11.634 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:31:12 +0000 (0:00:00.019) 0:01:11.653 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.050) 0:01:11.703 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.020) 0:01:11.724 ***** 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.163w4dodog/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.018) 0:01:11.743 ***** 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.163w4dodog/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.019) 0:01:11.762 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.021) 0:01:11.783 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.557981", "end": "2023-12-23 21:31:13.854663", "rc": 0, "start": "2023-12-23 21:31:13.296682" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.756) 0:01:12.540 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.020) 0:01:12.560 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.019) 0:01:12.580 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.044) 0:01:12.625 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:31:13 +0000 (0:00:00.029) 0:01:12.654 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.163w4dodog/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:31:14 +0000 (0:00:00.195) 0:01:12.850 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:31:14 +0000 (0:00:00.021) 0:01:12.871 ***** 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.163w4dodog/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:31:14 +0000 (0:00:00.019) 0:01:12.891 ***** included: /WORKDIR/git-ansible-lint-test-2.163w4dodog/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.163w4dodog/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:31:14 +0000 (0:00:00.035) 0:01:12.926 ***** 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.036293", "end": "2023-12-23 21:31:14.475655", "rc": 1, "start": "2023-12-23 21:31:14.439362" } 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=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Saturday 23 December 2023 21:31:14 +0000 (0:00:00.294) 0:01:13.221 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.51s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.47s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.46s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.45s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.44s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.43s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.43s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.42s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.42s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.42s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.42s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.42s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.41s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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.08s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.94s /WORKDIR/git-ansible-lint-test-2.163w4dodog/.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. ---^---^---^---^---^---