# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/tests_states_nm.yml:6 Monday 25 December 2023 22:04:11 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tests_states_nm.yml:9 Monday 25 December 2023 22:04:11 +0000 (0:00:00.566) 0:00:00.578 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:04:11 +0000 (0:00:00.022) 0:00:00.600 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml:19 Monday 25 December 2023 22:04:11 +0000 (0:00:00.242) 0:00:00.843 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml:24 Monday 25 December 2023 22:04:12 +0000 (0:00:00.217) 0:00:01.060 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml:28 Monday 25 December 2023 22:04:12 +0000 (0:00:00.021) 0:00:01.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml:53 Monday 25 December 2023 22:04:12 +0000 (0:00:00.017) 0:00:01.098 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:04:12 +0000 (0:00:00.031) 0:00:01.129 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:04:12 +0000 (0:00:00.208) 0:00:01.338 ******* 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.16u3n9drkb/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:04:12 +0000 (0:00:00.473) 0:00:01.812 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.207699", "end": "2023-12-25 22:04:13.191244", "rc": 0, "start": "2023-12-25 22:04:12.983545" } 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.16u3n9drkb/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:04:13 +0000 (0:00:00.356) 0:00:02.169 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:04:13 +0000 (0:00:00.024) 0:00:02.193 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tests_states_nm.yml:11 Monday 25 December 2023 22:04:13 +0000 (0:00:00.027) 0:00:02.221 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:3 Monday 25 December 2023 22:04:13 +0000 (0:00:00.023) 0:00:02.244 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:11 Monday 25 December 2023 22:04:13 +0000 (0:00:00.463) 0:00:02.708 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:22 Monday 25 December 2023 22:04:13 +0000 (0:00:00.028) 0:00:02.736 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:13 +0000 (0:00:00.042) 0:00:02.779 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:13 +0000 (0:00:00.022) 0:00:02.801 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:13 +0000 (0:00:00.037) 0:00:02.839 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:13 +0000 (0:00:00.014) 0:00:02.853 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:13 +0000 (0:00:00.018) 0:00:02.872 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003948", "end": "2023-12-25 22:04:14.038933", "rc": 0, "start": "2023-12-25 22:04:14.034985" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:14 +0000 (0:00:00.134) 0:00:03.007 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:14 +0000 (0:00:00.012) 0:00:03.019 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:14 +0000 (0:00:00.010) 0:00:03.030 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:04:14 +0000 (0:00:00.020) 0:00:03.050 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012241", "end": "2023-12-25 22:04:14.224442", "rc": 1, "start": "2023-12-25 22:04:14.212201" } 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.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:04:14 +0000 (0:00:00.142) 0:00:03.192 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:14 +0000 (0:00:00.015) 0:00:03.208 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:04:14 +0000 (0:00:00.136) 0:00:03.344 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:14 +0000 (0:00:00.012) 0:00:03.357 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:04:14 +0000 (0:00:00.017) 0:00:03.374 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:14 +0000 (0:00:00.033) 0:00:03.408 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:14 +0000 (0:00:00.069) 0:00:03.477 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:14 +0000 (0:00:00.012) 0:00:03.490 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:14 +0000 (0:00:00.012) 0:00:03.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:14 +0000 (0:00:00.010) 0:00:03.513 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:15 +0000 (0:00:00.976) 0:00:04.490 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:16 +0000 (0:00:00.929) 0:00:05.420 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:16 +0000 (0:00:00.065) 0:00:05.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:16 +0000 (0:00:00.037) 0:00:05.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:16 +0000 (0:00:00.022) 0:00:05.544 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:16 +0000 (0:00:00.058) 0:00:05.603 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:16 +0000 (0:00:00.036) 0:00:05.640 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:16 +0000 (0:00:00.028) 0:00:05.668 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:16 +0000 (0:00:00.039) 0:00:05.707 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:17 +0000 (0:00:00.456) 0:00:06.163 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:17 +0000 (0:00:00.034) 0:00:06.198 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:17 +0000 (0:00:00.035) 0:00:06.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:17 +0000 (0:00:00.038) 0:00:06.272 ******* 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, 4e6042ca-c112-4f33-a670-1e4331af9832 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:17 +0000 (0:00:00.550) 0:00:06.823 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:17 +0000 (0:00:00.027) 0:00:06.850 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e6042ca-c112-4f33-a670-1e4331af9832" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:17 +0000 (0:00:00.040) 0:00:06.891 ******* 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, 4e6042ca-c112-4f33-a670-1e4331af9832\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e6042ca-c112-4f33-a670-1e4331af9832" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:17 +0000 (0:00:00.043) 0:00:06.934 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:18 +0000 (0:00:00.029) 0:00:06.964 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:04:18 +0000 (0:00:00.281) 0:00:07.245 ******* 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, 4e6042ca-c112-4f33-a670-1e4331af9832\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e6042ca-c112-4f33-a670-1e4331af9832" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:04:18 +0000 (0:00:00.054) 0:00:07.300 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:04:18 +0000 (0:00:00.076) 0:00:07.377 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:18 +0000 (0:00:00.042) 0:00:07.419 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:18 +0000 (0:00:00.048) 0:00:07.468 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541857.8718674, "block_size": 4096, "blocks": 8, "ctime": 1703541857.772868, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427536, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541857.772868, "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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:18 +0000 (0:00:00.157) 0:00:07.625 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:18 +0000 (0:00:00.035) 0:00:07.661 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026845", "end": "2023-12-25 22:04:18.865676", "rc": 0, "start": "2023-12-25 22:04:18.838831" } 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:18 +0000 (0:00:00.184) 0:00:07.846 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:18 +0000 (0:00:00.022) 0:00:07.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:18 +0000 (0:00:00.022) 0:00:07.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:18 +0000 (0:00:00.024) 0:00:07.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:18 +0000 (0:00:00.024) 0:00:07.941 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:04:19 +0000 (0:00:00.026) 0:00:07.968 ******* 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.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:04:19 +0000 (0:00:00.025) 0:00:07.993 ******* 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.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:04:19 +0000 (0:00:00.024) 0:00:08.017 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:04:19 +0000 (0:00:00.021) 0:00:08.039 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:04:19 +0000 (0:00:00.081) 0:00:08.120 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:19 +0000 (0:00:00.037) 0:00:08.158 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541857.775868, "block_size": 4096, "blocks": 0, "ctime": 1703541857.7748678, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17548, "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": 1703541857.7748678, "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.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:04:19 +0000 (0:00:00.148) 0:00:08.306 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:04:19 +0000 (0:00:00.023) 0:00:08.330 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:04:19 +0000 (0:00:00.023) 0:00:08.353 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:04:19 +0000 (0:00:00.040) 0:00:08.394 ******* 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.083431", "end": "2023-12-25 22:04:19.640809", "rc": 1, "start": "2023-12-25 22:04:19.557378" } STDOUT: Connection 'statebr' (4e6042ca-c112-4f33-a670-1e4331af9832) 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.16u3n9drkb/tests/playbooks/tests_states.yml:45 Monday 25 December 2023 22:04:19 +0000 (0:00:00.225) 0:00:08.619 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:19 +0000 (0:00:00.035) 0:00:08.655 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:19 +0000 (0:00:00.039) 0:00:08.694 ******* 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" } 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:19 +0000 (0:00:00.060) 0:00:08.754 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:19 +0000 (0:00:00.037) 0:00:08.791 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:19 +0000 (0:00:00.073) 0:00:08.865 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003819", "end": "2023-12-25 22:04:20.047549", "rc": 0, "start": "2023-12-25 22:04:20.043730" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:20 +0000 (0:00:00.161) 0:00:09.027 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:20 +0000 (0:00:00.021) 0:00:09.049 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:20 +0000 (0:00:00.021) 0:00:09.070 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.042) 0:00:09.112 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008026", "end": "2023-12-25 22:04:20.287359", "rc": 1, "start": "2023-12-25 22:04:20.279333" } 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.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.157) 0:00:09.270 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.037) 0:00:09.308 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:04:20 +0000 (0:00:00.146) 0:00:09.454 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:20 +0000 (0:00:00.031) 0:00:09.486 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.042) 0:00:09.529 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:20 +0000 (0:00:00.051) 0:00:09.581 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.043) 0:00:09.624 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:20 +0000 (0:00:00.069) 0:00:09.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:20 +0000 (0:00:00.045) 0:00:09.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:20 +0000 (0:00:00.034) 0:00:09.775 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:21 +0000 (0:00:00.878) 0:00:10.653 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:22 +0000 (0:00:00.706) 0:00:11.360 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:22 +0000 (0:00:00.031) 0:00:11.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:22 +0000 (0:00:00.025) 0:00:11.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:22 +0000 (0:00:00.023) 0:00:11.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:22 +0000 (0:00:00.048) 0:00:11.489 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:22 +0000 (0:00:00.060) 0:00:11.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:22 +0000 (0:00:00.025) 0:00:11.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:22 +0000 (0:00:00.027) 0:00:11.602 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:22 +0000 (0:00:00.258) 0:00:11.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:22 +0000 (0:00:00.048) 0:00:11.909 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:22 +0000 (0:00:00.032) 0:00:11.942 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:23 +0000 (0:00:00.065) 0:00:12.007 ******* 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, 34bf46fc-52c1-4c49-acb4-23e03577acab TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:23 +0000 (0:00:00.412) 0:00:12.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:23 +0000 (0:00:00.036) 0:00:12.457 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 34bf46fc-52c1-4c49-acb4-23e03577acab" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:23 +0000 (0:00:00.030) 0:00:12.487 ******* 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, 34bf46fc-52c1-4c49-acb4-23e03577acab\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 34bf46fc-52c1-4c49-acb4-23e03577acab" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:23 +0000 (0:00:00.049) 0:00:12.537 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:23 +0000 (0:00:00.059) 0:00:12.597 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 December 2023 22:04:23 +0000 (0:00:00.205) 0:00:12.803 ******* 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, 34bf46fc-52c1-4c49-acb4-23e03577acab\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 34bf46fc-52c1-4c49-acb4-23e03577acab" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:04:23 +0000 (0:00:00.064) 0:00:12.867 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:04:23 +0000 (0:00:00.043) 0:00:12.910 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:23 +0000 (0:00:00.037) 0:00:12.948 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:04:24 +0000 (0:00:00.235) 0:00:13.183 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:04:24 +0000 (0:00:00.039) 0:00:13.223 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:24 +0000 (0:00:00.121) 0:00:13.344 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:24 +0000 (0:00:00.057) 0:00:13.401 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541863.4028382, "block_size": 4096, "blocks": 8, "ctime": 1703541863.4028382, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427535, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541863.4028382, "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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:24 +0000 (0:00:00.186) 0:00:13.587 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:24 +0000 (0:00:00.049) 0:00:13.637 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026003", "end": "2023-12-25 22:04:24.875025", "rc": 0, "start": "2023-12-25 22:04:24.849022" } 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:24 +0000 (0:00:00.242) 0:00:13.880 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:24 +0000 (0:00:00.039) 0:00:13.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:24 +0000 (0:00:00.025) 0:00:13.945 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:25 +0000 (0:00:00.031) 0:00:13.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:25 +0000 (0:00:00.024) 0:00:14.000 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:04:25 +0000 (0:00:00.034) 0:00:14.035 ******* 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.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:04:25 +0000 (0:00:00.038) 0:00:14.074 ******* 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.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:04:25 +0000 (0:00:00.025) 0:00:14.099 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:04:25 +0000 (0:00:00.022) 0:00:14.122 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:04:25 +0000 (0:00:00.019) 0:00:14.142 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:04:25 +0000 (0:00:00.054) 0:00:14.196 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:04:25 +0000 (0:00:00.043) 0:00:14.240 ******* 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.050949", "end": "2023-12-25 22:04:25.455517", "rc": 1, "start": "2023-12-25 22:04:25.404568" } STDOUT: Connection 'statebr' (34bf46fc-52c1-4c49-acb4-23e03577acab) 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.16u3n9drkb/tests/playbooks/tests_states.yml:65 Monday 25 December 2023 22:04:25 +0000 (0:00:00.195) 0:00:14.436 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:25 +0000 (0:00:00.035) 0:00:14.471 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:25 +0000 (0:00:00.033) 0:00:14.505 ******* 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" } 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:25 +0000 (0:00:00.043) 0:00:14.549 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:25 +0000 (0:00:00.060) 0:00:14.609 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:25 +0000 (0:00:00.051) 0:00:14.660 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003898", "end": "2023-12-25 22:04:25.828484", "rc": 0, "start": "2023-12-25 22:04:25.824586" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:25 +0000 (0:00:00.148) 0:00:14.809 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:25 +0000 (0:00:00.029) 0:00:14.838 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:25 +0000 (0:00:00.037) 0:00:14.876 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:04:25 +0000 (0:00:00.040) 0:00:14.916 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:26 +0000 (0:00:00.069) 0:00:14.986 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:26 +0000 (0:00:00.046) 0:00:15.033 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:26 +0000 (0:00:00.030) 0:00:15.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:26 +0000 (0:00:00.023) 0:00:15.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:26 +0000 (0:00:00.022) 0:00:15.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 [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:26 +0000 (0:00:00.828) 0:00:15.937 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:27 +0000 (0:00:00.706) 0:00:16.644 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:27 +0000 (0:00:00.023) 0:00:16.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:27 +0000 (0:00:00.040) 0:00:16.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:27 +0000 (0:00:00.046) 0:00:16.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:27 +0000 (0:00:00.068) 0:00:16.822 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:27 +0000 (0:00:00.032) 0:00:16.855 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:27 +0000 (0:00:00.046) 0:00:16.902 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:27 +0000 (0:00:00.038) 0:00:16.940 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:28 +0000 (0:00:00.276) 0:00:17.217 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:28 +0000 (0:00:00.038) 0:00:17.255 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:28 +0000 (0:00:00.044) 0:00:17.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:28 +0000 (0:00:00.033) 0:00:17.333 ******* 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, 451fc6d2-170e-45a4-859f-cbac370db838 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:28 +0000 (0:00:00.383) 0:00:17.717 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:28 +0000 (0:00:00.038) 0:00:17.755 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 451fc6d2-170e-45a4-859f-cbac370db838" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:28 +0000 (0:00:00.042) 0:00:17.797 ******* 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, 451fc6d2-170e-45a4-859f-cbac370db838\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 451fc6d2-170e-45a4-859f-cbac370db838" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:28 +0000 (0:00:00.026) 0:00:17.824 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:28 +0000 (0:00:00.022) 0:00:17.847 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:04:29 +0000 (0:00:00.147) 0:00:17.994 ******* 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, 451fc6d2-170e-45a4-859f-cbac370db838\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 451fc6d2-170e-45a4-859f-cbac370db838" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:29 +0000 (0:00:00.025) 0:00:18.019 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:04:29 +0000 (0:00:00.060) 0:00:18.080 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:29 +0000 (0:00:00.039) 0:00:18.120 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:29 +0000 (0:00:00.047) 0:00:18.167 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:29 +0000 (0:00:00.026) 0:00:18.193 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:29 +0000 (0:00:00.022) 0:00:18.216 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:29 +0000 (0:00:00.022) 0:00:18.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 [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:30 +0000 (0:00:00.846) 0:00:19.084 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:30 +0000 (0:00:00.749) 0:00:19.834 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:30 +0000 (0:00:00.055) 0:00:19.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:30 +0000 (0:00:00.027) 0:00:19.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:30 +0000 (0:00:00.034) 0:00:19.952 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:31 +0000 (0:00:00.088) 0:00:20.040 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:31 +0000 (0:00:00.068) 0:00:20.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:31 +0000 (0:00:00.027) 0:00:20.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:31 +0000 (0:00:00.030) 0:00:20.167 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:31 +0000 (0:00:00.264) 0:00:20.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:31 +0000 (0:00:00.025) 0:00:20.456 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:31 +0000 (0:00:00.052) 0:00:20.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:31 +0000 (0:00:00.059) 0:00:20.569 ******* 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, 451fc6d2-170e-45a4-859f-cbac370db838 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:31 +0000 (0:00:00.342) 0:00:20.912 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:31 +0000 (0:00:00.022) 0:00:20.934 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 451fc6d2-170e-45a4-859f-cbac370db838 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:32 +0000 (0:00:00.024) 0:00:20.959 ******* 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, 451fc6d2-170e-45a4-859f-cbac370db838 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 451fc6d2-170e-45a4-859f-cbac370db838 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:32 +0000 (0:00:00.024) 0:00:20.983 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:32 +0000 (0:00:00.043) 0:00:21.027 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:04:32 +0000 (0:00:00.162) 0:00:21.189 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:04:32 +0000 (0:00:00.129) 0:00:21.319 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:32 +0000 (0:00:00.035) 0:00:21.355 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541868.6718106, "block_size": 4096, "blocks": 0, "ctime": 1703541868.6708107, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17548, "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": 1703541868.6708107, "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.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:04:32 +0000 (0:00:00.155) 0:00:21.510 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:04:32 +0000 (0:00:00.023) 0:00:21.534 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:32 +0000 (0:00:00.038) 0:00:21.572 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:32 +0000 (0:00:00.025) 0:00:21.598 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541868.7278104, "block_size": 4096, "blocks": 8, "ctime": 1703541868.6698108, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427536, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541868.6698108, "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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:32 +0000 (0:00:00.180) 0:00:21.779 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:32 +0000 (0:00:00.037) 0:00:21.817 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025390", "end": "2023-12-25 22:04:33.024105", "rc": 0, "start": "2023-12-25 22:04:32.998715" } 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:33 +0000 (0:00:00.187) 0:00:22.004 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:33 +0000 (0:00:00.022) 0:00:22.027 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:33 +0000 (0:00:00.023) 0:00:22.050 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:33 +0000 (0:00:00.024) 0:00:22.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:33 +0000 (0:00:00.023) 0:00:22.098 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:04:33 +0000 (0:00:00.028) 0:00:22.126 ******* 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.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:04:33 +0000 (0:00:00.025) 0:00:22.152 ******* 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.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:04:33 +0000 (0:00:00.059) 0:00:22.211 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:04:33 +0000 (0:00:00.023) 0:00:22.235 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:04:33 +0000 (0:00:00.021) 0:00:22.257 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:04:33 +0000 (0:00:00.026) 0:00:22.284 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:04:33 +0000 (0:00:00.046) 0:00:22.330 ******* 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.083916", "end": "2023-12-25 22:04:33.611166", "rc": 1, "start": "2023-12-25 22:04:33.527250" } STDOUT: Connection 'statebr' (451fc6d2-170e-45a4-859f-cbac370db838) 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.16u3n9drkb/tests/playbooks/tests_states.yml:83 Monday 25 December 2023 22:04:33 +0000 (0:00:00.277) 0:00:22.608 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:33 +0000 (0:00:00.037) 0:00:22.645 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:33 +0000 (0:00:00.022) 0:00:22.668 ******* 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" } 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:33 +0000 (0:00:00.043) 0:00:22.711 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:33 +0000 (0:00:00.033) 0:00:22.745 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:33 +0000 (0:00:00.031) 0:00:22.776 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003839", "end": "2023-12-25 22:04:33.944347", "rc": 0, "start": "2023-12-25 22:04:33.940508" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:33 +0000 (0:00:00.147) 0:00:22.923 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:33 +0000 (0:00:00.021) 0:00:22.945 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:34 +0000 (0:00:00.045) 0:00:22.990 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:04:34 +0000 (0:00:00.038) 0:00:23.029 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:34 +0000 (0:00:00.036) 0:00:23.066 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:34 +0000 (0:00:00.042) 0:00:23.108 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:34 +0000 (0:00:00.026) 0:00:23.134 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:34 +0000 (0:00:00.021) 0:00:23.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:34 +0000 (0:00:00.019) 0:00:23.175 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:35 +0000 (0:00:00.820) 0:00:23.996 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:35 +0000 (0:00:00.751) 0:00:24.747 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:35 +0000 (0:00:00.100) 0:00:24.847 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:35 +0000 (0:00:00.025) 0:00:24.873 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:36 +0000 (0:00:00.083) 0:00:24.957 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:36 +0000 (0:00:00.133) 0:00:25.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:36 +0000 (0:00:00.058) 0:00:25.149 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:36 +0000 (0:00:00.038) 0:00:25.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:36 +0000 (0:00:00.031) 0:00:25.219 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:36 +0000 (0:00:00.275) 0:00:25.494 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:36 +0000 (0:00:00.024) 0:00:25.519 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:36 +0000 (0:00:00.020) 0:00:25.539 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:36 +0000 (0:00:00.021) 0:00:25.561 ******* 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, ba8b8fb8-9096-458f-a12e-494b393640e2 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:36 +0000 (0:00:00.368) 0:00:25.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:36 +0000 (0:00:00.021) 0:00:25.951 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ba8b8fb8-9096-458f-a12e-494b393640e2" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:37 +0000 (0:00:00.022) 0:00:25.973 ******* 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, ba8b8fb8-9096-458f-a12e-494b393640e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ba8b8fb8-9096-458f-a12e-494b393640e2" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:37 +0000 (0:00:00.021) 0:00:25.995 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:37 +0000 (0:00:00.020) 0:00:26.015 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:04:37 +0000 (0:00:00.183) 0:00:26.199 ******* 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, ba8b8fb8-9096-458f-a12e-494b393640e2\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ba8b8fb8-9096-458f-a12e-494b393640e2" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:04:37 +0000 (0:00:00.034) 0:00:26.234 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:37 +0000 (0:00:00.053) 0:00:26.287 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:37 +0000 (0:00:00.038) 0:00:26.326 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:37 +0000 (0:00:00.030) 0:00:26.356 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:37 +0000 (0:00:00.024) 0:00:26.380 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:37 +0000 (0:00:00.022) 0:00:26.403 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:38 +0000 (0:00:00.839) 0:00:27.243 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:39 +0000 (0:00:00.808) 0:00:28.051 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:39 +0000 (0:00:00.030) 0:00:28.082 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:39 +0000 (0:00:00.049) 0:00:28.131 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:39 +0000 (0:00:00.063) 0:00:28.195 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:39 +0000 (0:00:00.043) 0:00:28.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:39 +0000 (0:00:00.020) 0:00:28.258 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:39 +0000 (0:00:00.022) 0:00:28.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:39 +0000 (0:00:00.025) 0:00:28.307 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:39 +0000 (0:00:00.317) 0:00:28.624 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:39 +0000 (0:00:00.082) 0:00:28.706 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:39 +0000 (0:00:00.051) 0:00:28.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:39 +0000 (0:00:00.023) 0:00:28.782 ******* 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, ba8b8fb8-9096-458f-a12e-494b393640e2 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:40 +0000 (0:00:00.337) 0:00:29.120 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:40 +0000 (0:00:00.023) 0:00:29.143 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ba8b8fb8-9096-458f-a12e-494b393640e2 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:40 +0000 (0:00:00.022) 0:00:29.166 ******* 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, ba8b8fb8-9096-458f-a12e-494b393640e2 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ba8b8fb8-9096-458f-a12e-494b393640e2 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:40 +0000 (0:00:00.021) 0:00:29.187 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:40 +0000 (0:00:00.019) 0:00:29.207 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:40 +0000 (0:00:00.142) 0:00:29.350 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:04:40 +0000 (0:00:00.061) 0:00:29.411 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:40 +0000 (0:00:00.038) 0:00:29.450 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:40 +0000 (0:00:00.038) 0:00:29.489 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:40 +0000 (0:00:00.025) 0:00:29.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:40 +0000 (0:00:00.020) 0:00:29.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:40 +0000 (0:00:00.019) 0:00:29.554 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:41 +0000 (0:00:00.819) 0:00:30.374 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:42 +0000 (0:00:00.710) 0:00:31.084 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:42 +0000 (0:00:00.022) 0:00:31.107 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:42 +0000 (0:00:00.021) 0:00:31.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:42 +0000 (0:00:00.023) 0:00:31.151 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:42 +0000 (0:00:00.067) 0:00:31.219 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:42 +0000 (0:00:00.048) 0:00:31.268 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:42 +0000 (0:00:00.051) 0:00:31.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:42 +0000 (0:00:00.049) 0:00:31.369 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:42 +0000 (0:00:00.266) 0:00:31.636 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:42 +0000 (0:00:00.026) 0:00:31.663 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:42 +0000 (0:00:00.026) 0:00:31.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:42 +0000 (0:00:00.043) 0:00:31.733 ******* 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:43 +0000 (0:00:00.373) 0:00:32.106 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:43 +0000 (0:00:00.020) 0:00:32.127 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:43 +0000 (0:00:00.022) 0:00:32.149 ******* 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:43 +0000 (0:00:00.021) 0:00:32.171 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:43 +0000 (0:00:00.019) 0:00:32.190 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:04:43 +0000 (0:00:00.174) 0:00:32.365 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:04:43 +0000 (0:00:00.057) 0:00:32.422 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:43 +0000 (0:00:00.048) 0:00:32.470 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541876.9017675, "block_size": 4096, "blocks": 0, "ctime": 1703541876.8957675, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17551, "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": 1703541876.8957675, "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.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:04:43 +0000 (0:00:00.187) 0:00:32.658 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:04:43 +0000 (0:00:00.028) 0:00:32.686 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:43 +0000 (0:00:00.048) 0:00:32.735 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:43 +0000 (0:00:00.025) 0:00:32.760 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:43 +0000 (0:00:00.151) 0:00:32.911 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:43 +0000 (0:00:00.029) 0:00:32.941 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025947", "end": "2023-12-25 22:04:44.135027", "rc": 1, "start": "2023-12-25 22:04:44.109080" } 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:44 +0000 (0:00:00.179) 0:00:33.120 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:44 +0000 (0:00:00.032) 0:00:33.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:44 +0000 (0:00:00.035) 0:00:33.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:44 +0000 (0:00:00.025) 0:00:33.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:44 +0000 (0:00:00.038) 0:00:33.252 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:04:44 +0000 (0:00:00.052) 0:00:33.305 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:04:44 +0000 (0:00:00.024) 0:00:33.329 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:04:44 +0000 (0:00:00.026) 0:00:33.356 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:04:44 +0000 (0:00:00.035) 0:00:33.391 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:04:44 +0000 (0:00:00.091) 0:00:33.482 ******* 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.085559", "end": "2023-12-25 22:04:44.785075", "rc": 1, "start": "2023-12-25 22:04:44.699516" } STDOUT: Connection 'statebr' (ba8b8fb8-9096-458f-a12e-494b393640e2) successfully deleted. STDERR: (process:28124): GLib-GIO-WARNING **: 22:04:44.761: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/51 but no object proxy exists (process:28124): GLib-GIO-WARNING **: 22:04:44.761: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/53 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:103 Monday 25 December 2023 22:04:44 +0000 (0:00:00.300) 0:00:33.782 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:44 +0000 (0:00:00.049) 0:00:33.832 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:44 +0000 (0:00:00.044) 0:00:33.877 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:44 +0000 (0:00:00.063) 0:00:33.940 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:45 +0000 (0:00:00.082) 0:00:34.022 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:45 +0000 (0:00:00.035) 0:00:34.058 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004264", "end": "2023-12-25 22:04:45.236881", "rc": 0, "start": "2023-12-25 22:04:45.232617" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:45 +0000 (0:00:00.161) 0:00:34.219 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:45 +0000 (0:00:00.024) 0:00:34.244 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:45 +0000 (0:00:00.022) 0:00:34.267 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:04:45 +0000 (0:00:00.121) 0:00:34.388 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:45 +0000 (0:00:00.063) 0:00:34.452 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:45 +0000 (0:00:00.067) 0:00:34.520 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:45 +0000 (0:00:00.032) 0:00:34.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:45 +0000 (0:00:00.022) 0:00:34.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:45 +0000 (0:00:00.021) 0:00:34.597 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:46 +0000 (0:00:00.883) 0:00:35.481 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:47 +0000 (0:00:00.768) 0:00:36.249 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:47 +0000 (0:00:00.055) 0:00:36.305 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:47 +0000 (0:00:00.034) 0:00:36.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:47 +0000 (0:00:00.028) 0:00:36.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:47 +0000 (0:00:00.045) 0:00:36.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:47 +0000 (0:00:00.020) 0:00:36.434 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:47 +0000 (0:00:00.019) 0:00:36.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:47 +0000 (0:00:00.023) 0:00:36.476 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:47 +0000 (0:00:00.260) 0:00:36.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:47 +0000 (0:00:00.028) 0:00:36.766 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:47 +0000 (0:00:00.022) 0:00:36.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:47 +0000 (0:00:00.047) 0:00:36.836 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:48 +0000 (0:00:00.427) 0:00:37.263 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:48 +0000 (0:00:00.054) 0:00:37.317 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:48 +0000 (0:00:00.024) 0:00:37.342 ******* 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, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:48 +0000 (0:00:00.028) 0:00:37.371 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:48 +0000 (0:00:00.019) 0:00:37.390 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:04:48 +0000 (0:00:00.175) 0:00:37.566 ******* 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, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:04:48 +0000 (0:00:00.031) 0:00:37.597 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:48 +0000 (0:00:00.048) 0:00:37.646 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:48 +0000 (0:00:00.044) 0:00:37.690 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:48 +0000 (0:00:00.027) 0:00:37.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:48 +0000 (0:00:00.022) 0:00:37.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:48 +0000 (0:00:00.021) 0:00:37.761 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:49 +0000 (0:00:00.820) 0:00:38.581 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:50 +0000 (0:00:00.724) 0:00:39.306 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:50 +0000 (0:00:00.023) 0:00:39.330 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:50 +0000 (0:00:00.019) 0:00:39.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:50 +0000 (0:00:00.019) 0:00:39.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:50 +0000 (0:00:00.041) 0:00:39.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:50 +0000 (0:00:00.020) 0:00:39.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:50 +0000 (0:00:00.029) 0:00:39.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:50 +0000 (0:00:00.025) 0:00:39.487 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:50 +0000 (0:00:00.253) 0:00:39.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:50 +0000 (0:00:00.038) 0:00:39.779 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:50 +0000 (0:00:00.024) 0:00:39.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:50 +0000 (0:00:00.021) 0:00:39.825 ******* 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, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:51 +0000 (0:00:00.318) 0:00:40.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:51 +0000 (0:00:00.031) 0:00:40.175 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:51 +0000 (0:00:00.027) 0:00:40.203 ******* 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, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ff58a1f-f731-4a29-bcbe-26e7dcc1dcf9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:51 +0000 (0:00:00.022) 0:00:40.226 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:51 +0000 (0:00:00.057) 0:00:40.283 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:04:51 +0000 (0:00:00.137) 0:00:40.421 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:51 +0000 (0:00:00.034) 0:00:40.455 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:51 +0000 (0:00:00.038) 0:00:40.493 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:51 +0000 (0:00:00.024) 0:00:40.518 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:51 +0000 (0:00:00.019) 0:00:40.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:51 +0000 (0:00:00.019) 0:00:40.557 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:52 +0000 (0:00:00.803) 0:00:41.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 [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:53 +0000 (0:00:00.726) 0:00:42.088 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:53 +0000 (0:00:00.023) 0:00:42.112 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:53 +0000 (0:00:00.021) 0:00:42.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:53 +0000 (0:00:00.021) 0:00:42.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:53 +0000 (0:00:00.046) 0:00:42.201 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:53 +0000 (0:00:00.022) 0:00:42.223 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:53 +0000 (0:00:00.033) 0:00:42.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:53 +0000 (0:00:00.024) 0:00:42.281 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:53 +0000 (0:00:00.245) 0:00:42.526 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:53 +0000 (0:00:00.025) 0:00:42.552 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:53 +0000 (0:00:00.020) 0:00:42.572 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:53 +0000 (0:00:00.020) 0:00:42.593 ******* 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:53 +0000 (0:00:00.348) 0:00:42.942 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:54 +0000 (0:00:00.020) 0:00:42.962 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:54 +0000 (0:00:00.021) 0:00:42.983 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:54 +0000 (0:00:00.021) 0:00:43.005 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:54 +0000 (0:00:00.047) 0:00:43.052 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:54 +0000 (0:00:00.139) 0:00:43.192 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:04:54 +0000 (0:00:00.039) 0:00:43.231 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:54 +0000 (0:00:00.040) 0:00:43.272 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:54 +0000 (0:00:00.038) 0:00:43.310 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:54 +0000 (0:00:00.026) 0:00:43.337 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:54 +0000 (0:00:00.021) 0:00:43.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:54 +0000 (0:00:00.020) 0:00:43.379 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:55 +0000 (0:00:00.802) 0:00:44.182 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:55 +0000 (0:00:00.743) 0:00:44.926 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:56 +0000 (0:00:00.039) 0:00:44.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:56 +0000 (0:00:00.024) 0:00:44.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:56 +0000 (0:00:00.052) 0:00:45.043 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:56 +0000 (0:00:00.097) 0:00:45.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:56 +0000 (0:00:00.051) 0:00:45.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:56 +0000 (0:00:00.023) 0:00:45.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:56 +0000 (0:00:00.029) 0:00:45.245 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:56 +0000 (0:00:00.259) 0:00:45.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:56 +0000 (0:00:00.025) 0:00:45.529 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:56 +0000 (0:00:00.040) 0:00:45.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:56 +0000 (0:00:00.029) 0:00:45.599 ******* 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:57 +0000 (0:00:00.535) 0:00:46.135 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:57 +0000 (0:00:00.022) 0:00:46.157 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:57 +0000 (0:00:00.060) 0:00:46.218 ******* 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:57 +0000 (0:00:00.062) 0:00:46.280 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:57 +0000 (0:00:00.037) 0:00:46.318 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:04:57 +0000 (0:00:00.138) 0:00:46.456 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:04:57 +0000 (0:00:00.045) 0:00:46.502 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:57 +0000 (0:00:00.052) 0:00:46.554 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:57 +0000 (0:00:00.046) 0:00:46.601 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:57 +0000 (0:00:00.181) 0:00:46.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:57 +0000 (0:00:00.019) 0:00:46.802 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022400", "end": "2023-12-25 22:04:57.987054", "rc": 1, "start": "2023-12-25 22:04:57.964654" } 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:58 +0000 (0:00:00.182) 0:00:46.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:58 +0000 (0:00:00.052) 0:00:47.037 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:58 +0000 (0:00:00.026) 0:00:47.063 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:58 +0000 (0:00:00.021) 0:00:47.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:58 +0000 (0:00:00.056) 0:00:47.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:04:58 +0000 (0:00:00.031) 0:00:47.174 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:04:58 +0000 (0:00:00.040) 0:00:47.214 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:04:58 +0000 (0:00:00.076) 0:00:47.291 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:58 +0000 (0:00:00.109) 0:00:47.400 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:04:58 +0000 (0:00:00.193) 0:00:47.594 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:04:58 +0000 (0:00:00.027) 0:00:47.621 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:04:58 +0000 (0:00:00.024) 0:00:47.646 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:04:58 +0000 (0:00:00.040) 0:00:47.686 ******* 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.050492", "end": "2023-12-25 22:04:58.900614", "rc": 1, "start": "2023-12-25 22:04:58.850122" } 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.16u3n9drkb/tests/playbooks/tests_states.yml:126 Monday 25 December 2023 22:04:58 +0000 (0:00:00.194) 0:00:47.880 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:58 +0000 (0:00:00.036) 0:00:47.916 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:58 +0000 (0:00:00.020) 0:00:47.937 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:59 +0000 (0:00:00.044) 0:00:47.982 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:59 +0000 (0:00:00.062) 0:00:48.044 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:59 +0000 (0:00:00.033) 0:00:48.078 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003956", "end": "2023-12-25 22:04:59.251044", "rc": 0, "start": "2023-12-25 22:04:59.247088" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:59 +0000 (0:00:00.152) 0:00:48.231 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:59 +0000 (0:00:00.022) 0:00:48.254 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:59 +0000 (0:00:00.020) 0:00:48.275 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:04:59 +0000 (0:00:00.045) 0:00:48.320 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:59 +0000 (0:00:00.036) 0:00:48.356 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:59 +0000 (0:00:00.039) 0:00:48.396 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:59 +0000 (0:00:00.026) 0:00:48.422 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:59 +0000 (0:00:00.021) 0:00:48.444 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:59 +0000 (0:00:00.023) 0:00:48.467 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:05:00 +0000 (0:00:00.818) 0:00:49.285 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:05:01 +0000 (0:00:00.690) 0:00:49.975 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:05:01 +0000 (0:00:00.023) 0:00:49.998 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:05:01 +0000 (0:00:00.021) 0:00:50.020 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:05:01 +0000 (0:00:00.021) 0:00:50.041 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:05:01 +0000 (0:00:00.042) 0:00:50.084 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:05:01 +0000 (0:00:00.021) 0:00:50.106 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:05:01 +0000 (0:00:00.020) 0:00:50.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:05:01 +0000 (0:00:00.024) 0:00:50.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 [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:05:01 +0000 (0:00:00.245) 0:00:50.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:05:01 +0000 (0:00:00.030) 0:00:50.427 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:05:01 +0000 (0:00:00.052) 0:00:50.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:01 +0000 (0:00:00.021) 0:00:50.501 ******* 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, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:01 +0000 (0:00:00.359) 0:00:50.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:01 +0000 (0:00:00.021) 0:00:50.882 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:01 +0000 (0:00:00.023) 0:00:50.906 ******* 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, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:01 +0000 (0:00:00.028) 0:00:50.934 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:02 +0000 (0:00:00.037) 0:00:50.972 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:05:02 +0000 (0:00:00.172) 0:00:51.144 ******* 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, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:05:02 +0000 (0:00:00.047) 0:00:51.192 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:05:02 +0000 (0:00:00.057) 0:00:51.249 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:05:02 +0000 (0:00:00.052) 0:00:51.302 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:05:02 +0000 (0:00:00.032) 0:00:51.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:05:02 +0000 (0:00:00.021) 0:00:51.356 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:05:02 +0000 (0:00:00.021) 0:00:51.378 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:05:03 +0000 (0:00:00.833) 0:00:52.212 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:05:04 +0000 (0:00:00.744) 0:00:52.956 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:05:04 +0000 (0:00:00.058) 0:00:53.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:05:04 +0000 (0:00:00.047) 0:00:53.063 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:05:04 +0000 (0:00:00.025) 0:00:53.089 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:05:04 +0000 (0:00:00.101) 0:00:53.191 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:05:04 +0000 (0:00:00.094) 0:00:53.285 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:05:04 +0000 (0:00:00.028) 0:00:53.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:05:04 +0000 (0:00:00.031) 0:00:53.345 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:05:04 +0000 (0:00:00.278) 0:00:53.624 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:05:04 +0000 (0:00:00.034) 0:00:53.659 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:05:04 +0000 (0:00:00.067) 0:00:53.726 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:04 +0000 (0:00:00.022) 0:00:53.749 ******* 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, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:05 +0000 (0:00:00.438) 0:00:54.187 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:05 +0000 (0:00:00.022) 0:00:54.210 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:05 +0000 (0:00:00.024) 0:00:54.234 ******* 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, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1bd7e8d7-f806-48f5-bb87-4a254a75ee94 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:05 +0000 (0:00:00.022) 0:00:54.257 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:05 +0000 (0:00:00.034) 0:00:54.291 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:05:05 +0000 (0:00:00.180) 0:00:54.472 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:05:05 +0000 (0:00:00.050) 0:00:54.523 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:05:05 +0000 (0:00:00.050) 0:00:54.574 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:05:05 +0000 (0:00:00.031) 0:00:54.605 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:05:05 +0000 (0:00:00.035) 0:00:54.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:05:05 +0000 (0:00:00.042) 0:00:54.684 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:05:06 +0000 (0:00:00.828) 0:00:55.512 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:05:07 +0000 (0:00:00.698) 0:00:56.211 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:05:07 +0000 (0:00:00.025) 0:00:56.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:05:07 +0000 (0:00:00.035) 0:00:56.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:05:07 +0000 (0:00:00.040) 0:00:56.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:05:07 +0000 (0:00:00.073) 0:00:56.386 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:05:07 +0000 (0:00:00.042) 0:00:56.429 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:05:07 +0000 (0:00:00.047) 0:00:56.477 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:05:07 +0000 (0:00:00.032) 0:00:56.510 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:05:07 +0000 (0:00:00.299) 0:00:56.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:05:07 +0000 (0:00:00.044) 0:00:56.853 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:05:07 +0000 (0:00:00.036) 0:00:56.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:07 +0000 (0:00:00.049) 0:00:56.939 ******* 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:08 +0000 (0:00:00.423) 0:00:57.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:08 +0000 (0:00:00.022) 0:00:57.386 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:08 +0000 (0:00:00.024) 0:00:57.410 ******* 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:08 +0000 (0:00:00.023) 0:00:57.434 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:08 +0000 (0:00:00.021) 0:00:57.455 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:05:08 +0000 (0:00:00.191) 0:00:57.647 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:05:08 +0000 (0:00:00.107) 0:00:57.754 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:05:08 +0000 (0:00:00.066) 0:00:57.821 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:05:08 +0000 (0:00:00.106) 0:00:57.927 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:05:09 +0000 (0:00:00.049) 0:00:57.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:05:09 +0000 (0:00:00.053) 0:00:58.030 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:05:09 +0000 (0:00:00.050) 0:00:58.081 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:05:09 +0000 (0:00:00.863) 0:00:58.945 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:05:10 +0000 (0:00:00.752) 0:00:59.698 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:05:10 +0000 (0:00:00.025) 0:00:59.724 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:05:10 +0000 (0:00:00.034) 0:00:59.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:05:10 +0000 (0:00:00.034) 0:00:59.793 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:05:10 +0000 (0:00:00.104) 0:00:59.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:05:10 +0000 (0:00:00.041) 0:00:59.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:05:11 +0000 (0:00:00.026) 0:00:59.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:05:11 +0000 (0:00:00.036) 0:01:00.003 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:05:11 +0000 (0:00:00.328) 0:01:00.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:05:11 +0000 (0:00:00.029) 0:01:00.362 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:05:11 +0000 (0:00:00.037) 0:01:00.399 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:11 +0000 (0:00:00.024) 0:01:00.424 ******* 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:11 +0000 (0:00:00.390) 0:01:00.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:11 +0000 (0:00:00.034) 0:01:00.848 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:11 +0000 (0:00:00.027) 0:01:00.876 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:11 +0000 (0:00:00.044) 0:01:00.920 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:12 +0000 (0:00:00.045) 0:01:00.965 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:05:12 +0000 (0:00:00.143) 0:01:01.109 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:05:12 +0000 (0:00:00.042) 0:01:01.151 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:05:12 +0000 (0:00:00.034) 0:01:01.186 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:05:12 +0000 (0:00:00.021) 0:01:01.208 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:05:12 +0000 (0:00:00.148) 0:01:01.357 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:05:12 +0000 (0:00:00.022) 0:01:01.379 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024235", "end": "2023-12-25 22:05:12.567334", "rc": 1, "start": "2023-12-25 22:05:12.543099" } 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.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:05:12 +0000 (0:00:00.167) 0:01:01.546 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:05:12 +0000 (0:00:00.023) 0:01:01.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:05:12 +0000 (0:00:00.027) 0:01:01.597 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:05:12 +0000 (0:00:00.022) 0:01:01.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:05:12 +0000 (0:00:00.050) 0:01:01.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:05:12 +0000 (0:00:00.023) 0:01:01.694 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 December 2023 22:05:12 +0000 (0:00:00.024) 0:01:01.718 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.435026", "end": "2023-12-25 22:05:13.316259", "rc": 0, "start": "2023-12-25 22:05:12.881233" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 December 2023 22:05:13 +0000 (0:00:00.578) 0:01:02.297 ******* 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.16u3n9drkb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 December 2023 22:05:13 +0000 (0:00:00.036) 0:01:02.333 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:05:13 +0000 (0:00:00.030) 0:01:02.364 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:05:13 +0000 (0:00:00.042) 0:01:02.407 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:05:13 +0000 (0:00:00.034) 0:01:02.442 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:05:13 +0000 (0:00:00.145) 0:01:02.588 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:05:13 +0000 (0:00:00.025) 0:01:02.613 ******* 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.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:05:13 +0000 (0:00:00.026) 0:01:02.639 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:05:13 +0000 (0:00:00.042) 0:01:02.682 ******* 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.051297", "end": "2023-12-25 22:05:13.897448", "rc": 1, "start": "2023-12-25 22:05:13.846151" } 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 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Monday 25 December 2023 22:05:13 +0000 (0:00:00.183) 0:01:02.866 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.09s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.51s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.44s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.35s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.11s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.98s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 0.96s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.89s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---