# 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.16xcejiumx/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.16xcejiumx/tests/tests_states_nm.yml:6 Monday 25 December 2023 22:01:11 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/tests_states_nm.yml:9 Monday 25 December 2023 22:01:11 +0000 (0:00:00.507) 0:00:00.519 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:01:11 +0000 (0:00:00.030) 0:00:00.550 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/tasks/el_repo_setup.yml:19 Monday 25 December 2023 22:01:11 +0000 (0:00:00.233) 0:00:00.784 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/tasks/el_repo_setup.yml:24 Monday 25 December 2023 22:01:12 +0000 (0:00:00.211) 0:00:00.995 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/tasks/el_repo_setup.yml:28 Monday 25 December 2023 22:01:12 +0000 (0:00:00.027) 0:00:01.023 ******* 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.16xcejiumx/tests/tasks/el_repo_setup.yml:53 Monday 25 December 2023 22:01:12 +0000 (0:00:00.029) 0:00:01.053 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:01:12 +0000 (0:00:00.032) 0:00:01.086 ******* 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.16xcejiumx/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:01:12 +0000 (0:00:00.182) 0:00:01.268 ******* 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.16xcejiumx/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:01:12 +0000 (0:00:00.466) 0:00:01.735 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175280", "end": "2023-12-25 22:01:13.068439", "rc": 0, "start": "2023-12-25 22:01:12.893159" } 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.16xcejiumx/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:01:13 +0000 (0:00:00.298) 0:00:02.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:01:13 +0000 (0:00:00.010) 0:00:02.044 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/tests_states_nm.yml:11 Monday 25 December 2023 22:01:13 +0000 (0:00:00.009) 0:00:02.053 ******* 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.16xcejiumx/tests/playbooks/tests_states.yml:3 Monday 25 December 2023 22:01:13 +0000 (0:00:00.010) 0:00:02.064 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tests_states.yml:11 Monday 25 December 2023 22:01:13 +0000 (0:00:00.361) 0:00:02.425 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tests_states.yml:22 Monday 25 December 2023 22:01:13 +0000 (0:00:00.011) 0:00:02.437 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:01:13 +0000 (0:00:00.015) 0:00:02.452 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:01:13 +0000 (0:00:00.011) 0:00:02.463 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:01:13 +0000 (0:00:00.034) 0:00:02.498 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:13 +0000 (0:00:00.029) 0:00:02.527 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:13 +0000 (0:00:00.013) 0:00:02.541 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003212", "end": "2023-12-25 22:01:13.699653", "rc": 0, "start": "2023-12-25 22:01:13.696441" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:13 +0000 (0:00:00.121) 0:00:02.663 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:13 +0000 (0:00:00.011) 0:00:02.674 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:01:13 +0000 (0:00:00.010) 0:00:02.685 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:01:13 +0000 (0:00:00.019) 0:00:02.705 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010876", "end": "2023-12-25 22:01:13.870345", "rc": 1, "start": "2023-12-25 22:01:13.859469" } 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.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:13 +0000 (0:00:00.132) 0:00:02.837 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:13 +0000 (0:00:00.016) 0:00:02.853 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:14 +0000 (0:00:00.122) 0:00:02.976 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:01:14 +0000 (0:00:00.024) 0:00:03.001 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:01:14 +0000 (0:00:00.019) 0:00:03.020 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:14 +0000 (0:00:00.047) 0:00:03.068 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:14 +0000 (0:00:00.077) 0:00:03.145 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:14 +0000 (0:00:00.023) 0:00:03.168 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:14 +0000 (0:00:00.029) 0:00:03.198 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:14 +0000 (0:00:00.021) 0:00:03.219 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:15 +0000 (0:00:00.796) 0:00:04.015 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:16 +0000 (0:00:01.112) 0:00:05.128 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:16 +0000 (0:00:00.026) 0:00:05.154 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:16 +0000 (0:00:00.028) 0:00:05.183 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:16 +0000 (0:00:00.037) 0:00:05.221 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:16 +0000 (0:00:00.047) 0:00:05.269 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:16 +0000 (0:00:00.032) 0:00:05.301 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:16 +0000 (0:00:00.021) 0:00:05.323 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:16 +0000 (0:00:00.027) 0:00:05.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:16 +0000 (0:00:00.380) 0:00:05.731 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:16 +0000 (0:00:00.025) 0:00:05.757 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:16 +0000 (0:00:00.020) 0:00:05.777 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:16 +0000 (0:00:00.023) 0:00:05.801 ******* 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, 824913a3-0d44-438b-955b-1f0735571093 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:17 +0000 (0:00:00.455) 0:00:06.256 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:17 +0000 (0:00:00.030) 0:00:06.287 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 824913a3-0d44-438b-955b-1f0735571093" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:17 +0000 (0:00:00.027) 0:00:06.314 ******* 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, 824913a3-0d44-438b-955b-1f0735571093\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 824913a3-0d44-438b-955b-1f0735571093" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:17 +0000 (0:00:00.046) 0:00:06.361 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:17 +0000 (0:00:00.031) 0:00:06.393 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:01:17 +0000 (0:00:00.188) 0:00:06.582 ******* 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, 824913a3-0d44-438b-955b-1f0735571093\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 824913a3-0d44-438b-955b-1f0735571093" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:01:17 +0000 (0:00:00.023) 0:00:06.605 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:01:17 +0000 (0:00:00.041) 0:00:06.647 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:01:17 +0000 (0:00:00.054) 0:00:06.702 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:01:17 +0000 (0:00:00.021) 0:00:06.724 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541677.2176616, "block_size": 4096, "blocks": 8, "ctime": 1703541677.2166617, "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": 1703541677.2166617, "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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:01:17 +0000 (0:00:00.135) 0:00:06.859 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:01:17 +0000 (0:00:00.023) 0:00:06.882 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023213", "end": "2023-12-25 22:01:18.064263", "rc": 0, "start": "2023-12-25 22:01:18.041050" } 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:01:18 +0000 (0:00:00.173) 0:00:07.056 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:01:18 +0000 (0:00:00.025) 0:00:07.082 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:01:18 +0000 (0:00:00.026) 0:00:07.108 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:01:18 +0000 (0:00:00.024) 0:00:07.133 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:01:18 +0000 (0:00:00.031) 0:00:07.165 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:01:18 +0000 (0:00:00.047) 0:00:07.213 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:01:18 +0000 (0:00:00.056) 0:00:07.269 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:01:18 +0000 (0:00:00.024) 0:00:07.293 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:01:18 +0000 (0:00:00.052) 0:00:07.346 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:01:18 +0000 (0:00:00.055) 0:00:07.401 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:18 +0000 (0:00:00.037) 0:00:07.439 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541677.2236617, "block_size": 4096, "blocks": 0, "ctime": 1703541677.2196617, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17618, "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": 1703541677.2196617, "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.16xcejiumx/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:01:18 +0000 (0:00:00.146) 0:00:07.586 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:01:18 +0000 (0:00:00.022) 0:00:07.608 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:01:18 +0000 (0:00:00.020) 0:00:07.629 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:01:18 +0000 (0:00:00.037) 0:00:07.666 ******* 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.075118", "end": "2023-12-25 22:01:18.897807", "rc": 1, "start": "2023-12-25 22:01:18.822689" } STDOUT: Connection 'statebr' (824913a3-0d44-438b-955b-1f0735571093) successfully deleted. STDERR: (process:19943): GLib-GIO-WARNING **: 22:01:18.878: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/26 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tests_states.yml:45 Monday 25 December 2023 22:01:18 +0000 (0:00:00.204) 0:00:07.871 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:01:18 +0000 (0:00:00.036) 0:00:07.907 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:01:18 +0000 (0:00:00.022) 0:00:07.929 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:01:19 +0000 (0:00:00.052) 0:00:07.981 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:19 +0000 (0:00:00.066) 0:00:08.048 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:19 +0000 (0:00:00.038) 0:00:08.087 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004589", "end": "2023-12-25 22:01:20.253024", "rc": 0, "start": "2023-12-25 22:01:19.248435" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:20 +0000 (0:00:01.160) 0:00:09.247 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:20 +0000 (0:00:00.022) 0:00:09.270 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:01:20 +0000 (0:00:00.022) 0:00:09.292 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:01:20 +0000 (0:00:00.039) 0:00:09.332 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007166", "end": "2023-12-25 22:01:20.494906", "rc": 1, "start": "2023-12-25 22:01:20.487740" } 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.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:20 +0000 (0:00:00.135) 0:00:09.467 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:20 +0000 (0:00:00.043) 0:00:09.511 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:20 +0000 (0:00:00.138) 0:00:09.650 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:01:20 +0000 (0:00:00.050) 0:00:09.700 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 December 2023 22:01:20 +0000 (0:00:00.040) 0:00:09.741 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:20 +0000 (0:00:00.041) 0:00:09.782 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:20 +0000 (0:00:00.037) 0:00:09.820 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:20 +0000 (0:00:00.024) 0:00:09.845 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:20 +0000 (0:00:00.019) 0:00:09.865 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:20 +0000 (0:00:00.020) 0:00:09.885 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:21 +0000 (0:00:00.691) 0:00:10.577 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:22 +0000 (0:00:00.945) 0:00:11.522 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:22 +0000 (0:00:00.021) 0:00:11.543 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:22 +0000 (0:00:00.022) 0:00:11.566 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:22 +0000 (0:00:00.021) 0:00:11.587 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:22 +0000 (0:00:00.047) 0:00:11.634 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:22 +0000 (0:00:00.025) 0:00:11.660 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:22 +0000 (0:00:00.023) 0:00:11.683 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:22 +0000 (0:00:00.027) 0:00:11.710 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:23 +0000 (0:00:00.258) 0:00:11.969 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:23 +0000 (0:00:00.035) 0:00:12.005 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:23 +0000 (0:00:00.021) 0:00:12.027 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:23 +0000 (0:00:00.020) 0:00:12.048 ******* 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, 633265af-98ac-4a8a-9b28-1113e3e48cf3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:23 +0000 (0:00:00.320) 0:00:12.368 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:23 +0000 (0:00:00.027) 0:00:12.395 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 633265af-98ac-4a8a-9b28-1113e3e48cf3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:23 +0000 (0:00:00.062) 0:00:12.457 ******* 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, 633265af-98ac-4a8a-9b28-1113e3e48cf3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 633265af-98ac-4a8a-9b28-1113e3e48cf3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:23 +0000 (0:00:00.025) 0:00:12.482 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:23 +0000 (0:00:00.021) 0:00:12.504 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 December 2023 22:01:23 +0000 (0:00:00.126) 0:00:12.630 ******* 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, 633265af-98ac-4a8a-9b28-1113e3e48cf3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 633265af-98ac-4a8a-9b28-1113e3e48cf3" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:01:23 +0000 (0:00:00.022) 0:00:12.653 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:23 +0000 (0:00:00.057) 0:00:12.710 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:23 +0000 (0:00:00.038) 0:00:12.749 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:23 +0000 (0:00:00.155) 0:00:12.904 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:01:24 +0000 (0:00:00.049) 0:00:12.953 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:01:24 +0000 (0:00:00.063) 0:00:13.016 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:01:24 +0000 (0:00:00.036) 0:00:13.053 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541683.3765569, "block_size": 4096, "blocks": 8, "ctime": 1703541683.3765569, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541683.3765569, "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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:01:24 +0000 (0:00:00.164) 0:00:13.218 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:01:24 +0000 (0:00:00.023) 0:00:13.241 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020853", "end": "2023-12-25 22:01:24.421456", "rc": 0, "start": "2023-12-25 22:01:24.400603" } 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:01:24 +0000 (0:00:00.192) 0:00:13.434 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:01:24 +0000 (0:00:00.072) 0:00:13.506 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:01:24 +0000 (0:00:00.039) 0:00:13.546 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:01:24 +0000 (0:00:00.026) 0:00:13.572 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:01:24 +0000 (0:00:00.025) 0:00:13.597 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:01:24 +0000 (0:00:00.027) 0:00:13.625 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:01:24 +0000 (0:00:00.026) 0:00:13.651 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:01:24 +0000 (0:00:00.024) 0:00:13.675 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:01:24 +0000 (0:00:00.027) 0:00:13.702 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:01:24 +0000 (0:00:00.019) 0:00:13.722 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:01:24 +0000 (0:00:00.021) 0:00:13.743 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:01:24 +0000 (0:00:00.038) 0:00:13.782 ******* 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.046720", "end": "2023-12-25 22:01:24.989195", "rc": 1, "start": "2023-12-25 22:01:24.942475" } STDOUT: Connection 'statebr' (633265af-98ac-4a8a-9b28-1113e3e48cf3) 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.16xcejiumx/tests/playbooks/tests_states.yml:65 Monday 25 December 2023 22:01:25 +0000 (0:00:00.197) 0:00:13.980 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:01:25 +0000 (0:00:00.069) 0:00:14.049 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:01:25 +0000 (0:00:00.055) 0:00:14.105 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:01:25 +0000 (0:00:00.062) 0:00:14.167 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:25 +0000 (0:00:00.065) 0:00:14.233 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:25 +0000 (0:00:00.033) 0:00:14.266 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003467", "end": "2023-12-25 22:01:25.429627", "rc": 0, "start": "2023-12-25 22:01:25.426160" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:25 +0000 (0:00:00.137) 0:00:14.404 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:25 +0000 (0:00:00.024) 0:00:14.428 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:01:25 +0000 (0:00:00.021) 0:00:14.450 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:01:25 +0000 (0:00:00.035) 0:00:14.485 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:25 +0000 (0:00:00.033) 0:00:14.519 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:25 +0000 (0:00:00.037) 0:00:14.556 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:25 +0000 (0:00:00.026) 0:00:14.583 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:25 +0000 (0:00:00.021) 0:00:14.605 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:25 +0000 (0:00:00.019) 0:00:14.624 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:26 +0000 (0:00:00.756) 0:00:15.380 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:27 +0000 (0:00:00.936) 0:00:16.317 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:27 +0000 (0:00:00.023) 0:00:16.340 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:27 +0000 (0:00:00.021) 0:00:16.361 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:27 +0000 (0:00:00.020) 0:00:16.382 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:27 +0000 (0:00:00.043) 0:00:16.425 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:27 +0000 (0:00:00.021) 0:00:16.447 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:27 +0000 (0:00:00.029) 0:00:16.476 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:27 +0000 (0:00:00.030) 0:00:16.507 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:27 +0000 (0:00:00.258) 0:00:16.765 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:27 +0000 (0:00:00.036) 0:00:16.802 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:27 +0000 (0:00:00.061) 0:00:16.863 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:27 +0000 (0:00:00.032) 0:00:16.896 ******* 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, a2a87ea6-c9d9-4f51-abae-6a0200621094 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:28 +0000 (0:00:00.322) 0:00:17.219 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:28 +0000 (0:00:00.024) 0:00:17.243 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2a87ea6-c9d9-4f51-abae-6a0200621094" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:28 +0000 (0:00:00.028) 0:00:17.272 ******* 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, a2a87ea6-c9d9-4f51-abae-6a0200621094\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2a87ea6-c9d9-4f51-abae-6a0200621094" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:28 +0000 (0:00:00.022) 0:00:17.294 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:28 +0000 (0:00:00.021) 0:00:17.316 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:01:28 +0000 (0:00:00.148) 0:00:17.464 ******* 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, a2a87ea6-c9d9-4f51-abae-6a0200621094\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2a87ea6-c9d9-4f51-abae-6a0200621094" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:01:28 +0000 (0:00:00.033) 0:00:17.497 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:01:28 +0000 (0:00:00.039) 0:00:17.537 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:28 +0000 (0:00:00.038) 0:00:17.575 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:28 +0000 (0:00:00.036) 0:00:17.612 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:28 +0000 (0:00:00.025) 0:00:17.637 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:28 +0000 (0:00:00.020) 0:00:17.658 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:28 +0000 (0:00:00.045) 0:00:17.703 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:29 +0000 (0:00:00.681) 0:00:18.385 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:30 +0000 (0:00:00.933) 0:00:19.319 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:30 +0000 (0:00:00.021) 0:00:19.340 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:30 +0000 (0:00:00.022) 0:00:19.363 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:30 +0000 (0:00:00.022) 0:00:19.385 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:30 +0000 (0:00:00.067) 0:00:19.452 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:30 +0000 (0:00:00.032) 0:00:19.485 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:30 +0000 (0:00:00.030) 0:00:19.515 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:30 +0000 (0:00:00.031) 0:00:19.547 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:30 +0000 (0:00:00.291) 0:00:19.839 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:30 +0000 (0:00:00.048) 0:00:19.887 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:30 +0000 (0:00:00.022) 0:00:19.909 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:30 +0000 (0:00:00.022) 0:00:19.931 ******* 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, a2a87ea6-c9d9-4f51-abae-6a0200621094 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:31 +0000 (0:00:00.311) 0:00:20.243 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:31 +0000 (0:00:00.028) 0:00:20.271 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a2a87ea6-c9d9-4f51-abae-6a0200621094 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:31 +0000 (0:00:00.030) 0:00:20.301 ******* 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, a2a87ea6-c9d9-4f51-abae-6a0200621094 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a2a87ea6-c9d9-4f51-abae-6a0200621094 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:31 +0000 (0:00:00.037) 0:00:20.338 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:31 +0000 (0:00:00.027) 0:00:20.366 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:01:31 +0000 (0:00:00.162) 0:00:20.529 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:01:31 +0000 (0:00:00.044) 0:00:20.573 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:31 +0000 (0:00:00.042) 0:00:20.616 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541688.1994748, "block_size": 4096, "blocks": 0, "ctime": 1703541688.1954749, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17618, "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": 1703541688.1954749, "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.16xcejiumx/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:01:31 +0000 (0:00:00.140) 0:00:20.757 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:01:31 +0000 (0:00:00.024) 0:00:20.782 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:01:31 +0000 (0:00:00.073) 0:00:20.855 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:01:31 +0000 (0:00:00.024) 0:00:20.879 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541688.194475, "block_size": 4096, "blocks": 8, "ctime": 1703541688.193475, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541688.193475, "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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:01:32 +0000 (0:00:00.152) 0:00:21.032 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:01:32 +0000 (0:00:00.027) 0:00:21.059 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022293", "end": "2023-12-25 22:01:32.242544", "rc": 0, "start": "2023-12-25 22:01:32.220251" } 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:01:32 +0000 (0:00:00.158) 0:00:21.218 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:01:32 +0000 (0:00:00.029) 0:00:21.248 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:01:32 +0000 (0:00:00.024) 0:00:21.272 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:01:32 +0000 (0:00:00.044) 0:00:21.317 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:01:32 +0000 (0:00:00.043) 0:00:21.360 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:01:32 +0000 (0:00:00.031) 0:00:21.392 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:01:32 +0000 (0:00:00.024) 0:00:21.416 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:01:32 +0000 (0:00:00.023) 0:00:21.440 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:01:32 +0000 (0:00:00.021) 0:00:21.462 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:01:32 +0000 (0:00:00.019) 0:00:21.481 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:01:32 +0000 (0:00:00.022) 0:00:21.504 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:01:32 +0000 (0:00:00.039) 0:00:21.544 ******* 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.079268", "end": "2023-12-25 22:01:32.783372", "rc": 1, "start": "2023-12-25 22:01:32.704104" } STDOUT: Connection 'statebr' (a2a87ea6-c9d9-4f51-abae-6a0200621094) successfully deleted. STDERR: (process:20655): GLib-GIO-WARNING **: 22:01:32.761: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/27 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.16xcejiumx/tests/playbooks/tests_states.yml:83 Monday 25 December 2023 22:01:32 +0000 (0:00:00.231) 0:00:21.775 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:01:32 +0000 (0:00:00.035) 0:00:21.811 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:01:32 +0000 (0:00:00.022) 0:00:21.833 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:01:32 +0000 (0:00:00.044) 0:00:21.878 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:32 +0000 (0:00:00.043) 0:00:21.922 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:33 +0000 (0:00:00.032) 0:00:21.954 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2023-12-25 22:01:33.120596", "rc": 0, "start": "2023-12-25 22:01:33.117117" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:33 +0000 (0:00:00.140) 0:00:22.095 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:33 +0000 (0:00:00.021) 0:00:22.116 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:01:33 +0000 (0:00:00.021) 0:00:22.138 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:01:33 +0000 (0:00:00.039) 0:00:22.177 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:33 +0000 (0:00:00.033) 0:00:22.211 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:33 +0000 (0:00:00.070) 0:00:22.281 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:33 +0000 (0:00:00.026) 0:00:22.308 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:33 +0000 (0:00:00.026) 0:00:22.334 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:33 +0000 (0:00:00.026) 0:00:22.361 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:34 +0000 (0:00:00.705) 0:00:23.066 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:35 +0000 (0:00:00.919) 0:00:23.986 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:35 +0000 (0:00:00.022) 0:00:24.008 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:35 +0000 (0:00:00.020) 0:00:24.029 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:35 +0000 (0:00:00.021) 0:00:24.050 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:35 +0000 (0:00:00.076) 0:00:24.127 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:35 +0000 (0:00:00.021) 0:00:24.148 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:35 +0000 (0:00:00.021) 0:00:24.170 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:35 +0000 (0:00:00.025) 0:00:24.195 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:35 +0000 (0:00:00.228) 0:00:24.423 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:35 +0000 (0:00:00.025) 0:00:24.448 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:35 +0000 (0:00:00.019) 0:00:24.468 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:35 +0000 (0:00:00.019) 0:00:24.487 ******* 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, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:35 +0000 (0:00:00.323) 0:00:24.811 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:35 +0000 (0:00:00.020) 0:00:24.831 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:35 +0000 (0:00:00.021) 0:00:24.852 ******* 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, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:35 +0000 (0:00:00.021) 0:00:24.874 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:35 +0000 (0:00:00.018) 0:00:24.893 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:01:36 +0000 (0:00:00.127) 0:00:25.021 ******* 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, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:01:36 +0000 (0:00:00.021) 0:00:25.043 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:36 +0000 (0:00:00.057) 0:00:25.100 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:36 +0000 (0:00:00.038) 0:00:25.139 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:36 +0000 (0:00:00.025) 0:00:25.164 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:36 +0000 (0:00:00.021) 0:00:25.186 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:36 +0000 (0:00:00.022) 0:00:25.208 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:36 +0000 (0:00:00.689) 0:00:25.897 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:37 +0000 (0:00:00.927) 0:00:26.825 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:37 +0000 (0:00:00.030) 0:00:26.855 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:37 +0000 (0:00:00.053) 0:00:26.909 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:38 +0000 (0:00:00.044) 0:00:26.954 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:38 +0000 (0:00:00.069) 0:00:27.023 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:38 +0000 (0:00:00.040) 0:00:27.064 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:38 +0000 (0:00:00.043) 0:00:27.107 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:38 +0000 (0:00:00.026) 0:00:27.134 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:38 +0000 (0:00:00.227) 0:00:27.361 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:38 +0000 (0:00:00.025) 0:00:27.386 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:38 +0000 (0:00:00.022) 0:00:27.409 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:38 +0000 (0:00:00.021) 0:00:27.430 ******* 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, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:38 +0000 (0:00:00.303) 0:00:27.734 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:38 +0000 (0:00:00.031) 0:00:27.765 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:38 +0000 (0:00:00.035) 0:00:27.801 ******* 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, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:38 +0000 (0:00:00.026) 0:00:27.827 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:38 +0000 (0:00:00.050) 0:00:27.878 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:01:39 +0000 (0:00:00.139) 0:00:28.018 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:01:39 +0000 (0:00:00.081) 0:00:28.099 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:39 +0000 (0:00:00.053) 0:00:28.153 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:39 +0000 (0:00:00.050) 0:00:28.203 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:39 +0000 (0:00:00.028) 0:00:28.231 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:39 +0000 (0:00:00.029) 0:00:28.261 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:39 +0000 (0:00:00.024) 0:00:28.285 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:40 +0000 (0:00:00.734) 0:00:29.019 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:40 +0000 (0:00:00.928) 0:00:29.948 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:41 +0000 (0:00:00.071) 0:00:30.019 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:41 +0000 (0:00:00.022) 0:00:30.041 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:41 +0000 (0:00:00.024) 0:00:30.066 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:41 +0000 (0:00:00.046) 0:00:30.112 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:41 +0000 (0:00:00.025) 0:00:30.138 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:41 +0000 (0:00:00.038) 0:00:30.177 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:41 +0000 (0:00:00.031) 0:00:30.208 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:41 +0000 (0:00:00.236) 0:00:30.444 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:41 +0000 (0:00:00.039) 0:00:30.484 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:41 +0000 (0:00:00.024) 0:00:30.508 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:41 +0000 (0:00:00.023) 0:00:30.532 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:41 +0000 (0:00:00.321) 0:00:30.854 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:41 +0000 (0:00:00.021) 0:00:30.875 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:41 +0000 (0:00:00.024) 0:00:30.899 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:41 +0000 (0:00:00.050) 0:00:30.949 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:42 +0000 (0:00:00.024) 0:00:30.973 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:01:42 +0000 (0:00:00.168) 0:00:31.142 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:01:42 +0000 (0:00:00.044) 0:00:31.187 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:42 +0000 (0:00:00.036) 0:00:31.224 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541695.7823458, "block_size": 4096, "blocks": 0, "ctime": 1703541695.7813458, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17620, "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": 1703541695.7813458, "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.16xcejiumx/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:01:42 +0000 (0:00:00.145) 0:00:31.369 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:01:42 +0000 (0:00:00.025) 0:00:31.395 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:01:42 +0000 (0:00:00.037) 0:00:31.432 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:01:42 +0000 (0:00:00.021) 0:00:31.454 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:01:42 +0000 (0:00:00.136) 0:00:31.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:01:42 +0000 (0:00:00.021) 0:00:31.612 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022581", "end": "2023-12-25 22:01:42.797262", "rc": 1, "start": "2023-12-25 22:01:42.774681" } 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:01:42 +0000 (0:00:00.159) 0:00:31.772 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:01:42 +0000 (0:00:00.021) 0:00:31.793 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:01:42 +0000 (0:00:00.021) 0:00:31.814 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:01:42 +0000 (0:00:00.020) 0:00:31.835 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:01:42 +0000 (0:00:00.023) 0:00:31.858 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:01:42 +0000 (0:00:00.057) 0:00:31.915 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:01:42 +0000 (0:00:00.026) 0:00:31.942 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:01:43 +0000 (0:00:00.033) 0:00:31.975 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:01:43 +0000 (0:00:00.023) 0:00:31.999 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:01:43 +0000 (0:00:00.045) 0:00:32.045 ******* 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.075274", "end": "2023-12-25 22:01:43.279544", "rc": 1, "start": "2023-12-25 22:01:43.204270" } STDOUT: Connection 'statebr' (58ffc1f1-ed12-44f3-8d92-81ac2e72ffd3) successfully deleted. STDERR: (process:21274): GLib-GIO-WARNING **: 22:01:43.259: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/28 but no object proxy exists (process:21274): GLib-GIO-WARNING **: 22:01:43.259: 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.16xcejiumx/tests/playbooks/tests_states.yml:103 Monday 25 December 2023 22:01:43 +0000 (0:00:00.231) 0:00:32.276 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:01:43 +0000 (0:00:00.070) 0:00:32.346 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:01:43 +0000 (0:00:00.025) 0:00:32.372 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:01:43 +0000 (0:00:00.078) 0:00:32.450 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:43 +0000 (0:00:00.039) 0:00:32.490 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:43 +0000 (0:00:00.045) 0:00:32.535 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003738", "end": "2023-12-25 22:01:43.707751", "rc": 0, "start": "2023-12-25 22:01:43.704013" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:43 +0000 (0:00:00.145) 0:00:32.681 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:43 +0000 (0:00:00.022) 0:00:32.703 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:01:43 +0000 (0:00:00.020) 0:00:32.724 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:01:43 +0000 (0:00:00.065) 0:00:32.790 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:43 +0000 (0:00:00.034) 0:00:32.825 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:43 +0000 (0:00:00.039) 0:00:32.864 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:43 +0000 (0:00:00.030) 0:00:32.895 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:43 +0000 (0:00:00.021) 0:00:32.916 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:43 +0000 (0:00:00.022) 0:00:32.938 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:44 +0000 (0:00:00.685) 0:00:33.624 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:45 +0000 (0:00:00.972) 0:00:34.597 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:45 +0000 (0:00:00.022) 0:00:34.619 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:45 +0000 (0:00:00.026) 0:00:34.646 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:45 +0000 (0:00:00.036) 0:00:34.683 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:45 +0000 (0:00:00.067) 0:00:34.750 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:45 +0000 (0:00:00.051) 0:00:34.802 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:45 +0000 (0:00:00.021) 0:00:34.823 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:45 +0000 (0:00:00.037) 0:00:34.861 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:46 +0000 (0:00:00.233) 0:00:35.094 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:46 +0000 (0:00:00.027) 0:00:35.121 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:46 +0000 (0:00:00.024) 0:00:35.146 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:46 +0000 (0:00:00.027) 0:00:35.174 ******* 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, fc8faaca-d566-4b61-8645-a69775a9dbba TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:46 +0000 (0:00:00.348) 0:00:35.522 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:46 +0000 (0:00:00.026) 0:00:35.549 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc8faaca-d566-4b61-8645-a69775a9dbba" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:46 +0000 (0:00:00.024) 0:00:35.573 ******* 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, fc8faaca-d566-4b61-8645-a69775a9dbba\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc8faaca-d566-4b61-8645-a69775a9dbba" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:46 +0000 (0:00:00.071) 0:00:35.644 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:46 +0000 (0:00:00.029) 0:00:35.673 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:01:46 +0000 (0:00:00.140) 0:00:35.814 ******* 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, fc8faaca-d566-4b61-8645-a69775a9dbba\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc8faaca-d566-4b61-8645-a69775a9dbba" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:01:46 +0000 (0:00:00.024) 0:00:35.838 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:46 +0000 (0:00:00.045) 0:00:35.884 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:46 +0000 (0:00:00.048) 0:00:35.933 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:47 +0000 (0:00:00.033) 0:00:35.967 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:47 +0000 (0:00:00.027) 0:00:35.994 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:47 +0000 (0:00:00.035) 0:00:36.029 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:47 +0000 (0:00:00.708) 0:00:36.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 : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:48 +0000 (0:00:01.050) 0:00:37.788 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:48 +0000 (0:00:00.023) 0:00:37.812 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:48 +0000 (0:00:00.037) 0:00:37.849 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:48 +0000 (0:00:00.031) 0:00:37.880 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:48 +0000 (0:00:00.053) 0:00:37.934 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:49 +0000 (0:00:00.044) 0:00:37.978 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:49 +0000 (0:00:00.021) 0:00:38.000 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:49 +0000 (0:00:00.025) 0:00:38.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:49 +0000 (0:00:00.227) 0:00:38.252 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:49 +0000 (0:00:00.024) 0:00:38.277 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:49 +0000 (0:00:00.020) 0:00:38.297 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:49 +0000 (0:00:00.022) 0:00:38.319 ******* 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, fc8faaca-d566-4b61-8645-a69775a9dbba skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:49 +0000 (0:00:00.307) 0:00:38.627 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:49 +0000 (0:00:00.021) 0:00:38.648 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc8faaca-d566-4b61-8645-a69775a9dbba skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:49 +0000 (0:00:00.023) 0:00:38.671 ******* 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, fc8faaca-d566-4b61-8645-a69775a9dbba skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc8faaca-d566-4b61-8645-a69775a9dbba skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:49 +0000 (0:00:00.025) 0:00:38.696 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:49 +0000 (0:00:00.059) 0:00:38.756 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:01:49 +0000 (0:00:00.154) 0:00:38.910 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:50 +0000 (0:00:00.042) 0:00:38.953 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:50 +0000 (0:00:00.041) 0:00:38.995 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:50 +0000 (0:00:00.031) 0:00:39.027 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:50 +0000 (0:00:00.021) 0:00:39.048 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:50 +0000 (0:00:00.021) 0:00:39.069 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:50 +0000 (0:00:00.702) 0:00:39.772 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:51 +0000 (0:00:01.064) 0:00:40.836 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:51 +0000 (0:00:00.077) 0:00:40.913 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:52 +0000 (0:00:00.069) 0:00:40.983 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:52 +0000 (0:00:00.052) 0:00:41.035 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:52 +0000 (0:00:00.114) 0:00:41.150 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:52 +0000 (0:00:00.079) 0:00:41.229 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:52 +0000 (0:00:00.040) 0:00:41.269 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:52 +0000 (0:00:00.043) 0:00:41.313 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:52 +0000 (0:00:00.267) 0:00:41.581 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:52 +0000 (0:00:00.024) 0:00:41.605 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:52 +0000 (0:00:00.019) 0:00:41.625 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:52 +0000 (0:00:00.018) 0:00:41.644 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:53 +0000 (0:00:00.331) 0:00:41.975 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:53 +0000 (0:00:00.023) 0:00:41.998 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:53 +0000 (0:00:00.035) 0:00:42.034 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:53 +0000 (0:00:00.028) 0:00:42.063 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:53 +0000 (0:00:00.040) 0:00:42.104 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:01:53 +0000 (0:00:00.194) 0:00:42.298 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:01:53 +0000 (0:00:00.127) 0:00:42.426 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:53 +0000 (0:00:00.045) 0:00:42.471 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:53 +0000 (0:00:00.053) 0:00:42.525 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:53 +0000 (0:00:00.028) 0:00:42.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:53 +0000 (0:00:00.024) 0:00:42.577 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:53 +0000 (0:00:00.022) 0:00:42.599 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:01:54 +0000 (0:00:00.676) 0:00:43.276 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:01:55 +0000 (0:00:00.952) 0:00:44.228 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:01:55 +0000 (0:00:00.022) 0:00:44.251 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:01:55 +0000 (0:00:00.021) 0:00:44.273 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:01:55 +0000 (0:00:00.020) 0:00:44.293 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:01:55 +0000 (0:00:00.041) 0:00:44.335 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:01:55 +0000 (0:00:00.020) 0:00:44.355 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:01:55 +0000 (0:00:00.019) 0:00:44.375 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:01:55 +0000 (0:00:00.025) 0:00:44.400 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:01:55 +0000 (0:00:00.250) 0:00:44.651 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:01:55 +0000 (0:00:00.043) 0:00:44.694 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:01:55 +0000 (0:00:00.034) 0:00:44.728 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:01:55 +0000 (0:00:00.058) 0:00:44.787 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:01:56 +0000 (0:00:00.430) 0:00:45.217 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:01:56 +0000 (0:00:00.023) 0:00:45.241 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:01:56 +0000 (0:00:00.022) 0:00:45.263 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:01:56 +0000 (0:00:00.053) 0:00:45.317 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:01:56 +0000 (0:00:00.024) 0:00:45.341 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:01:56 +0000 (0:00:00.160) 0:00:45.502 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:01:56 +0000 (0:00:00.044) 0:00:45.546 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:01:56 +0000 (0:00:00.047) 0:00:45.593 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:01:56 +0000 (0:00:00.024) 0:00:45.618 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:01:56 +0000 (0:00:00.146) 0:00:45.764 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:01:56 +0000 (0:00:00.021) 0:00:45.786 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019031", "end": "2023-12-25 22:01:56.965828", "rc": 1, "start": "2023-12-25 22:01:56.946797" } 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:01:56 +0000 (0:00:00.153) 0:00:45.940 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:01:57 +0000 (0:00:00.024) 0:00:45.964 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:01:57 +0000 (0:00:00.024) 0:00:45.989 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:01:57 +0000 (0:00:00.022) 0:00:46.011 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:01:57 +0000 (0:00:00.023) 0:00:46.034 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:01:57 +0000 (0:00:00.028) 0:00:46.063 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:01:57 +0000 (0:00:00.024) 0:00:46.087 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:01:57 +0000 (0:00:00.068) 0:00:46.155 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:01:57 +0000 (0:00:00.036) 0:00:46.192 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:01:57 +0000 (0:00:00.176) 0:00:46.369 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:01:57 +0000 (0:00:00.039) 0:00:46.408 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:01:57 +0000 (0:00:00.062) 0:00:46.471 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:01:57 +0000 (0:00:00.067) 0:00:46.539 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042736", "end": "2023-12-25 22:01:57.744913", "rc": 1, "start": "2023-12-25 22:01:57.702177" } 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.16xcejiumx/tests/playbooks/tests_states.yml:126 Monday 25 December 2023 22:01:57 +0000 (0:00:00.180) 0:00:46.719 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:01:57 +0000 (0:00:00.035) 0:00:46.755 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:01:57 +0000 (0:00:00.021) 0:00:46.777 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:01:57 +0000 (0:00:00.045) 0:00:46.823 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:01:57 +0000 (0:00:00.034) 0:00:46.857 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:01:57 +0000 (0:00:00.032) 0:00:46.890 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004615", "end": "2023-12-25 22:01:59.051112", "rc": 0, "start": "2023-12-25 22:01:58.046497" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:01:59 +0000 (0:00:01.136) 0:00:48.027 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:01:59 +0000 (0:00:00.022) 0:00:48.049 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:01:59 +0000 (0:00:00.021) 0:00:48.071 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:01:59 +0000 (0:00:00.042) 0:00:48.114 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:01:59 +0000 (0:00:00.035) 0:00:48.150 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:01:59 +0000 (0:00:00.039) 0:00:48.189 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:01:59 +0000 (0:00:00.029) 0:00:48.219 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:01:59 +0000 (0:00:00.021) 0:00:48.240 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:01:59 +0000 (0:00:00.025) 0:00:48.265 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:00 +0000 (0:00:00.713) 0:00:48.978 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:00 +0000 (0:00:00.923) 0:00:49.902 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:00 +0000 (0:00:00.021) 0:00:49.924 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:00 +0000 (0:00:00.020) 0:00:49.944 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:01 +0000 (0:00:00.020) 0:00:49.964 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:01 +0000 (0:00:00.043) 0:00:50.008 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:01 +0000 (0:00:00.023) 0:00:50.032 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:01 +0000 (0:00:00.024) 0:00:50.057 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:01 +0000 (0:00:00.034) 0:00:50.091 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:01 +0000 (0:00:00.304) 0:00:50.396 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:01 +0000 (0:00:00.053) 0:00:50.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:01 +0000 (0:00:00.065) 0:00:50.515 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:01 +0000 (0:00:00.047) 0:00:50.562 ******* 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, 72a91b00-ba06-4529-aa1e-cd2b232be72b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:01 +0000 (0:00:00.375) 0:00:50.938 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:02 +0000 (0:00:00.022) 0:00:50.960 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 72a91b00-ba06-4529-aa1e-cd2b232be72b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:02 +0000 (0:00:00.023) 0:00:50.983 ******* 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, 72a91b00-ba06-4529-aa1e-cd2b232be72b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 72a91b00-ba06-4529-aa1e-cd2b232be72b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:02 +0000 (0:00:00.023) 0:00:51.007 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:02 +0000 (0:00:00.022) 0:00:51.030 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:02:02 +0000 (0:00:00.133) 0:00:51.164 ******* 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, 72a91b00-ba06-4529-aa1e-cd2b232be72b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 72a91b00-ba06-4529-aa1e-cd2b232be72b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:02:02 +0000 (0:00:00.029) 0:00:51.193 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:02 +0000 (0:00:00.049) 0:00:51.243 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:02 +0000 (0:00:00.044) 0:00:51.288 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:02 +0000 (0:00:00.028) 0:00:51.316 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:02 +0000 (0:00:00.027) 0:00:51.343 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:02 +0000 (0:00:00.025) 0:00:51.369 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:03 +0000 (0:00:00.688) 0:00:52.057 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:04 +0000 (0:00:00.921) 0:00:52.979 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:04 +0000 (0:00:00.023) 0:00:53.002 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:04 +0000 (0:00:00.023) 0:00:53.026 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:04 +0000 (0:00:00.020) 0:00:53.047 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:04 +0000 (0:00:00.042) 0:00:53.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:04 +0000 (0:00:00.019) 0:00:53.110 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:04 +0000 (0:00:00.019) 0:00:53.129 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:04 +0000 (0:00:00.023) 0:00:53.152 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:04 +0000 (0:00:00.225) 0:00:53.378 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:04 +0000 (0:00:00.024) 0:00:53.402 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:04 +0000 (0:00:00.045) 0:00:53.448 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:04 +0000 (0:00:00.021) 0:00:53.469 ******* 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, 72a91b00-ba06-4529-aa1e-cd2b232be72b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:04 +0000 (0:00:00.288) 0:00:53.757 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:04 +0000 (0:00:00.039) 0:00:53.797 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 72a91b00-ba06-4529-aa1e-cd2b232be72b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:04 +0000 (0:00:00.033) 0:00:53.830 ******* 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, 72a91b00-ba06-4529-aa1e-cd2b232be72b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 72a91b00-ba06-4529-aa1e-cd2b232be72b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:04 +0000 (0:00:00.042) 0:00:53.872 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:04 +0000 (0:00:00.035) 0:00:53.908 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:02:05 +0000 (0:00:00.136) 0:00:54.045 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:05 +0000 (0:00:00.035) 0:00:54.081 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:05 +0000 (0:00:00.038) 0:00:54.119 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:05 +0000 (0:00:00.025) 0:00:54.144 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:05 +0000 (0:00:00.019) 0:00:54.164 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:05 +0000 (0:00:00.019) 0:00:54.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:05 +0000 (0:00:00.681) 0:00:54.864 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:06 +0000 (0:00:00.926) 0:00:55.791 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:06 +0000 (0:00:00.024) 0:00:55.816 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:06 +0000 (0:00:00.021) 0:00:55.837 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:06 +0000 (0:00:00.036) 0:00:55.874 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:06 +0000 (0:00:00.050) 0:00:55.925 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:07 +0000 (0:00:00.028) 0:00:55.953 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:07 +0000 (0:00:00.024) 0:00:55.977 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:07 +0000 (0:00:00.026) 0:00:56.004 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:07 +0000 (0:00:00.229) 0:00:56.234 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:07 +0000 (0:00:00.025) 0:00:56.259 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:07 +0000 (0:00:00.052) 0:00:56.312 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:07 +0000 (0:00:00.029) 0:00:56.341 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:07 +0000 (0:00:00.370) 0:00:56.712 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:07 +0000 (0:00:00.024) 0:00:56.736 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:07 +0000 (0:00:00.025) 0:00:56.762 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:07 +0000 (0:00:00.030) 0:00:56.793 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:07 +0000 (0:00:00.048) 0:00:56.841 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:02:08 +0000 (0:00:00.150) 0:00:56.992 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:02:08 +0000 (0:00:00.079) 0:00:57.072 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:02:08 +0000 (0:00:00.080) 0:00:57.153 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:02:08 +0000 (0:00:00.045) 0:00:57.198 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:02:08 +0000 (0:00:00.037) 0:00:57.235 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:02:08 +0000 (0:00:00.022) 0:00:57.258 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:02:08 +0000 (0:00:00.021) 0:00:57.279 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:02:09 +0000 (0:00:00.784) 0:00:58.064 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:02:10 +0000 (0:00:00.917) 0:00:58.981 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:02:10 +0000 (0:00:00.021) 0:00:59.003 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:02:10 +0000 (0:00:00.022) 0:00:59.026 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:02:10 +0000 (0:00:00.021) 0:00:59.047 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:02:10 +0000 (0:00:00.043) 0:00:59.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:02:10 +0000 (0:00:00.038) 0:00:59.129 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:02:10 +0000 (0:00:00.056) 0:00:59.185 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:02:10 +0000 (0:00:00.040) 0:00:59.225 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:02:10 +0000 (0:00:00.261) 0:00:59.486 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:02:10 +0000 (0:00:00.024) 0:00:59.511 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:02:10 +0000 (0:00:00.020) 0:00:59.531 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:02:10 +0000 (0:00:00.033) 0:00:59.565 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:02:10 +0000 (0:00:00.334) 0:00:59.899 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:02:10 +0000 (0:00:00.021) 0:00:59.921 ******* 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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:02:10 +0000 (0:00:00.022) 0:00:59.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", "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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:02:11 +0000 (0:00:00.024) 0:00:59.968 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:02:11 +0000 (0:00:00.022) 0:00:59.990 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:02:11 +0000 (0:00:00.128) 0:01:00.119 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:02:11 +0000 (0:00:00.042) 0:01:00.162 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:02:11 +0000 (0:00:00.035) 0:01:00.197 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:02:11 +0000 (0:00:00.021) 0:01:00.218 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:02:11 +0000 (0:00:00.130) 0:01:00.349 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:02:11 +0000 (0:00:00.020) 0:01:00.370 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019108", "end": "2023-12-25 22:02:11.545444", "rc": 1, "start": "2023-12-25 22:02:11.526336" } 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:02:11 +0000 (0:00:00.178) 0:01:00.548 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:02:11 +0000 (0:00:00.024) 0:01:00.572 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:02:11 +0000 (0:00:00.023) 0:01:00.595 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:02:11 +0000 (0:00:00.024) 0:01:00.619 ******* 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.16xcejiumx/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:02:11 +0000 (0:00:00.027) 0:01:00.646 ******* 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.16xcejiumx/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:02:11 +0000 (0:00:00.023) 0:01:00.670 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 December 2023 22:02:11 +0000 (0:00:00.025) 0:01:00.696 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.682114", "end": "2023-12-25 22:02:12.543516", "rc": 0, "start": "2023-12-25 22:02:11.861402" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 December 2023 22:02:12 +0000 (0:00:00.824) 0:01:01.520 ******* 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.16xcejiumx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 December 2023 22:02:12 +0000 (0:00:00.022) 0:01:01.542 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:02:12 +0000 (0:00:00.020) 0:01:01.563 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:02:12 +0000 (0:00:00.041) 0:01:01.604 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:02:12 +0000 (0:00:00.033) 0:01:01.637 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:02:12 +0000 (0:00:00.132) 0:01:01.770 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:02:12 +0000 (0:00:00.068) 0:01:01.838 ******* 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.16xcejiumx/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:02:12 +0000 (0:00:00.023) 0:01:01.862 ******* included: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:02:12 +0000 (0:00:00.042) 0:01:01.905 ******* 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.042375", "end": "2023-12-25 22:02:13.106023", "rc": 1, "start": "2023-12-25 22:02:13.063648" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=322 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Monday 25 December 2023 22:02:13 +0000 (0:00:00.163) 0:01:02.068 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.82s /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.40s /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.21s /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.14s /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-ansible-lint-test-2.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.05s /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 0.97s /WORKDIR/git-ansible-lint-test-2.16xcejiumx/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.16xcejiumx/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.16xcejiumx/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.16xcejiumx/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.16xcejiumx/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.16xcejiumx/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.16xcejiumx/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.16xcejiumx/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.16xcejiumx/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.16xcejiumx/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. ---^---^---^---^---^---