# 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.16lo91s7h8/.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.16lo91s7h8/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.16lo91s7h8/tests/tests_states_nm.yml:6 Saturday 23 December 2023 21:39:44 +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.16lo91s7h8/tests/tests_states_nm.yml:9 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.680) 0:00:00.691 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/tasks/el_repo_setup.yml:3 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.011) 0:00:00.702 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/el_repo_setup.yml:17 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.243) 0:00:00.946 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/el_repo_setup.yml:22 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.180) 0:00:01.127 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/el_repo_setup.yml:26 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.013) 0:00:01.140 ***** 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.16lo91s7h8/tests/tasks/el_repo_setup.yml:51 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.007) 0:00:01.148 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/enable_epel.yml:8 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.020) 0:00:01.168 ***** 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.16lo91s7h8/tests/tasks/enable_epel.yml:24 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.187) 0:00:01.356 ***** 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.16lo91s7h8/tests/tasks/enable_epel.yml:30 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.417) 0:00:01.774 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192032", "end": "2023-12-23 21:39:46.958113", "rc": 0, "start": "2023-12-23 21:39:46.766081" } 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.16lo91s7h8/tests/tasks/enable_epel.yml:35 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.316) 0:00:02.090 ***** 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.16lo91s7h8/tests/tasks/enable_epel.yml:40 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.008) 0:00:02.099 ***** 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.16lo91s7h8/tests/tests_states_nm.yml:11 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.008) 0:00:02.108 ***** 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.16lo91s7h8/tests/playbooks/tests_states.yml:3 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.029) 0:00:02.137 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:11 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.503) 0:00:02.641 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:22 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.009) 0:00:02.651 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.014) 0:00:02.665 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.011) 0:00:02.676 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.031) 0:00:02.708 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.012) 0:00:02.721 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.011) 0:00:02.732 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003631", "end": "2023-12-23 21:39:47.725097", "rc": 0, "start": "2023-12-23 21:39:47.721466" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.124) 0:00:02.857 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.015) 0:00:02.873 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.021) 0:00:02.894 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/delete_interface.yml:3 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.015) 0:00:02.910 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011412", "end": "2023-12-23 21:39:47.942560", "rc": 1, "start": "2023-12-23 21:39:47.931148" } 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.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.162) 0:00:03.073 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.011) 0:00:03.084 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.132) 0:00:03.216 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.018) 0:00:03.235 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.031) 0:00:03.266 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.037) 0:00:03.304 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.019) 0:00:03.323 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.032) 0:00:03.356 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.043) 0:00:03.399 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.014) 0:00:03.413 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:39:49 +0000 (0:00:00.860) 0:00:04.273 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:39:49 +0000 (0:00:00.828) 0:00:05.102 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.020) 0:00:05.123 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.019) 0:00:05.143 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.020) 0:00:05.163 ***** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.050) 0:00:05.214 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.019) 0:00:05.234 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.021) 0:00:05.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.031) 0:00:05.286 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.443) 0:00:05.729 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.038) 0:00:05.768 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.036) 0:00:05.805 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.031) 0:00:05.836 ***** 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, ae3fd91d-4120-4c7b-aea3-ab28b3e67fbb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.521) 0:00:06.358 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.020) 0:00:06.379 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae3fd91d-4120-4c7b-aea3-ab28b3e67fbb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.027) 0:00:06.407 ***** 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, ae3fd91d-4120-4c7b-aea3-ab28b3e67fbb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae3fd91d-4120-4c7b-aea3-ab28b3e67fbb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.025) 0:00:06.432 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.030) 0:00:06.463 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.196) 0:00:06.660 ***** 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, ae3fd91d-4120-4c7b-aea3-ab28b3e67fbb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ae3fd91d-4120-4c7b-aea3-ab28b3e67fbb" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.026) 0:00:06.687 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.033) 0:00:06.720 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.031) 0:00:06.751 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.017) 0:00:06.769 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367591.2354536, "block_size": 4096, "blocks": 8, "ctime": 1703367591.1554534, "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": 1703367591.1554534, "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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.136) 0:00:06.906 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.020) 0:00:06.926 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022952", "end": "2023-12-23 21:39:51.942289", "rc": 0, "start": "2023-12-23 21:39:51.919337" } 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.155) 0:00:07.082 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.019) 0:00:07.102 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.039) 0:00:07.141 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.020) 0:00:07.162 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.019) 0:00:07.181 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.024) 0:00:07.206 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.020) 0:00:07.227 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.022) 0:00:07.249 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.029) 0:00:07.278 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.055) 0:00:07.333 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.032) 0:00:07.366 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367591.1584535, "block_size": 4096, "blocks": 0, "ctime": 1703367591.1574535, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17483, "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": 1703367591.1574535, "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.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.143) 0:00:07.510 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.022) 0:00:07.532 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.019) 0:00:07.551 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.032) 0:00:07.584 ***** 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.075894", "end": "2023-12-23 21:39:52.650717", "rc": 1, "start": "2023-12-23 21:39:52.574823" } STDOUT: Connection 'statebr' (ae3fd91d-4120-4c7b-aea3-ab28b3e67fbb) successfully deleted. STDERR: (process:29046): GLib-GIO-WARNING **: 21:39:52.633: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/43 but no object proxy exists (process:29046): GLib-GIO-WARNING **: 21:39:52.633: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/59 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.16lo91s7h8/tests/playbooks/tests_states.yml:45 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.209) 0:00:07.793 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.029) 0:00:07.822 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.040) 0:00:07.863 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.036) 0:00:07.899 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.027) 0:00:07.926 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.027) 0:00:07.954 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003815", "end": "2023-12-23 21:39:52.950923", "rc": 0, "start": "2023-12-23 21:39:52.947108" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.136) 0:00:08.090 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.019) 0:00:08.110 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.020) 0:00:08.130 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/delete_interface.yml:3 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.034) 0:00:08.165 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007868", "end": "2023-12-23 21:39:53.165531", "rc": 1, "start": "2023-12-23 21:39:53.157663" } 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.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.140) 0:00:08.305 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.030) 0:00:08.335 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.151) 0:00:08.486 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.019) 0:00:08.506 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.031) 0:00:08.538 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.065) 0:00:08.604 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.035) 0:00:08.639 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.031) 0:00:08.671 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.022) 0:00:08.694 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.020) 0:00:08.715 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:39:54 +0000 (0:00:00.792) 0:00:09.507 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.660) 0:00:10.168 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.020) 0:00:10.189 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.028) 0:00:10.218 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.024) 0:00:10.242 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.053) 0:00:10.295 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.026) 0:00:10.322 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.021) 0:00:10.344 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.044) 0:00:10.388 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.251) 0:00:10.639 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.035) 0:00:10.675 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.046) 0:00:10.721 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.020) 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, b8a43924-5b16-42bd-969e-12275df8e46d TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.300) 0:00:11.043 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.031) 0:00:11.074 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8a43924-5b16-42bd-969e-12275df8e46d" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.044) 0:00:11.119 ***** 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, b8a43924-5b16-42bd-969e-12275df8e46d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8a43924-5b16-42bd-969e-12275df8e46d" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.029) 0:00:11.149 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.023) 0:00:11.172 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.139) 0:00:11.312 ***** 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, b8a43924-5b16-42bd-969e-12275df8e46d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b8a43924-5b16-42bd-969e-12275df8e46d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.020) 0:00:11.333 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.034) 0:00:11.367 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.027) 0:00:11.395 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.129) 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.020) 0:00:11.545 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.028) 0:00:11.574 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.017) 0:00:11.592 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367595.8764608, "block_size": 4096, "blocks": 8, "ctime": 1703367595.8754609, "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": 1703367595.8754609, "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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.157) 0:00:11.750 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.022) 0:00:11.772 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020928", "end": "2023-12-23 21:39:56.791830", "rc": 0, "start": "2023-12-23 21:39:56.770902" } 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.161) 0:00:11.934 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.024) 0:00:11.959 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.019) 0:00:11.978 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.021) 0:00:11.999 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.023) 0:00:12.023 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.021) 0:00:12.044 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.023) 0:00:12.068 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.023) 0:00:12.091 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.019) 0:00:12.111 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.033) 0:00:12.145 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.018) 0:00:12.164 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.033) 0:00:12.197 ***** 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.044510", "end": "2023-12-23 21:39:57.232718", "rc": 1, "start": "2023-12-23 21:39:57.188208" } STDOUT: Connection 'statebr' (b8a43924-5b16-42bd-969e-12275df8e46d) 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.16lo91s7h8/tests/playbooks/tests_states.yml:65 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.174) 0:00:12.372 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.029) 0:00:12.402 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.020) 0:00:12.422 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.070) 0:00:12.492 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.036) 0:00:12.529 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.028) 0:00:12.557 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003518", "end": "2023-12-23 21:39:57.551951", "rc": 0, "start": "2023-12-23 21:39:57.548433" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.164) 0:00:12.722 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.024) 0:00:12.746 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.020) 0:00:12.767 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.030) 0:00:12.798 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.039) 0:00:12.838 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.036) 0:00:12.874 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.037) 0:00:12.912 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.021) 0:00:12.933 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.019) 0:00:12.953 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:39:58 +0000 (0:00:00.779) 0:00:13.733 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.752) 0:00:14.485 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.040) 0:00:14.526 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.027) 0:00:14.553 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.027) 0:00:14.581 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.050) 0:00:14.631 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.022) 0:00:14.654 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.021) 0:00:14.675 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.039) 0:00:14.714 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.265) 0:00:14.980 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.043) 0:00:15.024 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.022) 0:00:15.046 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.022) 0:00:15.068 ***** 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, 9303dc4b-0d12-40c4-ad32-8ff968fb5993 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.369) 0:00:15.438 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.021) 0:00:15.460 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9303dc4b-0d12-40c4-ad32-8ff968fb5993" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.022) 0:00:15.482 ***** 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, 9303dc4b-0d12-40c4-ad32-8ff968fb5993\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9303dc4b-0d12-40c4-ad32-8ff968fb5993" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.023) 0:00:15.506 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.038) 0:00:15.545 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.197) 0:00:15.742 ***** 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, 9303dc4b-0d12-40c4-ad32-8ff968fb5993\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9303dc4b-0d12-40c4-ad32-8ff968fb5993" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.021) 0:00:15.764 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.033) 0:00:15.797 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.036) 0:00:15.834 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.035) 0:00:15.870 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.031) 0:00:15.901 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.037) 0:00:15.939 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.041) 0:00:15.981 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.839) 0:00:16.820 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.684) 0:00:17.505 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.021) 0:00:17.527 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.021) 0:00:17.548 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.020) 0:00:17.568 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.122) 0:00:17.691 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.023) 0:00:17.715 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.021) 0:00:17.736 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.031) 0:00:17.767 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.254) 0:00:18.021 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.036) 0:00:18.058 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.018) 0:00:18.076 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.027) 0:00:18.103 ***** 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, 9303dc4b-0d12-40c4-ad32-8ff968fb5993 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.290) 0:00:18.394 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.021) 0:00:18.416 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9303dc4b-0d12-40c4-ad32-8ff968fb5993 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.019) 0:00:18.435 ***** 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, 9303dc4b-0d12-40c4-ad32-8ff968fb5993 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9303dc4b-0d12-40c4-ad32-8ff968fb5993 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.020) 0:00:18.456 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.020) 0:00:18.476 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.139) 0:00:18.615 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.033) 0:00:18.648 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.026) 0:00:18.675 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367600.2534676, "block_size": 4096, "blocks": 0, "ctime": 1703367600.2434676, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17483, "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": 1703367600.2434676, "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.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.165) 0:00:18.840 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.021) 0:00:18.862 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.034) 0:00:18.897 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.019) 0:00:18.916 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367600.3064675, "block_size": 4096, "blocks": 8, "ctime": 1703367600.2414675, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703367600.2414675, "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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.154) 0:00:19.070 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.019) 0:00:19.090 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021821", "end": "2023-12-23 21:40:04.104997", "rc": 0, "start": "2023-12-23 21:40:04.083176" } 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.155) 0:00:19.246 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.020) 0:00:19.266 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.018) 0:00:19.284 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.019) 0:00:19.303 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.020) 0:00:19.324 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.021) 0:00:19.345 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.022) 0:00:19.368 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.024) 0:00:19.392 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.021) 0:00:19.414 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.028) 0:00:19.442 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.021) 0:00:19.463 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.031) 0:00:19.494 ***** 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.078383", "end": "2023-12-23 21:40:04.567992", "rc": 1, "start": "2023-12-23 21:40:04.489609" } STDOUT: Connection 'statebr' (9303dc4b-0d12-40c4-ad32-8ff968fb5993) 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.16lo91s7h8/tests/playbooks/tests_states.yml:83 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.245) 0:00:19.740 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.031) 0:00:19.772 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.023) 0:00:19.796 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.060) 0:00:19.856 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.043) 0:00:19.900 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.030) 0:00:19.931 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003912", "end": "2023-12-23 21:40:04.936658", "rc": 0, "start": "2023-12-23 21:40:04.932746" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.147) 0:00:20.079 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.020) 0:00:20.099 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.018) 0:00:20.117 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.032) 0:00:20.150 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.036) 0:00:20.187 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.033) 0:00:20.220 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.028) 0:00:20.249 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.051) 0:00:20.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 : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.023) 0:00:20.324 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.786) 0:00:21.110 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.665) 0:00:21.776 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.021) 0:00:21.798 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.021) 0:00:21.819 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.020) 0:00:21.840 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.051) 0:00:21.891 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.021) 0:00:21.912 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.024) 0:00:21.937 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.045) 0:00:21.982 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.265) 0:00:22.248 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.041) 0:00:22.289 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.018) 0:00:22.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.018) 0:00:22.327 ***** 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, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.372) 0:00:22.699 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.062) 0:00:22.761 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.029) 0:00:22.791 ***** 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, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.022) 0:00:22.814 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.030) 0:00:22.844 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.197) 0:00:23.042 ***** 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, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.030) 0:00:23.073 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.068) 0:00:23.141 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.073) 0:00:23.214 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.045) 0:00:23.260 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.035) 0:00:23.295 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.026) 0:00:23.321 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.861) 0:00:24.183 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.682) 0:00:24.865 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.055) 0:00:24.921 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.025) 0:00:24.946 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.031) 0:00:24.978 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.057) 0:00:25.036 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.021) 0:00:25.057 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.020) 0:00:25.078 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.034) 0:00:25.112 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.247) 0:00:25.359 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.032) 0:00:25.392 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.017) 0:00:25.410 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.017) 0:00:25.427 ***** 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, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.279) 0:00:25.707 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.020) 0:00:25.728 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.020) 0:00:25.748 ***** 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, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f6d38941-a0ce-4a28-9f9e-19fc37cb8d52 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.020) 0:00:25.769 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.021) 0:00:25.791 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.136) 0:00:25.928 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/remove_profile.yml:3 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.031) 0:00:25.959 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.067) 0:00:26.027 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.034) 0:00:26.062 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.035) 0:00:26.097 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.021) 0:00:26.119 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.020) 0:00:26.140 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.781) 0:00:26.921 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.673) 0:00:27.595 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.020) 0:00:27.615 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.020) 0:00:27.636 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.021) 0:00:27.658 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.050) 0:00:27.708 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.024) 0:00:27.733 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.023) 0:00:27.756 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.034) 0:00:27.791 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.304) 0:00:28.096 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.032) 0:00:28.128 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.017) 0:00:28.146 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.018) 0:00:28.165 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.320) 0:00:28.485 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.022) 0:00:28.507 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.025) 0:00:28.532 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.021) 0:00:28.554 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.026) 0:00:28.580 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.137) 0:00:28.718 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.035) 0:00:28.754 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.028) 0:00:28.782 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367607.514479, "block_size": 4096, "blocks": 0, "ctime": 1703367607.5044787, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17487, "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": 1703367607.5044787, "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.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.134) 0:00:28.917 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.029) 0:00:28.947 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.045) 0:00:28.992 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.065) 0:00:29.058 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.142) 0:00:29.200 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.018) 0:00:29.219 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021421", "end": "2023-12-23 21:40:14.235083", "rc": 1, "start": "2023-12-23 21:40:14.213662" } 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.168) 0:00:29.387 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.050) 0:00:29.438 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.025) 0:00:29.464 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.022) 0:00:29.486 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.028) 0:00:29.515 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.032) 0:00:29.548 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.026) 0:00:29.575 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.030) 0:00:29.605 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.022) 0:00:29.627 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.032) 0:00:29.660 ***** 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.078645", "end": "2023-12-23 21:40:14.752401", "rc": 1, "start": "2023-12-23 21:40:14.673756" } STDOUT: Connection 'statebr' (f6d38941-a0ce-4a28-9f9e-19fc37cb8d52) successfully deleted. STDERR: (process:30497): GLib-GIO-WARNING **: 21:40:14.729: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/45 but no object proxy exists (process:30497): GLib-GIO-WARNING **: 21:40:14.729: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/108 but no object proxy exists (process:30497): GLib-GIO-WARNING **: 21:40:14.729: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/61 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.16lo91s7h8/tests/playbooks/tests_states.yml:102 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.239) 0:00:29.900 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.031) 0:00:29.931 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.022) 0:00:29.954 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.039) 0:00:29.993 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.056) 0:00:30.050 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.027) 0:00:30.078 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004483", "end": "2023-12-23 21:40:15.078294", "rc": 0, "start": "2023-12-23 21:40:15.073811" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.141) 0:00:30.219 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.019) 0:00:30.239 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.019) 0:00:30.258 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.034) 0:00:30.292 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.036) 0:00:30.328 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.034) 0:00:30.363 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.033) 0:00:30.396 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.021) 0:00:30.418 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.021) 0:00:30.440 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.793) 0:00:31.234 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.727) 0:00:31.961 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.022) 0:00:31.983 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.020) 0:00:32.004 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.021) 0:00:32.026 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.050) 0:00:32.077 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.025) 0:00:32.102 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.025) 0:00:32.127 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.038) 0:00:32.165 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.248) 0:00:32.414 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.035) 0:00:32.450 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.020) 0:00:32.470 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.022) 0:00:32.493 ***** 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, 284db68e-a1bf-4080-b813-37178583fb50 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.346) 0:00:32.840 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.031) 0:00:32.871 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 284db68e-a1bf-4080-b813-37178583fb50" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.027) 0:00:32.899 ***** 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, 284db68e-a1bf-4080-b813-37178583fb50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 284db68e-a1bf-4080-b813-37178583fb50" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.026) 0:00:32.926 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.026) 0:00:32.952 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.152) 0:00:33.105 ***** 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, 284db68e-a1bf-4080-b813-37178583fb50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 284db68e-a1bf-4080-b813-37178583fb50" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:40:18 +0000 (0:00:00.056) 0:00:33.161 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:18 +0000 (0:00:00.041) 0:00:33.202 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:18 +0000 (0:00:00.052) 0:00:33.254 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:18 +0000 (0:00:00.031) 0:00:33.286 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:18 +0000 (0:00:00.020) 0:00:33.307 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:18 +0000 (0:00:00.021) 0:00:33.328 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.794) 0:00:34.123 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.666) 0:00:34.789 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.021) 0:00:34.811 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.023) 0:00:34.834 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.021) 0:00:34.855 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.059) 0:00:34.915 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.022) 0:00:34.938 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.025) 0:00:34.963 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.069) 0:00:35.033 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.251) 0:00:35.284 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.035) 0:00:35.319 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.021) 0:00:35.341 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.027) 0:00:35.369 ***** 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, 284db68e-a1bf-4080-b813-37178583fb50 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.298) 0:00:35.667 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.026) 0:00:35.693 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 284db68e-a1bf-4080-b813-37178583fb50 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.025) 0:00:35.719 ***** 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, 284db68e-a1bf-4080-b813-37178583fb50 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 284db68e-a1bf-4080-b813-37178583fb50 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.045) 0:00:35.765 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.041) 0:00:35.806 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove_profile.yml:3 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.146) 0:00:35.953 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.038) 0:00:35.991 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.039) 0:00:36.030 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.039) 0:00:36.070 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:21 +0000 (0:00:00.053) 0:00:36.123 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:21 +0000 (0:00:00.031) 0:00:36.155 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:21 +0000 (0:00:00.931) 0:00:37.087 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.692) 0:00:37.779 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.034) 0:00:37.814 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.038) 0:00:37.852 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.027) 0:00:37.880 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.054) 0:00:37.934 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.027) 0:00:37.962 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.026) 0:00:37.989 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.070) 0:00:38.060 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.278) 0:00:38.338 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.066) 0:00:38.404 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.028) 0:00:38.432 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.021) 0:00:38.454 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.313) 0:00:38.767 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.021) 0:00:38.788 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.021) 0:00:38.810 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.020) 0:00:38.831 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.053) 0:00:38.885 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.137) 0:00:39.022 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.034) 0:00:39.056 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.038) 0:00:39.095 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.036) 0:00:39.131 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.034) 0:00:39.166 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.026) 0:00:39.193 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.022) 0:00:39.215 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.802) 0:00:40.018 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:25 +0000 (0:00:00.659) 0:00:40.678 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:25 +0000 (0:00:00.036) 0:00:40.714 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:25 +0000 (0:00:00.028) 0:00:40.742 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:25 +0000 (0:00:00.075) 0:00:40.818 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:25 +0000 (0:00:00.074) 0:00:40.892 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:25 +0000 (0:00:00.022) 0:00:40.915 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:25 +0000 (0:00:00.022) 0:00:40.937 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:25 +0000 (0:00:00.039) 0:00:40.977 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.295) 0:00:41.272 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.041) 0:00:41.314 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.020) 0:00:41.334 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.019) 0:00:41.354 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.375) 0:00:41.729 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.021) 0:00:41.751 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.022) 0:00:41.774 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.021) 0:00:41.796 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.021) 0:00:41.817 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.138) 0:00:41.956 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.038) 0:00:41.995 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.064) 0:00:42.060 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.035) 0:00:42.095 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.186) 0:00:42.282 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.018) 0:00:42.301 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020460", "end": "2023-12-23 21:40:27.311962", "rc": 1, "start": "2023-12-23 21:40:27.291502" } 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.155) 0:00:42.456 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.024) 0:00:42.481 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.028) 0:00:42.509 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.020) 0:00:42.529 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.017) 0:00:42.547 ***** 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.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.018) 0:00:42.566 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.020) 0:00:42.586 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.042) 0:00:42.628 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.032) 0:00:42.660 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.156) 0:00:42.817 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.038) 0:00:42.855 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.022) 0:00:42.878 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.033) 0:00:42.911 ***** 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.041471", "end": "2023-12-23 21:40:27.944003", "rc": 1, "start": "2023-12-23 21:40:27.902532" } 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.16lo91s7h8/tests/playbooks/tests_states.yml:124 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.215) 0:00:43.127 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.030) 0:00:43.157 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.025) 0:00:43.183 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.038) 0:00:43.221 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.029) 0:00:43.251 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.027) 0:00:43.279 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003903", "end": "2023-12-23 21:40:28.274971", "rc": 0, "start": "2023-12-23 21:40:28.271068" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.142) 0:00:43.421 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.028) 0:00:43.450 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.033) 0:00:43.483 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.052) 0:00:43.536 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.039) 0:00:43.576 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.035) 0:00:43.611 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.031) 0:00:43.642 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.058) 0:00:43.701 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.036) 0:00:43.738 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:29 +0000 (0:00:00.811) 0:00:44.549 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.661) 0:00:45.210 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.031) 0:00:45.242 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.029) 0:00:45.271 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.022) 0:00:45.294 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.075) 0:00:45.370 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.034) 0:00:45.404 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.025) 0:00:45.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.033) 0:00:45.462 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.246) 0:00:45.708 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.038) 0:00:45.747 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.020) 0:00:45.767 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.024) 0:00:45.791 ***** 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, 79ec5104-1dcc-411f-a951-cd1f905b201a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.381) 0:00:46.173 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.083) 0:00:46.257 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79ec5104-1dcc-411f-a951-cd1f905b201a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.048) 0:00:46.305 ***** 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, 79ec5104-1dcc-411f-a951-cd1f905b201a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79ec5104-1dcc-411f-a951-cd1f905b201a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.031) 0:00:46.337 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.024) 0:00:46.361 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.155) 0:00:46.516 ***** 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, 79ec5104-1dcc-411f-a951-cd1f905b201a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 79ec5104-1dcc-411f-a951-cd1f905b201a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.021) 0:00:46.538 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.037) 0:00:46.576 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.041) 0:00:46.617 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.031) 0:00:46.649 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.021) 0:00:46.671 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.021) 0:00:46.692 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.787) 0:00:47.480 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.670) 0:00:48.151 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.052) 0:00:48.203 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.021) 0:00:48.225 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.021) 0:00:48.246 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.049) 0:00:48.296 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.021) 0:00:48.317 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.020) 0:00:48.337 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.034) 0:00:48.372 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.242) 0:00:48.615 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.034) 0:00:48.649 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.019) 0:00:48.668 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.025) 0:00:48.694 ***** 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, 79ec5104-1dcc-411f-a951-cd1f905b201a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.292) 0:00:48.986 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.023) 0:00:49.009 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79ec5104-1dcc-411f-a951-cd1f905b201a 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.022) 0:00:49.031 ***** 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, 79ec5104-1dcc-411f-a951-cd1f905b201a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 79ec5104-1dcc-411f-a951-cd1f905b201a 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.030) 0:00:49.061 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.023) 0:00:49.085 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.162) 0:00:49.248 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.045) 0:00:49.293 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.086) 0:00:49.380 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.039) 0:00:49.420 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.026) 0:00:49.446 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.033) 0:00:49.479 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.781) 0:00:50.261 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.673) 0:00:50.935 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.026) 0:00:50.961 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.023) 0:00:50.984 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.023) 0:00:51.007 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.053) 0:00:51.061 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.022) 0:00:51.083 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.021) 0:00:51.104 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.034) 0:00:51.138 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.262) 0:00:51.401 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.037) 0:00:51.439 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.058) 0:00:51.498 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.020) 0:00:51.519 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.398) 0:00:51.917 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.026) 0:00:51.944 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.028) 0:00:51.972 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.034) 0:00:52.006 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.029) 0:00:52.036 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.138) 0:00:52.174 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.033) 0:00:52.208 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.039) 0:00:52.247 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.055) 0:00:52.302 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.034) 0:00:52.337 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.034) 0:00:52.372 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.022) 0:00:52.395 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.820) 0:00:53.215 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.666) 0:00:53.882 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.022) 0:00:53.904 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.022) 0:00:53.927 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.020) 0:00:53.948 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.052) 0:00:54.000 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.022) 0:00:54.023 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.024) 0:00:54.048 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.041) 0:00:54.089 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.252) 0:00:54.341 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.034) 0:00:54.376 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.017) 0:00:54.394 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.018) 0:00:54.412 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.293) 0:00:54.706 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.026) 0:00:54.732 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.021) 0:00:54.754 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.022) 0:00:54.777 ***** 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.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.023) 0:00:54.800 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.177) 0:00:54.978 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.036) 0:00:55.014 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.028) 0:00:55.043 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.017) 0:00:55.061 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.131) 0:00:55.192 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.025) 0:00:55.218 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019291", "end": "2023-12-23 21:40:40.233245", "rc": 1, "start": "2023-12-23 21:40:40.213954" } 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.154) 0:00:55.373 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.018) 0:00:55.392 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.018) 0:00:55.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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.018) 0:00:55.429 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.020) 0:00:55.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.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.021) 0:00:55.470 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.027) 0:00:55.497 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.396375", "end": "2023-12-23 21:40:40.882930", "rc": 0, "start": "2023-12-23 21:40:40.486555" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.531) 0:00:56.029 ***** 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.16lo91s7h8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.022) 0:00:56.051 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.024) 0:00:56.076 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.086) 0:00:56.162 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.033) 0:00:56.195 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.144) 0:00:56.340 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.021) 0:00:56.362 ***** 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.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.020) 0:00:56.382 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.034) 0:00:56.417 ***** 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.043220", "end": "2023-12-23 21:40:41.453636", "rc": 1, "start": "2023-12-23 21:40:41.410416" } 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 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.205) 0:00:56.623 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 0.93s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.86s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.86s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.84s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.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.82s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.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.80s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.79s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.79s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.79s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.79s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.79s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.78s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.78s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.78s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.75s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.16lo91s7h8/.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.69s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.68s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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. ---^---^---^---^---^---