# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/tests_states_initscripts.yml:4 Tuesday 19 December 2023 15:36:31 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tests_states_initscripts.yml:8 Tuesday 19 December 2023 15:36:32 +0000 (0:00:00.707) 0:00:00.719 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/tasks/el_repo_setup.yml:3 Tuesday 19 December 2023 15:36:32 +0000 (0:00:00.012) 0:00:00.732 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tasks/el_repo_setup.yml:17 Tuesday 19 December 2023 15:36:32 +0000 (0:00:00.241) 0:00:00.974 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tasks/el_repo_setup.yml:22 Tuesday 19 December 2023 15:36:32 +0000 (0:00:00.200) 0:00:01.174 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tasks/el_repo_setup.yml:26 Tuesday 19 December 2023 15:36:32 +0000 (0:00:00.016) 0:00:01.190 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tasks/el_repo_setup.yml:51 Tuesday 19 December 2023 15:36:32 +0000 (0:00:00.010) 0:00:01.201 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tasks/enable_epel.yml:8 Tuesday 19 December 2023 15:36:32 +0000 (0:00:00.025) 0:00:01.226 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tasks/enable_epel.yml:24 Tuesday 19 December 2023 15:36:32 +0000 (0:00:00.210) 0:00:01.437 ****** 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.16m48j3x61/tests/tasks/enable_epel.yml:30 Tuesday 19 December 2023 15:36:33 +0000 (0:00:00.430) 0:00:01.868 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175281", "end": "2023-12-19 15:36:33.493300", "rc": 0, "start": "2023-12-19 15:36:33.318019" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tasks/enable_epel.yml:35 Tuesday 19 December 2023 15:36:33 +0000 (0:00:00.303) 0:00:02.171 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tasks/enable_epel.yml:40 Tuesday 19 December 2023 15:36:33 +0000 (0:00:00.011) 0:00:02.183 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/tests_states_initscripts.yml:10 Tuesday 19 December 2023 15:36:33 +0000 (0:00:00.023) 0:00:02.206 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tests_states.yml:3 Tuesday 19 December 2023 15:36:33 +0000 (0:00:00.026) 0:00:02.233 ****** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tests_states.yml:11 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.526) 0:00:02.759 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tests_states.yml:22 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.025) 0:00:02.785 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.031) 0:00:02.816 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.023) 0:00:02.839 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.053) 0:00:02.892 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.024) 0:00:02.917 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.029) 0:00:02.946 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004121", "end": "2023-12-19 15:36:34.432074", "rc": 0, "start": "2023-12-19 15:36:34.427953" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.160) 0:00:03.107 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.026) 0:00:03.134 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.021) 0:00:03.156 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.029) 0:00:03.186 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011789", "end": "2023-12-19 15:36:34.672145", "rc": 1, "start": "2023-12-19 15:36:34.660356" } 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.16m48j3x61/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.163) 0:00:03.349 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.061) 0:00:03.410 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.176) 0:00:03.587 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.025) 0:00:03.613 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:36:34 +0000 (0:00:00.026) 0:00:03.639 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:36:35 +0000 (0:00:00.033) 0:00:03.672 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:36:35 +0000 (0:00:00.032) 0:00:03.705 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:36:35 +0000 (0:00:00.041) 0:00:03.747 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:36:35 +0000 (0:00:00.053) 0:00:03.800 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:36:35 +0000 (0:00:00.050) 0:00:03.851 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:36:36 +0000 (0:00:00.898) 0:00:04.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 [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:36:37 +0000 (0:00:01.208) 0:00:05.958 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:36:37 +0000 (0:00:00.045) 0:00:06.003 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:36:37 +0000 (0:00:00.032) 0:00:06.036 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:36:37 +0000 (0:00:00.032) 0:00:06.069 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:36:37 +0000 (0:00:00.055) 0:00:06.124 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:36:37 +0000 (0:00:00.030) 0:00:06.154 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:36:37 +0000 (0:00:00.049) 0:00:06.204 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:36:37 +0000 (0:00:00.034) 0:00:06.239 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:36:37 +0000 (0:00:00.029) 0:00:06.269 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:36:37 +0000 (0:00:00.061) 0:00:06.330 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:36:38 +0000 (0:00:00.449) 0:00:06.780 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmp4305xuqp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:36:38 +0000 (0:00:00.233) 0:00:07.013 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:36:38 +0000 (0:00:00.385) 0:00:07.398 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:36:38 +0000 (0:00:00.076) 0:00:07.475 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:36:38 +0000 (0:00:00.081) 0:00:07.556 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:36:38 +0000 (0:00:00.062) 0:00:07.618 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.060) 0:00:07.679 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.268) 0:00:07.948 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.030) 0:00:07.979 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.051) 0:00:08.031 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.054) 0:00:08.085 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.051) 0:00:08.136 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703000198.7063863, "block_size": 4096, "blocks": 8, "ctime": 1703000198.7063863, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703000198.7063863, "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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.153) 0:00:08.289 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.048) 0:00:08.338 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026297", "end": "2023-12-19 15:36:39.823898", "rc": 1, "start": "2023-12-19 15:36:39.797601" } 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.218) 0:00:08.556 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:36:39 +0000 (0:00:00.031) 0:00:08.588 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003751", "end": "2023-12-19 15:36:40.067092", "rc": 0, "start": "2023-12-19 15:36:40.063341" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.191) 0:00:08.779 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.058) 0:00:08.838 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003754", "end": "2023-12-19 15:36:40.320938", "rc": 0, "start": "2023-12-19 15:36:40.317184" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.182) 0:00:09.021 ****** 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.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.049) 0:00:09.071 ****** 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.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.040) 0:00:09.111 ****** 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.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.084) 0:00:09.195 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.030) 0:00:09.225 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.031) 0:00:09.257 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.030) 0:00:09.287 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.054) 0:00:09.342 ****** 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.049032", "end": "2023-12-19 15:36:40.848923", "rc": 1, "start": "2023-12-19 15:36:40.799891" } 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.16m48j3x61/tests/playbooks/tests_states.yml:45 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.190) 0:00:09.533 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.041) 0:00:09.575 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:36:40 +0000 (0:00:00.030) 0:00:09.606 ****** 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. '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.16m48j3x61/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.064) 0:00:09.670 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.105) 0:00:09.775 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.052) 0:00:09.828 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003907", "end": "2023-12-19 15:36:41.292741", "rc": 0, "start": "2023-12-19 15:36:41.288834" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.150) 0:00:09.979 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.036) 0:00:10.015 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.031) 0:00:10.046 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.046) 0:00:10.093 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007581", "end": "2023-12-19 15:36:41.557850", "rc": 1, "start": "2023-12-19 15:36:41.550269" } 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.16m48j3x61/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.147) 0:00:10.241 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.039) 0:00:10.280 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.141) 0:00:10.422 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.030) 0:00:10.453 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.043) 0:00:10.496 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.049) 0:00:10.546 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:36:41 +0000 (0:00:00.047) 0:00:10.593 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:36:42 +0000 (0:00:00.127) 0:00:10.721 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:36:42 +0000 (0:00:00.048) 0:00:10.769 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:36:42 +0000 (0:00:00.059) 0:00:10.829 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:36:42 +0000 (0:00:00.771) 0:00:11.600 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:36:43 +0000 (0:00:00.986) 0:00:12.586 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:36:43 +0000 (0:00:00.060) 0:00:12.647 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.050) 0:00:12.697 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.034) 0:00:12.732 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.057) 0:00:12.789 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.045) 0:00:12.835 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.038) 0:00:12.873 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.046) 0:00:12.919 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.052) 0:00:12.972 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.039) 0:00:13.011 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.289) 0:00:13.301 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmp_xeoifpn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:36:44 +0000 (0:00:00.236) 0:00:13.537 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.306) 0:00:13.843 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.056) 0:00:13.899 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.043) 0:00:13.943 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.032) 0:00:13.975 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.051) 0:00:14.027 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.226) 0:00:14.253 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.045) 0:00:14.299 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.067) 0:00:14.366 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.088) 0:00:14.455 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 19 December 2023 15:36:45 +0000 (0:00:00.178) 0:00:14.633 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 15:36:46 +0000 (0:00:00.058) 0:00:14.692 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:36:46 +0000 (0:00:00.071) 0:00:14.763 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:36:46 +0000 (0:00:00.038) 0:00:14.802 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703000205.1164, "block_size": 4096, "blocks": 8, "ctime": 1703000205.1164, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703000205.1164, "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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:36:46 +0000 (0:00:00.150) 0:00:14.952 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:36:46 +0000 (0:00:00.035) 0:00:14.988 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023051", "end": "2023-12-19 15:36:46.573602", "rc": 1, "start": "2023-12-19 15:36:46.550551" } 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:36:46 +0000 (0:00:00.310) 0:00:15.298 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:36:46 +0000 (0:00:00.032) 0:00:15.331 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003640", "end": "2023-12-19 15:36:46.799201", "rc": 0, "start": "2023-12-19 15:36:46.795561" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:36:46 +0000 (0:00:00.178) 0:00:15.509 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:36:46 +0000 (0:00:00.050) 0:00:15.559 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003602", "end": "2023-12-19 15:36:47.066517", "rc": 0, "start": "2023-12-19 15:36:47.062915" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.204) 0:00:15.764 ****** 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.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.043) 0:00:15.807 ****** 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.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.034) 0:00:15.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.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.041) 0:00:15.883 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.032) 0:00:15.916 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.052) 0:00:15.968 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.059) 0:00:16.028 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.071) 0:00:16.099 ****** 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.045689", "end": "2023-12-19 15:36:47.615726", "rc": 1, "start": "2023-12-19 15:36:47.570037" } 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.16m48j3x61/tests/playbooks/tests_states.yml:65 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.203) 0:00:16.303 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.058) 0:00:16.362 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.031) 0:00:16.394 ****** 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. '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.16m48j3x61/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.083) 0:00:16.478 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.073) 0:00:16.552 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:36:47 +0000 (0:00:00.046) 0:00:16.598 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005078", "end": "2023-12-19 15:36:49.060329", "rc": 0, "start": "2023-12-19 15:36:48.055251" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:36:49 +0000 (0:00:01.148) 0:00:17.747 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:36:49 +0000 (0:00:00.028) 0:00:17.775 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:36:49 +0000 (0:00:00.028) 0:00:17.803 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:36:49 +0000 (0:00:00.040) 0:00:17.843 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:36:49 +0000 (0:00:00.048) 0:00:17.892 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:36:49 +0000 (0:00:00.049) 0:00:17.942 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:36:49 +0000 (0:00:00.034) 0:00:17.976 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:36:49 +0000 (0:00:00.037) 0:00:18.013 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:36:49 +0000 (0:00:00.054) 0:00:18.068 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:36:50 +0000 (0:00:00.751) 0:00:18.820 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:36:51 +0000 (0:00:01.054) 0:00:19.874 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.069) 0:00:19.944 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.051) 0:00:19.995 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.041) 0:00:20.036 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.065) 0:00:20.102 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.043) 0:00:20.145 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.052) 0:00:20.198 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.054) 0:00:20.252 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.033) 0:00:20.286 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.037) 0:00:20.323 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:36:51 +0000 (0:00:00.259) 0:00:20.583 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmp3kadk5qw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:36:52 +0000 (0:00:00.293) 0:00:20.877 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:36:52 +0000 (0:00:00.348) 0:00:21.225 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:36:52 +0000 (0:00:00.036) 0:00:21.261 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:36:52 +0000 (0:00:00.070) 0:00:21.332 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:36:52 +0000 (0:00:00.058) 0:00:21.391 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:36:52 +0000 (0:00:00.040) 0:00:21.432 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:36:52 +0000 (0:00:00.208) 0:00:21.640 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:36:53 +0000 (0:00:00.053) 0:00:21.694 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 15:36:53 +0000 (0:00:00.075) 0:00:21.769 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:36:53 +0000 (0:00:00.071) 0:00:21.841 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:36:53 +0000 (0:00:00.056) 0:00:21.898 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:36:53 +0000 (0:00:00.096) 0:00:21.995 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:36:53 +0000 (0:00:00.045) 0:00:22.041 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:36:53 +0000 (0:00:00.037) 0:00:22.078 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:36:54 +0000 (0:00:00.771) 0:00:22.850 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.969) 0:00:23.819 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.032) 0:00:23.852 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.032) 0:00:23.884 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.036) 0:00:23.920 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.120) 0:00:24.041 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.035) 0:00:24.076 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.032) 0:00:24.109 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.039) 0:00:24.148 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.043) 0:00:24.191 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.068) 0:00:24.260 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:36:55 +0000 (0:00:00.270) 0:00:24.531 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmpgsy96pkf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:36:56 +0000 (0:00:00.246) 0:00:24.777 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:36:56 +0000 (0:00:00.497) 0:00:25.274 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:36:56 +0000 (0:00:00.032) 0:00:25.306 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:36:56 +0000 (0:00:00.038) 0:00:25.345 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:36:56 +0000 (0:00:00.031) 0:00:25.376 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:36:56 +0000 (0:00:00.043) 0:00:25.420 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:36:56 +0000 (0:00:00.147) 0:00:25.567 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 15:36:56 +0000 (0:00:00.046) 0:00:25.614 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:36:56 +0000 (0:00:00.038) 0:00:25.652 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703000216.5134213, "block_size": 4096, "blocks": 0, "ctime": 1703000216.5114214, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17653, "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": 1703000216.5114214, "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.16m48j3x61/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.209) 0:00:25.861 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.035) 0:00:25.897 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.043) 0:00:25.940 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.029) 0:00:25.969 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703000216.336421, "block_size": 4096, "blocks": 8, "ctime": 1703000212.5284138, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703000212.5284138, "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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.140) 0:00:26.110 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.031) 0:00:26.142 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022739", "end": "2023-12-19 15:36:57.628611", "rc": 1, "start": "2023-12-19 15:36:57.605872" } 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.175) 0:00:26.317 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.063) 0:00:26.380 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003575", "end": "2023-12-19 15:36:57.849446", "rc": 0, "start": "2023-12-19 15:36:57.845871" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.180) 0:00:26.561 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:36:57 +0000 (0:00:00.037) 0:00:26.598 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003713", "end": "2023-12-19 15:36:58.093944", "rc": 0, "start": "2023-12-19 15:36:58.090231" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.183) 0:00:26.781 ****** 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.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.040) 0:00:26.821 ****** 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.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.032) 0:00:26.853 ****** 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.16m48j3x61/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.033) 0:00:26.887 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.045) 0:00:26.932 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.031) 0:00:26.964 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.031) 0:00:26.995 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.073) 0:00:27.068 ****** 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.049902", "end": "2023-12-19 15:36:58.577909", "rc": 0, "start": "2023-12-19 15:36:58.528007" } 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.16m48j3x61/tests/playbooks/tests_states.yml:83 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.194) 0:00:27.262 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.040) 0:00:27.303 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.039) 0:00:27.342 ****** 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. '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.16m48j3x61/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.093) 0:00:27.436 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.046) 0:00:27.483 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:36:58 +0000 (0:00:00.038) 0:00:27.521 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003861", "end": "2023-12-19 15:36:58.982901", "rc": 0, "start": "2023-12-19 15:36:58.979040" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:36:59 +0000 (0:00:00.154) 0:00:27.676 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:36:59 +0000 (0:00:00.029) 0:00:27.705 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:36:59 +0000 (0:00:00.028) 0:00:27.734 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:36:59 +0000 (0:00:00.042) 0:00:27.776 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:36:59 +0000 (0:00:00.050) 0:00:27.827 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:36:59 +0000 (0:00:00.099) 0:00:27.927 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:36:59 +0000 (0:00:00.045) 0:00:27.973 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:36:59 +0000 (0:00:00.036) 0:00:28.009 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:36:59 +0000 (0:00:00.032) 0:00:28.041 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:00 +0000 (0:00:00.779) 0:00:28.821 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.962) 0:00:29.784 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.030) 0:00:29.814 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.033) 0:00:29.848 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.032) 0:00:29.880 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.085) 0:00:29.966 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.032) 0:00:29.998 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.033) 0:00:30.031 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.035) 0:00:30.067 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.033) 0:00:30.101 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.046) 0:00:30.147 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:01 +0000 (0:00:00.338) 0:00:30.485 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmpcv_i2j7k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.301) 0:00:30.786 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.266) 0:00:31.053 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.040) 0:00:31.094 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.038) 0:00:31.133 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.041) 0:00:31.174 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.033) 0:00:31.208 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.170) 0:00:31.379 ****** 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.16m48j3x61/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.036) 0:00:31.416 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.048) 0:00:31.464 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.046) 0:00:31.511 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.039) 0:00:31.550 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.040) 0:00:31.590 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:02 +0000 (0:00:00.037) 0:00:31.628 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:03 +0000 (0:00:00.798) 0:00:32.426 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:04 +0000 (0:00:01.053) 0:00:33.479 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:04 +0000 (0:00:00.032) 0:00:33.512 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:04 +0000 (0:00:00.037) 0:00:33.549 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:04 +0000 (0:00:00.031) 0:00:33.581 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:04 +0000 (0:00:00.062) 0:00:33.643 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:05 +0000 (0:00:00.040) 0:00:33.684 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:05 +0000 (0:00:00.041) 0:00:33.725 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:05 +0000 (0:00:00.039) 0:00:33.764 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:05 +0000 (0:00:00.030) 0:00:33.795 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:05 +0000 (0:00:00.027) 0:00:33.822 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:05 +0000 (0:00:00.250) 0:00:34.073 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmpadqfvp_c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:05 +0000 (0:00:00.234) 0:00:34.307 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.483) 0:00:34.791 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.033) 0:00:34.824 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.055) 0:00:34.880 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.034) 0:00:34.914 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.037) 0:00:34.952 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.215) 0:00:35.167 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.057) 0:00:35.225 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.060) 0:00:35.285 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.065) 0:00:35.351 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.038) 0:00:35.389 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.052) 0:00:35.441 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:06 +0000 (0:00:00.044) 0:00:35.486 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:07 +0000 (0:00:00.795) 0:00:36.281 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:08 +0000 (0:00:00.975) 0:00:37.257 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:08 +0000 (0:00:00.033) 0:00:37.291 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:08 +0000 (0:00:00.034) 0:00:37.325 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:08 +0000 (0:00:00.052) 0:00:37.378 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:08 +0000 (0:00:00.092) 0:00:37.471 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:08 +0000 (0:00:00.038) 0:00:37.509 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:08 +0000 (0:00:00.060) 0:00:37.570 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:08 +0000 (0:00:00.036) 0:00:37.606 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:08 +0000 (0:00:00.036) 0:00:37.642 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:09 +0000 (0:00:00.031) 0:00:37.674 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:09 +0000 (0:00:00.286) 0:00:37.961 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmps8m_pmr7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:09 +0000 (0:00:00.221) 0:00:38.183 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:09 +0000 (0:00:00.269) 0:00:38.452 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:09 +0000 (0:00:00.036) 0:00:38.489 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:09 +0000 (0:00:00.040) 0:00:38.529 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:09 +0000 (0:00:00.032) 0:00:38.562 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:09 +0000 (0:00:00.039) 0:00:38.602 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.173) 0:00:38.776 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.044) 0:00:38.820 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.036) 0:00:38.857 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1703000226.0404394, "block_size": 4096, "blocks": 0, "ctime": 1703000226.0334394, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17653, "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": 1703000226.0334394, "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.16m48j3x61/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.185) 0:00:39.043 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.030) 0:00:39.074 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.040) 0:00:39.115 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.032) 0:00:39.147 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.144) 0:00:39.291 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.027) 0:00:39.319 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023397", "end": "2023-12-19 15:37:10.798205", "rc": 1, "start": "2023-12-19 15:37:10.774808" } 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.164) 0:00:39.483 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.030) 0:00:39.514 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.042) 0:00:39.556 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.038) 0:00:39.595 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:37:10 +0000 (0:00:00.047) 0:00:39.643 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.047) 0:00:39.690 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.032) 0:00:39.723 ****** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.037) 0:00:39.761 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.043) 0:00:39.804 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.047) 0:00:39.852 ****** 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.051489", "end": "2023-12-19 15:37:11.360977", "rc": 0, "start": "2023-12-19 15:37:11.309488" } 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.16m48j3x61/tests/playbooks/tests_states.yml:102 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.195) 0:00:40.048 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.076) 0:00:40.125 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.029) 0:00:40.154 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.054) 0:00:40.208 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.041) 0:00:40.249 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.037) 0:00:40.287 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003827", "end": "2023-12-19 15:37:11.749994", "rc": 0, "start": "2023-12-19 15:37:11.746167" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.148) 0:00:40.436 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.032) 0:00:40.468 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.046) 0:00:40.515 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.063) 0:00:40.578 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:11 +0000 (0:00:00.053) 0:00:40.632 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:12 +0000 (0:00:00.050) 0:00:40.682 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:12 +0000 (0:00:00.048) 0:00:40.730 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:12 +0000 (0:00:00.062) 0:00:40.793 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:12 +0000 (0:00:00.030) 0:00:40.824 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:12 +0000 (0:00:00.755) 0:00:41.579 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:13 +0000 (0:00:01.004) 0:00:42.584 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:13 +0000 (0:00:00.050) 0:00:42.634 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.058) 0:00:42.693 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.041) 0:00:42.734 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.056) 0:00:42.791 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.048) 0:00:42.840 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.031) 0:00:42.872 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.046) 0:00:42.918 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.045) 0:00:42.963 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.036) 0:00:43.000 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.285) 0:00:43.285 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmp252z36p_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:14 +0000 (0:00:00.281) 0:00:43.566 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.301) 0:00:43.867 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.087) 0:00:43.955 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.038) 0:00:43.994 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.044) 0:00:44.038 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.034) 0:00:44.073 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.162) 0:00:44.236 ****** 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.16m48j3x61/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.037) 0:00:44.274 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.049) 0:00:44.323 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.052) 0:00:44.376 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.043) 0:00:44.419 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.040) 0:00:44.460 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:15 +0000 (0:00:00.034) 0:00:44.495 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:16 +0000 (0:00:00.771) 0:00:45.266 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:17 +0000 (0:00:01.001) 0:00:46.268 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:17 +0000 (0:00:00.068) 0:00:46.337 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:17 +0000 (0:00:00.030) 0:00:46.367 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:17 +0000 (0:00:00.033) 0:00:46.401 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:17 +0000 (0:00:00.062) 0:00:46.463 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:17 +0000 (0:00:00.030) 0:00:46.493 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:17 +0000 (0:00:00.030) 0:00:46.523 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:17 +0000 (0:00:00.042) 0:00:46.566 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:17 +0000 (0:00:00.036) 0:00:46.603 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:17 +0000 (0:00:00.029) 0:00:46.633 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:18 +0000 (0:00:00.246) 0:00:46.879 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmpi2_r2fk0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:18 +0000 (0:00:00.231) 0:00:47.110 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:18 +0000 (0:00:00.471) 0:00:47.582 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:18 +0000 (0:00:00.031) 0:00:47.614 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:18 +0000 (0:00:00.032) 0:00:47.646 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:19 +0000 (0:00:00.033) 0:00:47.680 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:19 +0000 (0:00:00.030) 0:00:47.711 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 19 December 2023 15:37:19 +0000 (0:00:00.148) 0:00:47.859 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:19 +0000 (0:00:00.092) 0:00:47.952 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:19 +0000 (0:00:00.054) 0:00:48.006 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:19 +0000 (0:00:00.047) 0:00:48.054 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:19 +0000 (0:00:00.034) 0:00:48.088 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:19 +0000 (0:00:00.032) 0:00:48.120 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:20 +0000 (0:00:00.763) 0:00:48.884 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.963) 0:00:49.847 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.034) 0:00:49.881 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.043) 0:00:49.925 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.034) 0:00:49.960 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.054) 0:00:50.014 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.033) 0:00:50.048 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.032) 0:00:50.080 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.046) 0:00:50.127 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.087) 0:00:50.215 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.030) 0:00:50.245 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:21 +0000 (0:00:00.251) 0:00:50.496 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmp4xikeale" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.248) 0:00:50.745 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.240) 0:00:50.985 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.062) 0:00:51.048 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.034) 0:00:51.083 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.038) 0:00:51.121 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.032) 0:00:51.153 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.153) 0:00:51.306 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.042) 0:00:51.348 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.069) 0:00:51.418 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.076) 0:00:51.494 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.039) 0:00:51.533 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.034) 0:00:51.568 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:22 +0000 (0:00:00.075) 0:00:51.643 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:23 +0000 (0:00:00.827) 0:00:52.471 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:24 +0000 (0:00:00.996) 0:00:53.467 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:24 +0000 (0:00:00.039) 0:00:53.507 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:24 +0000 (0:00:00.035) 0:00:53.543 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:24 +0000 (0:00:00.067) 0:00:53.610 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:25 +0000 (0:00:00.069) 0:00:53.679 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:25 +0000 (0:00:00.048) 0:00:53.728 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:25 +0000 (0:00:00.057) 0:00:53.785 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:25 +0000 (0:00:00.045) 0:00:53.831 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:25 +0000 (0:00:00.033) 0:00:53.864 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:25 +0000 (0:00:00.034) 0:00:53.899 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:25 +0000 (0:00:00.285) 0:00:54.185 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmpdcgxsvrv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:25 +0000 (0:00:00.234) 0:00:54.420 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.320) 0:00:54.740 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.031) 0:00:54.771 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.077) 0:00:54.848 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.032) 0:00:54.881 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.033) 0:00:54.914 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.155) 0:00:55.070 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.044) 0:00:55.115 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.042) 0:00:55.157 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.029) 0:00:55.187 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.153) 0:00:55.340 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.031) 0:00:55.371 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023571", "end": "2023-12-19 15:37:26.851867", "rc": 1, "start": "2023-12-19 15:37:26.828296" } 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.164) 0:00:55.536 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.031) 0:00:55.567 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.032) 0:00:55.600 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:37:26 +0000 (0:00:00.030) 0:00:55.630 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.036) 0:00:55.666 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.036) 0:00:55.702 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.059) 0:00:55.761 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.085) 0:00:55.846 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.032) 0:00:55.879 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.056) 0:00:55.935 ****** 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.051541", "end": "2023-12-19 15:37:27.456965", "rc": 0, "start": "2023-12-19 15:37:27.405424" } 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.16m48j3x61/tests/playbooks/tests_states.yml:124 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.206) 0:00:56.142 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/run_test.yml:5 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.040) 0:00:56.183 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:9 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.032) 0:00:56.215 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:21 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.063) 0:00:56.279 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.047) 0:00:56.326 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.047) 0:00:56.374 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003732", "end": "2023-12-19 15:37:27.841561", "rc": 0, "start": "2023-12-19 15:37:27.837829" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.155) 0:00:56.530 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.034) 0:00:56.564 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:24 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.032) 0:00:56.597 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 19 December 2023 15:37:27 +0000 (0:00:00.050) 0:00:56.647 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:28 +0000 (0:00:00.092) 0:00:56.740 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:28 +0000 (0:00:00.057) 0:00:56.798 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:28 +0000 (0:00:00.042) 0:00:56.840 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:28 +0000 (0:00:00.032) 0:00:56.873 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:28 +0000 (0:00:00.049) 0:00:56.922 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:29 +0000 (0:00:00.758) 0:00:57.681 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:29 +0000 (0:00:00.964) 0:00:58.645 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.037) 0:00:58.683 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.036) 0:00:58.720 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.035) 0:00:58.755 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.050) 0:00:58.806 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.031) 0:00:58.838 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.030) 0:00:58.868 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.036) 0:00:58.905 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.112) 0:00:59.017 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.064) 0:00:59.081 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:30 +0000 (0:00:00.365) 0:00:59.447 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmpr6j0q7wb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.333) 0:00:59.780 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.271) 0:01:00.052 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.069) 0:01:00.121 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.046) 0:01:00.168 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.055) 0:01:00.224 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.065) 0:01:00.289 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.173) 0:01:00.463 ****** 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.16m48j3x61/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.044) 0:01:00.508 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.070) 0:01:00.579 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:31 +0000 (0:00:00.064) 0:01:00.644 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:32 +0000 (0:00:00.035) 0:01:00.679 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:32 +0000 (0:00:00.030) 0:01:00.710 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:32 +0000 (0:00:00.029) 0:01:00.740 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:32 +0000 (0:00:00.879) 0:01:01.619 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:33 +0000 (0:00:00.981) 0:01:02.600 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:33 +0000 (0:00:00.032) 0:01:02.632 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.030) 0:01:02.663 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.032) 0:01:02.696 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.053) 0:01:02.749 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.032) 0:01:02.781 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.033) 0:01:02.815 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.043) 0:01:02.859 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.037) 0:01:02.896 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.030) 0:01:02.926 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.251) 0:01:03.178 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmppzho1x75" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:34 +0000 (0:00:00.230) 0:01:03.408 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.482) 0:01:03.890 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.031) 0:01:03.921 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.030) 0:01:03.952 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.068) 0:01:04.020 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.030) 0:01:04.050 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.159) 0:01:04.209 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.055) 0:01:04.265 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.052) 0:01:04.317 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.037) 0:01:04.354 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.041) 0:01:04.395 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:35 +0000 (0:00:00.049) 0:01:04.445 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:36 +0000 (0:00:00.809) 0:01:05.255 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.961) 0:01:06.216 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.030) 0:01:06.247 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.031) 0:01:06.278 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.032) 0:01:06.310 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.158) 0:01:06.468 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.035) 0:01:06.503 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.036) 0:01:06.540 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.037) 0:01:06.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 [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.030) 0:01:06.608 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:37 +0000 (0:00:00.031) 0:01:06.639 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:38 +0000 (0:00:00.254) 0:01:06.894 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmpp2u1r5gg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:38 +0000 (0:00:00.224) 0:01:07.118 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:38 +0000 (0:00:00.259) 0:01:07.377 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:38 +0000 (0:00:00.041) 0:01:07.419 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:38 +0000 (0:00:00.035) 0:01:07.454 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:38 +0000 (0:00:00.058) 0:01:07.513 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:38 +0000 (0:00:00.049) 0:01:07.562 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:30 Tuesday 19 December 2023 15:37:39 +0000 (0:00:00.147) 0:01:07.710 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 19 December 2023 15:37:39 +0000 (0:00:00.043) 0:01:07.753 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 19 December 2023 15:37:39 +0000 (0:00:00.087) 0:01:07.840 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 19 December 2023 15:37:39 +0000 (0:00:00.045) 0:01:07.886 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 19 December 2023 15:37:39 +0000 (0:00:00.034) 0:01:07.920 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 19 December 2023 15:37:39 +0000 (0:00:00.030) 0:01:07.950 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 19 December 2023 15:37:39 +0000 (0:00:00.031) 0:01:07.981 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 19 December 2023 15:37:40 +0000 (0:00:00.746) 0:01:08.728 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.963) 0:01:09.692 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.030) 0:01:09.723 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.031) 0:01:09.754 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.029) 0:01:09.783 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.055) 0:01:09.839 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.034) 0:01:09.873 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.030) 0:01:09.903 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.035) 0:01:09.939 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.031) 0:01:09.971 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.079) 0:01:10.051 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.260) 0:01:10.311 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11016p_oix9u6/tmponuona62" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 19 December 2023 15:37:41 +0000 (0:00:00.235) 0:01:10.546 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.246) 0:01:10.793 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.030) 0:01:10.823 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.038) 0:01:10.862 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.047) 0:01:10.909 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.038) 0:01:10.947 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:36 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.158) 0:01:11.106 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.050) 0:01:11.156 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.057) 0:01:11.214 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.031) 0:01:11.245 ****** 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.168) 0:01:11.414 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.033) 0:01:11.447 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024708", "end": "2023-12-19 15:37:42.928477", "rc": 1, "start": "2023-12-19 15:37:42.903769" } 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.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.166) 0:01:11.613 ****** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 19 December 2023 15:37:42 +0000 (0:00:00.029) 0:01:11.642 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 19 December 2023 15:37:43 +0000 (0:00:00.113) 0:01:11.756 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 19 December 2023 15:37:43 +0000 (0:00:00.032) 0:01:11.789 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 19 December 2023 15:37:43 +0000 (0:00:00.033) 0:01:11.823 ****** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 19 December 2023 15:37:43 +0000 (0:00:00.031) 0:01:11.854 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 19 December 2023 15:37:43 +0000 (0:00:00.038) 0:01:11.893 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.680724", "end": "2023-12-19 15:37:44.037854", "rc": 0, "start": "2023-12-19 15:37:43.357130" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 19 December 2023 15:37:44 +0000 (0:00:00.835) 0:01:12.728 ****** 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.16m48j3x61/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 19 December 2023 15:37:44 +0000 (0:00:00.057) 0:01:12.786 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/run_test.yml:42 Tuesday 19 December 2023 15:37:44 +0000 (0:00:00.053) 0:01:12.840 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:47 Tuesday 19 December 2023 15:37:44 +0000 (0:00:00.066) 0:01:12.906 ****** 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.16m48j3x61/tests/playbooks/tasks/run_test.yml:66 Tuesday 19 December 2023 15:37:44 +0000 (0:00:00.031) 0:01:12.937 ****** included: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 19 December 2023 15:37:44 +0000 (0:00:00.048) 0:01:12.986 ****** 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.051966", "end": "2023-12-19 15:37:44.498967", "rc": 0, "start": "2023-12-19 15:37:44.447001" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Tuesday 19 December 2023 15:37:44 +0000 (0:00:00.252) 0:01:13.238 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.98s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.97s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.96s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.88s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.84s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-ansible-lint-test-2.16m48j3x61/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---