# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/tests_states_nm.yml:6 Thursday 21 December 2023 16:20:38 +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.160g_yl_ag/tests/tests_states_nm.yml:9 Thursday 21 December 2023 16:20:39 +0000 (0:00:00.698) 0:00:00.710 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:20:39 +0000 (0:00:00.011) 0:00:00.722 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/el_repo_setup.yml:17 Thursday 21 December 2023 16:20:39 +0000 (0:00:00.245) 0:00:00.968 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/el_repo_setup.yml:22 Thursday 21 December 2023 16:20:39 +0000 (0:00:00.181) 0:00:01.149 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/el_repo_setup.yml:26 Thursday 21 December 2023 16:20:39 +0000 (0:00:00.014) 0:00:01.164 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/el_repo_setup.yml:51 Thursday 21 December 2023 16:20:39 +0000 (0:00:00.009) 0:00:01.173 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:20:39 +0000 (0:00:00.021) 0:00:01.194 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:20:40 +0000 (0:00:00.194) 0:00:01.389 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:20:40 +0000 (0:00:00.431) 0:00:01.821 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192318", "end": "2023-12-21 16:20:40.885344", "rc": 0, "start": "2023-12-21 16:20:40.693026" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:20:40 +0000 (0:00:00.317) 0:00:02.138 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:20:40 +0000 (0:00:00.008) 0:00:02.147 ***** 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.160g_yl_ag/tests/tests_states_nm.yml:11 Thursday 21 December 2023 16:20:40 +0000 (0:00:00.007) 0:00:02.155 ***** 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.160g_yl_ag/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 16:20:40 +0000 (0:00:00.015) 0:00:02.170 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.549) 0:00:02.719 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.010) 0:00:02.730 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.013) 0:00:02.743 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.009) 0:00:02.753 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.027) 0:00:02.780 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.012) 0:00:02.792 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.010) 0:00:02.803 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003846", "end": "2023-12-21 16:20:41.677573", "rc": 0, "start": "2023-12-21 16:20:41.673727" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.126) 0:00:02.929 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.010) 0:00:02.940 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.009) 0:00:02.949 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.015) 0:00:02.965 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011527", "end": "2023-12-21 16:20:41.847219", "rc": 1, "start": "2023-12-21 16:20:41.835692" } 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.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.133) 0:00:03.098 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:20:41 +0000 (0:00:00.015) 0:00:03.114 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:20:42 +0000 (0:00:00.123) 0:00:03.237 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:20:42 +0000 (0:00:00.010) 0:00:03.248 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:20:42 +0000 (0:00:00.014) 0:00:03.263 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:20:42 +0000 (0:00:00.022) 0:00:03.286 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:20:42 +0000 (0:00:00.018) 0:00:03.304 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:20:42 +0000 (0:00:00.018) 0:00:03.323 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:20:42 +0000 (0:00:00.011) 0:00: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 : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:20:42 +0000 (0:00:00.013) 0:00:03.347 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:20:43 +0000 (0:00:00.913) 0:00:04.260 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:20:43 +0000 (0:00:00.830) 0:00:05.091 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:20:43 +0000 (0:00:00.022) 0:00:05.113 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:20:43 +0000 (0:00:00.021) 0:00:05.134 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:20:43 +0000 (0:00:00.020) 0:00:05.155 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:20:43 +0000 (0:00:00.053) 0:00:05.209 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:20:44 +0000 (0:00:00.038) 0:00:05.247 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:20:44 +0000 (0:00:00.024) 0:00:05.272 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:20:44 +0000 (0:00:00.035) 0:00:05.307 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:20:44 +0000 (0:00:00.436) 0:00:05.743 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:20:44 +0000 (0:00:00.058) 0:00:05.802 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:20:44 +0000 (0:00:00.020) 0:00:05.822 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:20:44 +0000 (0:00:00.020) 0:00:05.843 ***** 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, 2e12b74a-0d6b-4c61-9bc5-ef495f237610 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.479) 0:00:06.322 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.020) 0:00:06.343 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e12b74a-0d6b-4c61-9bc5-ef495f237610" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.021) 0:00:06.364 ***** 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, 2e12b74a-0d6b-4c61-9bc5-ef495f237610\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e12b74a-0d6b-4c61-9bc5-ef495f237610" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.020) 0:00:06.385 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.023) 0:00:06.409 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.199) 0:00:06.608 ***** 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, 2e12b74a-0d6b-4c61-9bc5-ef495f237610\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e12b74a-0d6b-4c61-9bc5-ef495f237610" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.020) 0:00:06.629 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.033) 0:00:06.662 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.031) 0:00:06.694 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.036) 0:00:06.730 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703175644.997223, "block_size": 4096, "blocks": 8, "ctime": 1703175644.996223, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703175644.996223, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.137) 0:00:06.868 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.036) 0:00:06.904 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025983", "end": "2023-12-21 16:20:45.841434", "rc": 0, "start": "2023-12-21 16:20:45.815451" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.198) 0:00:07.103 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.044) 0:00:07.148 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.018) 0:00:07.167 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.022) 0:00:07.189 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.018) 0:00:07.207 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:20:45 +0000 (0:00:00.022) 0:00:07.229 ***** 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.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.022) 0:00:07.252 ***** 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.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.022) 0:00:07.274 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.022) 0:00:07.297 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.043) 0:00:07.340 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.028) 0:00:07.369 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703175645.009223, "block_size": 4096, "blocks": 0, "ctime": 1703175644.999223, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17600, "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": 1703175644.999223, "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.160g_yl_ag/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.136) 0:00:07.506 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.020) 0:00:07.526 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.020) 0:00:07.546 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.032) 0:00:07.579 ***** 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.078119", "end": "2023-12-21 16:20:46.527474", "rc": 1, "start": "2023-12-21 16:20:46.449355" } STDOUT: Connection 'statebr' (2e12b74a-0d6b-4c61-9bc5-ef495f237610) successfully deleted. STDERR: (process:26708): GLib-GIO-WARNING **: 16:20:46.502: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/46 but no object proxy exists (process:26708): GLib-GIO-WARNING **: 16:20:46.504: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/52 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-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.160g_yl_ag/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.209) 0:00:07.788 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.051) 0:00:07.839 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.019) 0:00:07.858 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.037) 0:00:07.895 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.029) 0:00:07.925 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.027) 0:00:07.952 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003930", "end": "2023-12-21 16:20:46.828406", "rc": 0, "start": "2023-12-21 16:20:46.824476" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.137) 0:00:08.089 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.019) 0:00:08.109 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.022) 0:00:08.131 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:20:46 +0000 (0:00:00.032) 0:00:08.163 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007723", "end": "2023-12-21 16:20:47.041958", "rc": 1, "start": "2023-12-21 16:20:47.034235" } 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.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.138) 0:00:08.302 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.030) 0:00:08.332 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.132) 0:00:08.464 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.019) 0:00:08.484 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.030) 0:00:08.515 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.057) 0:00:08.572 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.035) 0:00:08.608 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.030) 0:00:08.638 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.021) 0:00:08.660 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:20:47 +0000 (0:00:00.020) 0:00:08.680 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:20:48 +0000 (0:00:00.822) 0:00:09.503 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:20:48 +0000 (0:00:00.666) 0:00:10.170 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:20:48 +0000 (0:00:00.021) 0:00:10.191 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:20:48 +0000 (0:00:00.020) 0:00:10.212 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:20:48 +0000 (0:00:00.020) 0:00:10.233 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.050) 0:00:10.283 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.021) 0:00:10.305 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.020) 0:00:10.326 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.035) 0:00:10.361 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.248) 0:00:10.609 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.095) 0:00:10.704 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.018) 0:00:10.723 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.018) 0:00:10.742 ***** 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, bc97983c-240b-4fd4-9a8e-297be9497e09 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.309) 0:00:11.051 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.021) 0:00:11.072 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc97983c-240b-4fd4-9a8e-297be9497e09" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.024) 0:00:11.097 ***** 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, bc97983c-240b-4fd4-9a8e-297be9497e09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc97983c-240b-4fd4-9a8e-297be9497e09" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.038) 0:00:11.135 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:20:49 +0000 (0:00:00.026) 0:00:11.162 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.140) 0:00:11.303 ***** 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, bc97983c-240b-4fd4-9a8e-297be9497e09\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc97983c-240b-4fd4-9a8e-297be9497e09" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.021) 0:00:11.325 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.034) 0:00:11.359 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.031) 0:00:11.390 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.134) 0:00:11.525 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.019) 0:00:11.545 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.054) 0:00:11.599 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.019) 0:00:11.618 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703175649.7702594, "block_size": 4096, "blocks": 8, "ctime": 1703175649.7702594, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427532, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703175649.7702594, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.135) 0:00:11.754 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.019) 0:00:11.773 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023879", "end": "2023-12-21 16:20:50.668552", "rc": 0, "start": "2023-12-21 16:20:50.644673" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.156) 0:00:11.930 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.020) 0:00:11.950 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.019) 0:00:11.970 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.020) 0:00:11.991 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.021) 0:00:12.012 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.024) 0:00:12.037 ***** 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.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.022) 0:00:12.059 ***** 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.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.022) 0:00:12.081 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.020) 0:00:12.102 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.025) 0:00:12.127 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.020) 0:00:12.147 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:20:50 +0000 (0:00:00.032) 0:00:12.180 ***** 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.053311", "end": "2023-12-21 16:20:51.107405", "rc": 1, "start": "2023-12-21 16:20:51.054094" } STDOUT: Connection 'statebr' (bc97983c-240b-4fd4-9a8e-297be9497e09) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-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.160g_yl_ag/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.187) 0:00:12.368 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.031) 0:00:12.399 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.049) 0:00:12.448 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.038) 0:00:12.486 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.029) 0:00:12.516 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.028) 0:00:12.545 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003784", "end": "2023-12-21 16:20:51.419508", "rc": 0, "start": "2023-12-21 16:20:51.415724" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.137) 0:00:12.682 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.020) 0:00:12.703 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.023) 0:00:12.726 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.033) 0:00:12.760 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.040) 0:00:12.801 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.037) 0:00:12.838 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.031) 0:00:12.870 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.021) 0:00:12.891 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:20:51 +0000 (0:00:00.020) 0:00:12.912 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:20:52 +0000 (0:00:00.867) 0:00:13.779 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.667) 0:00:14.446 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.021) 0:00:14.468 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.020) 0:00:14.489 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.021) 0:00:14.510 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.049) 0:00:14.560 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.021) 0:00:14.581 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.020) 0:00:14.602 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.032) 0:00:14.634 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.242) 0:00:14.877 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.035) 0:00:14.913 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.017) 0:00:14.931 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:20:53 +0000 (0:00:00.018) 0:00:14.949 ***** 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, 7442bc45-0fb1-4967-9a19-569e552d9ac8 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.345) 0:00:15.295 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.021) 0:00:15.316 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7442bc45-0fb1-4967-9a19-569e552d9ac8" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.021) 0:00:15.338 ***** 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, 7442bc45-0fb1-4967-9a19-569e552d9ac8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7442bc45-0fb1-4967-9a19-569e552d9ac8" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.021) 0:00:15.359 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.047) 0:00:15.407 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.142) 0:00:15.549 ***** 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, 7442bc45-0fb1-4967-9a19-569e552d9ac8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7442bc45-0fb1-4967-9a19-569e552d9ac8" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.020) 0:00:15.570 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.031) 0:00:15.602 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.036) 0:00:15.638 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.034) 0:00:15.673 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.031) 0:00:15.705 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.021) 0:00:15.726 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:20:54 +0000 (0:00:00.023) 0:00:15.749 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:20:55 +0000 (0:00:00.825) 0:00:16.575 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.673) 0:00:17.248 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.020) 0:00:17.269 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.045) 0:00:17.315 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.022) 0:00:17.337 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.049) 0:00:17.386 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.021) 0:00:17.408 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.020) 0:00:17.429 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.032) 0:00:17.461 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.244) 0:00:17.705 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.036) 0:00:17.741 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.018) 0:00:17.760 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.018) 0:00:17.779 ***** 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, 7442bc45-0fb1-4967-9a19-569e552d9ac8 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.292) 0:00:18.071 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.022) 0:00:18.093 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7442bc45-0fb1-4967-9a19-569e552d9ac8 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.022) 0:00:18.115 ***** 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, 7442bc45-0fb1-4967-9a19-569e552d9ac8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7442bc45-0fb1-4967-9a19-569e552d9ac8 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.021) 0:00:18.136 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:20:56 +0000 (0:00:00.021) 0:00:18.158 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.140) 0:00:18.299 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.038) 0:00:18.337 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.058) 0:00:18.395 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703175653.9732914, "block_size": 4096, "blocks": 0, "ctime": 1703175653.9722915, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17600, "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": 1703175653.9722915, "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.160g_yl_ag/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.134) 0:00:18.530 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.031) 0:00:18.562 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.033) 0:00:18.595 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.019) 0:00:18.614 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703175654.035292, "block_size": 4096, "blocks": 8, "ctime": 1703175653.9712913, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703175653.9712913, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.130) 0:00:18.745 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.019) 0:00:18.765 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024436", "end": "2023-12-21 16:20:57.659609", "rc": 0, "start": "2023-12-21 16:20:57.635173" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.156) 0:00:18.921 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.021) 0:00:18.942 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.018) 0:00:18.961 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.019) 0:00:18.980 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.020) 0:00:19.000 ***** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.019) 0:00:19.020 ***** 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.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.022) 0:00:19.042 ***** 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.160g_yl_ag/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.025) 0:00:19.068 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.024) 0:00:19.093 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.030) 0:00:19.123 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.051) 0:00:19.175 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:20:57 +0000 (0:00:00.035) 0:00:19.210 ***** 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.085666", "end": "2023-12-21 16:20:58.169413", "rc": 1, "start": "2023-12-21 16:20:58.083747" } STDOUT: Connection 'statebr' (7442bc45-0fb1-4967-9a19-569e552d9ac8) successfully deleted. STDERR: (process:27482): GLib-GIO-WARNING **: 16:20:58.146: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/47 but no object proxy exists (process:27482): GLib-GIO-WARNING **: 16:20:58.146: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/97 but no object proxy exists (process:27482): GLib-GIO-WARNING **: 16:20:58.146: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/53 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-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.160g_yl_ag/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.221) 0:00:19.431 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.030) 0:00:19.461 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.019) 0:00:19.481 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.038) 0:00:19.519 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.029) 0:00:19.549 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.028) 0:00:19.578 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003894", "end": "2023-12-21 16:20:58.454517", "rc": 0, "start": "2023-12-21 16:20:58.450623" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.139) 0:00:19.717 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.020) 0:00:19.737 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.026) 0:00:19.764 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.045) 0:00:19.809 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.038) 0:00:19.848 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.061) 0:00:19.910 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.031) 0:00:19.942 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.025) 0:00:19.967 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:20:58 +0000 (0:00:00.023) 0:00:19.990 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:20:59 +0000 (0:00:00.830) 0:00:20.821 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.675) 0:00:21.497 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.021) 0:00:21.518 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.020) 0:00:21.539 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.020) 0:00:21.560 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.049) 0:00:21.610 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.021) 0:00:21.632 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.020) 0:00:21.652 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.033) 0:00:21.686 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.244) 0:00:21.930 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.032) 0:00:21.963 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.051) 0:00:22.015 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:00 +0000 (0:00:00.018) 0:00:22.034 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e247c745-aea7-45ee-9111-d667813c846e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.353) 0:00:22.387 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.021) 0:00:22.408 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e247c745-aea7-45ee-9111-d667813c846e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.021) 0:00:22.430 ***** 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, e247c745-aea7-45ee-9111-d667813c846e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e247c745-aea7-45ee-9111-d667813c846e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.021) 0:00:22.451 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.021) 0:00:22.472 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.140) 0:00:22.612 ***** 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, e247c745-aea7-45ee-9111-d667813c846e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e247c745-aea7-45ee-9111-d667813c846e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.022) 0:00:22.634 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.037) 0:00:22.672 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.035) 0:00:22.707 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.031) 0:00:22.738 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.020) 0:00:22.759 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:01 +0000 (0:00:00.020) 0:00:22.780 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:02 +0000 (0:00:00.825) 0:00:23.605 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.737) 0:00:24.343 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.021) 0:00:24.364 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.023) 0:00:24.387 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.021) 0:00:24.409 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.051) 0:00:24.461 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.021) 0:00:24.482 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.020) 0:00:24.503 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.032) 0:00:24.535 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.242) 0:00:24.778 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.033) 0:00:24.812 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.017) 0:00:24.829 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.017) 0:00:24.847 ***** 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, e247c745-aea7-45ee-9111-d667813c846e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.293) 0:00:25.140 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.022) 0:00:25.163 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e247c745-aea7-45ee-9111-d667813c846e skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.021) 0:00:25.185 ***** 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, e247c745-aea7-45ee-9111-d667813c846e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e247c745-aea7-45ee-9111-d667813c846e skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.024) 0:00:25.209 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:03 +0000 (0:00:00.022) 0:00:25.232 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:21:04 +0000 (0:00:00.167) 0:00:25.399 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:21:04 +0000 (0:00:00.033) 0:00:25.433 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:04 +0000 (0:00:00.038) 0:00:25.471 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:04 +0000 (0:00:00.036) 0:00:25.507 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:04 +0000 (0:00:00.032) 0:00:25.540 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:04 +0000 (0:00:00.022) 0:00:25.563 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:04 +0000 (0:00:00.020) 0:00:25.584 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:05 +0000 (0:00:00.814) 0:00:26.398 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:05 +0000 (0:00:00.667) 0:00:27.066 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:05 +0000 (0:00:00.021) 0:00:27.088 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:05 +0000 (0:00:00.020) 0:00:27.109 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:05 +0000 (0:00:00.020) 0:00:27.129 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:05 +0000 (0:00:00.049) 0:00:27.179 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:05 +0000 (0:00:00.053) 0:00:27.233 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.021) 0:00:27.255 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.033) 0:00:27.288 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.246) 0:00:27.535 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.036) 0:00:27.571 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.019) 0:00:27.590 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.018) 0:00:27.609 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.330) 0:00:27.940 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.021) 0:00:27.961 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.021) 0:00:27.983 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.025) 0:00:28.008 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.021) 0:00:28.030 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.138) 0:00:28.168 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.035) 0:00:28.204 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:21:06 +0000 (0:00:00.029) 0:00:28.234 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703175661.0693455, "block_size": 4096, "blocks": 0, "ctime": 1703175661.0623455, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17603, "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": 1703175661.0623455, "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.160g_yl_ag/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.134) 0:00:28.368 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.047) 0:00:28.416 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.030) 0:00:28.447 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.019) 0:00:28.466 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.133) 0:00:28.599 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.019) 0:00:28.618 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024944", "end": "2023-12-21 16:21:07.514287", "rc": 1, "start": "2023-12-21 16:21:07.489343" } 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.156) 0:00:28.775 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.019) 0:00:28.794 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.017) 0:00:28.812 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.018) 0:00:28.831 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.018) 0:00:28.849 ***** 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.160g_yl_ag/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.018) 0:00:28.867 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.019) 0:00:28.887 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.025) 0:00:28.913 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.020) 0:00:28.933 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.033) 0:00:28.967 ***** 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.085880", "end": "2023-12-21 16:21:07.924905", "rc": 1, "start": "2023-12-21 16:21:07.839025" } STDOUT: Connection 'statebr' (e247c745-aea7-45ee-9111-d667813c846e) successfully deleted. STDERR: (process:28160): GLib-GIO-WARNING **: 16:21:07.900: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/48 but no object proxy exists (process:28160): GLib-GIO-WARNING **: 16:21:07.902: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/54 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-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.160g_yl_ag/tests/playbooks/tests_states.yml:102 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.219) 0:00:29.186 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:21:07 +0000 (0:00:00.032) 0:00:29.218 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.062) 0:00:29.281 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.039) 0:00:29.320 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.030) 0:00:29.350 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.029) 0:00:29.379 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004105", "end": "2023-12-21 16:21:08.262866", "rc": 0, "start": "2023-12-21 16:21:08.258761" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.145) 0:00:29.524 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.019) 0:00:29.544 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.019) 0:00:29.563 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.035) 0:00:29.599 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.037) 0:00:29.637 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.035) 0:00:29.673 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.030) 0:00:29.703 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.022) 0:00:29.726 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:08 +0000 (0:00:00.022) 0:00:29.749 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:09 +0000 (0:00:00.875) 0:00:30.624 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.670) 0:00:31.295 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.022) 0:00:31.317 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.021) 0:00:31.339 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.023) 0:00:31.362 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.051) 0:00:31.413 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.024) 0:00:31.438 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.021) 0:00:31.459 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.032) 0:00:31.492 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.246) 0:00:31.738 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.039) 0:00:31.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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.019) 0:00:31.797 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.021) 0:00:31.819 ***** 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, 63f29d85-a333-4b18-a65c-2c5256d55690 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.345) 0:00:32.164 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.022) 0:00:32.187 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 63f29d85-a333-4b18-a65c-2c5256d55690" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:10 +0000 (0:00:00.031) 0:00:32.219 ***** 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, 63f29d85-a333-4b18-a65c-2c5256d55690\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 63f29d85-a333-4b18-a65c-2c5256d55690" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:11 +0000 (0:00:00.022) 0:00:32.241 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:11 +0000 (0:00:00.075) 0:00:32.316 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:21:11 +0000 (0:00:00.145) 0:00:32.462 ***** 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, 63f29d85-a333-4b18-a65c-2c5256d55690\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 63f29d85-a333-4b18-a65c-2c5256d55690" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:21:11 +0000 (0:00:00.021) 0:00:32.483 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:11 +0000 (0:00:00.037) 0:00:32.521 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:11 +0000 (0:00:00.036) 0:00:32.557 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:11 +0000 (0:00:00.032) 0:00:32.589 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:11 +0000 (0:00:00.021) 0:00:32.611 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:11 +0000 (0:00:00.022) 0:00:32.633 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:12 +0000 (0:00:00.817) 0:00:33.450 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:12 +0000 (0:00:00.672) 0:00:34.123 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:12 +0000 (0:00:00.021) 0:00:34.144 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:12 +0000 (0:00:00.022) 0:00:34.167 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:12 +0000 (0:00:00.021) 0:00:34.189 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.084) 0:00:34.273 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.022) 0:00:34.296 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.022) 0:00:34.319 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.033) 0:00:34.352 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.246) 0:00:34.598 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.033) 0:00:34.632 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.018) 0:00:34.650 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.018) 0:00:34.668 ***** 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, 63f29d85-a333-4b18-a65c-2c5256d55690 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.288) 0:00:34.957 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.022) 0:00:34.979 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 63f29d85-a333-4b18-a65c-2c5256d55690 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.021) 0:00:35.000 ***** 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, 63f29d85-a333-4b18-a65c-2c5256d55690 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 63f29d85-a333-4b18-a65c-2c5256d55690 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.022) 0:00:35.023 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.025) 0:00:35.048 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.143) 0:00:35.191 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:13 +0000 (0:00:00.042) 0:00:35.233 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:14 +0000 (0:00:00.036) 0:00:35.269 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:14 +0000 (0:00:00.062) 0:00:35.332 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:14 +0000 (0:00:00.022) 0:00:35.355 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:14 +0000 (0:00:00.021) 0:00:35.376 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:14 +0000 (0:00:00.812) 0:00:36.189 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:15 +0000 (0:00:00.668) 0:00:36.858 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:15 +0000 (0:00:00.021) 0:00:36.879 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:15 +0000 (0:00:00.022) 0:00:36.902 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:15 +0000 (0:00:00.022) 0:00:36.924 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:15 +0000 (0:00:00.053) 0:00:36.978 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:15 +0000 (0:00:00.026) 0:00:37.004 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:15 +0000 (0:00:00.032) 0:00:37.037 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:15 +0000 (0:00:00.036) 0:00:37.073 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.250) 0:00:37.324 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.034) 0:00:37.358 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.018) 0:00:37.377 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.018) 0:00:37.395 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.360) 0:00:37.756 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.097) 0:00:37.854 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.022) 0:00:37.876 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.021) 0:00:37.898 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.022) 0:00:37.921 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.140) 0:00:38.061 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.035) 0:00:38.097 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.040) 0:00:38.137 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.041) 0:00:38.178 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.032) 0:00:38.210 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:16 +0000 (0:00:00.023) 0:00:38.233 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:17 +0000 (0:00:00.021) 0:00:38.254 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:17 +0000 (0:00:00.809) 0:00:39.064 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:18 +0000 (0:00:00.730) 0:00:39.794 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:18 +0000 (0:00:00.022) 0:00:39.816 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:18 +0000 (0:00:00.022) 0:00:39.838 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:18 +0000 (0:00:00.022) 0:00:39.861 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:18 +0000 (0:00:00.051) 0:00:39.912 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:18 +0000 (0:00:00.023) 0:00:39.936 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:18 +0000 (0:00:00.022) 0:00:39.959 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:18 +0000 (0:00:00.034) 0:00:39.993 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.250) 0:00:40.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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.037) 0:00:40.281 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.026) 0:00:40.308 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.021) 0:00:40.330 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.384) 0:00:40.715 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.022) 0:00:40.737 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.021) 0:00:40.758 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.022) 0:00:40.781 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.021) 0:00:40.803 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.138) 0:00:40.942 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.067) 0:00:41.010 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.032) 0:00:41.042 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.019) 0:00:41.062 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.134) 0:00:41.197 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:21:19 +0000 (0:00:00.017) 0:00:41.215 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023190", "end": "2023-12-21 16:21:20.109420", "rc": 1, "start": "2023-12-21 16:21:20.086230" } 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.155) 0:00:41.371 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.019) 0:00:41.390 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.019) 0:00:41.410 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.019) 0:00:41.430 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.018) 0:00:41.449 ***** 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.160g_yl_ag/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.019) 0:00:41.469 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.021) 0:00:41.490 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.044) 0:00:41.534 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.030) 0:00:41.565 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.133) 0:00:41.699 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.050) 0:00:41.749 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.020) 0:00:41.769 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.034) 0:00:41.803 ***** 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.047133", "end": "2023-12-21 16:21:20.720774", "rc": 1, "start": "2023-12-21 16:21:20.673641" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-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.160g_yl_ag/tests/playbooks/tests_states.yml:124 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.179) 0:00:41.982 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.029) 0:00:42.012 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.021) 0:00:42.034 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.037) 0:00:42.071 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.029) 0:00:42.101 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:21:20 +0000 (0:00:00.027) 0:00:42.128 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003902", "end": "2023-12-21 16:21:21.003891", "rc": 0, "start": "2023-12-21 16:21:20.999989" } STDOUT: bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:21:21 +0000 (0:00:00.137) 0:00:42.266 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:21:21 +0000 (0:00:00.020) 0:00:42.286 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:21:21 +0000 (0:00:00.018) 0:00:42.305 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:21:21 +0000 (0:00:00.035) 0:00:42.341 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:21 +0000 (0:00:00.071) 0:00:42.412 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:21 +0000 (0:00:00.036) 0:00:42.448 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:21 +0000 (0:00:00.033) 0:00:42.482 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:21 +0000 (0:00:00.021) 0:00:42.504 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:21 +0000 (0:00:00.022) 0:00:42.526 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:22 +0000 (0:00:00.815) 0:00:43.341 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:22 +0000 (0:00:00.683) 0:00:44.024 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:22 +0000 (0:00:00.022) 0:00:44.047 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:22 +0000 (0:00:00.023) 0:00:44.071 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:22 +0000 (0:00:00.024) 0:00:44.095 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:22 +0000 (0:00:00.060) 0:00:44.156 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:22 +0000 (0:00:00.023) 0:00:44.179 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:22 +0000 (0:00:00.022) 0:00:44.202 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:22 +0000 (0:00:00.033) 0:00:44.235 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.248) 0:00:44.483 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.033) 0:00:44.516 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.051) 0:00:44.568 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.019) 0:00:44.587 ***** 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, 94d76308-8663-45da-aeed-e0bbcf5bb6f9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.347) 0:00:44.935 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.022) 0:00:44.958 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 94d76308-8663-45da-aeed-e0bbcf5bb6f9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.022) 0:00:44.980 ***** 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, 94d76308-8663-45da-aeed-e0bbcf5bb6f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 94d76308-8663-45da-aeed-e0bbcf5bb6f9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.024) 0:00:45.004 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.025) 0:00:45.029 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.141) 0:00:45.171 ***** 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, 94d76308-8663-45da-aeed-e0bbcf5bb6f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 94d76308-8663-45da-aeed-e0bbcf5bb6f9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.021) 0:00:45.192 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:23 +0000 (0:00:00.038) 0:00:45.231 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:24 +0000 (0:00:00.037) 0:00:45.268 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:24 +0000 (0:00:00.032) 0:00:45.301 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:24 +0000 (0:00:00.022) 0:00:45.324 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:24 +0000 (0:00:00.022) 0:00:45.346 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:24 +0000 (0:00:00.848) 0:00:46.194 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:25 +0000 (0:00:00.675) 0:00:46.870 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:25 +0000 (0:00:00.021) 0:00:46.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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:25 +0000 (0:00:00.021) 0:00:46.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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:25 +0000 (0:00:00.021) 0:00:46.934 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:25 +0000 (0:00:00.052) 0:00:46.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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:25 +0000 (0:00:00.021) 0:00:47.008 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:25 +0000 (0:00:00.021) 0:00:47.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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:25 +0000 (0:00:00.033) 0:00:47.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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.249) 0:00:47.313 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.034) 0:00:47.347 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.019) 0:00:47.367 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.020) 0:00:47.387 ***** 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, 94d76308-8663-45da-aeed-e0bbcf5bb6f9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.291) 0:00:47.678 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.023) 0:00:47.702 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 94d76308-8663-45da-aeed-e0bbcf5bb6f9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.022) 0:00:47.724 ***** 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, 94d76308-8663-45da-aeed-e0bbcf5bb6f9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 94d76308-8663-45da-aeed-e0bbcf5bb6f9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.022) 0:00:47.747 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.022) 0:00:47.769 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.176) 0:00:47.945 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.038) 0:00:47.984 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.036) 0:00:48.021 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.032) 0:00:48.053 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.022) 0:00:48.076 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:26 +0000 (0:00:00.022) 0:00:48.098 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:27 +0000 (0:00:00.815) 0:00:48.914 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.672) 0:00:49.587 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.021) 0:00:49.608 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.021) 0:00:49.630 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.021) 0:00:49.651 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.049) 0:00:49.700 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.061) 0:00:49.762 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.022) 0:00:49.785 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.032) 0:00:49.818 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.247) 0:00:50.066 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.034) 0:00:50.100 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.018) 0:00:50.118 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:28 +0000 (0:00:00.018) 0:00:50.136 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.404) 0:00:50.541 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.030) 0:00:50.571 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.025) 0:00:50.597 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.023) 0:00:50.620 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.024) 0:00:50.645 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.142) 0:00:50.788 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.033) 0:00:50.822 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.037) 0:00:50.859 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.066) 0:00:50.926 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.032) 0:00:50.958 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.021) 0:00:50.980 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 21 December 2023 16:21:29 +0000 (0:00:00.022) 0:00:51.003 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 21 December 2023 16:21:30 +0000 (0:00:00.822) 0:00:51.825 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.673) 0:00:52.498 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.021) 0:00:52.520 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.021) 0:00:52.541 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.021) 0:00:52.563 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.050) 0:00:52.613 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.021) 0:00:52.635 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.021) 0:00:52.657 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.031) 0:00:52.689 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.246) 0:00:52.935 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.035) 0:00:52.970 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.020) 0:00:52.990 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 21 December 2023 16:21:31 +0000 (0:00:00.018) 0:00:53.009 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.386) 0:00:53.396 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.023) 0:00:53.419 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.023) 0:00:53.442 ***** 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.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.023) 0:00:53.466 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.021) 0:00:53.488 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.138) 0:00:53.626 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.038) 0:00:53.665 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.031) 0:00:53.696 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.029) 0:00:53.726 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.135) 0:00:53.861 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.021) 0:00:53.883 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022122", "end": "2023-12-21 16:21:32.776280", "rc": 1, "start": "2023-12-21 16:21:32.754158" } 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.154) 0:00:54.037 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.019) 0:00:54.056 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.018) 0:00:54.074 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.019) 0:00:54.093 ***** 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.160g_yl_ag/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.018) 0:00:54.112 ***** 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.160g_yl_ag/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.050) 0:00:54.163 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 16:21:32 +0000 (0:00:00.021) 0:00:54.184 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.402649", "end": "2023-12-21 16:21:33.457769", "rc": 0, "start": "2023-12-21 16:21:33.055120" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 16:21:33 +0000 (0:00:00.537) 0:00:54.721 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 16:21:33 +0000 (0:00:00.020) 0:00:54.741 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:21:33 +0000 (0:00:00.021) 0:00:54.763 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:21:33 +0000 (0:00:00.046) 0:00:54.809 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:21:33 +0000 (0:00:00.031) 0:00:54.840 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:21:33 +0000 (0:00:00.134) 0:00:54.975 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:21:33 +0000 (0:00:00.022) 0:00:54.998 ***** 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.160g_yl_ag/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:21:33 +0000 (0:00:00.020) 0:00:55.018 ***** included: /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/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.160g_yl_ag/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:21:33 +0000 (0:00:00.035) 0:00:55.054 ***** 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.049884", "end": "2023-12-21 16:21:33.975041", "rc": 1, "start": "2023-12-21 16:21:33.925157" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Thursday 21 December 2023 16:21:34 +0000 (0:00:00.213) 0:00:55.267 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 0.91s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.88s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.87s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.85s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.83s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.73s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/tests/tests_states_nm.yml:6 ------- fedora.linux_system_roles.network : Check which packages are installed --- 0.68s /WORKDIR/git-ansible-lint-test-2.160g_yl_ag/.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. ---^---^---^---^---^---