# 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.169_mrrt_w/.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.169_mrrt_w/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.169_mrrt_w/tests/tests_states_nm.yml:6 Monday 25 December 2023 22:11:11 +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.169_mrrt_w/tests/tests_states_nm.yml:9 Monday 25 December 2023 22:11:11 +0000 (0:00:00.687) 0:00:00.699 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:11:11 +0000 (0:00:00.011) 0:00:00.710 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/tasks/el_repo_setup.yml:17 Monday 25 December 2023 22:11:12 +0000 (0:00:00.227) 0:00:00.938 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/tasks/el_repo_setup.yml:22 Monday 25 December 2023 22:11:12 +0000 (0:00:00.180) 0:00:01.118 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/tasks/el_repo_setup.yml:26 Monday 25 December 2023 22:11:12 +0000 (0:00:00.013) 0:00:01.131 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/tasks/el_repo_setup.yml:51 Monday 25 December 2023 22:11:12 +0000 (0:00:00.007) 0:00:01.139 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:11:12 +0000 (0:00:00.021) 0:00:01.160 ******* 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.169_mrrt_w/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:11:12 +0000 (0:00:00.186) 0:00:01.347 ******* 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.169_mrrt_w/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:11:13 +0000 (0:00:00.420) 0:00:01.767 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193673", "end": "2023-12-25 22:11:13.316509", "rc": 0, "start": "2023-12-25 22:11:13.122836" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:11:13 +0000 (0:00:00.317) 0:00:02.085 ******* 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.169_mrrt_w/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:11:13 +0000 (0:00:00.008) 0:00:02.094 ******* 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.169_mrrt_w/tests/tests_states_nm.yml:11 Monday 25 December 2023 22:11:13 +0000 (0:00:00.008) 0:00:02.102 ******* 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.169_mrrt_w/tests/playbooks/tests_states.yml:3 Monday 25 December 2023 22:11:13 +0000 (0:00:00.014) 0:00:02.117 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tests_states.yml:11 Monday 25 December 2023 22:11:13 +0000 (0:00:00.526) 0:00:02.644 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tests_states.yml:22 Monday 25 December 2023 22:11:13 +0000 (0:00:00.010) 0:00:02.654 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:11:13 +0000 (0:00:00.013) 0:00:02.667 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:11:13 +0000 (0:00:00.009) 0:00:02.677 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:11:13 +0000 (0:00:00.027) 0:00:02.704 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:13 +0000 (0:00:00.011) 0:00:02.716 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:13 +0000 (0:00:00.010) 0:00:02.726 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003767", "end": "2023-12-25 22:11:14.084242", "rc": 0, "start": "2023-12-25 22:11:14.080475" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:14 +0000 (0:00:00.126) 0:00:02.852 ******* 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.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:14 +0000 (0:00:00.010) 0:00:02.863 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:11:14 +0000 (0:00:00.009) 0:00:02.873 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.016) 0:00:02.889 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011230", "end": "2023-12-25 22:11:14.256081", "rc": 1, "start": "2023-12-25 22:11:14.244851" } 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.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.133) 0:00:03.023 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.011) 0:00:03.035 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:11:14 +0000 (0:00:00.124) 0:00:03.159 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:11:14 +0000 (0:00:00.011) 0:00:03.170 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.015) 0:00:03.186 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:14 +0000 (0:00:00.023) 0:00:03.209 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:14 +0000 (0:00:00.021) 0:00:03.231 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:14 +0000 (0:00:00.020) 0:00:03.251 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:14 +0000 (0:00:00.017) 0:00:03.268 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:14 +0000 (0:00:00.013) 0:00:03.282 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:15 +0000 (0:00:00.903) 0:00:04.186 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:16 +0000 (0:00:00.822) 0:00:05.008 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:16 +0000 (0:00:00.020) 0:00:05.029 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:16 +0000 (0:00:00.020) 0:00:05.049 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:16 +0000 (0:00:00.019) 0:00:05.068 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:16 +0000 (0:00:00.049) 0:00:05.118 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:16 +0000 (0:00:00.020) 0:00:05.138 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:16 +0000 (0:00:00.019) 0:00:05.158 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:16 +0000 (0:00:00.031) 0:00:05.189 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:16 +0000 (0:00:00.418) 0:00:05.608 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:16 +0000 (0:00:00.050) 0:00:05.658 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:16 +0000 (0:00:00.017) 0:00:05.676 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:16 +0000 (0:00:00.017) 0:00:05.693 ******* 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, 819b94a3-c35b-4d10-a2bd-cbac0165c05f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:17 +0000 (0:00:00.454) 0:00:06.148 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:17 +0000 (0:00:00.021) 0:00:06.169 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 819b94a3-c35b-4d10-a2bd-cbac0165c05f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:17 +0000 (0:00:00.020) 0:00:06.189 ******* 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, 819b94a3-c35b-4d10-a2bd-cbac0165c05f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 819b94a3-c35b-4d10-a2bd-cbac0165c05f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:17 +0000 (0:00:00.023) 0:00:06.213 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:17 +0000 (0:00:00.021) 0:00:06.234 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:11:17 +0000 (0:00:00.198) 0:00:06.432 ******* 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, 819b94a3-c35b-4d10-a2bd-cbac0165c05f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 819b94a3-c35b-4d10-a2bd-cbac0165c05f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:11:17 +0000 (0:00:00.020) 0:00:06.453 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:11:17 +0000 (0:00:00.031) 0:00:06.485 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:11:17 +0000 (0:00:00.029) 0:00:06.515 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:11:17 +0000 (0:00:00.018) 0:00:06.533 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542277.3923147, "block_size": 4096, "blocks": 8, "ctime": 1703542277.310315, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542277.310315, "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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:11:17 +0000 (0:00:00.131) 0:00:06.665 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:11:17 +0000 (0:00:00.018) 0:00:06.684 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024130", "end": "2023-12-25 22:11:18.064244", "rc": 0, "start": "2023-12-25 22:11:18.040114" } 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:11:18 +0000 (0:00:00.157) 0:00:06.842 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:11:18 +0000 (0:00:00.040) 0:00:06.882 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:11:18 +0000 (0:00:00.018) 0:00:06.900 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:11:18 +0000 (0:00:00.017) 0:00:06.918 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:11:18 +0000 (0:00:00.017) 0:00:06.936 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:11:18 +0000 (0:00:00.017) 0:00:06.954 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:11:18 +0000 (0:00:00.019) 0:00:06.974 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:11:18 +0000 (0:00:00.020) 0:00:06.994 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:11:18 +0000 (0:00:00.019) 0:00:07.013 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.043) 0:00:07.056 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.028) 0:00:07.085 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542277.3133147, "block_size": 4096, "blocks": 0, "ctime": 1703542277.3123147, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17478, "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": 1703542277.3123147, "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.169_mrrt_w/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:11:18 +0000 (0:00:00.134) 0:00:07.219 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:11:18 +0000 (0:00:00.020) 0:00:07.240 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:11:18 +0000 (0:00:00.019) 0:00:07.259 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.033) 0:00:07.293 ******* 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.080048", "end": "2023-12-25 22:11:18.730212", "rc": 1, "start": "2023-12-25 22:11:18.650164" } STDOUT: Connection 'statebr' (819b94a3-c35b-4d10-a2bd-cbac0165c05f) successfully deleted. STDERR: (process:12596): GLib-GIO-WARNING **: 22:11:18.707: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/13 but no object proxy exists (process:12596): GLib-GIO-WARNING **: 22:11:18.709: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/26 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.169_mrrt_w/tests/playbooks/tests_states.yml:45 Monday 25 December 2023 22:11:18 +0000 (0:00:00.214) 0:00:07.507 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:11:18 +0000 (0:00:00.030) 0:00:07.537 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:11:18 +0000 (0:00:00.044) 0:00:07.581 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:11:18 +0000 (0:00:00.037) 0:00:07.619 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.028) 0:00:07.648 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:18 +0000 (0:00:00.027) 0:00:07.676 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003722", "end": "2023-12-25 22:11:19.036874", "rc": 0, "start": "2023-12-25 22:11:19.033152" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:19 +0000 (0:00:00.137) 0:00:07.813 ******* 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.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:19 +0000 (0:00:00.019) 0:00:07.833 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:11:19 +0000 (0:00:00.019) 0:00:07.852 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:11:19 +0000 (0:00:00.031) 0:00:07.883 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007502", "end": "2023-12-25 22:11:19.247112", "rc": 1, "start": "2023-12-25 22:11:19.239610" } 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.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:11:19 +0000 (0:00:00.139) 0:00:08.023 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:19 +0000 (0:00:00.030) 0:00:08.053 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:11:19 +0000 (0:00:00.148) 0:00:08.201 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:11:19 +0000 (0:00:00.023) 0:00:08.224 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 December 2023 22:11:19 +0000 (0:00:00.033) 0:00:08.258 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:19 +0000 (0:00:00.062) 0:00:08.320 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:19 +0000 (0:00:00.035) 0:00:08.355 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:19 +0000 (0:00:00.030) 0:00:08.386 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:19 +0000 (0:00:00.020) 0:00:08.407 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:19 +0000 (0:00:00.020) 0:00:08.428 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:20 +0000 (0:00:00.810) 0:00:09.238 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:21 +0000 (0:00:00.668) 0:00:09.907 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:21 +0000 (0:00:00.020) 0:00:09.928 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:21 +0000 (0:00:00.020) 0:00:09.949 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:21 +0000 (0:00:00.020) 0:00:09.969 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:21 +0000 (0:00:00.050) 0:00:10.019 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:21 +0000 (0:00:00.020) 0:00:10.039 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:21 +0000 (0:00:00.020) 0:00:10.060 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:21 +0000 (0:00:00.031) 0:00:10.091 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:21 +0000 (0:00:00.249) 0:00:10.340 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:21 +0000 (0:00:00.036) 0:00:10.377 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:21 +0000 (0:00:00.041) 0:00:10.418 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:21 +0000 (0:00:00.018) 0:00:10.437 ******* 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, 7d0b9325-eec8-433f-ae7b-7aade896131b TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:21 +0000 (0:00:00.304) 0:00:10.741 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:22 +0000 (0:00:00.021) 0:00:10.762 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d0b9325-eec8-433f-ae7b-7aade896131b" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:22 +0000 (0:00:00.021) 0:00:10.783 ******* 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, 7d0b9325-eec8-433f-ae7b-7aade896131b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d0b9325-eec8-433f-ae7b-7aade896131b" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:22 +0000 (0:00:00.022) 0:00:10.806 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:22 +0000 (0:00:00.022) 0:00:10.828 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 December 2023 22:11:22 +0000 (0:00:00.140) 0:00:10.968 ******* 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, 7d0b9325-eec8-433f-ae7b-7aade896131b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7d0b9325-eec8-433f-ae7b-7aade896131b" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:11:22 +0000 (0:00:00.020) 0:00:10.989 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:11:22 +0000 (0:00:00.034) 0:00:11.024 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:22 +0000 (0:00:00.028) 0:00:11.053 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:11:22 +0000 (0:00:00.136) 0:00:11.190 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:11:22 +0000 (0:00:00.021) 0:00:11.211 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:11:22 +0000 (0:00:00.030) 0:00:11.241 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:11:22 +0000 (0:00:00.018) 0:00:11.260 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542281.9453125, "block_size": 4096, "blocks": 8, "ctime": 1703542281.9453125, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542281.9453125, "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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:11:22 +0000 (0:00:00.157) 0:00:11.417 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:11:22 +0000 (0:00:00.019) 0:00:11.437 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022026", "end": "2023-12-25 22:11:22.815081", "rc": 0, "start": "2023-12-25 22:11:22.793055" } 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:11:22 +0000 (0:00:00.154) 0:00:11.592 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:11:22 +0000 (0:00:00.021) 0:00:11.613 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:11:22 +0000 (0:00:00.019) 0:00:11.632 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:11:22 +0000 (0:00:00.019) 0:00:11.652 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:11:22 +0000 (0:00:00.018) 0:00:11.670 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:11:22 +0000 (0:00:00.018) 0:00:11.689 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:11:22 +0000 (0:00:00.020) 0:00:11.710 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:11:22 +0000 (0:00:00.021) 0:00:11.731 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:11:22 +0000 (0:00:00.021) 0:00:11.752 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:11:23 +0000 (0:00:00.025) 0:00:11.778 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:11:23 +0000 (0:00:00.021) 0:00:11.800 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:11:23 +0000 (0:00:00.035) 0:00:11.835 ******* 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.049057", "end": "2023-12-25 22:11:23.249930", "rc": 1, "start": "2023-12-25 22:11:23.200873" } STDOUT: Connection 'statebr' (7d0b9325-eec8-433f-ae7b-7aade896131b) 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.169_mrrt_w/tests/playbooks/tests_states.yml:65 Monday 25 December 2023 22:11:23 +0000 (0:00:00.190) 0:00:12.026 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:11:23 +0000 (0:00:00.029) 0:00:12.055 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:11:23 +0000 (0:00:00.019) 0:00:12.074 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:11:23 +0000 (0:00:00.059) 0:00:12.134 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:23 +0000 (0:00:00.028) 0:00:12.162 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:23 +0000 (0:00:00.026) 0:00:12.189 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003885", "end": "2023-12-25 22:11:23.548634", "rc": 0, "start": "2023-12-25 22:11:23.544749" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:23 +0000 (0:00:00.136) 0:00:12.325 ******* 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.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:23 +0000 (0:00:00.020) 0:00:12.346 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:11:23 +0000 (0:00:00.020) 0:00:12.367 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:11:23 +0000 (0:00:00.032) 0:00:12.399 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:23 +0000 (0:00:00.038) 0:00:12.438 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:23 +0000 (0:00:00.035) 0:00:12.473 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:23 +0000 (0:00:00.030) 0:00:12.504 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:23 +0000 (0:00:00.022) 0:00:12.526 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:23 +0000 (0:00:00.021) 0:00:12.547 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:24 +0000 (0:00:00.799) 0:00:13.347 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:25 +0000 (0:00:00.736) 0:00:14.083 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:25 +0000 (0:00:00.022) 0:00:14.106 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:25 +0000 (0:00:00.022) 0:00:14.129 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:25 +0000 (0:00:00.027) 0:00:14.157 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:25 +0000 (0:00:00.052) 0:00:14.209 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:25 +0000 (0:00:00.022) 0:00:14.232 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:25 +0000 (0:00:00.022) 0:00:14.254 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:25 +0000 (0:00:00.032) 0:00:14.287 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:25 +0000 (0:00:00.244) 0:00:14.531 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:25 +0000 (0:00:00.036) 0:00:14.568 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:25 +0000 (0:00:00.019) 0:00:14.588 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:25 +0000 (0:00:00.019) 0:00:14.607 ******* 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, c89ca649-cbd0-455e-b046-b156558534c3 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:26 +0000 (0:00:00.342) 0:00:14.950 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:26 +0000 (0:00:00.020) 0:00:14.970 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c89ca649-cbd0-455e-b046-b156558534c3" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:26 +0000 (0:00:00.021) 0:00:14.991 ******* 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, c89ca649-cbd0-455e-b046-b156558534c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c89ca649-cbd0-455e-b046-b156558534c3" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:26 +0000 (0:00:00.021) 0:00:15.013 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:26 +0000 (0:00:00.021) 0:00:15.034 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:11:26 +0000 (0:00:00.168) 0:00:15.202 ******* 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, c89ca649-cbd0-455e-b046-b156558534c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c89ca649-cbd0-455e-b046-b156558534c3" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:11:26 +0000 (0:00:00.020) 0:00:15.223 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:11:26 +0000 (0:00:00.031) 0:00:15.255 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:26 +0000 (0:00:00.036) 0:00:15.292 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:26 +0000 (0:00:00.034) 0:00:15.327 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:26 +0000 (0:00:00.030) 0:00:15.358 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:26 +0000 (0:00:00.020) 0:00:15.378 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:26 +0000 (0:00:00.021) 0:00:15.399 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:27 +0000 (0:00:00.808) 0:00:16.208 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:28 +0000 (0:00:00.672) 0:00:16.880 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:28 +0000 (0:00:00.020) 0:00:16.901 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:28 +0000 (0:00:00.020) 0:00:16.921 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:28 +0000 (0:00:00.020) 0:00:16.942 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:28 +0000 (0:00:00.115) 0:00:17.057 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:28 +0000 (0:00:00.021) 0:00:17.078 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:28 +0000 (0:00:00.022) 0:00:17.101 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:28 +0000 (0:00:00.032) 0:00:17.133 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:28 +0000 (0:00:00.244) 0:00:17.378 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:28 +0000 (0:00:00.033) 0:00:17.411 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:28 +0000 (0:00:00.017) 0:00:17.429 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:28 +0000 (0:00:00.017) 0:00:17.447 ******* 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, c89ca649-cbd0-455e-b046-b156558534c3 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:28 +0000 (0:00:00.286) 0:00:17.733 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:29 +0000 (0:00:00.025) 0:00:17.759 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c89ca649-cbd0-455e-b046-b156558534c3 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:29 +0000 (0:00:00.021) 0:00:17.780 ******* 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, c89ca649-cbd0-455e-b046-b156558534c3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c89ca649-cbd0-455e-b046-b156558534c3 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:29 +0000 (0:00:00.021) 0:00:17.802 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:29 +0000 (0:00:00.021) 0:00:17.824 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:11:29 +0000 (0:00:00.141) 0:00:17.965 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:11:29 +0000 (0:00:00.034) 0:00:17.999 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:29 +0000 (0:00:00.028) 0:00:18.028 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542286.1213105, "block_size": 4096, "blocks": 0, "ctime": 1703542286.1123104, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17478, "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": 1703542286.1123104, "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.169_mrrt_w/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:11:29 +0000 (0:00:00.159) 0:00:18.187 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:11:29 +0000 (0:00:00.020) 0:00:18.208 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:11:29 +0000 (0:00:00.031) 0:00:18.239 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:11:29 +0000 (0:00:00.018) 0:00:18.257 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542286.1113105, "block_size": 4096, "blocks": 8, "ctime": 1703542286.1103103, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427530, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542286.1103103, "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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:11:29 +0000 (0:00:00.133) 0:00:18.391 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:11:29 +0000 (0:00:00.018) 0:00:18.410 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022174", "end": "2023-12-25 22:11:29.787189", "rc": 0, "start": "2023-12-25 22:11:29.765015" } 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:11:29 +0000 (0:00:00.155) 0:00:18.565 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:11:29 +0000 (0:00:00.020) 0:00:18.585 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:11:29 +0000 (0:00:00.018) 0:00:18.604 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:11:29 +0000 (0:00:00.019) 0:00:18.623 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:11:29 +0000 (0:00:00.018) 0:00:18.641 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:11:29 +0000 (0:00:00.018) 0:00:18.660 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:11:29 +0000 (0:00:00.020) 0:00:18.680 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:11:29 +0000 (0:00:00.021) 0:00:18.701 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:11:29 +0000 (0:00:00.020) 0:00:18.722 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:11:29 +0000 (0:00:00.025) 0:00:18.748 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:11:30 +0000 (0:00:00.019) 0:00:18.767 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:11:30 +0000 (0:00:00.055) 0:00:18.822 ******* 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.081128", "end": "2023-12-25 22:11:30.267883", "rc": 1, "start": "2023-12-25 22:11:30.186755" } STDOUT: Connection 'statebr' (c89ca649-cbd0-455e-b046-b156558534c3) 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.169_mrrt_w/tests/playbooks/tests_states.yml:83 Monday 25 December 2023 22:11:30 +0000 (0:00:00.222) 0:00:19.045 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:11:30 +0000 (0:00:00.030) 0:00:19.075 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:11:30 +0000 (0:00:00.019) 0:00:19.095 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:11:30 +0000 (0:00:00.036) 0:00:19.132 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:30 +0000 (0:00:00.029) 0:00:19.161 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:30 +0000 (0:00:00.027) 0:00:19.189 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004064", "end": "2023-12-25 22:11:30.551736", "rc": 0, "start": "2023-12-25 22:11:30.547672" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:30 +0000 (0:00:00.139) 0:00:19.328 ******* 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.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:30 +0000 (0:00:00.021) 0:00:19.350 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:11:30 +0000 (0:00:00.020) 0:00:19.370 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:11:30 +0000 (0:00:00.036) 0:00:19.406 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:30 +0000 (0:00:00.040) 0:00:19.447 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:30 +0000 (0:00:00.036) 0:00:19.483 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:30 +0000 (0:00:00.065) 0:00:19.549 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:30 +0000 (0:00:00.024) 0:00:19.574 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:30 +0000 (0:00:00.022) 0:00:19.596 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:31 +0000 (0:00:00.811) 0:00:20.407 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:32 +0000 (0:00:00.676) 0:00:21.083 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:32 +0000 (0:00:00.020) 0:00:21.104 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:32 +0000 (0:00:00.021) 0:00:21.126 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:32 +0000 (0:00:00.020) 0:00:21.146 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:32 +0000 (0:00:00.051) 0:00:21.198 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:32 +0000 (0:00:00.020) 0:00:21.219 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:32 +0000 (0:00:00.022) 0:00:21.241 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:32 +0000 (0:00:00.033) 0:00:21.275 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:32 +0000 (0:00:00.245) 0:00:21.521 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:32 +0000 (0:00:00.033) 0:00:21.554 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:32 +0000 (0:00:00.017) 0:00:21.571 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:32 +0000 (0:00:00.017) 0:00:21.589 ******* 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, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:33 +0000 (0:00:00.365) 0:00:21.955 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:33 +0000 (0:00:00.048) 0:00:22.003 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:33 +0000 (0:00:00.021) 0:00:22.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, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:33 +0000 (0:00:00.022) 0:00:22.047 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:33 +0000 (0:00:00.021) 0:00:22.069 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:11:33 +0000 (0:00:00.143) 0:00:22.212 ******* 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, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:11:33 +0000 (0:00:00.020) 0:00:22.232 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:33 +0000 (0:00:00.037) 0:00:22.269 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:33 +0000 (0:00:00.034) 0:00:22.304 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:33 +0000 (0:00:00.030) 0:00:22.334 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:33 +0000 (0:00:00.021) 0:00:22.356 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:33 +0000 (0:00:00.020) 0:00:22.376 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:34 +0000 (0:00:00.800) 0:00:23.177 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:35 +0000 (0:00:00.703) 0:00:23.880 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:35 +0000 (0:00:00.049) 0:00:23.930 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:35 +0000 (0:00:00.021) 0:00:23.951 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:35 +0000 (0:00:00.021) 0:00:23.972 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:35 +0000 (0:00:00.049) 0:00:24.022 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:35 +0000 (0:00:00.026) 0:00:24.048 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:35 +0000 (0:00:00.024) 0:00:24.073 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:35 +0000 (0:00:00.035) 0:00:24.108 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:35 +0000 (0:00:00.248) 0:00:24.357 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:35 +0000 (0:00:00.034) 0:00:24.391 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:35 +0000 (0:00:00.018) 0:00:24.410 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:35 +0000 (0:00:00.017) 0:00:24.427 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:35 +0000 (0:00:00.286) 0:00:24.714 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:35 +0000 (0:00:00.021) 0:00:24.735 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:36 +0000 (0:00:00.021) 0:00:24.757 ******* 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, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3707f12c-16e1-4328-ad53-4e0b3d2f06cb 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:36 +0000 (0:00:00.021) 0:00:24.778 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:36 +0000 (0:00:00.020) 0:00:24.798 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:11:36 +0000 (0:00:00.141) 0:00:24.939 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:11:36 +0000 (0:00:00.031) 0:00:24.971 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:36 +0000 (0:00:00.067) 0:00:25.039 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:36 +0000 (0:00:00.035) 0:00:25.074 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:36 +0000 (0:00:00.031) 0:00:25.106 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:36 +0000 (0:00:00.021) 0:00:25.128 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:36 +0000 (0:00:00.023) 0:00:25.151 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:37 +0000 (0:00:00.799) 0:00:25.951 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:37 +0000 (0:00:00.667) 0:00:26.618 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:37 +0000 (0:00:00.020) 0:00:26.639 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:37 +0000 (0:00:00.021) 0:00:26.660 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:37 +0000 (0:00:00.021) 0:00:26.681 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:37 +0000 (0:00:00.050) 0:00:26.732 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:37 +0000 (0:00:00.020) 0:00:26.753 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:38 +0000 (0:00:00.021) 0:00:26.775 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:38 +0000 (0:00:00.032) 0:00:26.807 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:38 +0000 (0:00:00.308) 0:00:27.116 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:38 +0000 (0:00:00.034) 0:00:27.150 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:38 +0000 (0:00:00.019) 0:00:27.170 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:38 +0000 (0:00:00.018) 0:00:27.189 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:38 +0000 (0:00:00.317) 0:00:27.507 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:38 +0000 (0:00:00.022) 0:00:27.529 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:38 +0000 (0:00:00.021) 0:00:27.551 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:38 +0000 (0:00:00.023) 0:00:27.574 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:38 +0000 (0:00:00.021) 0:00:27.595 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:11:38 +0000 (0:00:00.139) 0:00:27.734 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:11:39 +0000 (0:00:00.035) 0:00:27.770 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:39 +0000 (0:00:00.029) 0:00:27.799 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542293.120307, "block_size": 4096, "blocks": 0, "ctime": 1703542293.119307, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17480, "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": 1703542293.119307, "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.169_mrrt_w/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:11:39 +0000 (0:00:00.133) 0:00:27.933 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:11:39 +0000 (0:00:00.021) 0:00:27.954 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:11:39 +0000 (0:00:00.029) 0:00:27.984 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:11:39 +0000 (0:00:00.047) 0:00:28.031 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:11:39 +0000 (0:00:00.132) 0:00:28.164 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:11:39 +0000 (0:00:00.019) 0:00:28.183 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022066", "end": "2023-12-25 22:11:39.562915", "rc": 1, "start": "2023-12-25 22:11:39.540849" } 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:11:39 +0000 (0:00:00.156) 0:00:28.339 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:11:39 +0000 (0:00:00.019) 0:00:28.359 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:11:39 +0000 (0:00:00.019) 0:00:28.378 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:11:39 +0000 (0:00:00.018) 0:00:28.397 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:11:39 +0000 (0:00:00.019) 0:00:28.416 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:11:39 +0000 (0:00:00.018) 0:00:28.435 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:11:39 +0000 (0:00:00.022) 0:00:28.457 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:11:39 +0000 (0:00:00.025) 0:00:28.483 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:11:39 +0000 (0:00:00.020) 0:00:28.504 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:11:39 +0000 (0:00:00.035) 0:00:28.539 ******* 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.083042", "end": "2023-12-25 22:11:39.980272", "rc": 1, "start": "2023-12-25 22:11:39.897230" } STDOUT: Connection 'statebr' (3707f12c-16e1-4328-ad53-4e0b3d2f06cb) successfully deleted. STDERR: (process:14049): GLib-GIO-WARNING **: 22:11:39.961: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/15 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.169_mrrt_w/tests/playbooks/tests_states.yml:102 Monday 25 December 2023 22:11:40 +0000 (0:00:00.218) 0:00:28.758 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:11:40 +0000 (0:00:00.030) 0:00:28.788 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:11:40 +0000 (0:00:00.019) 0:00:28.808 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:11:40 +0000 (0:00:00.040) 0:00:28.848 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:40 +0000 (0:00:00.059) 0:00:28.908 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:40 +0000 (0:00:00.028) 0:00:28.936 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003786", "end": "2023-12-25 22:11:40.299450", "rc": 0, "start": "2023-12-25 22:11:40.295664" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:40 +0000 (0:00:00.140) 0:00:29.077 ******* 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.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:40 +0000 (0:00:00.020) 0:00:29.097 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:11:40 +0000 (0:00:00.020) 0:00:29.118 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:11:40 +0000 (0:00:00.036) 0:00:29.154 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:40 +0000 (0:00:00.038) 0:00:29.193 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:40 +0000 (0:00:00.035) 0:00:29.228 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:40 +0000 (0:00:00.030) 0:00:29.259 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:40 +0000 (0:00:00.021) 0:00:29.281 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:40 +0000 (0:00:00.021) 0:00:29.303 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:41 +0000 (0:00:00.806) 0:00:30.109 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:42 +0000 (0:00:00.744) 0:00:30.854 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:42 +0000 (0:00:00.023) 0:00:30.877 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:42 +0000 (0:00:00.021) 0:00:30.899 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:42 +0000 (0:00:00.022) 0:00:30.921 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:42 +0000 (0:00:00.051) 0:00:30.972 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:42 +0000 (0:00:00.022) 0:00:30.994 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:42 +0000 (0:00:00.023) 0:00:31.018 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:42 +0000 (0:00:00.034) 0:00:31.053 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:42 +0000 (0:00:00.251) 0:00:31.304 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:42 +0000 (0:00:00.034) 0:00:31.339 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:42 +0000 (0:00:00.019) 0:00:31.359 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:42 +0000 (0:00:00.019) 0:00:31.378 ******* 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, b0b9b9e2-228a-4756-884f-fddf5b0f29c6 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:42 +0000 (0:00:00.342) 0:00:31.721 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:42 +0000 (0:00:00.028) 0:00:31.750 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b0b9b9e2-228a-4756-884f-fddf5b0f29c6" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:43 +0000 (0:00:00.024) 0:00:31.775 ******* 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, b0b9b9e2-228a-4756-884f-fddf5b0f29c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b0b9b9e2-228a-4756-884f-fddf5b0f29c6" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:43 +0000 (0:00:00.026) 0:00:31.801 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:43 +0000 (0:00:00.021) 0:00:31.823 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:11:43 +0000 (0:00:00.145) 0:00:31.968 ******* 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, b0b9b9e2-228a-4756-884f-fddf5b0f29c6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b0b9b9e2-228a-4756-884f-fddf5b0f29c6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:11:43 +0000 (0:00:00.049) 0:00:32.017 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:43 +0000 (0:00:00.037) 0:00:32.055 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:43 +0000 (0:00:00.035) 0:00:32.091 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:43 +0000 (0:00:00.030) 0:00:32.122 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:43 +0000 (0:00:00.021) 0:00:32.144 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:43 +0000 (0:00:00.021) 0:00:32.166 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:44 +0000 (0:00:00.819) 0:00:32.985 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:44 +0000 (0:00:00.679) 0:00:33.665 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:44 +0000 (0:00:00.022) 0:00:33.687 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:44 +0000 (0:00:00.021) 0:00:33.709 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:44 +0000 (0:00:00.021) 0:00:33.730 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:45 +0000 (0:00:00.050) 0:00:33.781 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:45 +0000 (0:00:00.021) 0:00:33.802 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:45 +0000 (0:00:00.021) 0:00:33.824 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:45 +0000 (0:00:00.073) 0:00:33.898 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:45 +0000 (0:00:00.251) 0:00:34.150 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:45 +0000 (0:00:00.035) 0:00:34.185 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:45 +0000 (0:00:00.018) 0:00:34.204 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:45 +0000 (0:00:00.018) 0:00:34.222 ******* 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, b0b9b9e2-228a-4756-884f-fddf5b0f29c6 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:45 +0000 (0:00:00.292) 0:00:34.515 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:45 +0000 (0:00:00.021) 0:00:34.536 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b0b9b9e2-228a-4756-884f-fddf5b0f29c6 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:45 +0000 (0:00:00.021) 0:00:34.557 ******* 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, b0b9b9e2-228a-4756-884f-fddf5b0f29c6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b0b9b9e2-228a-4756-884f-fddf5b0f29c6 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:45 +0000 (0:00:00.022) 0:00:34.580 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:45 +0000 (0:00:00.025) 0:00:34.605 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:11:45 +0000 (0:00:00.146) 0:00:34.751 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:46 +0000 (0:00:00.045) 0:00:34.797 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:46 +0000 (0:00:00.036) 0:00:34.834 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:46 +0000 (0:00:00.041) 0:00:34.875 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:46 +0000 (0:00:00.023) 0:00:34.899 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:46 +0000 (0:00:00.022) 0:00:34.921 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:47 +0000 (0:00:00.865) 0:00:35.786 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:47 +0000 (0:00:00.675) 0:00:36.462 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:47 +0000 (0:00:00.024) 0:00:36.486 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:47 +0000 (0:00:00.023) 0:00:36.510 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:47 +0000 (0:00:00.023) 0:00:36.533 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:47 +0000 (0:00:00.051) 0:00:36.585 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:47 +0000 (0:00:00.023) 0:00:36.608 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:47 +0000 (0:00:00.023) 0:00:36.632 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:47 +0000 (0:00:00.036) 0:00:36.668 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:48 +0000 (0:00:00.248) 0:00:36.916 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:48 +0000 (0:00:00.034) 0:00:36.951 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:48 +0000 (0:00:00.019) 0:00:36.971 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:48 +0000 (0:00:00.018) 0:00:36.990 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:48 +0000 (0:00:00.321) 0:00:37.311 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:48 +0000 (0:00:00.021) 0:00:37.332 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:48 +0000 (0:00:00.021) 0:00:37.354 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:48 +0000 (0:00:00.058) 0:00:37.412 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:48 +0000 (0:00:00.022) 0:00:37.435 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:11:48 +0000 (0:00:00.141) 0:00:37.576 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:11:48 +0000 (0:00:00.032) 0:00:37.609 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:48 +0000 (0:00:00.037) 0:00:37.647 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:48 +0000 (0:00:00.035) 0:00:37.682 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:48 +0000 (0:00:00.032) 0:00:37.715 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:48 +0000 (0:00:00.022) 0:00:37.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:49 +0000 (0:00:00.023) 0:00:37.760 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:49 +0000 (0:00:00.795) 0:00:38.555 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:50 +0000 (0:00:00.676) 0:00:39.231 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:50 +0000 (0:00:00.022) 0:00:39.254 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:50 +0000 (0:00:00.055) 0:00:39.310 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:50 +0000 (0:00:00.022) 0:00:39.332 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:50 +0000 (0:00:00.051) 0:00:39.383 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:50 +0000 (0:00:00.021) 0:00:39.405 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:50 +0000 (0:00:00.021) 0:00:39.426 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:50 +0000 (0:00:00.032) 0:00:39.459 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:50 +0000 (0:00:00.251) 0:00:39.710 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:50 +0000 (0:00:00.033) 0:00:39.744 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:51 +0000 (0:00:00.018) 0:00:39.762 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:51 +0000 (0:00:00.018) 0:00:39.780 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:51 +0000 (0:00:00.370) 0:00:40.151 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:51 +0000 (0:00:00.023) 0:00:40.175 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:51 +0000 (0:00:00.021) 0:00:40.196 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:51 +0000 (0:00:00.022) 0:00:40.219 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:51 +0000 (0:00:00.021) 0:00:40.240 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:11:51 +0000 (0:00:00.149) 0:00:40.389 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:11:51 +0000 (0:00:00.034) 0:00:40.424 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:11:51 +0000 (0:00:00.062) 0:00:40.486 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:11:51 +0000 (0:00:00.019) 0:00:40.506 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:11:51 +0000 (0:00:00.134) 0:00:40.640 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:11:51 +0000 (0:00:00.018) 0:00:40.659 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020521", "end": "2023-12-25 22:11:52.037194", "rc": 1, "start": "2023-12-25 22:11:52.016673" } 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:11:52 +0000 (0:00:00.155) 0:00:40.814 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:11:52 +0000 (0:00:00.021) 0:00:40.836 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:11:52 +0000 (0:00:00.022) 0:00:40.859 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:11:52 +0000 (0:00:00.020) 0:00:40.879 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:11:52 +0000 (0:00:00.025) 0:00:40.904 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:11:52 +0000 (0:00:00.019) 0:00:40.924 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:11:52 +0000 (0:00:00.021) 0:00:40.946 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:11:52 +0000 (0:00:00.044) 0:00:40.991 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:11:52 +0000 (0:00:00.032) 0:00:41.023 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:11:52 +0000 (0:00:00.132) 0:00:41.156 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:11:52 +0000 (0:00:00.022) 0:00:41.179 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:11:52 +0000 (0:00:00.020) 0:00:41.199 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:11:52 +0000 (0:00:00.035) 0:00:41.234 ******* 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.043936", "end": "2023-12-25 22:11:52.635287", "rc": 1, "start": "2023-12-25 22:11:52.591351" } 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.169_mrrt_w/tests/playbooks/tests_states.yml:124 Monday 25 December 2023 22:11:52 +0000 (0:00:00.209) 0:00:41.443 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:11:52 +0000 (0:00:00.030) 0:00:41.474 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:11:52 +0000 (0:00:00.020) 0:00:41.494 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:11:52 +0000 (0:00:00.037) 0:00:41.531 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:11:52 +0000 (0:00:00.029) 0:00:41.561 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:11:52 +0000 (0:00:00.028) 0:00:41.590 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003719", "end": "2023-12-25 22:11:52.949757", "rc": 0, "start": "2023-12-25 22:11:52.946038" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:11:52 +0000 (0:00:00.136) 0:00:41.727 ******* 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.169_mrrt_w/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:11:52 +0000 (0:00:00.020) 0:00:41.747 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:11:53 +0000 (0:00:00.019) 0:00:41.766 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:11:53 +0000 (0:00:00.035) 0:00:41.802 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:53 +0000 (0:00:00.038) 0:00:41.841 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:53 +0000 (0:00:00.044) 0:00:41.885 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:53 +0000 (0:00:00.069) 0:00:41.954 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:53 +0000 (0:00:00.022) 0:00:41.977 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:53 +0000 (0:00:00.022) 0:00:41.999 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:54 +0000 (0:00:00.797) 0:00:42.796 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:54 +0000 (0:00:00.668) 0:00:43.465 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:54 +0000 (0:00:00.021) 0:00:43.486 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:54 +0000 (0:00:00.022) 0:00:43.509 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:54 +0000 (0:00:00.021) 0:00:43.530 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:54 +0000 (0:00:00.052) 0:00:43.582 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:54 +0000 (0:00:00.021) 0:00:43.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:54 +0000 (0:00:00.021) 0:00:43.626 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:54 +0000 (0:00:00.032) 0:00:43.659 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:55 +0000 (0:00:00.252) 0:00:43.911 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:55 +0000 (0:00:00.034) 0:00:43.945 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:55 +0000 (0:00:00.017) 0:00:43.963 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:55 +0000 (0:00:00.018) 0:00:43.981 ******* 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, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:55 +0000 (0:00:00.377) 0:00:44.359 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:55 +0000 (0:00:00.059) 0:00:44.419 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:55 +0000 (0:00:00.022) 0:00:44.441 ******* 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, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:55 +0000 (0:00:00.022) 0:00:44.464 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:55 +0000 (0:00:00.021) 0:00:44.485 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:11:55 +0000 (0:00:00.139) 0:00:44.625 ******* 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, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:11:55 +0000 (0:00:00.021) 0:00:44.647 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:55 +0000 (0:00:00.038) 0:00:44.685 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:55 +0000 (0:00:00.036) 0:00:44.721 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:55 +0000 (0:00:00.030) 0:00:44.752 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:56 +0000 (0:00:00.021) 0:00:44.774 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:56 +0000 (0:00:00.021) 0:00:44.795 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:56 +0000 (0:00:00.804) 0:00:45.600 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:11:57 +0000 (0:00:00.667) 0:00:46.267 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:11:57 +0000 (0:00:00.054) 0:00:46.321 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:11:57 +0000 (0:00:00.023) 0:00:46.345 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:11:57 +0000 (0:00:00.023) 0:00:46.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:11:57 +0000 (0:00:00.052) 0:00:46.421 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:11:57 +0000 (0:00:00.022) 0:00:46.444 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:11:57 +0000 (0:00:00.021) 0:00:46.466 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:11:57 +0000 (0:00:00.035) 0:00:46.501 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:11:57 +0000 (0:00:00.245) 0:00:46.746 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:11:58 +0000 (0:00:00.033) 0:00:46.780 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:11:58 +0000 (0:00:00.019) 0:00:46.799 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:11:58 +0000 (0:00:00.018) 0:00:46.817 ******* 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, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:11:58 +0000 (0:00:00.285) 0:00:47.103 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:11:58 +0000 (0:00:00.022) 0:00:47.126 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:11:58 +0000 (0:00:00.022) 0:00:47.149 ******* 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, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d1ca9b88-fcbb-490c-8002-d6a5a3068f3e 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:11:58 +0000 (0:00:00.022) 0:00:47.171 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:11:58 +0000 (0:00:00.024) 0:00:47.196 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:11:58 +0000 (0:00:00.140) 0:00:47.336 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:11:58 +0000 (0:00:00.038) 0:00:47.375 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:11:58 +0000 (0:00:00.071) 0:00:47.446 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:11:58 +0000 (0:00:00.033) 0:00:47.480 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:11:58 +0000 (0:00:00.023) 0:00:47.503 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:11:58 +0000 (0:00:00.029) 0:00:47.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:11:59 +0000 (0:00:00.798) 0:00:48.331 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:12:00 +0000 (0:00:00.674) 0:00:49.005 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:12:00 +0000 (0:00:00.021) 0:00:49.027 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:12:00 +0000 (0:00:00.020) 0:00:49.048 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:12:00 +0000 (0:00:00.021) 0:00:49.070 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:12:00 +0000 (0:00:00.050) 0:00:49.120 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:12:00 +0000 (0:00:00.021) 0:00:49.141 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:12:00 +0000 (0:00:00.021) 0:00:49.163 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:12:00 +0000 (0:00:00.032) 0:00:49.195 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:12:00 +0000 (0:00:00.251) 0:00:49.447 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:12:00 +0000 (0:00:00.033) 0:00:49.480 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:12:00 +0000 (0:00:00.049) 0:00:49.530 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:12:00 +0000 (0:00:00.018) 0:00:49.549 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:12:01 +0000 (0:00:00.387) 0:00:49.936 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:12:01 +0000 (0:00:00.024) 0:00:49.960 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:12:01 +0000 (0:00:00.022) 0:00:49.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", "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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:12:01 +0000 (0:00:00.023) 0:00:50.005 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:12:01 +0000 (0:00:00.022) 0:00:50.028 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:12:01 +0000 (0:00:00.143) 0:00:50.171 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:12:01 +0000 (0:00:00.035) 0:00:50.206 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:12:01 +0000 (0:00:00.041) 0:00:50.248 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:12:01 +0000 (0:00:00.036) 0:00:50.285 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:12:01 +0000 (0:00:00.032) 0:00:50.317 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:12:01 +0000 (0:00:00.021) 0:00:50.339 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:12:01 +0000 (0:00:00.022) 0:00:50.361 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:12:02 +0000 (0:00:00.880) 0:00:51.242 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:12:03 +0000 (0:00:00.685) 0:00:51.928 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:12:03 +0000 (0:00:00.021) 0:00:51.949 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:12:03 +0000 (0:00:00.022) 0:00:51.971 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:12:03 +0000 (0:00:00.022) 0:00:51.994 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:12:03 +0000 (0:00:00.053) 0:00:52.048 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:12:03 +0000 (0:00:00.022) 0:00:52.070 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:12:03 +0000 (0:00:00.022) 0:00:52.093 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:12:03 +0000 (0:00:00.034) 0:00:52.127 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:12:03 +0000 (0:00:00.251) 0:00:52.379 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:12:03 +0000 (0:00:00.034) 0:00:52.413 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:12:03 +0000 (0:00:00.017) 0:00:52.431 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:12:03 +0000 (0:00:00.018) 0:00:52.449 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:12:04 +0000 (0:00:00.308) 0:00:52.758 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:12:04 +0000 (0:00:00.023) 0:00:52.781 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:12:04 +0000 (0:00:00.021) 0:00:52.803 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:12:04 +0000 (0:00:00.023) 0:00:52.826 ******* 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.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:12:04 +0000 (0:00:00.021) 0:00:52.848 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:12:04 +0000 (0:00:00.174) 0:00:53.023 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:12:04 +0000 (0:00:00.037) 0:00:53.060 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:12:04 +0000 (0:00:00.032) 0:00:53.092 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:12:04 +0000 (0:00:00.021) 0:00:53.114 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:12:04 +0000 (0:00:00.133) 0:00:53.247 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:12:04 +0000 (0:00:00.018) 0:00:53.266 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021101", "end": "2023-12-25 22:12:04.647522", "rc": 1, "start": "2023-12-25 22:12:04.626421" } 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:12:04 +0000 (0:00:00.158) 0:00:53.424 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:12:04 +0000 (0:00:00.019) 0:00:53.444 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:12:04 +0000 (0:00:00.018) 0:00:53.462 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:12:04 +0000 (0:00:00.018) 0:00:53.480 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:12:04 +0000 (0:00:00.018) 0:00:53.498 ******* 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.169_mrrt_w/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:12:04 +0000 (0:00:00.018) 0:00:53.517 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 December 2023 22:12:04 +0000 (0:00:00.020) 0:00:53.538 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.407222", "end": "2023-12-25 22:12:05.303208", "rc": 0, "start": "2023-12-25 22:12:04.895986" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 December 2023 22:12:05 +0000 (0:00:00.543) 0:00:54.081 ******* 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.169_mrrt_w/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 December 2023 22:12:05 +0000 (0:00:00.020) 0:00:54.101 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:12:05 +0000 (0:00:00.019) 0:00:54.120 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:12:05 +0000 (0:00:00.079) 0:00:54.200 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:12:05 +0000 (0:00:00.029) 0:00:54.230 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:12:05 +0000 (0:00:00.138) 0:00:54.368 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:12:05 +0000 (0:00:00.022) 0:00:54.390 ******* 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.169_mrrt_w/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:12:05 +0000 (0:00:00.019) 0:00:54.410 ******* included: /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/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.169_mrrt_w/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:12:05 +0000 (0:00:00.034) 0:00:54.444 ******* 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.046235", "end": "2023-12-25 22:12:05.852226", "rc": 1, "start": "2023-12-25 22:12:05.805991" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Monday 25 December 2023 22:12:05 +0000 (0:00:00.213) 0:00:54.658 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.88s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.87s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.82s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.74s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.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.70s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-ansible-lint-test-2.169_mrrt_w/tests/tests_states_nm.yml:6 ------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---