# 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.16zcbri6on/.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.16zcbri6on/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.16zcbri6on/tests/tests_states_nm.yml:6 Monday 25 December 2023 22:00:27 +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.16zcbri6on/tests/tests_states_nm.yml:9 Monday 25 December 2023 22:00:27 +0000 (0:00:00.685) 0:00:00.696 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:00:27 +0000 (0:00:00.027) 0:00:00.724 ******* skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/tasks/el_repo_setup.yml:17 Monday 25 December 2023 22:00:27 +0000 (0:00:00.027) 0:00:00.751 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/tasks/el_repo_setup.yml:22 Monday 25 December 2023 22:00:27 +0000 (0:00:00.205) 0:00:00.957 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/tasks/el_repo_setup.yml:26 Monday 25 December 2023 22:00:28 +0000 (0:00:00.016) 0:00:00.973 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/tasks/el_repo_setup.yml:51 Monday 25 December 2023 22:00:28 +0000 (0:00:00.008) 0:00:00.981 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:00:28 +0000 (0:00:00.022) 0:00:01.004 ******* 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.16zcbri6on/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:00:28 +0000 (0:00:00.187) 0:00:01.191 ******* 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.16zcbri6on/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:00:28 +0000 (0:00:00.423) 0:00:01.614 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179080", "end": "2023-12-25 22:00:28.940564", "rc": 0, "start": "2023-12-25 22:00:28.761484" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/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/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/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=stock&content=centos 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/7/epel pkgdir = /var/cache/yum/x86_64/7/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.16zcbri6on/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:00:28 +0000 (0:00:00.316) 0:00:01.931 ******* 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.16zcbri6on/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:00:28 +0000 (0:00:00.023) 0:00:01.954 ******* 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.16zcbri6on/tests/tests_states_nm.yml:11 Monday 25 December 2023 22:00:28 +0000 (0:00:00.011) 0:00:01.965 ******* 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.16zcbri6on/tests/playbooks/tests_states.yml:3 Monday 25 December 2023 22:00:29 +0000 (0:00:00.020) 0:00:01.986 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tests_states.yml:11 Monday 25 December 2023 22:00:29 +0000 (0:00:00.526) 0:00:02.513 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tests_states.yml:22 Monday 25 December 2023 22:00:29 +0000 (0:00:00.010) 0:00:02.523 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:00:29 +0000 (0:00:00.012) 0:00:02.536 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:00:29 +0000 (0:00:00.009) 0:00:02.546 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:00:29 +0000 (0:00:00.027) 0:00:02.573 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:00:29 +0000 (0:00:00.011) 0:00:02.585 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:00:29 +0000 (0:00:00.010) 0:00:02.595 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005010", "end": "2023-12-25 22:00:30.748589", "rc": 0, "start": "2023-12-25 22:00:29.743579" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:00:30 +0000 (0:00:01.135) 0:00:03.731 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:00:30 +0000 (0:00:00.011) 0:00:03.742 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:00:30 +0000 (0:00:00.010) 0:00:03.752 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:00:30 +0000 (0:00:00.017) 0:00:03.770 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011287", "end": "2023-12-25 22:00:30.925297", "rc": 1, "start": "2023-12-25 22:00:30.914010" } 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.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:00:30 +0000 (0:00:00.136) 0:00:03.906 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:00:30 +0000 (0:00:00.011) 0:00:03.918 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:00:31 +0000 (0:00:00.128) 0:00:04.047 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:00:31 +0000 (0:00:00.011) 0:00:04.058 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:00:31 +0000 (0:00:00.023) 0:00:04.082 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:00:31 +0000 (0:00:00.024) 0:00:04.107 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:00:31 +0000 (0:00:00.020) 0:00:04.127 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:00:31 +0000 (0:00:00.019) 0:00:04.146 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:00:31 +0000 (0:00:00.013) 0:00:04.159 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:00:31 +0000 (0:00:00.016) 0:00:04.176 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:00:32 +0000 (0:00:00.886) 0:00:05.062 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:00:33 +0000 (0:00:01.150) 0:00:06.213 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:00:33 +0000 (0:00:00.023) 0:00:06.236 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:00:33 +0000 (0:00:00.022) 0:00:06.258 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:00:33 +0000 (0:00:00.032) 0:00:06.291 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:00:33 +0000 (0:00:00.052) 0:00:06.344 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:00:33 +0000 (0:00:00.021) 0:00:06.365 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:00:33 +0000 (0:00:00.020) 0:00:06.385 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:00:33 +0000 (0:00:00.032) 0:00:06.418 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:00:33 +0000 (0:00:00.459) 0:00:06.878 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:00:33 +0000 (0:00:00.056) 0:00:06.934 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:00:33 +0000 (0:00:00.030) 0:00:06.964 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:00:34 +0000 (0:00:00.019) 0:00:06.984 ******* 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, 723543b8-447b-488d-8d0c-5f6f3a8dbcc7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:00:34 +0000 (0:00:00.534) 0:00:07.518 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:00:34 +0000 (0:00:00.023) 0:00:07.542 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 723543b8-447b-488d-8d0c-5f6f3a8dbcc7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:00:34 +0000 (0:00:00.020) 0:00:07.563 ******* 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, 723543b8-447b-488d-8d0c-5f6f3a8dbcc7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 723543b8-447b-488d-8d0c-5f6f3a8dbcc7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:00:34 +0000 (0:00:00.020) 0:00:07.583 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:00:34 +0000 (0:00:00.021) 0:00:07.605 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:00:34 +0000 (0:00:00.203) 0:00:07.808 ******* 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, 723543b8-447b-488d-8d0c-5f6f3a8dbcc7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 723543b8-447b-488d-8d0c-5f6f3a8dbcc7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:00:34 +0000 (0:00:00.020) 0:00:07.828 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:00:34 +0000 (0:00:00.031) 0:00:07.860 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:00:34 +0000 (0:00:00.029) 0:00:07.889 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:00:34 +0000 (0:00:00.019) 0:00:07.909 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541634.4620688, "block_size": 4096, "blocks": 8, "ctime": 1703541634.4610689, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541634.4610689, "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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:00:35 +0000 (0:00:00.145) 0:00:08.054 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:00:35 +0000 (0:00:00.021) 0:00:08.076 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026194", "end": "2023-12-25 22:00:35.261983", "rc": 0, "start": "2023-12-25 22:00:35.235789" } 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:00:35 +0000 (0:00:00.176) 0:00:08.252 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:00:35 +0000 (0:00:00.048) 0:00:08.300 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:00:35 +0000 (0:00:00.019) 0:00:08.320 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:00:35 +0000 (0:00:00.018) 0:00:08.338 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:00:35 +0000 (0:00:00.018) 0:00:08.356 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:00:35 +0000 (0:00:00.017) 0:00:08.374 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:00:35 +0000 (0:00:00.020) 0:00:08.394 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:00:35 +0000 (0:00:00.022) 0:00:08.417 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:00:35 +0000 (0:00:00.021) 0:00:08.438 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:00:35 +0000 (0:00:00.042) 0:00:08.481 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:00:35 +0000 (0:00:00.029) 0:00:08.510 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541634.4680688, "block_size": 4096, "blocks": 0, "ctime": 1703541634.464069, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17682, "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": 1703541634.464069, "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.16zcbri6on/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:00:35 +0000 (0:00:00.139) 0:00:08.650 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:00:35 +0000 (0:00:00.021) 0:00:08.672 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:00:35 +0000 (0:00:00.018) 0:00:08.691 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:00:35 +0000 (0:00:00.032) 0:00:08.724 ******* 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.083022", "end": "2023-12-25 22:00:35.952272", "rc": 1, "start": "2023-12-25 22:00:35.869250" } STDOUT: Connection 'statebr' (723543b8-447b-488d-8d0c-5f6f3a8dbcc7) successfully deleted. STDERR: (process:25634): GLib-GIO-WARNING **: 22:00:35.929: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/19 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.16zcbri6on/tests/playbooks/tests_states.yml:45 Monday 25 December 2023 22:00:35 +0000 (0:00:00.219) 0:00:08.943 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:00:36 +0000 (0:00:00.058) 0:00:09.002 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:00:36 +0000 (0:00:00.023) 0:00:09.025 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:00:36 +0000 (0:00:00.050) 0:00:09.076 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:00:36 +0000 (0:00:00.034) 0:00:09.110 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:00:36 +0000 (0:00:00.049) 0:00:09.159 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005086", "end": "2023-12-25 22:00:37.329174", "rc": 0, "start": "2023-12-25 22:00:36.324088" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:00:37 +0000 (0:00:01.160) 0:00:10.319 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:00:37 +0000 (0:00:00.026) 0:00:10.346 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:00:37 +0000 (0:00:00.018) 0:00:10.365 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:00:37 +0000 (0:00:00.031) 0:00:10.396 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007602", "end": "2023-12-25 22:00:37.547117", "rc": 1, "start": "2023-12-25 22:00:37.539515" } 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.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:00:37 +0000 (0:00:00.140) 0:00:10.537 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:00:37 +0000 (0:00:00.035) 0:00:10.572 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:00:37 +0000 (0:00:00.150) 0:00:10.723 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:00:37 +0000 (0:00:00.020) 0:00:10.743 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 December 2023 22:00:37 +0000 (0:00:00.032) 0:00:10.776 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:00:37 +0000 (0:00:00.061) 0:00:10.837 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:00:37 +0000 (0:00:00.035) 0:00:10.873 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:00:37 +0000 (0:00:00.033) 0:00:10.906 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:00:37 +0000 (0:00:00.021) 0:00:10.928 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:00:37 +0000 (0:00:00.028) 0:00:10.957 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:00:38 +0000 (0:00:00.764) 0:00:11.721 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:00:39 +0000 (0:00:00.970) 0:00:12.692 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:00:39 +0000 (0:00:00.027) 0:00:12.719 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:00:39 +0000 (0:00:00.024) 0:00:12.743 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:00:39 +0000 (0:00:00.043) 0:00:12.786 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:00:39 +0000 (0:00:00.069) 0:00:12.856 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:00:39 +0000 (0:00:00.024) 0:00:12.881 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:00:39 +0000 (0:00:00.020) 0:00:12.901 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:00:39 +0000 (0:00:00.063) 0:00:12.965 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:00:40 +0000 (0:00:00.247) 0:00:13.213 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:00:40 +0000 (0:00:00.035) 0:00:13.248 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:00:40 +0000 (0:00:00.019) 0:00:13.268 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:00:40 +0000 (0:00:00.017) 0:00:13.285 ******* 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, 7808e92b-b397-4372-8dd0-aba09eeb043f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:00:40 +0000 (0:00:00.299) 0:00:13.585 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:00:40 +0000 (0:00:00.025) 0:00:13.610 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7808e92b-b397-4372-8dd0-aba09eeb043f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:00:40 +0000 (0:00:00.022) 0:00:13.633 ******* 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, 7808e92b-b397-4372-8dd0-aba09eeb043f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7808e92b-b397-4372-8dd0-aba09eeb043f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:00:40 +0000 (0:00:00.026) 0:00:13.659 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:00:40 +0000 (0:00:00.025) 0:00:13.685 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 December 2023 22:00:40 +0000 (0:00:00.148) 0:00:13.833 ******* 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, 7808e92b-b397-4372-8dd0-aba09eeb043f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7808e92b-b397-4372-8dd0-aba09eeb043f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:00:40 +0000 (0:00:00.035) 0:00:13.869 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:00:40 +0000 (0:00:00.047) 0:00:13.917 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:00:40 +0000 (0:00:00.038) 0:00:13.956 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:00:41 +0000 (0:00:00.150) 0:00:14.106 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:00:41 +0000 (0:00:00.023) 0:00:14.130 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:00:41 +0000 (0:00:00.059) 0:00:14.189 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:00:41 +0000 (0:00:00.019) 0:00:14.209 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541640.5760167, "block_size": 4096, "blocks": 8, "ctime": 1703541640.5760167, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541640.5760167, "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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:00:41 +0000 (0:00:00.138) 0:00:14.347 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:00:41 +0000 (0:00:00.018) 0:00:14.366 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022869", "end": "2023-12-25 22:00:41.534771", "rc": 0, "start": "2023-12-25 22:00:41.511902" } 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:00:41 +0000 (0:00:00.159) 0:00:14.526 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:00:41 +0000 (0:00:00.020) 0:00:14.547 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:00:41 +0000 (0:00:00.020) 0:00:14.567 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:00:41 +0000 (0:00:00.019) 0:00:14.587 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:00:41 +0000 (0:00:00.018) 0:00:14.605 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:00:41 +0000 (0:00:00.018) 0:00:14.623 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:00:41 +0000 (0:00:00.021) 0:00:14.645 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:00:41 +0000 (0:00:00.021) 0:00:14.666 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:00:41 +0000 (0:00:00.022) 0:00:14.689 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:00:41 +0000 (0:00:00.028) 0:00:14.718 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:00:41 +0000 (0:00:00.021) 0:00:14.739 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:00:41 +0000 (0:00:00.034) 0:00:14.773 ******* 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.052236", "end": "2023-12-25 22:00:41.970471", "rc": 1, "start": "2023-12-25 22:00:41.918235" } STDOUT: Connection 'statebr' (7808e92b-b397-4372-8dd0-aba09eeb043f) 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.16zcbri6on/tests/playbooks/tests_states.yml:65 Monday 25 December 2023 22:00:41 +0000 (0:00:00.189) 0:00:14.963 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:00:42 +0000 (0:00:00.055) 0:00:15.018 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:00:42 +0000 (0:00:00.019) 0:00:15.038 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:00:42 +0000 (0:00:00.040) 0:00:15.078 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:00:42 +0000 (0:00:00.030) 0:00:15.108 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:00:42 +0000 (0:00:00.028) 0:00:15.137 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003832", "end": "2023-12-25 22:00:42.288502", "rc": 0, "start": "2023-12-25 22:00:42.284670" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:00:42 +0000 (0:00:00.141) 0:00:15.279 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:00:42 +0000 (0:00:00.019) 0:00:15.299 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:00:42 +0000 (0:00:00.019) 0:00:15.319 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:00:42 +0000 (0:00:00.035) 0:00:15.355 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:00:42 +0000 (0:00:00.038) 0:00:15.393 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:00:42 +0000 (0:00:00.035) 0:00:15.429 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:00:42 +0000 (0:00:00.029) 0:00:15.459 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:00:42 +0000 (0:00:00.052) 0:00:15.511 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:00:42 +0000 (0:00:00.021) 0:00:15.532 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:00:43 +0000 (0:00:00.762) 0:00:16.295 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:00:44 +0000 (0:00:00.964) 0:00:17.260 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:00:44 +0000 (0:00:00.022) 0:00:17.282 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:00:44 +0000 (0:00:00.021) 0:00:17.304 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:00:44 +0000 (0:00:00.023) 0:00:17.327 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:00:44 +0000 (0:00:00.050) 0:00:17.377 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:00:44 +0000 (0:00:00.020) 0:00:17.398 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:00:44 +0000 (0:00:00.020) 0:00:17.419 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:00:44 +0000 (0:00:00.031) 0:00:17.451 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:00:44 +0000 (0:00:00.252) 0:00:17.703 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:00:44 +0000 (0:00:00.042) 0:00:17.746 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:00:44 +0000 (0:00:00.029) 0:00:17.776 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:00:44 +0000 (0:00:00.018) 0:00:17.795 ******* 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, bb024e43-734a-42ec-be0f-386979084019 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:00:45 +0000 (0:00:00.372) 0:00:18.167 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:00:45 +0000 (0:00:00.054) 0:00:18.221 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb024e43-734a-42ec-be0f-386979084019" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:00:45 +0000 (0:00:00.024) 0:00:18.246 ******* 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, bb024e43-734a-42ec-be0f-386979084019\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb024e43-734a-42ec-be0f-386979084019" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:00:45 +0000 (0:00:00.023) 0:00:18.270 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:00:45 +0000 (0:00:00.026) 0:00:18.296 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:00:45 +0000 (0:00:00.159) 0:00:18.455 ******* 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, bb024e43-734a-42ec-be0f-386979084019\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bb024e43-734a-42ec-be0f-386979084019" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:00:45 +0000 (0:00:00.019) 0:00:18.475 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:00:45 +0000 (0:00:00.031) 0:00:18.506 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:00:45 +0000 (0:00:00.036) 0:00:18.543 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:00:45 +0000 (0:00:00.034) 0:00:18.578 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:00:45 +0000 (0:00:00.033) 0:00:18.611 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:00:45 +0000 (0:00:00.021) 0:00:18.633 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:00:45 +0000 (0:00:00.027) 0:00:18.661 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:00:46 +0000 (0:00:00.778) 0:00:19.439 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:00:47 +0000 (0:00:01.018) 0:00:20.457 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:00:47 +0000 (0:00:00.021) 0:00:20.479 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:00:47 +0000 (0:00:00.021) 0:00:20.500 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:00:47 +0000 (0:00:00.022) 0:00:20.522 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:00:47 +0000 (0:00:00.055) 0:00:20.578 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:00:47 +0000 (0:00:00.026) 0:00:20.604 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:00:47 +0000 (0:00:00.024) 0:00:20.629 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:00:47 +0000 (0:00:00.035) 0:00:20.664 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:00:47 +0000 (0:00:00.258) 0:00:20.923 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:00:48 +0000 (0:00:00.050) 0:00:20.974 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:00:48 +0000 (0:00:00.020) 0:00:20.994 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:00:48 +0000 (0:00:00.028) 0:00:21.023 ******* 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, bb024e43-734a-42ec-be0f-386979084019 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:00:48 +0000 (0:00:00.292) 0:00:21.315 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:00:48 +0000 (0:00:00.022) 0:00:21.338 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bb024e43-734a-42ec-be0f-386979084019 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:00:48 +0000 (0:00:00.024) 0:00:21.362 ******* 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, bb024e43-734a-42ec-be0f-386979084019 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bb024e43-734a-42ec-be0f-386979084019 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:00:48 +0000 (0:00:00.035) 0:00:21.398 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:00:48 +0000 (0:00:00.025) 0:00:21.423 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:00:48 +0000 (0:00:00.180) 0:00:21.603 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:00:48 +0000 (0:00:00.038) 0:00:21.642 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:00:48 +0000 (0:00:00.033) 0:00:21.675 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541645.1229777, "block_size": 4096, "blocks": 0, "ctime": 1703541645.1219778, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17682, "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": 1703541645.1219778, "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.16zcbri6on/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:00:48 +0000 (0:00:00.173) 0:00:21.849 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:00:48 +0000 (0:00:00.020) 0:00:21.870 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:00:48 +0000 (0:00:00.036) 0:00:21.907 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:00:48 +0000 (0:00:00.019) 0:00:21.927 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541645.1209779, "block_size": 4096, "blocks": 8, "ctime": 1703541645.119978, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541645.119978, "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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:00:49 +0000 (0:00:00.136) 0:00:22.063 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:00:49 +0000 (0:00:00.019) 0:00:22.082 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022738", "end": "2023-12-25 22:00:49.248897", "rc": 0, "start": "2023-12-25 22:00:49.226159" } 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:00:49 +0000 (0:00:00.157) 0:00:22.240 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:00:49 +0000 (0:00:00.020) 0:00:22.261 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:00:49 +0000 (0:00:00.018) 0:00:22.279 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:00:49 +0000 (0:00:00.019) 0:00:22.298 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:00:49 +0000 (0:00:00.018) 0:00:22.317 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:00:49 +0000 (0:00:00.020) 0:00:22.337 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:00:49 +0000 (0:00:00.023) 0:00:22.360 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:00:49 +0000 (0:00:00.049) 0:00:22.410 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:00:49 +0000 (0:00:00.021) 0:00:22.432 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:00:49 +0000 (0:00:00.026) 0:00:22.458 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:00:49 +0000 (0:00:00.020) 0:00:22.479 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:00:49 +0000 (0:00:00.034) 0:00:22.514 ******* 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.084006", "end": "2023-12-25 22:00:49.744521", "rc": 1, "start": "2023-12-25 22:00:49.660515" } STDOUT: Connection 'statebr' (bb024e43-734a-42ec-be0f-386979084019) successfully deleted. STDERR: (process:26359): GLib-GIO-WARNING **: 22:00:49.726: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/20 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.16zcbri6on/tests/playbooks/tests_states.yml:83 Monday 25 December 2023 22:00:49 +0000 (0:00:00.222) 0:00:22.736 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:00:49 +0000 (0:00:00.031) 0:00:22.768 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:00:49 +0000 (0:00:00.028) 0:00:22.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.16zcbri6on/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:00:49 +0000 (0:00:00.039) 0:00:22.835 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:00:49 +0000 (0:00:00.031) 0:00:22.867 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:00:49 +0000 (0:00:00.030) 0:00:22.897 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004120", "end": "2023-12-25 22:00:50.049892", "rc": 0, "start": "2023-12-25 22:00:50.045772" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:00:50 +0000 (0:00:00.143) 0:00:23.040 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:00:50 +0000 (0:00:00.019) 0:00:23.060 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:00:50 +0000 (0:00:00.018) 0:00:23.078 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:00:50 +0000 (0:00:00.055) 0:00:23.134 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:00:50 +0000 (0:00:00.039) 0:00:23.173 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:00:50 +0000 (0:00:00.036) 0:00:23.210 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:00:50 +0000 (0:00:00.032) 0:00:23.242 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:00:50 +0000 (0:00:00.030) 0:00:23.273 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:00:50 +0000 (0:00:00.022) 0:00:23.295 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:00:51 +0000 (0:00:00.769) 0:00:24.065 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:00:52 +0000 (0:00:00.970) 0:00:25.035 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:00:52 +0000 (0:00:00.035) 0:00:25.070 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:00:52 +0000 (0:00:00.026) 0:00:25.097 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:00:52 +0000 (0:00:00.042) 0:00:25.140 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:00:52 +0000 (0:00:00.074) 0:00:25.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:00:52 +0000 (0:00:00.023) 0:00:25.238 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:00:52 +0000 (0:00:00.050) 0:00:25.288 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:00:52 +0000 (0:00:00.032) 0:00:25.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:00:52 +0000 (0:00:00.253) 0:00:25.574 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:00:52 +0000 (0:00:00.034) 0:00:25.608 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:00:52 +0000 (0:00:00.018) 0:00:25.627 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:00:52 +0000 (0:00:00.023) 0:00:25.650 ******* 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, 750ff038-b72e-455a-b44a-56c017ef4ab2 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:00:53 +0000 (0:00:00.344) 0:00:25.995 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:00:53 +0000 (0:00:00.023) 0:00:26.018 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 750ff038-b72e-455a-b44a-56c017ef4ab2" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:00:53 +0000 (0:00:00.022) 0:00:26.040 ******* 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, 750ff038-b72e-455a-b44a-56c017ef4ab2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 750ff038-b72e-455a-b44a-56c017ef4ab2" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:00:53 +0000 (0:00:00.022) 0:00:26.063 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:00:53 +0000 (0:00:00.025) 0:00:26.089 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:00:53 +0000 (0:00:00.149) 0:00:26.238 ******* 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, 750ff038-b72e-455a-b44a-56c017ef4ab2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 750ff038-b72e-455a-b44a-56c017ef4ab2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:00:53 +0000 (0:00:00.021) 0:00:26.260 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:00:53 +0000 (0:00:00.037) 0:00:26.298 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:00:53 +0000 (0:00:00.034) 0:00:26.333 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:00:53 +0000 (0:00:00.063) 0:00:26.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:00:53 +0000 (0:00:00.022) 0:00:26.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:00:53 +0000 (0:00:00.025) 0:00:26.443 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:00:54 +0000 (0:00:00.789) 0:00:27.233 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:00:55 +0000 (0:00:00.968) 0:00:28.201 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:00:55 +0000 (0:00:00.021) 0:00:28.222 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:00:55 +0000 (0:00:00.021) 0:00:28.244 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:00:55 +0000 (0:00:00.022) 0:00:28.267 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:00:55 +0000 (0:00:00.056) 0:00:28.323 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:00:55 +0000 (0:00:00.026) 0:00:28.350 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:00:55 +0000 (0:00:00.029) 0:00:28.379 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:00:55 +0000 (0:00:00.034) 0:00:28.414 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:00:55 +0000 (0:00:00.250) 0:00:28.664 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:00:55 +0000 (0:00:00.037) 0:00:28.702 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:00:55 +0000 (0:00:00.025) 0:00:28.728 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:00:55 +0000 (0:00:00.036) 0:00:28.764 ******* 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, 750ff038-b72e-455a-b44a-56c017ef4ab2 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:00:56 +0000 (0:00:00.355) 0:00:29.119 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:00:56 +0000 (0:00:00.092) 0:00:29.212 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 750ff038-b72e-455a-b44a-56c017ef4ab2 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:00:56 +0000 (0:00:00.023) 0:00:29.235 ******* 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, 750ff038-b72e-455a-b44a-56c017ef4ab2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 750ff038-b72e-455a-b44a-56c017ef4ab2 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:00:56 +0000 (0:00:00.021) 0:00:29.256 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:00:56 +0000 (0:00:00.021) 0:00:29.278 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:00:56 +0000 (0:00:00.142) 0:00:29.420 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:00:56 +0000 (0:00:00.034) 0:00:29.454 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:00:56 +0000 (0:00:00.038) 0:00:29.493 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:00:56 +0000 (0:00:00.035) 0:00:29.529 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:00:56 +0000 (0:00:00.031) 0:00:29.560 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:00:56 +0000 (0:00:00.022) 0:00:29.583 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:00:56 +0000 (0:00:00.022) 0:00:29.605 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:00:57 +0000 (0:00:00.751) 0:00:30.357 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:00:58 +0000 (0:00:01.021) 0:00:31.379 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:00:58 +0000 (0:00:00.022) 0:00:31.401 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:00:58 +0000 (0:00:00.022) 0:00:31.423 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:00:58 +0000 (0:00:00.023) 0:00:31.447 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:00:58 +0000 (0:00:00.053) 0:00:31.500 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:00:58 +0000 (0:00:00.025) 0:00:31.526 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:00:58 +0000 (0:00:00.027) 0:00:31.554 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:00:58 +0000 (0:00:00.033) 0:00:31.587 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:00:58 +0000 (0:00:00.255) 0:00:31.842 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:00:58 +0000 (0:00:00.034) 0:00:31.877 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:00:58 +0000 (0:00:00.023) 0:00:31.900 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:00:58 +0000 (0:00:00.021) 0:00:31.922 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:00:59 +0000 (0:00:00.360) 0:00:32.283 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:00:59 +0000 (0:00:00.029) 0:00:32.312 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:00:59 +0000 (0:00:00.025) 0:00:32.338 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:00:59 +0000 (0:00:00.035) 0:00:32.374 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:00:59 +0000 (0:00:00.024) 0:00:32.398 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:00:59 +0000 (0:00:00.202) 0:00:32.601 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:00:59 +0000 (0:00:00.039) 0:00:32.640 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:00:59 +0000 (0:00:00.037) 0:00:32.678 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541652.953911, "block_size": 4096, "blocks": 0, "ctime": 1703541652.949911, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17684, "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": 1703541652.949911, "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.16zcbri6on/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:00:59 +0000 (0:00:00.142) 0:00:32.821 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:00:59 +0000 (0:00:00.021) 0:00:32.842 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:00:59 +0000 (0:00:00.039) 0:00:32.881 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:00:59 +0000 (0:00:00.020) 0:00:32.902 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:01:00 +0000 (0:00:00.135) 0:00:33.037 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:01:00 +0000 (0:00:00.030) 0:00:33.068 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022496", "end": "2023-12-25 22:01:00.238320", "rc": 1, "start": "2023-12-25 22:01:00.215824" } 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:01:00 +0000 (0:00:00.160) 0:00:33.229 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:01:00 +0000 (0:00:00.018) 0:00:33.247 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:01:00 +0000 (0:00:00.018) 0:00:33.266 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:01:00 +0000 (0:00:00.018) 0:00:33.285 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:01:00 +0000 (0:00:00.019) 0:00:33.304 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:01:00 +0000 (0:00:00.020) 0:00:33.324 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:01:00 +0000 (0:00:00.021) 0:00:33.346 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:01:00 +0000 (0:00:00.061) 0:00:33.407 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:01:00 +0000 (0:00:00.022) 0:00:33.430 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:01:00 +0000 (0:00:00.040) 0:00:33.470 ******* 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.082683", "end": "2023-12-25 22:01:00.709748", "rc": 1, "start": "2023-12-25 22:01:00.627065" } STDOUT: Connection 'statebr' (750ff038-b72e-455a-b44a-56c017ef4ab2) successfully deleted. STDERR: (process:26985): GLib-GIO-WARNING **: 22:01:00.689: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/21 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.16zcbri6on/tests/playbooks/tests_states.yml:102 Monday 25 December 2023 22:01:00 +0000 (0:00:00.236) 0:00:33.707 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:01:00 +0000 (0:00:00.045) 0:00:33.752 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:01:00 +0000 (0:00:00.042) 0:00:33.794 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:01:00 +0000 (0:00:00.085) 0:00:33.880 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:00 +0000 (0:00:00.038) 0:00:33.918 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:00 +0000 (0:00:00.029) 0:00:33.948 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004955", "end": "2023-12-25 22:01:02.110302", "rc": 0, "start": "2023-12-25 22:01:01.105347" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:02 +0000 (0:00:01.157) 0:00:35.105 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:02 +0000 (0:00:00.024) 0:00:35.129 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:01:02 +0000 (0:00:00.022) 0:00:35.151 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:01:02 +0000 (0:00:00.035) 0:00:35.187 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:01:02 +0000 (0:00:00.075) 0:00:35.262 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:02 +0000 (0:00:00.036) 0:00:35.298 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:01:02 +0000 (0:00:00.032) 0:00:35.330 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:01:02 +0000 (0:00:00.022) 0:00:35.353 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:01:02 +0000 (0:00:00.024) 0:00:35.378 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:01:03 +0000 (0:00:00.784) 0:00:36.162 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:01:04 +0000 (0:00:00.988) 0:00:37.150 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:01:04 +0000 (0:00:00.067) 0:00:37.218 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:01:04 +0000 (0:00:00.038) 0:00:37.257 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:01:04 +0000 (0:00:00.030) 0:00:37.288 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:01:04 +0000 (0:00:00.056) 0:00:37.344 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:01:04 +0000 (0:00:00.025) 0:00:37.370 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:01:04 +0000 (0:00:00.021) 0:00:37.392 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:01:04 +0000 (0:00:00.032) 0:00:37.424 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:01:04 +0000 (0:00:00.325) 0:00:37.750 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:01:04 +0000 (0:00:00.045) 0:00:37.795 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:01:04 +0000 (0:00:00.021) 0:00:37.816 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:01:04 +0000 (0:00:00.021) 0:00:37.838 ******* 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, e5750440-8994-471b-9262-0115ea9c94a5 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:01:05 +0000 (0:00:00.374) 0:00:38.212 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:01:05 +0000 (0:00:00.025) 0:00:38.238 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5750440-8994-471b-9262-0115ea9c94a5" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:01:05 +0000 (0:00:00.025) 0:00:38.263 ******* 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, e5750440-8994-471b-9262-0115ea9c94a5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5750440-8994-471b-9262-0115ea9c94a5" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:01:05 +0000 (0:00:00.031) 0:00:38.295 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:01:05 +0000 (0:00:00.034) 0:00:38.330 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:01:05 +0000 (0:00:00.194) 0:00:38.524 ******* 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, e5750440-8994-471b-9262-0115ea9c94a5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e5750440-8994-471b-9262-0115ea9c94a5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:01:05 +0000 (0:00:00.046) 0:00:38.571 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:01:05 +0000 (0:00:00.065) 0:00:38.637 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:05 +0000 (0:00:00.065) 0:00:38.702 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:01:05 +0000 (0:00:00.055) 0:00:38.757 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:01:05 +0000 (0:00:00.038) 0:00:38.795 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:01:05 +0000 (0:00:00.025) 0:00:38.821 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:01:06 +0000 (0:00:00.930) 0:00:39.751 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:01:07 +0000 (0:00:00.972) 0:00:40.724 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:01:07 +0000 (0:00:00.022) 0:00:40.746 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:01:07 +0000 (0:00:00.021) 0:00:40.768 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:01:07 +0000 (0:00:00.021) 0:00:40.789 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:01:07 +0000 (0:00:00.057) 0:00:40.846 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:01:07 +0000 (0:00:00.021) 0:00:40.868 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:01:07 +0000 (0:00:00.022) 0:00:40.890 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:01:07 +0000 (0:00:00.033) 0:00:40.924 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:01:08 +0000 (0:00:00.255) 0:00:41.179 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:01:08 +0000 (0:00:00.033) 0:00:41.213 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:01:08 +0000 (0:00:00.018) 0:00:41.231 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:01:08 +0000 (0:00:00.018) 0:00:41.250 ******* 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, e5750440-8994-471b-9262-0115ea9c94a5 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:01:08 +0000 (0:00:00.299) 0:00:41.549 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:01:08 +0000 (0:00:00.036) 0:00:41.586 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5750440-8994-471b-9262-0115ea9c94a5 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:01:08 +0000 (0:00:00.039) 0:00:41.626 ******* 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, e5750440-8994-471b-9262-0115ea9c94a5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e5750440-8994-471b-9262-0115ea9c94a5 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:01:08 +0000 (0:00:00.094) 0:00:41.720 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:01:08 +0000 (0:00:00.027) 0:00:41.748 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:01:08 +0000 (0:00:00.184) 0:00:41.933 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:01:09 +0000 (0:00:00.039) 0:00:41.972 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:09 +0000 (0:00:00.038) 0:00:42.011 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:01:09 +0000 (0:00:00.033) 0:00:42.045 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:01:09 +0000 (0:00:00.021) 0:00:42.066 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:01:09 +0000 (0:00:00.022) 0:00:42.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 : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:01:09 +0000 (0:00:00.738) 0:00:42.827 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:01:10 +0000 (0:00:01.011) 0:00:43.839 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:01:10 +0000 (0:00:00.045) 0:00:43.885 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:01:10 +0000 (0:00:00.040) 0:00:43.925 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:01:11 +0000 (0:00:00.091) 0:00:44.016 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:01:11 +0000 (0:00:00.107) 0:00:44.124 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:01:11 +0000 (0:00:00.026) 0:00:44.151 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:01:11 +0000 (0:00:00.050) 0:00:44.201 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:01:11 +0000 (0:00:00.039) 0:00:44.241 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:01:11 +0000 (0:00:00.252) 0:00:44.493 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:01:11 +0000 (0:00:00.049) 0:00:44.542 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:01:11 +0000 (0:00:00.024) 0:00:44.566 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:01:11 +0000 (0:00:00.021) 0:00:44.588 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:01:11 +0000 (0:00:00.347) 0:00:44.935 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:01:11 +0000 (0:00:00.022) 0:00:44.958 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:01:12 +0000 (0:00:00.024) 0:00:44.982 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:01:12 +0000 (0:00:00.028) 0:00:45.011 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:01:12 +0000 (0:00:00.026) 0:00:45.038 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:01:12 +0000 (0:00:00.141) 0:00:45.179 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.033) 0:00:45.213 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:01:12 +0000 (0:00:00.065) 0:00:45.279 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:12 +0000 (0:00:00.037) 0:00:45.316 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:01:12 +0000 (0:00:00.034) 0:00:45.351 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:01:12 +0000 (0:00:00.026) 0:00:45.377 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:01:12 +0000 (0:00:00.026) 0:00:45.403 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:01:13 +0000 (0:00:00.757) 0:00:46.161 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:01:14 +0000 (0:00:00.981) 0:00:47.142 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:01:14 +0000 (0:00:00.030) 0:00:47.173 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:01:14 +0000 (0:00:00.034) 0:00:47.208 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:01:14 +0000 (0:00:00.046) 0:00:47.254 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:01:14 +0000 (0:00:00.078) 0:00:47.333 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:01:14 +0000 (0:00:00.026) 0:00:47.359 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:01:14 +0000 (0:00:00.021) 0:00:47.381 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:01:14 +0000 (0:00:00.033) 0:00:47.415 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:01:14 +0000 (0:00:00.249) 0:00:47.664 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:01:14 +0000 (0:00:00.086) 0:00:47.750 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:01:14 +0000 (0:00:00.024) 0:00:47.775 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:01:14 +0000 (0:00:00.026) 0:00:47.801 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:01:15 +0000 (0:00:00.392) 0:00:48.193 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:01:15 +0000 (0:00:00.041) 0:00:48.234 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:01:15 +0000 (0:00:00.024) 0:00:48.259 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:01:15 +0000 (0:00:00.024) 0:00:48.283 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:01:15 +0000 (0:00:00.023) 0:00:48.307 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:01:15 +0000 (0:00:00.142) 0:00:48.450 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:01:15 +0000 (0:00:00.034) 0:00:48.484 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:01:15 +0000 (0:00:00.032) 0:00:48.516 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:01:15 +0000 (0:00:00.022) 0:00:48.539 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:01:15 +0000 (0:00:00.142) 0:00:48.681 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:01:15 +0000 (0:00:00.018) 0:00:48.699 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021454", "end": "2023-12-25 22:01:15.866020", "rc": 1, "start": "2023-12-25 22:01:15.844566" } 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:01:15 +0000 (0:00:00.159) 0:00:48.858 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:01:15 +0000 (0:00:00.021) 0:00:48.880 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:01:15 +0000 (0:00:00.063) 0:00:48.943 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:01:15 +0000 (0:00:00.023) 0:00:48.967 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:01:16 +0000 (0:00:00.020) 0:00:48.987 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:01:16 +0000 (0:00:00.028) 0:00:49.016 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:01:16 +0000 (0:00:00.025) 0:00:49.041 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:16 +0000 (0:00:00.046) 0:00:49.088 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:16 +0000 (0:00:00.032) 0:00:49.120 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:16 +0000 (0:00:00.170) 0:00:49.291 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:01:16 +0000 (0:00:00.031) 0:00:49.323 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:01:16 +0000 (0:00:00.023) 0:00:49.346 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:01:16 +0000 (0:00:00.035) 0:00:49.381 ******* 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.045735", "end": "2023-12-25 22:01:16.607544", "rc": 1, "start": "2023-12-25 22:01:16.561809" } 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.16zcbri6on/tests/playbooks/tests_states.yml:124 Monday 25 December 2023 22:01:16 +0000 (0:00:00.224) 0:00:49.605 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:01:16 +0000 (0:00:00.033) 0:00:49.639 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:01:16 +0000 (0:00:00.021) 0:00:49.660 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:01:16 +0000 (0:00:00.038) 0:00:49.699 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:16 +0000 (0:00:00.065) 0:00:49.765 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:16 +0000 (0:00:00.029) 0:00:49.794 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004847", "end": "2023-12-25 22:01:17.953163", "rc": 0, "start": "2023-12-25 22:01:16.948316" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:17 +0000 (0:00:01.149) 0:00:50.944 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:17 +0000 (0:00:00.020) 0:00:50.964 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:01:18 +0000 (0:00:00.020) 0:00:50.985 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:01:18 +0000 (0:00:00.048) 0:00:51.033 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:01:18 +0000 (0:00:00.055) 0:00:51.089 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:18 +0000 (0:00:00.041) 0:00:51.130 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:01:18 +0000 (0:00:00.034) 0:00:51.165 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:01:18 +0000 (0:00:00.035) 0:00:51.201 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:01:18 +0000 (0:00:00.027) 0:00:51.228 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:01:19 +0000 (0:00:00.757) 0:00:51.986 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:01:20 +0000 (0:00:01.022) 0:00:53.009 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:01:20 +0000 (0:00:00.023) 0:00:53.033 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:01:20 +0000 (0:00:00.024) 0:00:53.057 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:01:20 +0000 (0:00:00.025) 0:00:53.082 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:01:20 +0000 (0:00:00.065) 0:00:53.147 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:01:20 +0000 (0:00:00.023) 0:00:53.170 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:01:20 +0000 (0:00:00.023) 0:00:53.194 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:01:20 +0000 (0:00:00.048) 0:00:53.243 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:01:20 +0000 (0:00:00.276) 0:00:53.519 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:01:20 +0000 (0:00:00.050) 0:00:53.570 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:01:20 +0000 (0:00:00.022) 0:00:53.592 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:01:20 +0000 (0:00:00.018) 0:00:53.610 ******* 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, e9f6070f-67f6-4445-bdf3-651502680ab6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:01:21 +0000 (0:00:00.365) 0:00:53.975 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:01:21 +0000 (0:00:00.026) 0:00:54.001 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9f6070f-67f6-4445-bdf3-651502680ab6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:01:21 +0000 (0:00:00.023) 0:00:54.025 ******* 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, e9f6070f-67f6-4445-bdf3-651502680ab6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9f6070f-67f6-4445-bdf3-651502680ab6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:01:21 +0000 (0:00:00.024) 0:00:54.049 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:01:21 +0000 (0:00:00.023) 0:00:54.072 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:01:21 +0000 (0:00:00.178) 0:00:54.251 ******* 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, e9f6070f-67f6-4445-bdf3-651502680ab6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e9f6070f-67f6-4445-bdf3-651502680ab6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:01:21 +0000 (0:00:00.022) 0:00:54.273 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:01:21 +0000 (0:00:00.037) 0:00:54.311 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:21 +0000 (0:00:00.037) 0:00:54.348 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:01:21 +0000 (0:00:00.031) 0:00:54.380 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:01:21 +0000 (0:00:00.023) 0:00:54.403 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:01:21 +0000 (0:00:00.022) 0:00:54.426 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:01:22 +0000 (0:00:00.764) 0:00:55.191 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:01:23 +0000 (0:00:00.963) 0:00:56.155 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:01:23 +0000 (0:00:00.034) 0:00:56.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:01:23 +0000 (0:00:00.022) 0:00:56.212 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:01:23 +0000 (0:00:00.023) 0:00:56.236 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:01:23 +0000 (0:00:00.051) 0:00:56.288 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:01:23 +0000 (0:00:00.053) 0:00:56.342 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:01:23 +0000 (0:00:00.022) 0:00:56.364 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:01:23 +0000 (0:00:00.037) 0:00:56.401 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:01:23 +0000 (0:00:00.266) 0:00:56.668 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:01:23 +0000 (0:00:00.034) 0:00:56.703 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:01:23 +0000 (0:00:00.020) 0:00:56.723 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:01:23 +0000 (0:00:00.020) 0:00:56.743 ******* 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, e9f6070f-67f6-4445-bdf3-651502680ab6 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:01:24 +0000 (0:00:00.297) 0:00:57.040 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:01:24 +0000 (0:00:00.024) 0:00:57.065 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9f6070f-67f6-4445-bdf3-651502680ab6 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:01:24 +0000 (0:00:00.026) 0:00:57.091 ******* 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, e9f6070f-67f6-4445-bdf3-651502680ab6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e9f6070f-67f6-4445-bdf3-651502680ab6 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:01:24 +0000 (0:00:00.025) 0:00:57.117 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:01:24 +0000 (0:00:00.047) 0:00:57.165 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:01:24 +0000 (0:00:00.141) 0:00:57.306 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:01:24 +0000 (0:00:00.042) 0:00:57.349 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:24 +0000 (0:00:00.052) 0:00:57.402 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:01:24 +0000 (0:00:00.104) 0:00:57.506 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:01:24 +0000 (0:00:00.033) 0:00:57.540 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:01:24 +0000 (0:00:00.032) 0:00:57.572 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:01:25 +0000 (0:00:00.738) 0:00:58.310 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:01:26 +0000 (0:00:00.966) 0:00:59.276 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:01:26 +0000 (0:00:00.025) 0:00:59.302 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:01:26 +0000 (0:00:00.040) 0:00:59.342 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:01:26 +0000 (0:00:00.026) 0:00:59.369 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:01:26 +0000 (0:00:00.066) 0:00:59.435 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:01:26 +0000 (0:00:00.025) 0:00:59.460 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:01:26 +0000 (0:00:00.024) 0:00:59.485 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:01:26 +0000 (0:00:00.052) 0:00:59.537 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:01:26 +0000 (0:00:00.254) 0:00:59.791 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:01:26 +0000 (0:00:00.037) 0:00:59.829 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:01:26 +0000 (0:00:00.019) 0:00:59.848 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:01:26 +0000 (0:00:00.018) 0:00:59.866 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:01:27 +0000 (0:00:00.455) 0:01:00.322 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:01:27 +0000 (0:00:00.022) 0:01:00.345 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:01:27 +0000 (0:00:00.022) 0:01:00.367 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:01:27 +0000 (0:00:00.021) 0:01:00.388 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:01:27 +0000 (0:00:00.022) 0:01:00.411 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:01:27 +0000 (0:00:00.157) 0:01:00.568 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:01:27 +0000 (0:00:00.043) 0:01:00.612 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:01:27 +0000 (0:00:00.038) 0:01:00.650 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:27 +0000 (0:00:00.034) 0:01:00.685 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:01:27 +0000 (0:00:00.031) 0:01:00.716 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:01:27 +0000 (0:00:00.021) 0:01:00.737 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:01:27 +0000 (0:00:00.023) 0:01:00.761 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:01:28 +0000 (0:00:00.755) 0:01:01.516 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:01:29 +0000 (0:00:01.026) 0:01:02.543 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:01:29 +0000 (0:00:00.021) 0:01:02.565 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:01:29 +0000 (0:00:00.023) 0:01:02.588 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:01:29 +0000 (0:00:00.024) 0:01:02.613 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:01:29 +0000 (0:00:00.052) 0:01:02.665 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:01:29 +0000 (0:00:00.021) 0:01:02.687 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:01:29 +0000 (0:00:00.022) 0:01:02.709 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:01:29 +0000 (0:00:00.034) 0:01:02.744 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:01:30 +0000 (0:00:00.250) 0:01:02.994 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:01:30 +0000 (0:00:00.037) 0:01:03.032 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:01:30 +0000 (0:00:00.020) 0:01:03.053 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:01:30 +0000 (0:00:00.024) 0:01:03.077 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:01:30 +0000 (0:00:00.325) 0:01:03.403 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:01:30 +0000 (0:00:00.024) 0:01:03.427 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:01:30 +0000 (0:00:00.035) 0:01:03.463 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:01:30 +0000 (0:00:00.031) 0:01:03.495 ******* 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.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:01:30 +0000 (0:00:00.046) 0:01:03.542 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:01:30 +0000 (0:00:00.210) 0:01:03.752 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:01:30 +0000 (0:00:00.052) 0:01:03.804 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:01:30 +0000 (0:00:00.073) 0:01:03.878 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:01:30 +0000 (0:00:00.034) 0:01:03.912 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:01:31 +0000 (0:00:00.138) 0:01:04.051 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:01:31 +0000 (0:00:00.028) 0:01:04.079 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020186", "end": "2023-12-25 22:01:31.272184", "rc": 1, "start": "2023-12-25 22:01:31.251998" } 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:01:31 +0000 (0:00:00.192) 0:01:04.272 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:01:31 +0000 (0:00:00.031) 0:01:04.303 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:01:31 +0000 (0:00:00.022) 0:01:04.326 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:01:31 +0000 (0:00:00.022) 0:01:04.348 ******* 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.16zcbri6on/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:01:31 +0000 (0:00:00.027) 0:01:04.376 ******* 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.16zcbri6on/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:01:31 +0000 (0:00:00.030) 0:01:04.406 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 December 2023 22:01:31 +0000 (0:00:00.029) 0:01:04.436 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.676784", "end": "2023-12-25 22:01:32.255849", "rc": 0, "start": "2023-12-25 22:01:31.579065" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 December 2023 22:01:32 +0000 (0:00:00.811) 0:01:05.247 ******* 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.16zcbri6on/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 December 2023 22:01:32 +0000 (0:00:00.022) 0:01:05.270 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:01:32 +0000 (0:00:00.027) 0:01:05.297 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:32 +0000 (0:00:00.097) 0:01:05.395 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:32 +0000 (0:00:00.036) 0:01:05.432 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:32 +0000 (0:00:00.133) 0:01:05.566 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:01:32 +0000 (0:00:00.023) 0:01:05.589 ******* 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.16zcbri6on/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:01:32 +0000 (0:00:00.021) 0:01:05.610 ******* included: /WORKDIR/git-ansible-lint-test-2.16zcbri6on/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.16zcbri6on/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:01:32 +0000 (0:00:00.034) 0:01:05.645 ******* 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.043915", "end": "2023-12-25 22:01:32.831478", "rc": 1, "start": "2023-12-25 22:01:32.787563" } 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=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Monday 25 December 2023 22:01:32 +0000 (0:00:00.205) 0:01:05.850 ******* =============================================================================== Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.03s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.98s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.97s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.97s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.97s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.97s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.97s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.96s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.96s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.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.94s /WORKDIR/git-ansible-lint-test-2.16zcbri6on/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---