# 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.16y42cnoec/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.16y42cnoec/tests/tests_states_nm.yml:6 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tests_states_nm.yml:9 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.554) 0:00:00.566 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.022) 0:00:00.588 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.238) 0:00:00.827 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.193) 0:00:01.021 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.020) 0:00:01.041 **** 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.16y42cnoec/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.041) 0:00:01.083 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.034) 0:00:01.117 **** 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.16y42cnoec/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.197) 0:00:01.314 **** 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.16y42cnoec/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.491) 0:00:01.805 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.190626", "end": "2023-12-20 03:45:27.207210", "rc": 0, "start": "2023-12-20 03:45:27.016584" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.322) 0:00:02.127 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.010) 0:00:02.138 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tests_states_nm.yml:11 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.009) 0:00:02.148 **** 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.16y42cnoec/tests/playbooks/tests_states.yml:3 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.009) 0:00:02.157 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tests_states.yml:11 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.417) 0:00:02.574 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tests_states.yml:22 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.011) 0:00:02.585 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.016) 0:00:02.602 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.010) 0:00:02.613 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.031) 0:00:02.645 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.013) 0:00:02.659 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.012) 0:00:02.671 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003853", "end": "2023-12-20 03:45:27.882662", "rc": 0, "start": "2023-12-20 03:45:27.878809" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.131) 0:00:02.803 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.014) 0:00:02.817 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.011) 0:00:02.829 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.021) 0:00:02.850 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012793", "end": "2023-12-20 03:45:28.070135", "rc": 1, "start": "2023-12-20 03:45:28.057342" } 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.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.138) 0:00:02.989 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.014) 0:00:03.003 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.129) 0:00:03.133 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.011) 0:00:03.145 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.017) 0:00:03.162 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.031) 0:00:03.193 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.067) 0:00:03.261 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.012) 0:00:03.274 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.009) 0:00:03.284 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.009) 0:00:03.293 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.863) 0:00:04.156 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:30 +0000 (0:00:01.106) 0:00:05.263 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.021) 0:00:05.285 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.019) 0:00:05.304 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.019) 0:00:05.324 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.041) 0:00:05.366 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.019) 0:00:05.385 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.031) 0:00:05.417 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.024) 0:00:05.442 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.366) 0:00:05.808 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.027) 0:00:05.835 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.020) 0:00:05.855 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.020) 0:00:05.876 **** 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, f065d672-4837-41c0-ada0-d0f18aebf087 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.534) 0:00:06.410 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.021) 0:00:06.432 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f065d672-4837-41c0-ada0-d0f18aebf087" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.024) 0:00:06.457 **** 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, f065d672-4837-41c0-ada0-d0f18aebf087\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f065d672-4837-41c0-ada0-d0f18aebf087" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.023) 0:00:06.480 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.031) 0:00:06.512 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.191) 0:00:06.703 **** 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, f065d672-4837-41c0-ada0-d0f18aebf087\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f065d672-4837-41c0-ada0-d0f18aebf087" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.023) 0:00:06.726 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.040) 0:00:06.766 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.036) 0:00:06.803 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.021) 0:00:06.824 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043931.4732237, "block_size": 4096, "blocks": 8, "ctime": 1703043931.378224, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25413, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703043931.378224, "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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.150) 0:00:06.975 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.022) 0:00:06.998 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.030899", "end": "2023-12-20 03:45:32.240149", "rc": 0, "start": "2023-12-20 03:45:32.209250" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.173) 0:00:07.171 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.023) 0:00:07.195 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.021) 0:00:07.217 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.044) 0:00:07.261 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.026) 0:00:07.287 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.051) 0:00:07.339 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.030) 0:00:07.369 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.027) 0:00:07.397 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.023) 0:00:07.420 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.041) 0:00:07.462 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.033) 0:00:07.495 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043931.3822238, "block_size": 4096, "blocks": 0, "ctime": 1703043931.3812237, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17636, "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": 1703043931.3812237, "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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.142) 0:00:07.637 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.024) 0:00:07.662 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.020) 0:00:07.683 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.039) 0:00:07.723 **** 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.092478", "end": "2023-12-20 03:45:33.024916", "rc": 1, "start": "2023-12-20 03:45:32.932438" } STDOUT: Connection 'statebr' (f065d672-4837-41c0-ada0-d0f18aebf087) 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.16y42cnoec/tests/playbooks/tests_states.yml:45 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.231) 0:00:07.955 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.059) 0:00:08.014 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.022) 0:00:08.037 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.043) 0:00:08.080 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.034) 0:00:08.115 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.035) 0:00:08.151 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004076", "end": "2023-12-20 03:45:33.365061", "rc": 0, "start": "2023-12-20 03:45:33.360985" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.145) 0:00:08.296 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.022) 0:00:08.319 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.026) 0:00:08.346 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.062) 0:00:08.408 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008049", "end": "2023-12-20 03:45:33.622874", "rc": 1, "start": "2023-12-20 03:45:33.614825" } 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.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.144) 0:00:08.552 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.036) 0:00:08.589 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.141) 0:00:08.731 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.024) 0:00:08.755 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.058) 0:00:08.814 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.038) 0:00:08.852 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.037) 0:00:08.889 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.026) 0:00:08.916 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.019) 0:00:08.935 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.020) 0:00:08.956 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.796) 0:00:09.753 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:35 +0000 (0:00:00.973) 0:00:10.727 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:35 +0000 (0:00:00.021) 0:00:10.748 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:35 +0000 (0:00:00.019) 0:00:10.768 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:35 +0000 (0:00:00.019) 0:00:10.788 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:35 +0000 (0:00:00.042) 0:00:10.830 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:35 +0000 (0:00:00.019) 0:00:10.849 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:35 +0000 (0:00:00.019) 0:00:10.869 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:35 +0000 (0:00:00.023) 0:00:10.893 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.239) 0:00:11.132 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.024) 0:00:11.157 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.024) 0:00:11.181 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.020) 0:00:11.201 **** 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, 8229c186-0cdd-4805-8c1a-cac7fd77c568 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.332) 0:00:11.533 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.022) 0:00:11.556 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8229c186-0cdd-4805-8c1a-cac7fd77c568" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.061) 0:00:11.618 **** 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, 8229c186-0cdd-4805-8c1a-cac7fd77c568\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8229c186-0cdd-4805-8c1a-cac7fd77c568" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.023) 0:00:11.641 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.036) 0:00:11.678 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.153) 0:00:11.832 **** 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, 8229c186-0cdd-4805-8c1a-cac7fd77c568\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8229c186-0cdd-4805-8c1a-cac7fd77c568" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.029) 0:00:11.861 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.041) 0:00:11.903 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.034) 0:00:11.937 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.141) 0:00:12.079 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.023) 0:00:12.102 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.038) 0:00:12.141 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.020) 0:00:12.162 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043936.5752215, "block_size": 4096, "blocks": 8, "ctime": 1703043936.5752215, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25416, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703043936.5752215, "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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.140) 0:00:12.302 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.023) 0:00:12.325 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026794", "end": "2023-12-20 03:45:37.560581", "rc": 0, "start": "2023-12-20 03:45:37.533787" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.190) 0:00:12.515 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.023) 0:00:12.539 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.022) 0:00:12.561 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.021) 0:00:12.583 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.023) 0:00:12.607 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.022) 0:00:12.629 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.022) 0:00:12.652 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.024) 0:00:12.676 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.022) 0:00:12.698 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.020) 0:00:12.718 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.021) 0:00:12.740 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.038) 0:00:12.778 **** 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.058371", "end": "2023-12-20 03:45:38.045654", "rc": 1, "start": "2023-12-20 03:45:37.987283" } STDOUT: Connection 'statebr' (8229c186-0cdd-4805-8c1a-cac7fd77c568) 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.16y42cnoec/tests/playbooks/tests_states.yml:65 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.198) 0:00:12.976 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.036) 0:00:13.013 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.023) 0:00:13.036 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.044) 0:00:13.080 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.057) 0:00:13.138 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.032) 0:00:13.170 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003826", "end": "2023-12-20 03:45:38.384881", "rc": 0, "start": "2023-12-20 03:45:38.381055" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.145) 0:00:13.315 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.021) 0:00:13.337 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.021) 0:00:13.358 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.035) 0:00:13.393 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.036) 0:00:13.430 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.040) 0:00:13.470 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.025) 0:00:13.496 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.021) 0:00:13.518 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.021) 0:00:13.539 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.787) 0:00:14.326 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.937) 0:00:15.264 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.023) 0:00:15.287 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.021) 0:00:15.308 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.022) 0:00:15.331 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.053) 0:00:15.384 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.023) 0:00:15.408 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.023) 0:00:15.431 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.024) 0:00:15.456 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.239) 0:00:15.695 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.072) 0:00:15.768 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.029) 0:00:15.797 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.022) 0:00:15.820 **** 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, 4a5bd540-4623-4a54-b3c0-70016f86427f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.393) 0:00:16.213 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.029) 0:00:16.243 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a5bd540-4623-4a54-b3c0-70016f86427f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.031) 0:00:16.274 **** 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, 4a5bd540-4623-4a54-b3c0-70016f86427f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a5bd540-4623-4a54-b3c0-70016f86427f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.024) 0:00:16.299 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.019) 0:00:16.319 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.140) 0:00:16.459 **** 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, 4a5bd540-4623-4a54-b3c0-70016f86427f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a5bd540-4623-4a54-b3c0-70016f86427f" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.027) 0:00:16.486 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.038) 0:00:16.524 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.040) 0:00:16.564 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.067) 0:00:16.632 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.028) 0:00:16.660 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.023) 0:00:16.683 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.022) 0:00:16.705 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.786) 0:00:17.491 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:43 +0000 (0:00:00.954) 0:00:18.446 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:43 +0000 (0:00:00.022) 0:00:18.469 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:43 +0000 (0:00:00.022) 0:00:18.491 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:43 +0000 (0:00:00.025) 0:00:18.516 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:43 +0000 (0:00:00.110) 0:00:18.626 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:43 +0000 (0:00:00.021) 0:00:18.648 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:43 +0000 (0:00:00.020) 0:00:18.669 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:43 +0000 (0:00:00.025) 0:00:18.695 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.241) 0:00:18.936 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.025) 0:00:18.961 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.021) 0:00:18.983 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.023) 0:00:19.006 **** 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, 4a5bd540-4623-4a54-b3c0-70016f86427f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.395) 0:00:19.401 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.033) 0:00:19.435 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a5bd540-4623-4a54-b3c0-70016f86427f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.035) 0:00:19.471 **** 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, 4a5bd540-4623-4a54-b3c0-70016f86427f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a5bd540-4623-4a54-b3c0-70016f86427f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.026) 0:00:19.497 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.033) 0:00:19.530 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.205) 0:00:19.736 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.042) 0:00:19.779 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.076) 0:00:19.855 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043941.2212198, "block_size": 4096, "blocks": 0, "ctime": 1703043941.2162197, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17636, "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": 1703043941.2162197, "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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.149) 0:00:20.004 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.027) 0:00:20.032 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.047) 0:00:20.080 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.028) 0:00:20.109 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043941.2782197, "block_size": 4096, "blocks": 8, "ctime": 1703043941.2142198, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25416, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703043941.2142198, "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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.159) 0:00:20.268 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.029) 0:00:20.297 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026784", "end": "2023-12-20 03:45:45.542226", "rc": 0, "start": "2023-12-20 03:45:45.515442" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.175) 0:00:20.473 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.024) 0:00:20.498 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.022) 0:00:20.521 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.024) 0:00:20.545 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.022) 0:00:20.567 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.031) 0:00:20.599 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.026) 0:00:20.626 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.024) 0:00:20.650 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.030) 0:00:20.680 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.073) 0:00:20.754 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.027) 0:00:20.781 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.041) 0:00:20.823 **** 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.096583", "end": "2023-12-20 03:45:46.138711", "rc": 1, "start": "2023-12-20 03:45:46.042128" } STDOUT: Connection 'statebr' (4a5bd540-4623-4a54-b3c0-70016f86427f) successfully deleted. STDERR: (process:26871): GLib-GIO-WARNING **: 03:45:46.106: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/24 but no object proxy exists (process:26871): GLib-GIO-WARNING **: 03:45:46.107: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/53 but no object proxy exists (process:26871): GLib-GIO-WARNING **: 03:45:46.107: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/34 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.16y42cnoec/tests/playbooks/tests_states.yml:83 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.246) 0:00:21.069 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.036) 0:00:21.106 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.022) 0:00:21.129 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.041) 0:00:21.171 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.034) 0:00:21.205 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.031) 0:00:21.237 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004590", "end": "2023-12-20 03:45:46.452307", "rc": 0, "start": "2023-12-20 03:45:46.447717" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.149) 0:00:21.386 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.058) 0:00:21.445 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.040) 0:00:21.486 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.087) 0:00:21.574 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.046) 0:00:21.620 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.043) 0:00:21.664 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.027) 0:00:21.691 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.025) 0:00:21.716 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.021) 0:00:21.737 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.805) 0:00:22.543 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.972) 0:00:23.515 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.022) 0:00:23.538 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.020) 0:00:23.559 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.021) 0:00:23.580 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.042) 0:00:23.623 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.020) 0:00:23.643 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.019) 0:00:23.663 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.027) 0:00:23.691 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.239) 0:00:23.931 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.024) 0:00:23.955 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.024) 0:00:23.980 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.021) 0:00:24.001 **** 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, fc03acda-fd5d-47cc-8bd0-f3800a95e306 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.460) 0:00:24.462 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.020) 0:00:24.483 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc03acda-fd5d-47cc-8bd0-f3800a95e306" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.021) 0:00:24.504 **** 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, fc03acda-fd5d-47cc-8bd0-f3800a95e306\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc03acda-fd5d-47cc-8bd0-f3800a95e306" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.021) 0:00:24.526 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.086) 0:00:24.612 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.146) 0:00:24.759 **** 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, fc03acda-fd5d-47cc-8bd0-f3800a95e306\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc03acda-fd5d-47cc-8bd0-f3800a95e306" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.038) 0:00:24.798 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.040) 0:00:24.838 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.050) 0:00:24.889 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:50 +0000 (0:00:00.030) 0:00:24.920 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:50 +0000 (0:00:00.030) 0:00:24.950 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:50 +0000 (0:00:00.022) 0:00:24.972 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:50 +0000 (0:00:00.711) 0:00:25.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 : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.978) 0:00:26.663 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.023) 0:00:26.687 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.020) 0:00:26.708 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.020) 0:00:26.728 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.044) 0:00:26.773 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.021) 0:00:26.795 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.040) 0:00:26.836 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.034) 0:00:26.870 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.238) 0:00:27.109 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.026) 0:00:27.135 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.020) 0:00:27.155 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.019) 0:00:27.175 **** 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, fc03acda-fd5d-47cc-8bd0-f3800a95e306 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.298) 0:00:27.474 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.027) 0:00:27.502 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc03acda-fd5d-47cc-8bd0-f3800a95e306 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.051) 0:00:27.553 **** 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, fc03acda-fd5d-47cc-8bd0-f3800a95e306 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc03acda-fd5d-47cc-8bd0-f3800a95e306 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.023) 0:00:27.577 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.022) 0:00:27.600 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.144) 0:00:27.744 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.038) 0:00:27.783 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.053) 0:00:27.836 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.105) 0:00:27.941 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.055) 0:00:27.997 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.023) 0:00:28.021 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.025) 0:00:28.046 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.710) 0:00:28.757 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.968) 0:00:29.725 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.022) 0:00:29.748 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.019) 0:00:29.768 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.021) 0:00:29.790 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.043) 0:00:29.833 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.023) 0:00:29.857 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.023) 0:00:29.880 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.023) 0:00:29.904 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.230) 0:00:30.134 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.024) 0:00:30.159 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.020) 0:00:30.180 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.019) 0:00:30.199 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.358) 0:00:30.558 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.021) 0:00:30.579 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.022) 0:00:30.602 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.023) 0:00:30.625 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.023) 0:00:30.649 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.148) 0:00:30.798 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.045) 0:00:30.844 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.036) 0:00:30.880 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043949.3782163, "block_size": 4096, "blocks": 0, "ctime": 1703043949.3772163, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17639, "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": 1703043949.3772163, "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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.137) 0:00:31.017 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.023) 0:00:31.040 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.035) 0:00:31.076 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.023) 0:00:31.099 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.133) 0:00:31.233 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.050) 0:00:31.283 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025458", "end": "2023-12-20 03:45:56.514503", "rc": 1, "start": "2023-12-20 03:45:56.489045" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.161) 0:00:31.444 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.023) 0:00:31.468 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.023) 0:00:31.491 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.023) 0:00:31.514 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.022) 0:00:31.537 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.022) 0:00:31.560 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.023) 0:00:31.583 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.020) 0:00:31.604 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.024) 0:00:31.629 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.049) 0:00:31.679 **** 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.088847", "end": "2023-12-20 03:45:56.975356", "rc": 1, "start": "2023-12-20 03:45:56.886509" } STDOUT: Connection 'statebr' (fc03acda-fd5d-47cc-8bd0-f3800a95e306) successfully deleted. STDERR: (process:27491): GLib-GIO-WARNING **: 03:45:56.953: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/25 but no object proxy exists (process:27491): GLib-GIO-WARNING **: 03:45:56.953: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/55 but no object proxy exists (process:27491): GLib-GIO-WARNING **: 03:45:56.953: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/35 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.16y42cnoec/tests/playbooks/tests_states.yml:103 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.226) 0:00:31.905 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.053) 0:00:31.959 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.027) 0:00:31.986 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.045) 0:00:32.032 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.083) 0:00:32.116 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.033) 0:00:32.149 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004054", "end": "2023-12-20 03:45:57.357513", "rc": 0, "start": "2023-12-20 03:45:57.353459" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.139) 0:00:32.288 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.022) 0:00:32.311 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.021) 0:00:32.332 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.042) 0:00:32.375 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.035) 0:00:32.411 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.037) 0:00:32.449 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.025) 0:00:32.474 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.019) 0:00:32.494 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.019) 0:00:32.514 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:58 +0000 (0:00:00.700) 0:00:33.214 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.930) 0:00:34.145 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.027) 0:00:34.173 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.021) 0:00:34.194 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.022) 0:00:34.217 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.044) 0:00:34.261 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.021) 0:00:34.282 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.020) 0:00:34.302 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.022) 0:00:34.325 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.230) 0:00:34.556 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.068) 0:00:34.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.020) 0:00:34.645 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.019) 0:00:34.665 **** 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, 3b4645c8-403c-4743-864d-ade87a257732 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.351) 0:00:35.016 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.022) 0:00:35.039 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b4645c8-403c-4743-864d-ade87a257732" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.023) 0:00:35.062 **** 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, 3b4645c8-403c-4743-864d-ade87a257732\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b4645c8-403c-4743-864d-ade87a257732" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.024) 0:00:35.087 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.020) 0:00:35.107 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.145) 0:00:35.253 **** 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, 3b4645c8-403c-4743-864d-ade87a257732\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b4645c8-403c-4743-864d-ade87a257732" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.025) 0:00:35.279 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.038) 0:00:35.317 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.040) 0:00:35.357 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.025) 0:00:35.383 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.019) 0:00:35.403 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.044) 0:00:35.448 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:01 +0000 (0:00:00.722) 0:00:36.170 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.944) 0:00:37.115 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.023) 0:00:37.139 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.021) 0:00:37.160 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.021) 0:00:37.182 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.041) 0:00:37.223 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.020) 0:00:37.244 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.040) 0:00:37.284 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.024) 0:00:37.309 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.238) 0:00:37.547 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.026) 0:00:37.573 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.021) 0:00:37.595 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.021) 0:00:37.617 **** 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, 3b4645c8-403c-4743-864d-ade87a257732 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.295) 0:00:37.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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.021) 0:00:37.934 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b4645c8-403c-4743-864d-ade87a257732 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.022) 0:00:37.957 **** 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, 3b4645c8-403c-4743-864d-ade87a257732 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b4645c8-403c-4743-864d-ade87a257732 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.021) 0:00:37.978 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.020) 0:00:37.998 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.134) 0:00:38.133 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.035) 0:00:38.169 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.039) 0:00:38.209 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.054) 0:00:38.264 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.021) 0:00:38.285 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.021) 0:00:38.306 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:04 +0000 (0:00:00.719) 0:00:39.025 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.966) 0:00:39.992 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.040) 0:00:40.033 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.031) 0:00:40.065 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.022) 0:00:40.087 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.045) 0:00:40.133 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.067) 0:00:40.200 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.022) 0:00:40.222 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.025) 0:00:40.248 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.234) 0:00:40.483 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.025) 0:00:40.508 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.020) 0:00:40.529 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.019) 0:00:40.548 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.334) 0:00:40.883 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.030) 0:00:40.914 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.030) 0:00:40.944 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.024) 0:00:40.969 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.021) 0:00:40.991 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.130) 0:00:41.121 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.040) 0:00:41.162 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.070) 0:00:41.233 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.039) 0:00:41.272 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.025) 0:00:41.298 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.022) 0:00:41.320 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.030) 0:00:41.350 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.702) 0:00:42.052 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.958) 0:00:43.011 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.022) 0:00:43.033 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.021) 0:00:43.055 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.019) 0:00:43.074 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.043) 0:00:43.118 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.020) 0:00:43.139 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.019) 0:00:43.159 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.023) 0:00:43.183 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.229) 0:00:43.413 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.024) 0:00:43.437 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.020) 0:00:43.458 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.020) 0:00:43.478 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.385) 0:00:43.863 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.021) 0:00:43.885 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:43.906 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.022) 0:00:43.928 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:43.950 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.132) 0:00:44.082 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.039) 0:00:44.122 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.036) 0:00:44.158 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:44.180 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.132) 0:00:44.312 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:44.334 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025278", "end": "2023-12-20 03:46:09.563675", "rc": 1, "start": "2023-12-20 03:46:09.538397" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.159) 0:00:44.494 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:44.515 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:44.537 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:44.558 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.020) 0:00:44.579 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:44.600 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.022) 0:00:44.623 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.043) 0:00:44.667 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.061) 0:00:44.728 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.135) 0:00:44.863 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.024) 0:00:44.888 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.022) 0:00:44.910 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.038) 0:00:44.949 **** 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.054105", "end": "2023-12-20 03:46:10.210587", "rc": 1, "start": "2023-12-20 03:46:10.156482" } 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.16y42cnoec/tests/playbooks/tests_states.yml:126 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.215) 0:00:45.164 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.039) 0:00:45.204 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.022) 0:00:45.226 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.045) 0:00:45.271 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.034) 0:00:45.305 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.032) 0:00:45.338 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003878", "end": "2023-12-20 03:46:10.549088", "rc": 0, "start": "2023-12-20 03:46:10.545210" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.170) 0:00:45.509 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.022) 0:00:45.531 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.021) 0:00:45.553 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.042) 0:00:45.596 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.034) 0:00:45.630 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.038) 0:00:45.668 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.024) 0:00:45.692 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.020) 0:00:45.713 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.019) 0:00:45.733 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:11 +0000 (0:00:00.702) 0:00:46.436 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.969) 0:00:47.405 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.022) 0:00:47.428 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.020) 0:00:47.448 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.020) 0:00:47.469 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.042) 0:00:47.512 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.021) 0:00:47.533 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.021) 0:00:47.554 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.025) 0:00:47.579 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.229) 0:00:47.808 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.027) 0:00:47.836 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.023) 0:00:47.859 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.022) 0:00:47.882 **** 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, e8512add-8c41-4446-bf97-73174ea48e35 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.368) 0:00:48.251 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.021) 0:00:48.272 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8512add-8c41-4446-bf97-73174ea48e35" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.020) 0:00:48.293 **** 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, e8512add-8c41-4446-bf97-73174ea48e35\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8512add-8c41-4446-bf97-73174ea48e35" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.022) 0:00:48.316 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.021) 0:00:48.338 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.133) 0:00:48.472 **** 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, e8512add-8c41-4446-bf97-73174ea48e35\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8512add-8c41-4446-bf97-73174ea48e35" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.022) 0:00:48.494 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.036) 0:00:48.531 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.041) 0:00:48.572 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.025) 0:00:48.598 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.022) 0:00:48.621 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.021) 0:00:48.642 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:14 +0000 (0:00:00.750) 0:00:49.393 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.946) 0:00:50.339 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.025) 0:00:50.364 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.023) 0:00:50.387 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.021) 0:00:50.409 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.045) 0:00:50.454 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.022) 0:00:50.477 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.028) 0:00:50.506 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.026) 0:00:50.532 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.229) 0:00:50.761 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.024) 0:00:50.786 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.049) 0:00:50.836 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.022) 0:00:50.858 **** 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, e8512add-8c41-4446-bf97-73174ea48e35 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.295) 0:00:51.153 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.021) 0:00:51.175 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8512add-8c41-4446-bf97-73174ea48e35 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.022) 0:00:51.197 **** 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, e8512add-8c41-4446-bf97-73174ea48e35 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8512add-8c41-4446-bf97-73174ea48e35 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.022) 0:00:51.220 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.019) 0:00:51.240 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.128) 0:00:51.368 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.036) 0:00:51.405 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.040) 0:00:51.445 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.029) 0:00:51.474 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.022) 0:00:51.496 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.021) 0:00:51.518 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:17 +0000 (0:00:00.708) 0:00:52.227 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.923) 0:00:53.150 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.022) 0:00:53.173 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.020) 0:00:53.193 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.019) 0:00:53.213 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.043) 0:00:53.256 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.020) 0:00:53.276 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.020) 0:00:53.297 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.025) 0:00:53.323 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.255) 0:00:53.578 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.025) 0:00:53.603 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.020) 0:00:53.624 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.020) 0:00:53.645 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.407) 0:00:54.053 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.021) 0:00:54.074 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.022) 0:00:54.097 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.023) 0:00:54.120 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.019) 0:00:54.140 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.129) 0:00:54.269 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.041) 0:00:54.310 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.035) 0:00:54.346 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.039) 0:00:54.385 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.053) 0:00:54.438 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.021) 0:00:54.459 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.022) 0:00:54.482 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.696) 0:00:55.179 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.934) 0:00:56.114 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.023) 0:00:56.137 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.021) 0:00:56.158 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.024) 0:00:56.183 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.043) 0:00:56.227 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.045) 0:00:56.273 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.022) 0:00:56.295 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.027) 0:00:56.323 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.228) 0:00:56.551 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.024) 0:00:56.576 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.019) 0:00:56.596 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.020) 0:00:56.616 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.312) 0:00:56.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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.020) 0:00:56.950 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.022) 0:00:56.973 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.021) 0:00:56.995 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.020) 0:00:57.015 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.129) 0:00:57.145 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.041) 0:00:57.187 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.064) 0:00:57.251 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.022) 0:00:57.274 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.131) 0:00:57.405 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.019) 0:00:57.425 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024129", "end": "2023-12-20 03:46:22.652541", "rc": 1, "start": "2023-12-20 03:46:22.628412" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.157) 0:00:57.583 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.023) 0:00:57.607 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.023) 0:00:57.630 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.022) 0:00:57.653 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.021) 0:00:57.674 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.024) 0:00:57.698 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 20 December 2023 03:46:22 +0000 (0:00:00.023) 0:00:57.721 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.686872", "end": "2023-12-20 03:46:23.611775", "rc": 0, "start": "2023-12-20 03:46:22.924903" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 20 December 2023 03:46:23 +0000 (0:00:00.821) 0:00:58.543 **** 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.16y42cnoec/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 20 December 2023 03:46:23 +0000 (0:00:00.020) 0:00:58.563 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:46:23 +0000 (0:00:00.044) 0:00:58.608 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:46:23 +0000 (0:00:00.042) 0:00:58.651 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:46:23 +0000 (0:00:00.033) 0:00:58.684 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:46:23 +0000 (0:00:00.134) 0:00:58.819 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:46:23 +0000 (0:00:00.023) 0:00:58.842 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:46:23 +0000 (0:00:00.021) 0:00:58.864 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:46:23 +0000 (0:00:00.039) 0:00:58.903 **** 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.051612", "end": "2023-12-20 03:46:24.158827", "rc": 1, "start": "2023-12-20 03:46:24.107215" } 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 Wednesday 20 December 2023 03:46:24 +0000 (0:00:00.173) 0:00:59.076 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.11s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.31s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.28s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.11s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.95s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---