# 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_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tests_states_initscripts.yml:5 Monday 25 December 2023 22:04:10 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tests_states_initscripts.yml:8 Monday 25 December 2023 22:04:10 +0000 (0:00:00.612) 0:00:00.625 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:04:10 +0000 (0:00:00.023) 0:00:00.648 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml:19 Monday 25 December 2023 22:04:10 +0000 (0:00:00.261) 0:00:00.910 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml:24 Monday 25 December 2023 22:04:11 +0000 (0:00:00.244) 0:00:01.154 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml:28 Monday 25 December 2023 22:04:11 +0000 (0:00:00.026) 0:00:01.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/el_repo_setup.yml:53 Monday 25 December 2023 22:04:11 +0000 (0:00:00.018) 0:00:01.200 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:04:11 +0000 (0:00:00.031) 0:00:01.231 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:04:11 +0000 (0:00:00.201) 0:00:01.433 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:04:11 +0000 (0:00:00.492) 0:00:01.925 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.207743", "end": "2023-12-25 22:04:12.305576", "rc": 0, "start": "2023-12-25 22:04:12.097833" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:04:12 +0000 (0:00:00.340) 0:00:02.266 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:04:12 +0000 (0:00:00.011) 0:00:02.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/tests_states_initscripts.yml:10 Monday 25 December 2023 22:04:12 +0000 (0:00:00.009) 0:00:02.288 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:3 Monday 25 December 2023 22:04:12 +0000 (0:00:00.011) 0:00:02.299 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:11 Monday 25 December 2023 22:04:12 +0000 (0:00:00.419) 0:00:02.718 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:22 Monday 25 December 2023 22:04:12 +0000 (0:00:00.010) 0:00:02.729 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:12 +0000 (0:00:00.016) 0:00:02.746 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:12 +0000 (0:00:00.010) 0:00:02.757 ******* 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": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:12 +0000 (0:00:00.034) 0:00:02.791 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:12 +0000 (0:00:00.014) 0:00:02.806 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:12 +0000 (0:00:00.014) 0:00:02.820 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004035", "end": "2023-12-25 22:04:12.995212", "rc": 0, "start": "2023-12-25 22:04:12.991177" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:13 +0000 (0:00:00.141) 0:00:02.962 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:13 +0000 (0:00:00.021) 0:00:02.983 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:13 +0000 (0:00:00.015) 0:00:02.998 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:04:13 +0000 (0:00:00.030) 0:00:03.028 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012751", "end": "2023-12-25 22:04:13.212234", "rc": 1, "start": "2023-12-25 22:04:13.199483" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:04:13 +0000 (0:00:00.178) 0:00:03.206 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:13 +0000 (0:00:00.024) 0:00:03.231 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:04:13 +0000 (0:00:00.155) 0:00:03.387 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:13 +0000 (0:00:00.014) 0:00:03.401 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:04:13 +0000 (0:00:00.042) 0:00:03.444 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:13 +0000 (0:00:00.040) 0:00:03.484 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:13 +0000 (0:00:00.090) 0:00:03.575 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:13 +0000 (0:00:00.014) 0:00:03.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:13 +0000 (0:00:00.011) 0:00:03.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:13 +0000 (0:00:00.012) 0:00:03.613 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:14 +0000 (0:00:00.926) 0:00:04.540 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:15 +0000 (0:00:01.019) 0:00:05.560 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:15 +0000 (0:00:00.026) 0:00:05.586 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:15 +0000 (0:00:00.055) 0:00:05.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:15 +0000 (0:00:00.053) 0:00:05.695 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:15 +0000 (0:00:00.083) 0:00:05.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:15 +0000 (0:00:00.022) 0:00:05.801 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:15 +0000 (0:00:00.022) 0:00:05.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:15 +0000 (0:00:00.024) 0:00:05.848 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:15 +0000 (0:00:00.030) 0:00:05.878 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:15 +0000 (0:00:00.034) 0:00:05.913 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:16 +0000 (0:00:00.512) 0:00:06.425 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmp68x1d4de" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:16 +0000 (0:00:00.340) 0:00:06.766 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:17 +0000 (0:00:00.439) 0:00:07.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:17 +0000 (0:00:00.037) 0:00:07.243 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:17 +0000 (0:00:00.040) 0:00:07.283 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:17 +0000 (0:00:00.055) 0:00:07.339 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:17 +0000 (0:00:00.060) 0:00:07.400 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:04:17 +0000 (0:00:00.280) 0:00:07.680 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:04:17 +0000 (0:00:00.022) 0:00:07.702 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:04:17 +0000 (0:00:00.042) 0:00:07.744 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:17 +0000 (0:00:00.037) 0:00:07.781 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:17 +0000 (0:00:00.034) 0:00:07.816 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541857.204707, "block_size": 4096, "blocks": 8, "ctime": 1703541857.204707, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541857.204707, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:18 +0000 (0:00:00.154) 0:00:07.970 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:18 +0000 (0:00:00.025) 0:00:07.996 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025504", "end": "2023-12-25 22:04:18.217058", "rc": 1, "start": "2023-12-25 22:04:18.191554" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:18 +0000 (0:00:00.218) 0:00:08.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:18 +0000 (0:00:00.083) 0:00:08.298 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.005003", "end": "2023-12-25 22:04:19.483085", "rc": 0, "start": "2023-12-25 22:04:18.478082" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:19 +0000 (0:00:01.161) 0:00:09.460 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:19 +0000 (0:00:00.035) 0:00:09.495 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003869", "end": "2023-12-25 22:04:19.675044", "rc": 0, "start": "2023-12-25 22:04:19.671175" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:19 +0000 (0:00:00.179) 0:00:09.675 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:04:19 +0000 (0:00:00.038) 0:00:09.713 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:04:19 +0000 (0:00:00.026) 0:00:09.739 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:04:19 +0000 (0:00:00.031) 0:00:09.771 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:04:19 +0000 (0:00:00.022) 0:00:09.793 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:04:19 +0000 (0:00:00.028) 0:00:09.821 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:04:19 +0000 (0:00:00.037) 0:00:09.858 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:04:19 +0000 (0:00:00.042) 0:00:09.901 ******* 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.046588", "end": "2023-12-25 22:04:20.121454", "rc": 1, "start": "2023-12-25 22:04:20.074866" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:45 Monday 25 December 2023 22:04:20 +0000 (0:00:00.191) 0:00:10.092 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:20 +0000 (0:00:00.043) 0:00:10.135 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:20 +0000 (0:00:00.033) 0:00:10.169 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:20 +0000 (0:00:00.044) 0:00:10.213 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.039) 0:00:10.253 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.074) 0:00:10.327 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003853", "end": "2023-12-25 22:04:20.506057", "rc": 0, "start": "2023-12-25 22:04:20.502204" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:20 +0000 (0:00:00.151) 0:00:10.478 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:20 +0000 (0:00:00.025) 0:00:10.504 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:20 +0000 (0:00:00.038) 0:00:10.542 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.041) 0:00:10.584 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008096", "end": "2023-12-25 22:04:20.765040", "rc": 1, "start": "2023-12-25 22:04:20.756944" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.177) 0:00:10.762 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:20 +0000 (0:00:00.048) 0:00:10.811 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:04:21 +0000 (0:00:00.151) 0:00:10.962 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:21 +0000 (0:00:00.025) 0:00:10.988 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 December 2023 22:04:21 +0000 (0:00:00.038) 0:00:11.026 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:21 +0000 (0:00:00.040) 0:00:11.066 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:21 +0000 (0:00:00.038) 0:00:11.104 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:21 +0000 (0:00:00.047) 0:00:11.151 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:21 +0000 (0:00:00.020) 0:00:11.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:21 +0000 (0:00:00.020) 0:00:11.193 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:22 +0000 (0:00:00.830) 0:00:12.023 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:22 +0000 (0:00:00.721) 0:00:12.745 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:22 +0000 (0:00:00.031) 0:00:12.777 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:22 +0000 (0:00:00.034) 0:00:12.811 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:22 +0000 (0:00:00.042) 0:00:12.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:22 +0000 (0:00:00.068) 0:00:12.923 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:23 +0000 (0:00:00.025) 0:00:12.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:23 +0000 (0:00:00.029) 0:00:12.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:23 +0000 (0:00:00.117) 0:00:13.096 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:23 +0000 (0:00:00.058) 0:00:13.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:23 +0000 (0:00:00.030) 0:00:13.185 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:23 +0000 (0:00:00.270) 0:00:13.455 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmpjd6ece1_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:23 +0000 (0:00:00.362) 0:00:13.818 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:24 +0000 (0:00:00.291) 0:00:14.110 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:24 +0000 (0:00:00.046) 0:00:14.157 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:24 +0000 (0:00:00.086) 0:00:14.243 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:24 +0000 (0:00:00.043) 0:00:14.287 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:24 +0000 (0:00:00.057) 0:00:14.345 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 December 2023 22:04:24 +0000 (0:00:00.180) 0:00:14.525 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:04:24 +0000 (0:00:00.037) 0:00:14.563 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:04:24 +0000 (0:00:00.083) 0:00:14.646 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:24 +0000 (0:00:00.040) 0:00:14.687 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:04:24 +0000 (0:00:00.148) 0:00:14.835 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:04:24 +0000 (0:00:00.024) 0:00:14.860 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:24 +0000 (0:00:00.076) 0:00:14.936 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:25 +0000 (0:00:00.039) 0:00:14.976 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541864.0977473, "block_size": 4096, "blocks": 8, "ctime": 1703541864.0977473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541864.0977473, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:25 +0000 (0:00:00.162) 0:00:15.138 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:25 +0000 (0:00:00.032) 0:00:15.171 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021814", "end": "2023-12-25 22:04:25.375616", "rc": 1, "start": "2023-12-25 22:04:25.353802" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:25 +0000 (0:00:00.174) 0:00:15.346 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:25 +0000 (0:00:00.023) 0:00:15.369 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003881", "end": "2023-12-25 22:04:25.553926", "rc": 0, "start": "2023-12-25 22:04:25.550045" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:25 +0000 (0:00:00.178) 0:00:15.547 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:25 +0000 (0:00:00.032) 0:00:15.579 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003883", "end": "2023-12-25 22:04:25.759502", "rc": 0, "start": "2023-12-25 22:04:25.755619" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:25 +0000 (0:00:00.152) 0:00:15.732 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:04:25 +0000 (0:00:00.026) 0:00:15.758 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:04:25 +0000 (0:00:00.023) 0:00:15.782 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:04:25 +0000 (0:00:00.023) 0:00:15.805 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:04:25 +0000 (0:00:00.023) 0:00:15.828 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:04:25 +0000 (0:00:00.032) 0:00:15.861 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:04:25 +0000 (0:00:00.061) 0:00:15.923 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:04:26 +0000 (0:00:00.054) 0:00:15.978 ******* 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.044585", "end": "2023-12-25 22:04:26.197341", "rc": 1, "start": "2023-12-25 22:04:26.152756" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:65 Monday 25 December 2023 22:04:26 +0000 (0:00:00.195) 0:00:16.173 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:26 +0000 (0:00:00.038) 0:00:16.212 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:26 +0000 (0:00:00.022) 0:00:16.234 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:26 +0000 (0:00:00.049) 0:00:16.284 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:26 +0000 (0:00:00.034) 0:00:16.318 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:26 +0000 (0:00:00.032) 0:00:16.351 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003872", "end": "2023-12-25 22:04:26.525523", "rc": 0, "start": "2023-12-25 22:04:26.521651" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:26 +0000 (0:00:00.144) 0:00:16.495 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:26 +0000 (0:00:00.022) 0:00:16.518 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:26 +0000 (0:00:00.022) 0:00:16.540 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:04:26 +0000 (0:00:00.037) 0:00:16.578 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:26 +0000 (0:00:00.062) 0:00:16.641 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:26 +0000 (0:00:00.040) 0:00:16.681 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:26 +0000 (0:00:00.026) 0:00:16.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:26 +0000 (0:00:00.021) 0:00:16.728 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:26 +0000 (0:00:00.021) 0:00:16.750 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:27 +0000 (0:00:00.816) 0:00:17.567 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:28 +0000 (0:00:00.720) 0:00:18.287 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:28 +0000 (0:00:00.053) 0:00:18.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:28 +0000 (0:00:00.059) 0:00:18.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:28 +0000 (0:00:00.099) 0:00:18.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:28 +0000 (0:00:00.049) 0:00:18.549 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:28 +0000 (0:00:00.022) 0:00:18.572 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:28 +0000 (0:00:00.021) 0:00:18.593 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:28 +0000 (0:00:00.023) 0:00:18.617 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:28 +0000 (0:00:00.021) 0:00:18.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:28 +0000 (0:00:00.020) 0:00:18.659 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:28 +0000 (0:00:00.258) 0:00:18.918 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmpbeo3r89z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:29 +0000 (0:00:00.238) 0:00:19.156 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:29 +0000 (0:00:00.252) 0:00:19.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:29 +0000 (0:00:00.041) 0:00:19.450 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:29 +0000 (0:00:00.037) 0:00:19.487 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:29 +0000 (0:00:00.027) 0:00:19.515 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:29 +0000 (0:00:00.038) 0:00:19.553 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:04:29 +0000 (0:00:00.165) 0:00:19.718 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:29 +0000 (0:00:00.025) 0:00:19.744 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:04:29 +0000 (0:00:00.072) 0:00:19.816 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:29 +0000 (0:00:00.040) 0:00:19.857 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:29 +0000 (0:00:00.045) 0:00:19.903 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:30 +0000 (0:00:00.058) 0:00:19.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:30 +0000 (0:00:00.053) 0:00:20.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:30 +0000 (0:00:00.045) 0:00:20.061 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:31 +0000 (0:00:00.892) 0:00:20.953 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:31 +0000 (0:00:00.819) 0:00:21.773 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:31 +0000 (0:00:00.083) 0:00:21.856 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:31 +0000 (0:00:00.023) 0:00:21.879 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:31 +0000 (0:00:00.052) 0:00:21.932 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:32 +0000 (0:00:00.054) 0:00:21.987 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:32 +0000 (0:00:00.027) 0:00:22.014 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:32 +0000 (0:00:00.039) 0:00:22.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:32 +0000 (0:00:00.029) 0:00:22.083 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:32 +0000 (0:00:00.032) 0:00:22.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:32 +0000 (0:00:00.037) 0:00:22.153 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:32 +0000 (0:00:00.254) 0:00:22.407 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmptk6b64bc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:32 +0000 (0:00:00.296) 0:00:22.704 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:33 +0000 (0:00:00.590) 0:00:23.295 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:33 +0000 (0:00:00.032) 0:00:23.327 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:33 +0000 (0:00:00.025) 0:00:23.353 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:33 +0000 (0:00:00.023) 0:00:23.376 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:33 +0000 (0:00:00.019) 0:00:23.396 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:04:33 +0000 (0:00:00.162) 0:00:23.559 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:04:33 +0000 (0:00:00.046) 0:00:23.605 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:33 +0000 (0:00:00.041) 0:00:23.647 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541873.2028005, "block_size": 4096, "blocks": 0, "ctime": 1703541873.2018003, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 16948, "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": 1703541873.2018003, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:04:33 +0000 (0:00:00.145) 0:00:23.792 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:04:33 +0000 (0:00:00.023) 0:00:23.816 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:33 +0000 (0:00:00.038) 0:00:23.854 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:33 +0000 (0:00:00.021) 0:00:23.875 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541873.0107994, "block_size": 4096, "blocks": 8, "ctime": 1703541869.4337785, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703541869.4337785, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:34 +0000 (0:00:00.143) 0:00:24.019 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:34 +0000 (0:00:00.022) 0:00:24.042 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024260", "end": "2023-12-25 22:04:34.240711", "rc": 1, "start": "2023-12-25 22:04:34.216451" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:34 +0000 (0:00:00.178) 0:00:24.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:34 +0000 (0:00:00.028) 0:00:24.249 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003949", "end": "2023-12-25 22:04:34.447054", "rc": 0, "start": "2023-12-25 22:04:34.443105" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:34 +0000 (0:00:00.172) 0:00:24.421 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:34 +0000 (0:00:00.032) 0:00:24.453 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003905", "end": "2023-12-25 22:04:34.645498", "rc": 0, "start": "2023-12-25 22:04:34.641593" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:34 +0000 (0:00:00.186) 0:00:24.640 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:04:34 +0000 (0:00:00.027) 0:00:24.667 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:04:34 +0000 (0:00:00.025) 0:00:24.693 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:04:34 +0000 (0:00:00.042) 0:00:24.736 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:04:34 +0000 (0:00:00.047) 0:00:24.783 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:04:34 +0000 (0:00:00.036) 0:00:24.820 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:04:34 +0000 (0:00:00.026) 0:00:24.846 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:04:34 +0000 (0:00:00.047) 0:00:24.894 ******* ok: [sut] => { "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.051442", "end": "2023-12-25 22:04:35.131244", "rc": 0, "start": "2023-12-25 22:04:35.079802" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:83 Monday 25 December 2023 22:04:35 +0000 (0:00:00.229) 0:00:25.123 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:35 +0000 (0:00:00.052) 0:00:25.176 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:35 +0000 (0:00:00.040) 0:00:25.216 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:35 +0000 (0:00:00.056) 0:00:25.273 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:35 +0000 (0:00:00.041) 0:00:25.315 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:35 +0000 (0:00:00.072) 0:00:25.388 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003894", "end": "2023-12-25 22:04:35.566165", "rc": 0, "start": "2023-12-25 22:04:35.562271" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:35 +0000 (0:00:00.177) 0:00:25.565 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:35 +0000 (0:00:00.031) 0:00:25.597 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:35 +0000 (0:00:00.022) 0:00:25.620 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:04:35 +0000 (0:00:00.040) 0:00:25.661 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:35 +0000 (0:00:00.047) 0:00:25.709 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:35 +0000 (0:00:00.077) 0:00:25.786 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:35 +0000 (0:00:00.052) 0:00:25.839 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:35 +0000 (0:00:00.037) 0:00:25.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:36 +0000 (0:00:00.074) 0:00:25.951 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:36 +0000 (0:00:00.851) 0:00:26.802 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:37 +0000 (0:00:00.869) 0:00:27.672 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:37 +0000 (0:00:00.026) 0:00:27.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:37 +0000 (0:00:00.041) 0:00:27.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:37 +0000 (0:00:00.023) 0:00:27.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:37 +0000 (0:00:00.047) 0:00:27.811 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:37 +0000 (0:00:00.032) 0:00:27.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:37 +0000 (0:00:00.026) 0:00:27.871 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:37 +0000 (0:00:00.030) 0:00:27.902 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:37 +0000 (0:00:00.041) 0:00:27.944 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:38 +0000 (0:00:00.033) 0:00:27.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:38 +0000 (0:00:00.316) 0:00:28.294 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmp0lsahpd2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:38 +0000 (0:00:00.298) 0:00:28.592 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:38 +0000 (0:00:00.244) 0:00:28.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:38 +0000 (0:00:00.032) 0:00:28.870 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:38 +0000 (0:00:00.036) 0:00:28.907 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:39 +0000 (0:00:00.097) 0:00:29.004 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:39 +0000 (0:00:00.055) 0:00:29.060 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:04:39 +0000 (0:00:00.156) 0:00:29.216 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:04:39 +0000 (0:00:00.025) 0:00:29.241 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:39 +0000 (0:00:00.036) 0:00:29.278 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:39 +0000 (0:00:00.054) 0:00:29.332 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:39 +0000 (0:00:00.035) 0:00:29.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:39 +0000 (0:00:00.037) 0:00:29.405 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:39 +0000 (0:00:00.021) 0:00:29.427 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:40 +0000 (0:00:00.818) 0:00:30.245 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:41 +0000 (0:00:00.743) 0:00:30.989 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:41 +0000 (0:00:00.022) 0:00:31.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:41 +0000 (0:00:00.020) 0:00:31.032 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:41 +0000 (0:00:00.020) 0:00:31.052 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:41 +0000 (0:00:00.042) 0:00:31.095 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:41 +0000 (0:00:00.020) 0:00:31.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:41 +0000 (0:00:00.021) 0:00:31.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:41 +0000 (0:00:00.026) 0:00:31.163 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:41 +0000 (0:00:00.023) 0:00:31.186 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:41 +0000 (0:00:00.021) 0:00:31.207 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:41 +0000 (0:00:00.244) 0:00:31.452 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmpwdzrjrbv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:41 +0000 (0:00:00.233) 0:00:31.685 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:42 +0000 (0:00:00.500) 0:00:32.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:42 +0000 (0:00:00.061) 0:00:32.246 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:42 +0000 (0:00:00.043) 0:00:32.290 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:42 +0000 (0:00:00.026) 0:00:32.317 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:42 +0000 (0:00:00.082) 0:00:32.400 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:42 +0000 (0:00:00.139) 0:00:32.539 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:04:42 +0000 (0:00:00.038) 0:00:32.578 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:42 +0000 (0:00:00.040) 0:00:32.618 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:42 +0000 (0:00:00.051) 0:00:32.670 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:42 +0000 (0:00:00.037) 0:00:32.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:42 +0000 (0:00:00.025) 0:00:32.733 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:42 +0000 (0:00:00.044) 0:00:32.777 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:43 +0000 (0:00:00.947) 0:00:33.724 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:44 +0000 (0:00:00.769) 0:00:34.494 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:44 +0000 (0:00:00.087) 0:00:34.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:44 +0000 (0:00:00.050) 0:00:34.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:44 +0000 (0:00:00.048) 0:00:34.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:44 +0000 (0:00:00.075) 0:00:34.755 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:44 +0000 (0:00:00.040) 0:00:34.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:44 +0000 (0:00:00.043) 0:00:34.839 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:44 +0000 (0:00:00.072) 0:00:34.912 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:44 +0000 (0:00:00.024) 0:00:34.936 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:45 +0000 (0:00:00.022) 0:00:34.958 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:45 +0000 (0:00:00.347) 0:00:35.306 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmp9prnncws" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:45 +0000 (0:00:00.370) 0:00:35.677 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:46 +0000 (0:00:00.283) 0:00:35.960 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:46 +0000 (0:00:00.021) 0:00:35.981 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:46 +0000 (0:00:00.023) 0:00:36.005 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:46 +0000 (0:00:00.024) 0:00:36.029 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:46 +0000 (0:00:00.028) 0:00:36.058 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:04:46 +0000 (0:00:00.143) 0:00:36.201 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:04:46 +0000 (0:00:00.052) 0:00:36.254 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:04:46 +0000 (0:00:00.051) 0:00:36.305 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703541882.1388526, "block_size": 4096, "blocks": 0, "ctime": 1703541882.1378527, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 16948, "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": 1703541882.1378527, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:04:46 +0000 (0:00:00.174) 0:00:36.480 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:04:46 +0000 (0:00:00.076) 0:00:36.556 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:04:46 +0000 (0:00:00.036) 0:00:36.592 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:04:46 +0000 (0:00:00.022) 0:00:36.615 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:04:46 +0000 (0:00:00.152) 0:00:36.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:04:46 +0000 (0:00:00.045) 0:00:36.813 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022542", "end": "2023-12-25 22:04:47.004582", "rc": 1, "start": "2023-12-25 22:04:46.982040" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:04:47 +0000 (0:00:00.163) 0:00:36.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:04:47 +0000 (0:00:00.037) 0:00:37.014 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:04:47 +0000 (0:00:00.025) 0:00:37.040 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:04:47 +0000 (0:00:00.045) 0:00:37.086 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:04:47 +0000 (0:00:00.023) 0:00:37.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:04:47 +0000 (0:00:00.024) 0:00:37.134 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:04:47 +0000 (0:00:00.040) 0:00:37.174 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:04:47 +0000 (0:00:00.038) 0:00:37.213 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:04:47 +0000 (0:00:00.042) 0:00:37.256 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:04:47 +0000 (0:00:00.060) 0:00:37.316 ******* ok: [sut] => { "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.049782", "end": "2023-12-25 22:04:47.537244", "rc": 0, "start": "2023-12-25 22:04:47.487462" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:103 Monday 25 December 2023 22:04:47 +0000 (0:00:00.192) 0:00:37.509 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:04:47 +0000 (0:00:00.040) 0:00:37.550 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:04:47 +0000 (0:00:00.023) 0:00:37.573 ******* 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:04:47 +0000 (0:00:00.047) 0:00:37.620 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:04:47 +0000 (0:00:00.070) 0:00:37.691 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:04:47 +0000 (0:00:00.038) 0:00:37.729 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003777", "end": "2023-12-25 22:04:47.904276", "rc": 0, "start": "2023-12-25 22:04:47.900499" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:04:47 +0000 (0:00:00.158) 0:00:37.887 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:04:47 +0000 (0:00:00.034) 0:00:37.921 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:04:47 +0000 (0:00:00.022) 0:00:37.944 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:04:48 +0000 (0:00:00.086) 0:00:38.030 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:48 +0000 (0:00:00.048) 0:00:38.079 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:48 +0000 (0:00:00.092) 0:00:38.172 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:48 +0000 (0:00:00.030) 0:00:38.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:48 +0000 (0:00:00.037) 0:00:38.239 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:48 +0000 (0:00:00.074) 0:00:38.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 : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:49 +0000 (0:00:00.871) 0:00:39.185 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:49 +0000 (0:00:00.695) 0:00:39.880 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:49 +0000 (0:00:00.028) 0:00:39.909 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:49 +0000 (0:00:00.028) 0:00:39.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:50 +0000 (0:00:00.022) 0:00:39.960 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:50 +0000 (0:00:00.061) 0:00:40.022 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:50 +0000 (0:00:00.023) 0:00:40.046 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:50 +0000 (0:00:00.021) 0:00:40.067 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:50 +0000 (0:00:00.025) 0:00:40.093 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:50 +0000 (0:00:00.021) 0:00:40.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:50 +0000 (0:00:00.020) 0:00:40.135 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:50 +0000 (0:00:00.240) 0:00:40.375 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmpjj34x3t3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:50 +0000 (0:00:00.230) 0:00:40.606 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:50 +0000 (0:00:00.242) 0:00:40.849 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:50 +0000 (0:00:00.021) 0:00:40.870 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:50 +0000 (0:00:00.023) 0:00:40.894 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:50 +0000 (0:00:00.021) 0:00:40.916 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:50 +0000 (0:00:00.021) 0:00:40.937 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:04:51 +0000 (0:00:00.138) 0:00:41.075 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:04:51 +0000 (0:00:00.028) 0:00:41.103 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:51 +0000 (0:00:00.035) 0:00:41.139 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:51 +0000 (0:00:00.040) 0:00:41.180 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:51 +0000 (0:00:00.027) 0:00:41.207 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:51 +0000 (0:00:00.031) 0:00:41.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:51 +0000 (0:00:00.024) 0:00:41.263 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:52 +0000 (0:00:00.803) 0:00:42.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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:52 +0000 (0:00:00.684) 0:00:42.751 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:52 +0000 (0:00:00.023) 0:00:42.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:52 +0000 (0:00:00.021) 0:00:42.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:52 +0000 (0:00:00.021) 0:00:42.817 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:52 +0000 (0:00:00.043) 0:00:42.860 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:52 +0000 (0:00:00.022) 0:00:42.882 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:52 +0000 (0:00:00.023) 0:00:42.905 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:52 +0000 (0:00:00.024) 0:00:42.930 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:53 +0000 (0:00:00.024) 0:00:42.954 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:53 +0000 (0:00:00.021) 0:00:42.976 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:53 +0000 (0:00:00.261) 0:00:43.237 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmp00d6ae87" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:53 +0000 (0:00:00.249) 0:00:43.486 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:54 +0000 (0:00:00.498) 0:00:43.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:54 +0000 (0:00:00.021) 0:00:44.007 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:54 +0000 (0:00:00.022) 0:00:44.029 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:54 +0000 (0:00:00.024) 0:00:44.054 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:54 +0000 (0:00:00.025) 0:00:44.080 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:04:54 +0000 (0:00:00.137) 0:00:44.218 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:54 +0000 (0:00:00.037) 0:00:44.255 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:54 +0000 (0:00:00.038) 0:00:44.294 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:54 +0000 (0:00:00.026) 0:00:44.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:54 +0000 (0:00:00.020) 0:00:44.342 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:54 +0000 (0:00:00.047) 0:00:44.389 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:55 +0000 (0:00:00.813) 0:00:45.203 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:55 +0000 (0:00:00.686) 0:00:45.889 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:55 +0000 (0:00:00.040) 0:00:45.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:56 +0000 (0:00:00.081) 0:00:46.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:56 +0000 (0:00:00.047) 0:00:46.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:56 +0000 (0:00:00.051) 0:00:46.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:56 +0000 (0:00:00.022) 0:00:46.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:56 +0000 (0:00:00.021) 0:00:46.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:56 +0000 (0:00:00.024) 0:00:46.180 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:56 +0000 (0:00:00.056) 0:00:46.236 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:56 +0000 (0:00:00.056) 0:00:46.292 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:56 +0000 (0:00:00.275) 0:00:46.567 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmpj858o2rl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:04:56 +0000 (0:00:00.322) 0:00:46.890 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:04:57 +0000 (0:00:00.282) 0:00:47.173 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:04:57 +0000 (0:00:00.031) 0:00:47.204 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:04:57 +0000 (0:00:00.032) 0:00:47.236 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:04:57 +0000 (0:00:00.040) 0:00:47.277 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:04:57 +0000 (0:00:00.028) 0:00:47.306 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:04:57 +0000 (0:00:00.140) 0:00:47.446 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:04:57 +0000 (0:00:00.043) 0:00:47.490 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:04:57 +0000 (0:00:00.051) 0:00:47.542 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:04:57 +0000 (0:00:00.085) 0:00:47.627 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:04:57 +0000 (0:00:00.039) 0:00:47.667 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:04:57 +0000 (0:00:00.031) 0:00:47.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:04:57 +0000 (0:00:00.031) 0:00:47.730 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:04:58 +0000 (0:00:00.820) 0:00:48.551 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:04:59 +0000 (0:00:00.686) 0:00:49.238 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:04:59 +0000 (0:00:00.029) 0:00:49.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:04:59 +0000 (0:00:00.027) 0:00:49.294 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:04:59 +0000 (0:00:00.023) 0:00:49.318 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:04:59 +0000 (0:00:00.047) 0:00:49.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:04:59 +0000 (0:00:00.022) 0:00:49.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:04:59 +0000 (0:00:00.021) 0:00:49.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:04:59 +0000 (0:00:00.081) 0:00:49.492 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:04:59 +0000 (0:00:00.021) 0:00:49.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:04:59 +0000 (0:00:00.020) 0:00:49.534 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:04:59 +0000 (0:00:00.241) 0:00:49.776 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmp_urbdfap" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:00 +0000 (0:00:00.236) 0:00:50.012 ******* 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:00 +0000 (0:00:00.244) 0:00:50.257 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:00 +0000 (0:00:00.022) 0:00:50.280 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:00 +0000 (0:00:00.033) 0:00:50.313 ******* 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:00 +0000 (0:00:00.025) 0:00:50.338 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:00 +0000 (0:00:00.036) 0:00:50.375 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:05:00 +0000 (0:00:00.147) 0:00:50.522 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:05:00 +0000 (0:00:00.038) 0:00:50.561 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:05:00 +0000 (0:00:00.036) 0:00:50.598 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:05:00 +0000 (0:00:00.047) 0:00:50.645 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:05:00 +0000 (0:00:00.142) 0:00:50.787 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:05:00 +0000 (0:00:00.020) 0:00:50.808 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023517", "end": "2023-12-25 22:05:01.002497", "rc": 1, "start": "2023-12-25 22:05:00.978980" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:05:01 +0000 (0:00:00.163) 0:00:50.972 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:05:01 +0000 (0:00:00.023) 0:00:50.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:05:01 +0000 (0:00:00.022) 0:00:51.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:05:01 +0000 (0:00:00.022) 0:00:51.040 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:05:01 +0000 (0:00:00.023) 0:00:51.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:05:01 +0000 (0:00:00.022) 0:00:51.086 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:05:01 +0000 (0:00:00.023) 0:00:51.110 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:05:01 +0000 (0:00:00.025) 0:00:51.135 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:05:01 +0000 (0:00:00.025) 0:00:51.160 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:05:01 +0000 (0:00:00.038) 0:00:51.199 ******* ok: [sut] => { "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.050478", "end": "2023-12-25 22:05:01.421192", "rc": 0, "start": "2023-12-25 22:05:01.370714" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tests_states.yml:126 Monday 25 December 2023 22:05:01 +0000 (0:00:00.199) 0:00:51.398 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:05:01 +0000 (0:00:00.042) 0:00:51.440 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:05:01 +0000 (0:00:00.055) 0:00:51.496 ******* 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": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:05:01 +0000 (0:00:00.047) 0:00:51.543 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:05:01 +0000 (0:00:00.033) 0:00:51.577 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:05:01 +0000 (0:00:00.032) 0:00:51.610 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003773", "end": "2023-12-25 22:05:01.783056", "rc": 0, "start": "2023-12-25 22:05:01.779283" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:05:01 +0000 (0:00:00.142) 0:00:51.753 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:05:01 +0000 (0:00:00.023) 0:00:51.776 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:05:01 +0000 (0:00:00.020) 0:00:51.797 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:05:01 +0000 (0:00:00.042) 0:00:51.840 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:05:01 +0000 (0:00:00.035) 0:00:51.875 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:05:01 +0000 (0:00:00.040) 0:00:51.916 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:05:02 +0000 (0:00:00.044) 0:00:51.960 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:05:02 +0000 (0:00:00.038) 0:00:51.998 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:05:02 +0000 (0:00:00.059) 0:00:52.058 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:05:02 +0000 (0:00:00.842) 0:00:52.901 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:05:03 +0000 (0:00:00.704) 0:00:53.606 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:05:03 +0000 (0:00:00.031) 0:00:53.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:05:03 +0000 (0:00:00.033) 0:00:53.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:05:03 +0000 (0:00:00.022) 0:00:53.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:05:03 +0000 (0:00:00.078) 0:00:53.771 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:05:03 +0000 (0:00:00.040) 0:00:53.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:05:03 +0000 (0:00:00.030) 0:00:53.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:05:03 +0000 (0:00:00.075) 0:00:53.917 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:05:04 +0000 (0:00:00.048) 0:00:53.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:05:04 +0000 (0:00:00.079) 0:00:54.046 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:05:04 +0000 (0:00:00.378) 0:00:54.424 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmp803a1w0z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:04 +0000 (0:00:00.260) 0:00:54.684 ******* 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:05 +0000 (0:00:00.370) 0:00:55.054 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:05 +0000 (0:00:00.038) 0:00:55.093 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:05 +0000 (0:00:00.023) 0:00:55.116 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:05 +0000 (0:00:00.030) 0:00:55.147 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:05 +0000 (0:00:00.045) 0:00:55.192 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:05:05 +0000 (0:00:00.160) 0:00:55.353 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:05:05 +0000 (0:00:00.041) 0:00:55.395 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:05:05 +0000 (0:00:00.055) 0:00:55.450 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:05:05 +0000 (0:00:00.075) 0:00:55.526 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:05:05 +0000 (0:00:00.034) 0:00:55.560 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:05:05 +0000 (0:00:00.034) 0:00:55.595 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:05:05 +0000 (0:00:00.062) 0:00:55.658 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:05:06 +0000 (0:00:00.808) 0:00:56.466 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:05:07 +0000 (0:00:00.693) 0:00:57.159 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:05:07 +0000 (0:00:00.058) 0:00:57.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:05:07 +0000 (0:00:00.046) 0:00:57.265 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:05:07 +0000 (0:00:00.034) 0:00:57.299 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:05:07 +0000 (0:00:00.063) 0:00:57.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:05:07 +0000 (0:00:00.041) 0:00:57.404 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:05:07 +0000 (0:00:00.033) 0:00:57.437 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:05:07 +0000 (0:00:00.046) 0:00:57.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:05:07 +0000 (0:00:00.097) 0:00:57.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:05:07 +0000 (0:00:00.024) 0:00:57.607 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:05:07 +0000 (0:00:00.261) 0:00:57.869 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmp8utnkqgm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:08 +0000 (0:00:00.288) 0:00:58.157 ******* changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:08 +0000 (0:00:00.544) 0:00:58.702 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:08 +0000 (0:00:00.046) 0:00:58.748 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:08 +0000 (0:00:00.095) 0:00:58.844 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:09 +0000 (0:00:00.111) 0:00:58.955 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:09 +0000 (0:00:00.028) 0:00:58.984 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:05:09 +0000 (0:00:00.180) 0:00:59.165 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:05:09 +0000 (0:00:00.070) 0:00:59.235 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:05:09 +0000 (0:00:00.081) 0:00:59.317 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:05:09 +0000 (0:00:00.028) 0:00:59.345 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:05:09 +0000 (0:00:00.023) 0:00:59.369 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:05:09 +0000 (0:00:00.052) 0:00:59.421 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:05:10 +0000 (0:00:00.849) 0:01:00.271 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:05:11 +0000 (0:00:00.698) 0:01:00.969 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:05:11 +0000 (0:00:00.022) 0:01:00.992 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:05:11 +0000 (0:00:00.035) 0:01:01.027 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:05:11 +0000 (0:00:00.023) 0:01:01.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.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:05:11 +0000 (0:00:00.073) 0:01:01.124 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:05:11 +0000 (0:00:00.026) 0:01:01.151 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:05:11 +0000 (0:00:00.022) 0:01:01.173 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:05:11 +0000 (0:00:00.032) 0:01:01.206 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:05:11 +0000 (0:00:00.042) 0:01:01.248 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:05:11 +0000 (0:00:00.027) 0:01:01.275 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:05:11 +0000 (0:00:00.326) 0:01:01.601 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmpk1l_tzx8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:11 +0000 (0:00:00.299) 0:01:01.900 ******* 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:12 +0000 (0:00:00.268) 0:01:02.169 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:12 +0000 (0:00:00.021) 0:01:02.190 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:12 +0000 (0:00:00.024) 0:01:02.214 ******* 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:12 +0000 (0:00:00.026) 0:01:02.241 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:12 +0000 (0:00:00.024) 0:01:02.265 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:05:12 +0000 (0:00:00.138) 0:01:02.404 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:05:12 +0000 (0:00:00.051) 0:01:02.455 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 25 December 2023 22:05:12 +0000 (0:00:00.041) 0:01:02.497 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 25 December 2023 22:05:12 +0000 (0:00:00.039) 0:01:02.537 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 25 December 2023 22:05:12 +0000 (0:00:00.047) 0:01:02.584 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 25 December 2023 22:05:12 +0000 (0:00:00.040) 0:01:02.624 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 25 December 2023 22:05:12 +0000 (0:00:00.024) 0:01:02.649 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 25 December 2023 22:05:13 +0000 (0:00:00.841) 0:01:03.490 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 25 December 2023 22:05:14 +0000 (0:00:00.681) 0:01:04.171 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 25 December 2023 22:05:14 +0000 (0:00:00.022) 0:01:04.194 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 25 December 2023 22:05:14 +0000 (0:00:00.020) 0:01:04.214 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 25 December 2023 22:05:14 +0000 (0:00:00.025) 0:01:04.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Monday 25 December 2023 22:05:14 +0000 (0:00:00.045) 0:01:04.286 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Monday 25 December 2023 22:05:14 +0000 (0:00:00.021) 0:01:04.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Monday 25 December 2023 22:05:14 +0000 (0:00:00.025) 0:01:04.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Monday 25 December 2023 22:05:14 +0000 (0:00:00.034) 0:01:04.367 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Monday 25 December 2023 22:05:14 +0000 (0:00:00.025) 0:01:04.393 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 25 December 2023 22:05:14 +0000 (0:00:00.023) 0:01:04.417 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Monday 25 December 2023 22:05:14 +0000 (0:00:00.270) 0:01:04.687 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16962f1jrpbh5/tmphgv44znb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 25 December 2023 22:05:14 +0000 (0:00:00.234) 0:01:04.921 ******* 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Monday 25 December 2023 22:05:15 +0000 (0:00:00.250) 0:01:05.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Monday 25 December 2023 22:05:15 +0000 (0:00:00.027) 0:01:05.200 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Monday 25 December 2023 22:05:15 +0000 (0:00:00.042) 0:01:05.242 ******* 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Monday 25 December 2023 22:05:15 +0000 (0:00:00.043) 0:01:05.285 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Monday 25 December 2023 22:05:15 +0000 (0:00:00.050) 0:01:05.335 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:05:15 +0000 (0:00:00.144) 0:01:05.480 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:05:15 +0000 (0:00:00.044) 0:01:05.525 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:05:15 +0000 (0:00:00.038) 0:01:05.563 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:05:15 +0000 (0:00:00.023) 0:01:05.586 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:05:15 +0000 (0:00:00.191) 0:01:05.778 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:05:15 +0000 (0:00:00.028) 0:01:05.806 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022685", "end": "2023-12-25 22:05:16.015933", "rc": 1, "start": "2023-12-25 22:05:15.993248" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:05:16 +0000 (0:00:00.186) 0:01:05.993 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:05:16 +0000 (0:00:00.041) 0:01:06.035 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:05:16 +0000 (0:00:00.045) 0:01:06.080 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:05:16 +0000 (0:00:00.047) 0:01:06.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:05:16 +0000 (0:00:00.037) 0:01:06.166 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:05:16 +0000 (0:00:00.023) 0:01:06.190 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 December 2023 22:05:16 +0000 (0:00:00.026) 0:01:06.216 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.433789", "end": "2023-12-25 22:05:16.825619", "rc": 0, "start": "2023-12-25 22:05:16.391830" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 December 2023 22:05:16 +0000 (0:00:00.601) 0:01:06.817 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 December 2023 22:05:16 +0000 (0:00:00.053) 0:01:06.870 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:05:16 +0000 (0:00:00.036) 0:01:06.907 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:05:17 +0000 (0:00:00.047) 0:01:06.954 ******* ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:05:17 +0000 (0:00:00.036) 0:01:06.991 ******* included: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:05:17 +0000 (0:00:00.047) 0:01:07.038 ******* ok: [sut] => { "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.050519", "end": "2023-12-25 22:05:17.289206", "rc": 0, "start": "2023-12-25 22:05:17.238687" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Monday 25 December 2023 22:05:17 +0000 (0:00:00.212) 0:01:07.251 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.13s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.71s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.55s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.37s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Get the ansible_managed comment in ifcfg-statebr ------------------------ 1.16s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/playbooks/tasks/get_profile_stat.yml:49 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.07s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.02s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.95s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.93s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 0.90s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.87s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.84s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-ansible-lint-test-2.16u3n9drkb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---