# 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.16l_ge3uwc/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.16l_ge3uwc/tests/tests_states_initscripts.yml:4 Thursday 14 December 2023 17:36: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.16l_ge3uwc/tests/tests_states_initscripts.yml:8 Thursday 14 December 2023 17:36:10 +0000 (0:00:00.545) 0:00:00.558 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/tasks/el_repo_setup.yml:3 Thursday 14 December 2023 17:36:10 +0000 (0:00:00.021) 0:00:00.579 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/tasks/el_repo_setup.yml:19 Thursday 14 December 2023 17:36:11 +0000 (0:00:00.213) 0:00:00.793 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/tasks/el_repo_setup.yml:24 Thursday 14 December 2023 17:36:11 +0000 (0:00:00.199) 0:00:00.993 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/tasks/el_repo_setup.yml:28 Thursday 14 December 2023 17:36:11 +0000 (0:00:00.020) 0:00:01.013 ***** 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.16l_ge3uwc/tests/tasks/el_repo_setup.yml:53 Thursday 14 December 2023 17:36:11 +0000 (0:00:00.016) 0:00:01.029 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/tasks/enable_epel.yml:8 Thursday 14 December 2023 17:36:11 +0000 (0:00:00.030) 0:00:01.060 ***** 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.16l_ge3uwc/tests/tasks/enable_epel.yml:24 Thursday 14 December 2023 17:36:11 +0000 (0:00:00.183) 0:00:01.243 ***** 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.16l_ge3uwc/tests/tasks/enable_epel.yml:30 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.457) 0:00:01.701 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.199722", "end": "2023-12-14 17:36:12.402569", "rc": 0, "start": "2023-12-14 17:36:12.202847" } 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.16l_ge3uwc/tests/tasks/enable_epel.yml:35 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.324) 0:00:02.026 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/tasks/enable_epel.yml:40 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.010) 0:00:02.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/tests_states_initscripts.yml:10 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.021) 0:00:02.058 ***** 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.16l_ge3uwc/tests/playbooks/tests_states.yml:3 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.016) 0:00:02.075 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tests_states.yml:11 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.416) 0:00:02.492 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tests_states.yml:22 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.010) 0:00:02.503 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.016) 0:00:02.519 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.010) 0:00:02.530 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.036) 0:00:02.566 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.014) 0:00:02.581 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:12 +0000 (0:00:00.014) 0:00:02.595 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003732", "end": "2023-12-14 17:36:13.102493", "rc": 0, "start": "2023-12-14 17:36:13.098761" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.128) 0:00:02.724 ***** 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.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.011) 0:00:02.736 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.011) 0:00:02.748 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.019) 0:00:02.768 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011783", "end": "2023-12-14 17:36:13.281348", "rc": 1, "start": "2023-12-14 17:36:13.269565" } 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.16l_ge3uwc/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.134) 0:00:02.902 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.014) 0:00:02.917 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.123) 0:00:03.041 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.011) 0:00:03.053 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.016) 0:00:03.069 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.033) 0:00:03.103 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.068) 0:00:03.171 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.012) 0:00:03.183 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.010) 0:00:03.194 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:13 +0000 (0:00:00.009) 0:00:03.204 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:14 +0000 (0:00:00.815) 0:00:04.019 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:15 +0000 (0:00:00.849) 0:00:04.868 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:15 +0000 (0:00:00.022) 0:00:04.891 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:15 +0000 (0:00:00.020) 0:00:04.912 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:15 +0000 (0:00:00.022) 0:00:04.934 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:18 +0000 (0:00:02.754) 0:00:07.689 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.022) 0:00:07.711 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.021) 0:00:07.733 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.067) 0:00:07.800 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.035) 0:00:07.835 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.020) 0:00:07.856 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.384) 0:00:08.240 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmpszvn645a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:18 +0000 (0:00:00.260) 0:00:08.501 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.357) 0:00:08.858 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.026) 0:00:08.885 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.022) 0:00:08.908 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.041) 0:00:08.949 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.048) 0:00:08.998 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.217) 0:00:09.215 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.021) 0:00:09.237 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.036) 0:00:09.274 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.054) 0:00:09.328 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.020) 0:00:09.348 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575379.223297, "block_size": 4096, "blocks": 8, "ctime": 1702575379.223297, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702575379.223297, "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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.133) 0:00:09.482 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:36:19 +0000 (0:00:00.021) 0:00:09.504 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025052", "end": "2023-12-14 17:36:20.031087", "rc": 1, "start": "2023-12-14 17:36:20.006035" } 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.158) 0:00:09.662 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.021) 0:00:09.684 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003659", "end": "2023-12-14 17:36:20.190577", "rc": 0, "start": "2023-12-14 17:36:20.186918" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.139) 0:00:09.823 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.032) 0:00:09.855 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003413", "end": "2023-12-14 17:36:20.371485", "rc": 0, "start": "2023-12-14 17:36:20.368072" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.148) 0:00:10.004 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.025) 0:00:10.029 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.022) 0:00:10.052 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.022) 0:00:10.074 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.021) 0:00:10.096 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.023) 0:00:10.119 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.021) 0:00:10.141 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.060) 0:00:10.201 ***** 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.045694", "end": "2023-12-14 17:36:20.757884", "rc": 1, "start": "2023-12-14 17:36:20.712190" } 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.16l_ge3uwc/tests/playbooks/tests_states.yml:45 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.188) 0:00:10.389 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.034) 0:00:10.424 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.020) 0:00:10.445 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.043) 0:00:10.488 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.033) 0:00:10.522 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:20 +0000 (0:00:00.033) 0:00:10.556 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005077", "end": "2023-12-14 17:36:22.066790", "rc": 0, "start": "2023-12-14 17:36:21.061713" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:22 +0000 (0:00:01.143) 0:00:11.700 ***** 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.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.022) 0:00:11.722 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.044) 0:00:11.767 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/delete_interface.yml:3 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.042) 0:00:11.809 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007782", "end": "2023-12-14 17:36:22.325460", "rc": 1, "start": "2023-12-14 17:36:22.317678" } 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.16l_ge3uwc/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.150) 0:00:11.960 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.033) 0:00:11.993 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.134) 0:00:12.128 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.022) 0:00:12.151 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.039) 0:00:12.190 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.047) 0:00:12.238 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.037) 0:00:12.276 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.024) 0:00:12.300 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.019) 0:00:12.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:22 +0000 (0:00:00.018) 0:00:12.339 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:23 +0000 (0:00:00.773) 0:00:13.112 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.644) 0:00:13.757 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.022) 0:00:13.780 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.020) 0:00:13.800 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.020) 0:00:13.820 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.042) 0:00:13.863 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.020) 0:00:13.883 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.022) 0:00:13.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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.026) 0:00:13.932 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.021) 0:00:13.953 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.042) 0:00:13.995 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.235) 0:00:14.231 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmpoxuj3o1p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:24 +0000 (0:00:00.216) 0:00:14.447 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.226) 0:00:14.673 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.020) 0:00:14.694 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.021) 0:00:14.716 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.022) 0:00:14.738 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.020) 0:00:14.758 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.131) 0:00:14.890 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.022) 0:00:14.912 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.042) 0:00:14.954 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.034) 0:00:14.989 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.136) 0:00:15.126 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.046) 0:00:15.172 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.035) 0:00:15.208 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.020) 0:00:15.229 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575385.0401418, "block_size": 4096, "blocks": 8, "ctime": 1702575385.0401418, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702575385.0401418, "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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.134) 0:00:15.363 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.023) 0:00:15.386 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024296", "end": "2023-12-14 17:36:25.912176", "rc": 1, "start": "2023-12-14 17:36:25.887880" } 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.166) 0:00:15.553 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:36:25 +0000 (0:00:00.029) 0:00:15.582 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003759", "end": "2023-12-14 17:36:26.126046", "rc": 0, "start": "2023-12-14 17:36:26.122287" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.199) 0:00:15.781 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.035) 0:00:15.817 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003531", "end": "2023-12-14 17:36:26.336807", "rc": 0, "start": "2023-12-14 17:36:26.333276" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.152) 0:00:15.969 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.032) 0:00:16.002 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.038) 0:00:16.041 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.025) 0:00:16.067 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.028) 0:00:16.095 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.030) 0:00:16.126 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.058) 0:00:16.184 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.070) 0:00:16.255 ***** 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.045532", "end": "2023-12-14 17:36:26.807848", "rc": 1, "start": "2023-12-14 17:36:26.762316" } 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.16l_ge3uwc/tests/playbooks/tests_states.yml:65 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.198) 0:00:16.453 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.048) 0:00:16.501 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.025) 0:00:16.527 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:36:26 +0000 (0:00:00.056) 0:00:16.584 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.046) 0:00:16.630 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.039) 0:00:16.670 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003409", "end": "2023-12-14 17:36:27.176365", "rc": 0, "start": "2023-12-14 17:36:27.172956" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.137) 0:00:16.808 ***** 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.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.026) 0:00:16.834 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.021) 0:00:16.856 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.036) 0:00:16.892 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.055) 0:00:16.948 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.038) 0:00:16.986 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.025) 0:00:17.012 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.020) 0:00:17.033 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:27 +0000 (0:00:00.021) 0:00:17.054 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.748) 0:00:17.803 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.651) 0:00:18.454 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.022) 0:00:18.477 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.020) 0:00:18.497 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.041) 0:00:18.539 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.042) 0:00:18.581 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:28 +0000 (0:00:00.020) 0:00:18.602 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.020) 0:00:18.623 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.023) 0:00:18.646 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.022) 0:00:18.669 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.029) 0:00:18.698 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.235) 0:00:18.934 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmpju60uoq5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.219) 0:00:19.153 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.252) 0:00:19.406 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.021) 0:00:19.427 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.022) 0:00:19.450 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.021) 0:00:19.471 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:29 +0000 (0:00:00.020) 0:00:19.492 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:36:30 +0000 (0:00:00.136) 0:00:19.629 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:36:30 +0000 (0:00:00.021) 0:00:19.651 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 December 2023 17:36:30 +0000 (0:00:00.063) 0:00:19.714 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:30 +0000 (0:00:00.075) 0:00:19.790 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:30 +0000 (0:00:00.050) 0:00:19.840 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:30 +0000 (0:00:00.027) 0:00:19.868 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:30 +0000 (0:00:00.032) 0:00:19.901 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:30 +0000 (0:00:00.033) 0:00:19.934 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.768) 0:00:20.703 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.663) 0:00:21.367 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.021) 0:00:21.388 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.021) 0:00:21.410 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.021) 0:00:21.432 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.046) 0:00:21.478 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.021) 0:00:21.500 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.027) 0:00:21.528 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.026) 0:00:21.554 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:31 +0000 (0:00:00.028) 0:00:21.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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:32 +0000 (0:00:00.027) 0:00:21.610 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:32 +0000 (0:00:00.232) 0:00:21.842 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmp0588dh2b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:32 +0000 (0:00:00.224) 0:00:22.066 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:32 +0000 (0:00:00.476) 0:00:22.542 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:32 +0000 (0:00:00.020) 0:00:22.563 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:32 +0000 (0:00:00.021) 0:00:22.584 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.045) 0:00:22.629 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.023) 0:00:22.653 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.141) 0:00:22.795 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.044) 0:00:22.839 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.035) 0:00:22.875 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575392.8349335, "block_size": 4096, "blocks": 0, "ctime": 1702575392.8339336, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17506, "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": 1702575392.8339336, "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.16l_ge3uwc/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.139) 0:00:23.014 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.023) 0:00:23.037 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.044) 0:00:23.081 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.023) 0:00:23.105 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575392.6569383, "block_size": 4096, "blocks": 8, "ctime": 1702575389.7520158, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427531, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702575389.7520158, "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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.137) 0:00:23.243 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.028) 0:00:23.271 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023792", "end": "2023-12-14 17:36:33.801108", "rc": 1, "start": "2023-12-14 17:36:33.777316" } 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.161) 0:00:23.432 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:36:33 +0000 (0:00:00.022) 0:00:23.454 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003473", "end": "2023-12-14 17:36:33.963339", "rc": 0, "start": "2023-12-14 17:36:33.959866" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.166) 0:00:23.621 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.025) 0:00:23.647 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003440", "end": "2023-12-14 17:36:34.158495", "rc": 0, "start": "2023-12-14 17:36:34.155055" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.145) 0:00:23.792 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.026) 0:00:23.818 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.023) 0:00:23.842 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.023) 0:00:23.865 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.021) 0:00:23.887 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.019) 0:00:23.907 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.022) 0:00:23.929 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.037) 0:00:23.967 ***** 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.051869", "end": "2023-12-14 17:36:34.521610", "rc": 0, "start": "2023-12-14 17:36:34.469741" } 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.16l_ge3uwc/tests/playbooks/tests_states.yml:83 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.190) 0:00:24.157 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.035) 0:00:24.193 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.024) 0:00:24.217 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.045) 0:00:24.263 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.033) 0:00:24.296 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:34 +0000 (0:00:00.062) 0:00:24.359 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005014", "end": "2023-12-14 17:36:35.866239", "rc": 0, "start": "2023-12-14 17:36:34.861225" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:35 +0000 (0:00:01.141) 0:00:25.500 ***** 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.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:35 +0000 (0:00:00.021) 0:00:25.522 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:36:35 +0000 (0:00:00.020) 0:00:25.543 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:36:35 +0000 (0:00:00.040) 0:00:25.583 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:36 +0000 (0:00:00.034) 0:00:25.618 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:36 +0000 (0:00:00.039) 0:00:25.657 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:36 +0000 (0:00:00.025) 0:00:25.683 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:36 +0000 (0:00:00.020) 0:00:25.703 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:36 +0000 (0:00:00.039) 0:00:25.743 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:36 +0000 (0:00:00.756) 0:00:26.499 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.656) 0:00:27.156 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.022) 0:00:27.178 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.021) 0:00:27.200 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.023) 0:00:27.223 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.042) 0:00:27.266 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.021) 0:00:27.288 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.022) 0:00:27.310 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.026) 0:00:27.336 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.020) 0:00:27.357 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:37 +0000 (0:00:00.052) 0:00:27.410 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.231) 0:00:27.642 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmpfjweud42" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.243) 0:00:27.885 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.235) 0:00:28.121 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.022) 0:00:28.143 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.026) 0:00:28.170 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.025) 0:00:28.195 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.027) 0:00:28.223 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.158) 0:00:28.381 ***** 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.16l_ge3uwc/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.053) 0:00:28.435 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.041) 0:00:28.476 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.041) 0:00:28.518 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:38 +0000 (0:00:00.042) 0:00:28.561 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:39 +0000 (0:00:00.075) 0:00:28.636 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:39 +0000 (0:00:00.023) 0:00:28.660 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:39 +0000 (0:00:00.758) 0:00:29.418 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.661) 0:00:30.080 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.051) 0:00:30.131 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.038) 0:00:30.170 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.025) 0:00:30.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.068) 0:00:30.264 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.078) 0:00:30.342 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.039) 0:00:30.382 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.053) 0:00:30.435 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.022) 0:00:30.457 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:40 +0000 (0:00:00.033) 0:00:30.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.277) 0:00:30.768 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmprww1zqgb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.222) 0:00:30.991 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.473) 0:00:31.464 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.029) 0:00:31.494 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.023) 0:00:31.518 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.021) 0:00:31.540 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:41 +0000 (0:00:00.021) 0:00:31.561 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:36:42 +0000 (0:00:00.134) 0:00:31.696 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 December 2023 17:36:42 +0000 (0:00:00.037) 0:00:31.733 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:42 +0000 (0:00:00.037) 0:00:31.771 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:42 +0000 (0:00:00.063) 0:00:31.835 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:42 +0000 (0:00:00.026) 0:00:31.861 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:42 +0000 (0:00:00.021) 0:00:31.882 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:42 +0000 (0:00:00.020) 0:00:31.903 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.766) 0:00:32.670 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.649) 0:00:33.319 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.022) 0:00:33.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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.021) 0:00:33.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.029) 0:00:33.392 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.067) 0:00:33.460 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.033) 0:00:33.493 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.052) 0:00:33.546 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.031) 0:00:33.577 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:43 +0000 (0:00:00.030) 0:00:33.608 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:44 +0000 (0:00:00.028) 0:00:33.637 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:44 +0000 (0:00:00.301) 0:00:33.938 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmpndro4snx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:44 +0000 (0:00:00.239) 0:00:34.178 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:44 +0000 (0:00:00.229) 0:00:34.407 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:44 +0000 (0:00:00.021) 0:00:34.429 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:44 +0000 (0:00:00.021) 0:00:34.451 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:44 +0000 (0:00:00.022) 0:00:34.473 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:44 +0000 (0:00:00.019) 0:00:34.493 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.130) 0:00:34.624 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.093) 0:00:34.717 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.035) 0:00:34.753 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702575401.7597022, "block_size": 4096, "blocks": 0, "ctime": 1702575401.7587023, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17506, "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": 1702575401.7587023, "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.16l_ge3uwc/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.146) 0:00:34.899 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.058) 0:00:34.958 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.039) 0:00:34.997 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.026) 0:00:35.024 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.134) 0:00:35.159 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.021) 0:00:35.180 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022729", "end": "2023-12-14 17:36:45.705542", "rc": 1, "start": "2023-12-14 17:36:45.682813" } 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.161) 0:00:35.342 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.034) 0:00:35.376 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.022) 0:00:35.398 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.028) 0:00:35.427 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.022) 0:00:35.449 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.021) 0:00:35.471 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.023) 0:00:35.494 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.018) 0:00:35.513 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.043) 0:00:35.556 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:36:45 +0000 (0:00:00.038) 0:00:35.594 ***** 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.050758", "end": "2023-12-14 17:36:46.148550", "rc": 0, "start": "2023-12-14 17:36:46.097792" } 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.16l_ge3uwc/tests/playbooks/tests_states.yml:103 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.190) 0:00:35.785 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.037) 0:00:35.823 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.039) 0:00:35.862 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.050) 0:00:35.912 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.042) 0:00:35.954 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.032) 0:00:35.987 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003689", "end": "2023-12-14 17:36:46.491743", "rc": 0, "start": "2023-12-14 17:36:46.488054" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.137) 0:00:36.124 ***** 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.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.024) 0:00:36.149 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.024) 0:00:36.173 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.043) 0:00:36.217 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.058) 0:00:36.275 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.038) 0:00:36.314 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.027) 0:00:36.341 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.021) 0:00:36.362 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:46 +0000 (0:00:00.020) 0:00:36.383 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:47 +0000 (0:00:00.745) 0:00:37.128 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.651) 0:00:37.780 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.030) 0:00:37.810 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.021) 0:00:37.832 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.065) 0:00:37.898 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.042) 0:00:37.940 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.020) 0:00:37.961 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.021) 0:00:37.982 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.025) 0:00:38.008 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.032) 0:00:38.041 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.022) 0:00:38.063 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.247) 0:00:38.310 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmpruse3_cj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:48 +0000 (0:00:00.221) 0:00:38.532 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.233) 0:00:38.765 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.021) 0:00:38.786 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.022) 0:00:38.809 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.022) 0:00:38.831 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.019) 0:00:38.851 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.130) 0:00:38.981 ***** 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.16l_ge3uwc/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.023) 0:00:39.005 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.073) 0:00:39.079 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.052) 0:00:39.131 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.027) 0:00:39.159 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.037) 0:00:39.196 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:49 +0000 (0:00:00.029) 0:00:39.225 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:50 +0000 (0:00:00.749) 0:00:39.975 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.648) 0:00:40.624 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.022) 0:00:40.647 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.044) 0:00:40.691 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.021) 0:00:40.713 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.042) 0:00:40.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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.020) 0:00:40.776 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.020) 0:00:40.797 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.024) 0:00:40.821 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.021) 0:00:40.843 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.021) 0:00:40.864 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.229) 0:00:41.094 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmpfm00chm5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:51 +0000 (0:00:00.220) 0:00:41.314 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.476) 0:00:41.790 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.021) 0:00:41.812 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.022) 0:00:41.835 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.022) 0:00:41.858 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.021) 0:00:41.879 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove_profile.yml:3 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.144) 0:00:42.023 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.036) 0:00:42.060 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.038) 0:00:42.099 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.025) 0:00:42.125 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.021) 0:00:42.146 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:52 +0000 (0:00:00.022) 0:00:42.169 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:53 +0000 (0:00:00.788) 0:00:42.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 : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.707) 0:00:43.665 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.022) 0:00:43.688 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.049) 0:00:43.738 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.025) 0:00:43.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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.044) 0:00:43.808 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.021) 0:00:43.829 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.025) 0:00:43.855 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.025) 0:00:43.880 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.032) 0:00:43.913 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.032) 0:00:43.946 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.251) 0:00:44.197 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmp4n4ih3fj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:54 +0000 (0:00:00.222) 0:00:44.419 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.250) 0:00:44.670 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.021) 0:00:44.692 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.024) 0:00:44.716 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.022) 0:00:44.739 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.022) 0:00:44.762 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.143) 0:00:44.905 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.100) 0:00:45.005 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.051) 0:00:45.057 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.042) 0:00:45.100 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.027) 0:00:45.127 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.023) 0:00:45.151 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:55 +0000 (0:00:00.021) 0:00:45.172 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:36:56 +0000 (0:00:00.747) 0:00:45.920 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:36:56 +0000 (0:00:00.682) 0:00:46.603 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.042) 0:00:46.645 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.045) 0:00:46.691 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.046) 0:00:46.738 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.060) 0:00:46.799 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.023) 0:00:46.823 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.022) 0:00:46.845 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.024) 0:00:46.870 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.021) 0:00:46.891 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.020) 0:00:46.912 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.229) 0:00:47.141 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmp2f6blspx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.222) 0:00:47.363 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:36:57 +0000 (0:00:00.234) 0:00:47.598 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.026) 0:00:47.625 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.022) 0:00:47.647 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.021) 0:00:47.669 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.047) 0:00:47.716 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.132) 0:00:47.849 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.040) 0:00:47.890 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.036) 0:00:47.926 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.021) 0:00:47.947 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.157) 0:00:48.105 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.027) 0:00:48.132 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022728", "end": "2023-12-14 17:36:58.661491", "rc": 1, "start": "2023-12-14 17:36:58.638763" } 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.160) 0:00:48.293 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.025) 0:00:48.319 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.026) 0:00:48.345 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.023) 0:00:48.369 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.023) 0:00:48.392 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.022) 0:00:48.415 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.027) 0:00:48.443 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.023) 0:00:48.466 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.048) 0:00:48.514 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:36:58 +0000 (0:00:00.040) 0:00:48.555 ***** 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.056904", "end": "2023-12-14 17:36:59.115647", "rc": 0, "start": "2023-12-14 17:36:59.058743" } 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.16l_ge3uwc/tests/playbooks/tests_states.yml:126 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.195) 0:00:48.750 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:5 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.036) 0:00:48.786 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:9 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.021) 0:00:48.808 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:21 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.044) 0:00:48.852 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.034) 0:00:48.887 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.033) 0:00:48.920 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003479", "end": "2023-12-14 17:36:59.427901", "rc": 0, "start": "2023-12-14 17:36:59.424422" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.139) 0:00:49.060 ***** 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.16l_ge3uwc/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.032) 0:00:49.092 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:24 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.029) 0:00:49.122 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.043) 0:00:49.166 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.082) 0:00:49.249 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.039) 0:00:49.289 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.027) 0:00:49.316 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.022) 0:00:49.338 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:36:59 +0000 (0:00:00.021) 0:00:49.359 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:37:00 +0000 (0:00:00.757) 0:00:50.117 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.657) 0:00:50.774 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.024) 0:00:50.799 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.029) 0:00:50.828 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.050) 0:00:50.879 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.044) 0:00:50.924 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.022) 0:00:50.947 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.020) 0:00:50.968 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.025) 0:00:50.993 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.022) 0:00:51.015 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.021) 0:00:51.036 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.246) 0:00:51.283 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmptz5tt7al" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:37:01 +0000 (0:00:00.215) 0:00:51.498 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.244) 0:00:51.743 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.020) 0:00:51.763 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.022) 0:00:51.786 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.024) 0:00:51.810 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.021) 0:00:51.831 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.138) 0:00:51.970 ***** 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.16l_ge3uwc/tests/playbooks/tasks/activate_profile.yml:3 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.045) 0:00:52.015 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.064) 0:00:52.079 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.040) 0:00:52.119 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.026) 0:00:52.146 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.021) 0:00:52.168 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:37:02 +0000 (0:00:00.021) 0:00:52.189 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:37:03 +0000 (0:00:00.769) 0:00:52.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 : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.650) 0:00:53.609 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.023) 0:00:53.633 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.051) 0:00:53.684 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.023) 0:00:53.708 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.061) 0:00:53.769 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.025) 0:00:53.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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.027) 0:00:53.822 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.028) 0:00:53.850 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.021) 0:00:53.872 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.022) 0:00:53.894 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.229) 0:00:54.124 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmpwus17mqp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:37:04 +0000 (0:00:00.216) 0:00:54.341 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.470) 0:00:54.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.020) 0:00:54.832 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.022) 0:00:54.854 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.022) 0:00:54.876 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.019) 0:00:54.896 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.157) 0:00:55.053 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.059) 0:00:55.112 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.054) 0:00:55.167 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.025) 0:00:55.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.021) 0:00:55.214 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:37:05 +0000 (0:00:00.020) 0:00:55.235 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:37:06 +0000 (0:00:00.749) 0:00:55.984 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.650) 0:00:56.635 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.046) 0:00:56.682 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.022) 0:00:56.704 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.021) 0:00:56.726 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.053) 0:00:56.779 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.021) 0:00:56.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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.021) 0:00:56.822 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.024) 0:00:56.847 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.021) 0:00:56.868 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.020) 0:00:56.888 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.233) 0:00:57.122 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmptohtr5qu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:37:07 +0000 (0:00:00.262) 0:00:57.384 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.259) 0:00:57.644 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.021) 0:00:57.666 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.021) 0:00:57.687 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.022) 0:00:57.710 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.024) 0:00:57.735 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:30 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.157) 0:00:57.892 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.038) 0:00:57.931 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.034) 0:00:57.965 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.038) 0:00:58.004 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.025) 0:00:58.029 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.020) 0:00:58.050 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 14 December 2023 17:37:08 +0000 (0:00:00.020) 0:00:58.070 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 14 December 2023 17:37:09 +0000 (0:00:00.746) 0:00:58.817 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 14 December 2023 17:37:09 +0000 (0:00:00.672) 0:00:59.489 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 14 December 2023 17:37:09 +0000 (0:00:00.022) 0:00:59.512 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 14 December 2023 17:37:09 +0000 (0:00:00.021) 0:00:59.534 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 14 December 2023 17:37:09 +0000 (0:00:00.029) 0:00:59.563 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.049) 0:00:59.613 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.025) 0:00:59.638 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.031) 0:00:59.669 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.025) 0:00:59.695 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.032) 0:00:59.727 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.022) 0:00:59.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.240) 0:00:59.990 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16690uw_792ii/tmpphrkh23w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.245) 0:01:00.236 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.235) 0:01:00.471 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.032) 0:01:00.503 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.022) 0:01:00.526 ***** 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.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.058) 0:01:00.585 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 14 December 2023 17:37:10 +0000 (0:00:00.022) 0:01:00.607 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:36 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.132) 0:01:00.739 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.042) 0:01:00.782 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.035) 0:01:00.817 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.020) 0:01:00.837 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.133) 0:01:00.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.021) 0:01:00.992 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023095", "end": "2023-12-14 17:37:11.523764", "rc": 1, "start": "2023-12-14 17:37:11.500669" } 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.164) 0:01:01.156 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.022) 0:01:01.178 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.022) 0:01:01.201 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.022) 0:01:01.223 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.021) 0:01:01.244 ***** 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.16l_ge3uwc/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.021) 0:01:01.265 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 14 December 2023 17:37:11 +0000 (0:00:00.022) 0:01:01.288 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.413412", "end": "2023-12-14 17:37:12.203609", "rc": 0, "start": "2023-12-14 17:37:11.790197" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 14 December 2023 17:37:12 +0000 (0:00:00.559) 0:01:01.847 ***** 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.16l_ge3uwc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 14 December 2023 17:37:12 +0000 (0:00:00.022) 0:01:01.869 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:42 Thursday 14 December 2023 17:37:12 +0000 (0:00:00.020) 0:01:01.890 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:47 Thursday 14 December 2023 17:37:12 +0000 (0:00:00.024) 0:01:01.915 ***** 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.16l_ge3uwc/tests/playbooks/tasks/run_test.yml:66 Thursday 14 December 2023 17:37:12 +0000 (0:00:00.021) 0:01:01.936 ***** included: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 14 December 2023 17:37:12 +0000 (0:00:00.039) 0:01:01.976 ***** 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.049965", "end": "2023-12-14 17:37:12.529576", "rc": 0, "start": "2023-12-14 17:37:12.479611" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Thursday 14 December 2023 17:37:12 +0000 (0:00:00.181) 0:01:02.158 ***** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.93s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.90s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.35s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.32s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.16s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 0.97s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.88s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 0.78s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-ansible-lint-test-2.16l_ge3uwc/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. ---^---^---^---^---^---